[Samba] smbpasswd -w not working

John H Terpstra jht at Samba.Org
Tue Dec 28 01:12:41 GMT 2004


On Monday 27 December 2004 18:29, Adi Nugraha wrote:
> Hi,
>
> I'm tyrying to set up a Samba PDC with LDAP backend, i followed the
> excellent samba guide on the chapter making users happy, the problem is
> according to the guide when I execute the smbpasswd -w "secret" command,
> the expected outcome is
> Setting stored password for "cn=Manager,dc=abmas,dc=biz" in secrets.tdb
>
> but what i get is
>
> Setting stored password for "" in secrets.tdb
>
> can anyone tell me what's wrong, I checked and rechecked the smb.conf and
> slapd.conf and ldap.conf, there is nothing wrong, (at least according to
> the guide), please help me with this, I've been stuck trying to solve this
> for weeks now any hint is greatly appreciated, thanks in advance

Please make certain that you have specified the correct administrative dn 
(ldap admin dn) in your smb.conf file.

Also, suggest you download the latest version of the smbldap-tools from 
www.idealx.org _and_ make sure that your Perl is correctly configured.

- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list