[Samba] How to add a group to samba + ldap

Gémes Géza geza at kzsdabas.sulinet.hu
Sun Apr 11 12:25:12 GMT 2004

Wim Bakker írta:
> Hello,
> I try to add a domain group to samba + ldap with the following command:
> slapadd -v -l g.ldif
> content of g.ldif:
> --
> dn: cn=Domain Admins,dc=ahm,dc=nl
> cn: Domain Admins
> objectClass: sambaGroupMapping
> sambaSID: S-1-5-21-4269728302-1655870493-3894479995-512
> sambaGroupType: Domain
> --
> and slapadd returns with:
> could not parse entry (line=6)
> what is wrong here?
> The reference guide states only that it is the responsibility
> of the administrator to add the essential Domain Groups (page 154)
> but fails to mention how to (rather funny for an official how-to book).
> As this book allso fails to explain the meaning/values of sambaGroupType
> and how they relate I am a bit at a loss here.
> Wim Bakker
As a sidenote you need to ad the posixAccount objectclass and related 
attributes as well, and all the objectclasses upon which posixAccount 



More information about the samba mailing list