'net sam provision' fails if the posix account for the user specified in "guest account = " does not contain an entry for shell host# net sam provision <snip> Adding the Guest user. Failed to add Guest user to ldap directory Checking Guest's group. found! ldap log: 30632:Mar 8 14:14:40 server slapd[25639]: conn=23 op=2 ADD dn="uid=nobody,ou=users,dc=example,dc=org" 30633-Mar 8 14:14:40 server slapd[25639]: conn=23 op=2 RESULT tag=105 err=21 text=loginShell: value #0 invalid per syntax Possible location of bug - Samba 3.0.24:net_sam.c / Line 1125 smbldap_set_mod(&mods, LDAP_MOD_ADD, "loginShell", pwd->pw_shell); offending /etc/passwd entry: nobody:x:99:99:nobody:/: Current workaround: Assign a valid shell to the guest user's posix account
Created attachment 2320 [details] fix for 4438/4440 Can you test with this patch, should solve 4438 and 4440 completely.
Created attachment 2321 [details] correct patch to fix 4438/4440 Uh oh, _always_ compile first :-)
Richard confirmed the bug is fixed Committed patch to 3_0 and 3_0_25