startsmbfilepwent_internal: unable to open file

Teemu Rinta-aho teemu.rinta-aho at nomadiclab.com
Wed Aug 1 07:39:58 GMT 2001


Re-mailing this with a more interesting subject... ;-)

I have correct permissions on smbpasswd, and I
start the processes as the root user.

The Samba version is 2.2.1a.

Please tell me if this is a bug in my configuration
or in the software.

---------- Forwarded message ----------
Date: Mon, 30 Jul 2001 17:17:36 +0300 (EEST)
From: Teemu Rinta-aho <teemu at nomadiclab.com>
To: samba at lists.samba.org
Cc: teemu at nomadiclab.com
Subject: Problem with opening smbpasswd file

Hi all.

I once managed to make a domain login from a
W2K (SP2) workstation to the Samba PDC on a FreeBSD 4.3
server. However, after that I edited the smbpasswd
file a little, removed old users etc. and created
new ones. I changed the name of the W2K workstation.
Now I can't login anymore, and I get this kind of
stuff into the log:

[2001/07/30 17:09:02, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(672)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2001/07/30 17:09:02, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
  startsmbfilepwent_internal: unable to open file
/usr/local/private/smbpasswd. Error was Permission denied
[2001/07/30 17:09:02, 0] passdb/smbpass.c:iterate_getsmbpwuid(1240)
  unable to open smb password database.

I have restarted the smbd many times as root, I have
even restarted the whole server, I have created new
users, totally re-created the smbpasswd file, edited
the /etc/passwd etc. etc. but nothing seems to help.
I have 0600 permissions and root.wheel ownership on
/usr/local/private/smbpasswd file. Any help is welcome.
Please cc: to my e-mail, as I don't subscribe to this
list. Thank you.

BR,
Teemu Rinta-aho






More information about the samba-technical mailing list