r22867: With Samba4's IDL, we now have two new flags for share types: STYPE_TEMPORARY...
commit1f073a0319b040b25a16046b9e1b37520109ecb8
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)
tree038096f265c4183b6787bb32a3d753c7c1169fba
parent1f7c3007b91e00662172dc6eda028f2e23ef7887
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'.
(This used to be commit c3f4fdd37e62491a11d3993864ba51fdb596ea1b)
source3/utils/net_rpc.c