[Samba] Primary Group SID incorrect - ahhhh

Chris Beach chrisb at pintys.com
Wed Nov 24 07:28:48 MST 2010


Hi,

I'm running 3.0.33-3.29.el5_5.1 .. migrating from 3.0.21a with an LDAP
back-end. I've use slapadd to import the LDIF file I've exported from my
original samba server, but it seems like samba isn't grabbing the Primary
Group SID from the ldif file. For Example:

dn: uid=chris,ou=Users,dc=orgon,dc=com
sambaSID: S-1-5-21-3318375643-2463009161-752822123-3028
sambaPrimaryGroupSID: *S-1-5-21-3318375643-2463009161-752822123-513*
displayName: Chris
creatorsName: cn=Manager,dc=orgon,dc=com

I'll import this ldif file, but then when I run:

pdbedit -v chris

Unix username:        chris
NT username:          chris
Account Flags:        [U          ]
User SID:             S-1-5-21-3318375643-2463009161-752822122-3028
Primary Group SID:    *S-1-5-21-3870114210-992129106-2167290520-513*
Full Name:            Chris

Notice how the Primary Group SID is different?


More information about the samba mailing list