Samba 4 alpha and OpenLDAP

Christophe Thibault christophe.thibault at planisware.com
Mon Jul 21 07:28:44 GMT 2008


Hi Andrew,

I'll rebuild this morning, and send you the result today.
I'll also try to run the LDAP backend test suite, as you mentioned in 
your previous mail.


Thanks,
chris

Andrew Bartlett a écrit :
> On Wed, 2008-07-16 at 14:03 +0200, Christophe Thibault wrote:
>   
>> Hello,
>>
>> I'm playing withe Samba 4 alpha and OpenLDAP, but the setup/provision 
>> script fails.
>>
>> I work on a blank dedicated test machine (running Ubuntu 8.04.1).
>>
>> I build and install OpenLDAP (2.4.10) on the machine,
>> then download the latest Samba sources
>> (smbd -V says "Version 4.0.0alpha6-GIT-f567e17").
>> I build Samba (configure, make, make install) then run the provision 
>> scripts:
>>
>>
>> $ ./setup/provision-backend --realm=test.mycorp.com \
>>               --ldap-admin-pass=secret \
>>               --ldap-backend-type=openldap \
>>               --server-role='domain controller' \
>>               --domain=TEST
>>
>> => this script run fine
>>
>>
>>
>> $ /usr/local/openldap/libexec/slapd -d0 -f 
>> /usr/local/samba/private/ldap/slapd.conf -h 
>> ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi
>>
>> => slapd seems to be started
>>
>>
>>
>> $ ./setup/provision --realm=TEST.MYCORP.COM \
>>           --domain=TEST \
>>           --server-role='domain controller' \
>>           --ldap-backend=ldapi \
>>           --username=samba-admin \
>>           --password=secret
>>     
>
> You have to also specify
> 	--ldap-backend-type=openldap \
>
> In the provision arguments.  It must match what was set in
> provision-backend.
>
> I'll add an error message to make this more clear in future.  
>
> Thanks,
>
> Andrew Bartlett
>
>   


-- 
Christophe THIBAULT - Planisware
102 Rue Etienne Dolet
92247 Malakoff Cedex
France
http://www.planisware.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: christophe_thibault.vcf
Type: text/x-vcard
Size: 323 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080721/9a223f50/christophe_thibault.vcf


More information about the samba-technical mailing list