I've got 2.2.5 running on a test server (RH Linux 6.2), and I'm trying to get a Win2k box to join the domain, but I'm getting the following errors: (at log level 3) [2002/07/18 12:26:25, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170) startsmbfilepwent_internal: unable to open file /etc/smbpasswd. Error was Permission denied [2002/07/18 12:26:25, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1416) unable to open passdb database I've already added the account for the machine and user to both the system passwd file and /etc/smbpasswd. /etc/smbpasswd is owned by root and is mode 0600, so I'm not sure why samba can't read it. I've put up the smb.conf file here: http://www.lib.uaa.alaska.edu/~tibor/smb.conf.txt Any ideas? Thanks, Mike -- Mike Tibor Univ. of Alaska Anchorage (907) 786-1001 voice Network Technician Consortium Library (907) 786-6050 fax tibor@lib.uaa.alaska.edu http://www.lib.uaa.alaska.edu/~tibor/ http://www.lib.uaa.alaska.edu/~tibor/pgpkey for PGP public key
David Morel
2002-Jul-18 14:38 UTC
[Samba] Error Trying to Join Win2k to Samba 2.2.5 Domain
Mike Tibor wrote: > I've got 2.2.5 running on a test server (RH Linux 6.2), and I'm trying to > get a Win2k box to join the domain, but I'm getting the following errors: > > (at log level 3) > > [2002/07/18 12:26:25, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170) > startsmbfilepwent_internal: unable to open file /etc/smbpasswd. > Error was Permission denied > [2002/07/18 12:26:25, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1416) > unable to open passdb database > > I've already added the account for the machine and user to both the system > passwd file and /etc/smbpasswd. > did you use user root to join the machine to the domain ?
On Fri, 19 Jul 2002, David Morel wrote:> did you use user root to join the machine to the domain ?Not initially, but I just tried it and get the same error. Mike -- Mike Tibor Univ. of Alaska Anchorage (907) 786-1001 voice Network Technician Consortium Library (907) 786-6050 fax tibor@lib.uaa.alaska.edu http://www.lib.uaa.alaska.edu/~tibor/ http://www.lib.uaa.alaska.edu/~tibor/pgpkey for PGP public key
On Thu, 18 Jul 2002, Mike Tibor wrote:> On Fri, 19 Jul 2002, David Morel wrote: > > > did you use user root to join the machine to the domain ? > > Not initially, but I just tried it and get the same error.Grrr... Okay, I missed a bunch of stuff when I had originally gone over Samba-HOWTO-Collection.html, and had also forgotten to add root to smbpasswd. After doing that, and changing several things in smb.conf, I was able to get the win2k box to join the domain. Thanks, Mike -- Mike Tibor Univ. of Alaska Anchorage (907) 786-1001 voice Network Technician Consortium Library (907) 786-6050 fax tibor@lib.uaa.alaska.edu http://www.lib.uaa.alaska.edu/~tibor/ http://www.lib.uaa.alaska.edu/~tibor/pgpkey for PGP public key