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

C.Lee Taylor leet at leenx.co.za
Sun Aug 29 16:57:16 GMT 2004


Greetings ...

	I'm hoping somebody can help me with this little error that I have seen 
in my logs for a while now ...

	I believe that I have all my mapping sorted out, but I still keep 
getting these errors ... I have this on both FC1 and FC2 samba 3.0.2 and 
3.0.3 ... I using the LDAP back for users and samba, but I don't think 
this should make a difference if the below logs show anything ...

	Please could somebody help me.

Thanks
Mailed
Lee

Aug 29 06:06:47 nasrec smbd[19536]: [2004/08/29 06:06:47, 0] 
rpc_server/srv_util.c:get_domain_user_groups(372)
Aug 29 06:06:47 nasrec smbd[19536]:   get_domain_user_groups: primary 
gid of user [vijenr] is not
a Domain group !
Aug 29 06:06:47 nasrec smbd[19536]:   get_domain_user_groups: You should 
fix it, NT doesn't like that

[root at nasrec 20040829]# pdbedit -L -v -u vijenr
Unix username:        vijenr
NT username:          vijenr
Account Flags:        [U          ]
User SID:             S-1-5-21-3795178988-3942151060-2329322268-24268
Primary Group SID:    S-1-5-21-3795178988-3942151060-2329322268-513
Full Name:            Vijen
Home Directory:       \\nasrec\vijenr
HomeDir Drive:        l:
Logon Script:         login.bat
Profile Path:         \\nasrec\vijenr\profile
Domain:               SCANIA-ZA-DM
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          Fri, 13 Dec 1901 22:45:51 GMT
Kickoff time:         Fri, 13 Dec 1901 22:45:51 GMT
Password last set:    Mon, 07 Jun 2004 12:34:12 GMT
Password can change:  Mon, 07 Jun 2004 12:34:12 GMT
Password must change: Fri, 13 Dec 1901 22:45:51 GMT

[root at nasrec 20040829]# getent passwd  vijenr
vijenr:x:11634:10000:Vijen:/home/users/vijenr:/sbin/nologin

[root at nasrec 20040829]# pdbedit -L -v -u gerhardr
Unix username:        gerhardr
NT username:          gerhardr
Account Flags:        [UX         ]
User SID:             S-1-5-21-3795178988-3942151060-2329322268-26032
Primary Group SID:    S-1-5-21-3795178988-3942151060-2329322268-513
Full Name:            Gerhard
Home Directory:       \\nasrec\gerhardr
HomeDir Drive:        l:
Logon Script:         login.bat
Profile Path:         \\nasrec\gerhardr\profile
Domain:               SCANIA-ZA-DM
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          Fri, 13 Dec 1901 22:45:51 GMT
Kickoff time:         Fri, 13 Dec 1901 22:45:51 GMT
Password last set:    Wed, 05 Mar 2003 11:12:45 GMT
Password can change:  0
Password must change: Fri, 13 Dec 1901 22:45:51 GMT

[root at nasrec 20040829]# getent passwd  gerhardr
gerhardr:x:12516:10000:Gerhard:/home/users/gerhardr:/sbin/nologin

[root at nasrec 20040829]# net groupmap list
Domain Users (S-1-5-21-3795178988-3942151060-2329322268-513) -> ntusers
Domain Computers (S-1-5-21-3795178988-3942151060-2329322268-515) -> machines
Domain Admins (S-1-5-21-3795178988-3942151060-2329322268-512) -> ntadmin
Domain Guests (S-1-5-21-3795178988-3942151060-2329322268-514) -> nobody
[root at nasrec 20040829]#

[root at nasrec 20040829]# getent group ntusers
ntusers:x:10000:
[root at nasrec 20040829]# getent group machines
machines:x:10002:
[root at nasrec 20040829]# getent group ntadmin
ntadmin:x:10025:
[root at nasrec 20040829]# getent group nobody
nobody:x:10099:



More information about the samba mailing list