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

Wim Bakker koreander at planet.nl
Sun Apr 11 10:58:02 GMT 2004


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.

TIA
Wim Bakker


More information about the samba mailing list