r22867: With Samba4's IDL, we now have two new flags for share types: STYPE_TEMPORARY...
commitc3f4fdd37e62491a11d3993864ba51fdb596ea1b
authorAlexander Bokovoy <ab@samba.org>
Mon, 14 May 2007 19:26:22 +0000 (14 19:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:04 +0000 (10 12:22 -0500)
treea66258e2899cfb4f52f127cbfa4914e24e1c1e0d
parentf0570dc3d9e07475764e466901d4abfe939590f8
r22867: With Samba4's IDL, we now have two new flags for share types: STYPE_TEMPORARY and STYPE_HIDDEN
Strip them out when referencing share_type[] entries.

Apparently, some Windows XP installs create shares set to STYPE_HIDDEN by default, found by
Damir Shayhutdinov <damir@altlinux.org>. This also fixes smb4k crashes as it does call 'net share -l'.
source/utils/net_rpc.c