Format of sambaDomain objects in LDAP

paul paul at subsignal.org
Fri Jul 25 05:17:41 GMT 2003


Roland Gruber wrote:
> Hi all,
> 
> can anybody tell me what a sambaDomain object looks like in LDIF format?
> I guess, it is something like
> 
> DN: cn=domain1,ou=domains,o=test,c=de
> objectClass: sambaDomain
> sambaDomainName: domain1
> cn: domain1
> sambaSID: S-1-1-22-0123456789-0123456789-0123456789
> 
> but LDAP complains about the "cn" attribute. What objectClass do I have 
> to add?
> 
> 
> Greetings,
> Roland

hi, my entry is:

# B17, samba, nil.b17
dn: sambaDomainName=B17,ou=samba,dc=nil,dc=b17
sambaDomainName: B17
sambaSID: S-1-5-21-1363009748-3475195204-773963872
sambaAlgorithmicRidBase: 1000
objectClass: sambaDomain
sambaNextUserRid: 81002

It was created from Samba when it starts for the first time. 
samba.schema however states that only sambaDomainName and sambaSID are 
enforced, all other attributes are optional.

hope this helps

paul





More information about the samba-technical mailing list