I have several groups in /etc/groups on my samba server. I upgraded to samba 3.0.23b and then users couldn't connect to any shares they were groups on in /etc/groups (shares used valid users = @groupname) but could connect to shares where valid users = their_username. I did some reading and saw the group mapping change at http://us5.samba.org/samba/docs/man/Samba-HOWTO-Collection/ChangeNotes.html#id2550114 And then I did net groupmap add unixgroup=mygroups and that worked Can I ask, why the change, and why do I have to execute that command for each group instead of samba just getting who's in the group from /etc/group?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adam,> Can I ask, why the change, and why do I have to > execute that command for each group instead > of samba just getting who's in the group from > /etc/group? >This doesn't make sense to me but there's not enough information to comment. Are you by chance using user private groups ? cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE252oIR7qMdg1EfYRAmknAJwKu8+c1ZcCMqvIAa+DVltXPF0wbQCfc5Rk XnpVK0ByMmih956WXJCnTD8=IDxI -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adam Williams wrote:> I'm not sure what you mean by user private groups. in > /etc/group I have groups like: > > executive:x:743:usera,userb,userc > > and then in smb.conf in my shares i'll have valid > users = @executive and it used to work fine but with > 3.0.23b I had to use the nett add goupname > unixgroup=executive to get groups working in samba, > and I never had to do that before.Found the bug. Patch forthcoming shortly. You're using smbpasswd right ? jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE3H+gIR7qMdg1EfYRAviDAKCqWyYnlvaRFNTqvkF0fI7ZwFpxbACg6UT5 0R6E4aLZ6CaXPy3qrxmOgy0=CLnU -----END PGP SIGNATURE-----