[Samba] error when adding a new user

Bruno Guerreiro bruno.guerreiro at ine.pt
Wed Sep 7 08:36:09 GMT 2005


Hi,
I think that groups bellow 100 are reserved, so don't think it's a good idea
to make that group the user's primary group.
Why don't you create another group like ntusers, domusers, whatever, and
then assign that as the primary group for all users...

Best Regards,
Bruno Guerreiro

>-----Original Message-----
>From: Guido Lorenzutti [mailto:guido at lorenzutti.com.ar]
>Sent: quarta-feira, 7 de Setembro de 2005 4:28
>To: samba at lists.samba.org
>Subject: [Samba] error when adding a new user
>
>
>Hi people, i having the following problem:
>
>useradd -s /bin/false -g users test
>smbpasswd -a test
>New SMB password:
>Retype new SMB password:
>tdb_update_sam: Failing to store a SAM_ACCOUNT for [test] without a 
>primary group RID
>Failed to add entry for user test.
>Failed to modify password entry for user test
>
>The "users" group exists,
>
>grep users /etc/group
>users:x:100:
>
>Any ideas? I fix this adding a new group with the name of the username 
>and adding the user to this group. Then, it works de smbpasswd -a.
>Why this could happend?
>
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list