r15589: While trying to understand the vuid code I found that security=share is broken
commit8059d0ae395604503cad3d9f197928305923e3f5
authorVolker Lendecke <vlendec@samba.org>
Sat, 13 May 2006 23:05:53 +0000 (13 23:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:17:02 +0000 (10 11:17 -0500)
treecd8fc84c77bf03693ba47075935ee7f235af0cbf
parent7945c935bf197afb61286ddeb0e579078362a1fc
r15589: While trying to understand the vuid code I found that security=share is broken
right now. r14112 broke it, in 3.0.22 register_vuid for security=share returns
UID_FIELD_INVALID which in current 3_0 is turned into an error condition. This
makes sure that we only call register_vuid if sec!=share and meanwhile also
fixes a little memleak.

Then I also found a crash in smbclient with sec=share and hostmsdfs=yes.

There's another crash with sec=share when coming from w2k3, but I need sleep
now.

Someone (jerry,jra?) please review the sesssetup.c change.

Thanks,

Volker
source/libsmb/cliconnect.c
source/smbd/password.c
source/smbd/sesssetup.c