Hi, The group that is mapped to rid=512 cannot be used in "valid users", the users cannot map the share (error 5). Is this normal? Should I file a bug? Version 4.1.6-Ubuntu server role = classic primary domain controller smb.conf: valid users = +smbadmin command: net groupmap add ntgroup="Domain Admins" unixgroup=smbadmin rid=512 type=d As soon as I remove the group mapping with "net group delete", the users can access the share. But after adding the groupmap again, they get error 5. So I must create two groups with the same users. One for "groupmap", and one for "valid users". Klaus
I have a unix group for admin users, and shares with valid users = +smbadmin admin users = +smbadmin Sometimes this works, sometimes Windows reports system error 5. Last week I thought that this affects only the group mapped to rid=512, but now I notice that it affects all unix groups, just not always.
Klaus Hartnegg writes:> I have a unix group for admin users, and shares with > valid users = +smbadmin > admin users = +smbadmin > > Sometimes this works, sometimes Windows reports system error 5. > > Last week I thought that this affects only the group mapped to rid=512, but > now I notice that it affects all unix groups, just not always.Which version of samba are you using? Perhaps this is related to bug 9570, which was fixed in 4.1.12. See https://bugzilla.samba.org/show_bug.cgi?id=9570 Regards, Roel
Hi, i'd recommend to elevate samba logg capability to level 3 and have a look in the Samba log at the time of error. The windows message is too cryptic (at least for me) :] cheers, On 09/09/2014 01:28 PM, Klaus Hartnegg wrote:> I have a unix group for admin users, and shares with > valid users = +smbadmin > admin users = +smbadmin > > Sometimes this works, sometimes Windows reports system error 5. > > Last week I thought that this affects only the group mapped to rid=512, > but now I notice that it affects all unix groups, just not always. >