From owner-freebsd-questions@FreeBSD.ORG Wed Feb 18 14:16:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A17516A4CE for ; Wed, 18 Feb 2004 14:16:47 -0800 (PST) Received: from hades.frm2.tu-muenchen.de (hades.frm2.tu-muenchen.de [129.187.179.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E016443D1D for ; Wed, 18 Feb 2004 14:16:46 -0800 (PST) (envelope-from jpulz@frm2.tum.de) Received: from hades.frm2.tu-muenchen.de (localhost [127.0.0.1]) i1IMGWLt034278; Wed, 18 Feb 2004 23:16:32 +0100 (CET) (envelope-from jpulz@hades.frm2.tu-muenchen.de) Received: (from jpulz@localhost)i1IMGWqA034277; Wed, 18 Feb 2004 23:16:32 +0100 (CET) (envelope-from jpulz) Date: Wed, 18 Feb 2004 23:16:29 +0100 (CET) From: Joerg Pulz To: "BUTTERWORTH,THADDAEUS (HP-Boise,ex1)" In-Reply-To: <345D43ADFFFF864298F9ECD6C5D574E809D535D5@xboi21.boise.itc.hp.com> Message-ID: <20040218231556.H932@hades.frm2.tu-muenchen.de> References: <345D43ADFFFF864298F9ECD6C5D574E809D535D5@xboi21.boise.itc.hp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Setting up samba as PDC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2004 22:16:47 -0000 -----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 ' 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-----