[Samba] primary gid of user [username] is not a Domain group

Jason Gray jgray at bardel.ca
Thu May 27 20:32:49 GMT 2004

What password backend are you using?  I had the same problem with ldapsam
until I altered the sambaPrimaryGroupSID so that it was sambaSID+GID.  It
looks like you are probably using local server accounts rather than an LDAP.
You will need to create NT groups like 501, 512, 513 in your /etc/group file
and map them to NT groups.  The Samba How-to tells you how to do this.  You
will need to use something like:

# net groupmap add SambaSID+GID unixgroup=<string>
type=<domain|local|builtin> ntgroup=<string>


-----Original Message-----
From: samba-bounces+jgray=bardelanimation.com at lists.samba.org
[mailto:samba-bounces+jgray=bardelanimation.com at lists.samba.org]On
Behalf Of abebe lsslp
Sent: Thursday, May 27, 2004 12:17 PM
To: samba at lists.samba.org
Subject: [Samba] primary gid of user [username] is not a Domain group

I have a samba 3.0.0. PDC on my Fedora Core server. I have one win 98, one
XP and one NT clients. As I log on, I get "primary gid of user [username] is
not a Domain group" error. I am sure gid is 100 (users) and my add user
script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u

If I login using the root account, I don't have this problem.

What can I do to fix this?


Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list