Samba_2.2 + --with-ldapsam

Gerald (Jerry) Carter jerry at samba.org
Sat Sep 29 05:29:05 GMT 2001


On Sat, 29 Sep 2001, Shanker Balan wrote:

> Hello:
>
> Just giving Samba_2_2 with --with-ldapsam a try. I have the following in
> my smb.conf:
>
> ldap server 	= ldap.mydomain.com
> ldap port   	= 389
> ldap suffix 	= "dc=mydomain,dc=com"
> ldap admin dn 	= "cn=Manager,dc=mydomain,dc=com"
>
> A quick question: Where does one give the admin password? smbd.log shows
> the following:
>
> fetch_ldap_pw: no ldap secret retrieved! ldap_connect_system: Failed to
> retrieve password for cn=Manager,dc=mydomain,dc=com from secrets.tdb
>
> Any help appreciated!

You need to add the password for the "ldap admin dn" using

	root# smbpasswd -w <secret>




cheers, jerry





More information about the samba-ntdom mailing list