Hello, mapped users cannot access a share protected with "valid users". (worked in 3.0.14a) Example: ... security = user [myshare] path = /tmp/ force user = root valid users = andi guest ok = no ... ------------ user.map: andi = andimap ------------ fire:/# smbclient -U andi -I 192.168.10.94 //linux1/myshare Password: Domain=[LINUX1] OS=[Unix] Server=[Samba 3.0.23a] smb: \> exit fire:/# fire:/# smbclient -U andimap -I 192.168.10.94 //linux1/myshare Password: Domain=[LINUX1] OS=[Unix] Server=[Samba 3.0.23a] tree connect failed: NT_STATUS_ACCESS_DENIED --------------------------- Message from serverlog: User andi not in 'valid users' Adding "andimap" to "valid users" does not solve the problem. If you need further informations please contact me. Andreas
I've reproduced this in SAMBA_3_0 svn. I'll investigate for 3.0.23b. Jeremy.
Created attachment 2078 [details] Patch This fixes the problem for me. Will be in 3.0.23b. Jerry & Volker please check and merge for 3.0.23b if this patch is correct. Jeremy.
Created attachment 2079 [details] Additional patch. Here is an additional patch to the previous one. I think the combination of the two fixes the problem better. vl and Jerry please review. Jeremy.
FIxed for 3.0.23b. Please test the SAMBA_3_0_RELEASE svn release tree (also at rsync://rsync.samba.org/ftp/unpacked/samba_3_0_release).