[Samba] can't add user to samba

Tim Boneko lists at boneko.de
Sun Dec 10 15:49:28 GMT 2006

stas khromoy schrieb:

> init_ldap_from_sam: User's Primary Group SID (S-1-22-2-2009) is not for
> this domain (S-1-5-21-2472404719-3990724825-3229645963), cannot add to LDAP!

Not surprising to me amateur, this SID looks way too short to me. What's
the output of "net getlocalsid" and "net groupmap list"?

My output:
kiste:/# net get localsid
SID for domain KISTE is: S-1-5-21-4175331462-3411459466-2109793049

kiste:/# net groupmap list
Domain Admins (S-1-5-21-4175331462-3411459466-2109793049-512) -> domain
Domain Users (S-1-5-21-4175331462-3411459466-2109793049-513) -> users
Domain Guests (S-1-5-21-4175331462-3411459466-2109793049-514) -> guests
Domain Computers (S-1-5-21-4175331462-3411459466-2109793049-515) -> Machines
Administrators (S-1-5-32-544) -> Administrators
Account Operators (S-1-5-32-548) -> Account Operators
Print Operators (S-1-5-32-550) -> Print Operators
Backup Operators (S-1-5-32-551) -> Backup Operators
Replicators (S-1-5-32-552) -> Replicators


More information about the samba mailing list