Hi Joerg,
Thanks for the reply. I've done that already and still get the same message
when I do the smbpasswd -a command. The user I'm trying to add is one that
has already been added to the BSD users. Do you have any other ideas?

Thad


******************************************************************
Thad Butterworth
396-5321
[EMAIL PROTECTED]
\\et.boi.hp.com
******************************************************************

-----Original Message-----
From: Joerg Pulz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 18, 2004 3:16 PM
To: BUTTERWORTH,THADDAEUS (HP-Boise,ex1)
Cc: [EMAIL PROTECTED]
Subject: Re: Setting up samba as PDC

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 18 Feb 2004, BUTTERWORTH,THADDAEUS (HP-Boise,ex1) wrote:

> Hello all,
>
> I'm needing to set up my machine as a PDC. When I go to add users using
the
> smbpasswd -a username command I get the following error. Does anyone have
> any suggestions on how to fix this error?
>
> fetch_ldap_pw: no ldap secret retrieved!
>
> ldap_connect_system: Failed to retrieve password for  from secrets.tdb

you have to set the password for "ldap admin dn" first.

try 'smbpasswd -w <password>'

the password is then stored in the secrets.tdb file. this is necessary to
make samba able to connect as a user with write permissions to the LDAP
server. otherwise, as your current situation shows, it is not possible to
change any information in the LDAP tree.

Joerg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAM+RASPOsGF+KA+MRAr7nAJ9gaH22T4117dO/2elK03+Iaz8bagCgqmyS
AVLcsy1vlZY27zwHNiPAZ28=
=ZI1c
-----END PGP SIGNATURE-----
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to