From owner-freebsd-questions@FreeBSD.ORG Thu Feb 19 08:13:50 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 3C56816A4CE for ; Thu, 19 Feb 2004 08:13:50 -0800 (PST) Received: from palrel10.hp.com (palrel10.hp.com [156.153.255.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 363DA43D2D for ; Thu, 19 Feb 2004 08:13:50 -0800 (PST) (envelope-from thad.butterworth@hp.com) Received: from xparelay2.ptp.hp.com (xparelay2.ptp.hp.com [15.1.28.65]) by palrel10.hp.com (Postfix) with ESMTP id B86A51C00E6E; Thu, 19 Feb 2004 08:13:49 -0800 (PST) Received: from xpabh3.ptp.hp.com (xpabh3.ptp.hp.com [15.1.28.63]) by xparelay2.ptp.hp.com (Postfix) with ESMTP id AD0A21C0042E; Thu, 19 Feb 2004 08:13:49 -0800 (PST) Received: by xpabh3.ptp.hp.com with Internet Mail Service (5.5.2657.72) id ; Thu, 19 Feb 2004 08:13:49 -0800 Message-ID: <345D43ADFFFF864298F9ECD6C5D574E809D53D70@xboi21.boise.itc.hp.com> From: "BUTTERWORTH,THADDAEUS (HP-Boise,ex1)" To: Joerg Pulz , "BUTTERWORTH,THADDAEUS (HP-Boise,ex1)" Date: Thu, 19 Feb 2004 08:13:41 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain 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: Thu, 19 Feb 2004 16:13:50 -0000 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 thad.butterworth@hp.com \\et.boi.hp.com ****************************************************************** -----Original Message----- From: Joerg Pulz [mailto:Joerg.Pulz@frm2.tum.de] Sent: Wednesday, February 18, 2004 3:16 PM To: BUTTERWORTH,THADDAEUS (HP-Boise,ex1) Cc: freebsd-questions@freebsd.org 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 ' 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-----