[SAMBA4] LDAP Backend status

Andrew Bartlett abartlet at samba.org
Mon Aug 21 00:01:35 GMT 2006

On Sun, 2006-08-20 at 13:06 +0200, Martin Kühl wrote:

> Thanks to your instructions, I also just successfully provisioned
> against OpenLDAP.  I got errors (no such object) trying to provision
> against a live, empty server however, and had to take an additional
> slapadd step along the lines of:
> # ./setup/provision --realm=example.com --domain=wind
> --adminpass=penguin --host-ip=
> --domain-sid=S-1-5-21-3449274803-1753676318-108097457
> --domain-guid=40fb3386-d14b-4efd-a15c-1ffc3e4f2f9b
> --ldap-backend="ldap://" --ldap-base="dc=example,dc=com"
> # sudo slapadd -l /home/mkhl/src/soc/prefix/private/example.ldif
> # sudo /etc/init.d/ldap start
> # ./setup/provision --realm=example.com --domain=wind
> --adminpass=penguin --host-ip=
> --domain-sid=S-1-5-21-3449274803-1753676318-108097457
> --domain-guid=40fb3386-d14b-4efd-a15c-1ffc3e4f2f9b
> --ldap-backend="ldap://

Yep.  I'll add a comment for the failure making it more likely people
will understand that they might need to do this.

> I also happened to notice that the `distinguishedName' attribute of
> the generated domain controller record is that of the template
> computer:
> # ldbsearch -H "ldap://localhost:3891" -b "cn=BLACK,cn=Domain
> Controllers,dc=example,dc=com" -s base distinguishedName
> # record 1
> dn: cn=BLACK,cn=Domain Controllers,dc=example,dc=com
> distinguishedName: cn=TemplateComputer,cn=Templates
> I assume this is not intentional?

Fixed, thanks!

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060821/b1ce047a/attachment.bin

More information about the samba-technical mailing list