Samba_2.2 + --with-ldapsam

Shanker Balan shanu at exocore.com
Sun Sep 30 21:23:28 GMT 2001


Hello:

Gerald (Jerry) Carter wrote,
> You need to add the password for the "ldap admin dn" using
> 
> 	root# smbpasswd -w <secret>

Hmm... something funny happening here!

[root at godzilla] /usr/local/samba-ldap/bin# ./smbpasswd -w secret
INFO: Debug class all level = 3   (pid 9791 from pid 9791)
-w not available unless configured --with-ldap

But i have compiled it with --with-ldapsam!

[root at godzilla] /usr/local/samba-ldap/bin# ./smbpasswd
INFO: Debug class all level = 3   (pid 9836 from pid 9836)
New SMB password:
Retype new SMB password:
ldap_open_connection: connection opened
fetch_ldap_pw: no ldap secret retrieved!
ldap_connect_system: Failed to retrieve password for
cn=Manager,dc=mydomain,dc=com from secrets.tdb
Failed to find entry for user root.
Failed to modify password entry for user root

So what did i screw up?

-- 
Darth Vader:
	Luke, help me take this mask off.
Luke Skywalker:
	But you'll die.
Darth Vader:
	Nothing can stop that now. Just for once, let me
	look upon you with my own eyes.




More information about the samba-ntdom mailing list