[Samba] Unable to open passdb???

smw kc8lir at yahoo.com
Sat Nov 2 17:15:05 GMT 2002


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.

Thanks,
Scott




More information about the samba mailing list