On Sat, 2 Nov 2002, smw wrote: > Hello John, > > My apologies, I should have mentioned that this is on a RedHat 7.3 platform, > however I downloaded the RPMs from the Samba site and installed it that way. > I will give that a shot as well, and see what I can come up with.
In that case, you need to add your root account to smbpasswd. The way to do this is from a root login shell: smbpasswd -a root Let me know how you go. - John T. > > Thanks, > Scott > > ----- Original Message ----- > From: "John H Terpstra" <[EMAIL PROTECTED]> > To: "smw" <[EMAIL PROTECTED]> > Cc: "Noel Kelly" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Saturday, November 02, 2002 8:37 PM > Subject: Re: [Samba] Unable to open passdb??? > > > > On Sat, 2 Nov 2002, smw wrote: > > > > > Hi Noel, > > > > > > Thanks for the tip, but I've run into an issue now with that.. The > > > directory /usr/local/samba/private doesn't exist. Do I need to create > that > > > directory then as well? > > > > That would help. What platform is this on? Did you build the binaries > > yourself? If you did then the likely location for the smbpasswd file is as > > Scott suggested. If you are on a Linux system and you are using an RPM > > package then the likely place is /etc/samba/smbpasswd. > > > > - John T. > > > > > > > > Thanks for the assistance! > > > > > > Scott > > > ----- Original Message ----- > > > From: "Noel Kelly" <[EMAIL PROTECTED]> > > > To: "'smw'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > > Sent: Saturday, November 02, 2002 5:03 PM > > > Subject: RE: [Samba] Unable to open passdb??? > > > > > > > > > > Scott, > > > > > > > > You hopefully just need to manually create the smbpasswd file in > > > > /usr/local/samba/private/. > > > > > > > > Just do a 'touch /usr/local/samba/private/smbpasswd' and retry. > > > > > > > > Noel > > > > > > > > -----Original Message----- > > > > From: smw [mailto:kc8lir@;yahoo.com] > > > > Sent: 02 November 2002 17:13 > > > > To: [EMAIL PROTECTED] > > > > Subject: [Samba] Unable to open passdb??? > > > > > > > > > > > > Hello, > > > > > > > > Getting this error: > > > > > > > > [2002/11/02 12:55:16, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) > > > > unable to open passdb database. > > > > [2002/11/02 12:55:16, 0] smbd/chgpasswd.c:check_oem_password(761) > > > > check_oem_password: getsmbpwnam returned NULL > > > > [2002/11/02 12:55:16, 0] passdb/passdb.c:pdb_free_sam(210) > > > > pdb_free_sam: SAM_ACCOUNT was NULL[2002/11/02 12:55:16, 0] > > > > passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) > > > > unable to open passdb database. > > > > [2002/11/02 12:55:16, 0] smbd/chgpasswd.c:check_oem_password(761) > > > > check_oem_password: getsmbpwnam returned NULL > > > > [2002/11/02 12:55:16, 0] passdb/passdb.c:pdb_free_sam(210) > > > > pdb_free_sam: SAM_ACCOUNT was NULL > > > > > > > > Now, I've tried changing passwords via smbpasswd for a couple of > different > > > > accounts, and for whatever reason it can't change them. I'm trying to > set > > > > up my Samba box as a PDC. So far I haven't even been able to join the > > > > domain. > > > > > > > > Here's my smb.conf file: > > > > > > > > [global] > > > > > > > > netbios name = roswell > > > > workgroup = AREA51 > > > > > > > > os level = 64 > > > > preferred master = yes > > > > domain master = yes > > > > local master = yes > > > > > > > > security = user > > > > > > > > encrypt passwords = yes > > > > > > > > domain logons = yes > > > > domain admin group = root swrosch inferno > > > > > > > > add user script = /usr/sbin/useradd -d /dev/null -g 100 -s > /bin/false -M > > > > %u > > > > > > > > allow hosts = 192.168.0. 127. > > > > > > > > # SHARE DEFINITIONS > > > > > > > > [netlogon] > > > > path = /home/netlogon > > > > read only = yes > > > > guest ok = no > > > > write list = root swrosch inferno > > > > > > > > I'm running Samba 2.2.6, and trying to join with my Win2k box. But, > every > > > > time I try to change passwords or anything, I get unable to open > passdb > > > > errors. > > > > > > > > Any assistance would be much appreciated. I've been trying to follow > the > > > > directions in the Samba howto > > > > (http://us6.samba.org/samba/docs/Samba-HOWTO-Collection.html), and I'm > > > > getting completely confused. > -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba