Lew Aubrey
2002-Oct-11 10:15 UTC
[Samba] XP Pro - Domain Login ... great trauma and sorrow
I really think this is a Windows problem, but since my very good friend Bill refuses to return my calls ... The client is WinXP Professional The server is RedHat 7.1 with SAMBA 2.2.2-8 I have rtfm several times both the ENCRYPTION and PDC-Howto, and I think I have implemented all of the requisite registry and passwd/smbpasswd/smb.conf settings. The client will happily JOIN the domain, but my efforts to LOGIN to the domain fail because someone/thing is unable to open passwd database. If you know what I am missing (please be gentle), I would greatly appreciate a response. Thanks ********************************************************************************************************************************************************** Samba Log for the client ********************************************************************************************************************************************************** [2002/10/09 08:14:09, 1] smbd/password.c:pass_check_smb(546) Couldn't find user 'user longname' in passdb. [2002/10/09 08:14:09, 1] smbd/password.c:pass_check_smb(546) Couldn't find user 'user longname' in passdb. [2002/10/09 08:14:09, 1] smbd/reply.c:reply_sesssetup_and_X(995) Rejecting user 'user longname': authentication failed *************************************************************************************************** The messages above are generated when the client is started. The messages below are generated when attempting to login to the NT Domain *************************************************************************************************** [2002/10/09 08:15:21, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(672) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. [2002/10/09 08:15:21, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171) startsmbfilepwent_internal: unable to open file /etc/samba/private/smbpasswd. Error was Permission denied [2002/10/09 08:15:21, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1459) unable to open passdb database. -------------- next part -------------- HTML attachment scrubbed and removed
Frank Matthieß
2002-Oct-11 11:04 UTC
[Samba] XP Pro - Domain Login ... great trauma and sorrow
On Fri, Oct 11, 2002 at 06:14:49AM -0400, Lew Aubrey wrote:> I really think this is a Windows problem, but since my very good friend Bill refuses to return my calls ... > > > The client is WinXP Professional > > The server is RedHat 7.1 with SAMBA 2.2.2-8 > > I have rtfm several times both the ENCRYPTION and PDC-Howto, and I > think I have implemented all of the requisite registry and > passwd/smbpasswd/smb.conf settings. > > The client will happily JOIN the domain, but my efforts to LOGIN to > the domain fail because someone/thing is unable to open passwd > database.Yout need smbpasswd account and the _same_ user in unix passwd. If you want to use typical windows user names like "Hein Bl?d", than you have to use the "username map (G)" to map those windows username to an _existing_ unix user. See manual page "man smb.conf", hjow to configure this.> > > If you know what I am missing (please be gentle), I would greatly > appreciate a response. > > > Thanks > > > ********************************************************************************************************************************************************** > Samba Log for the client > ********************************************************************************************************************************************************** > > [2002/10/09 08:14:09, 1] smbd/password.c:pass_check_smb(546) > Couldn't find user 'user longname' in passdb. > [2002/10/09 08:14:09, 1] smbd/password.c:pass_check_smb(546) > Couldn't find user 'user longname' in passdb. > [2002/10/09 08:14:09, 1] smbd/reply.c:reply_sesssetup_and_X(995) > Rejecting user 'user longname': authentication failed > > *************************************************************************************************** > The messages above are generated when the client is started. > > The messages below are generated when attempting to login to the NT Domain > *************************************************************************************************** > > [2002/10/09 08:15:21, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(672) > api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. > [2002/10/09 08:15:21, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171) > startsmbfilepwent_internal: unable to open file /etc/samba/private/smbpasswd. > Error was Permission denied^^^^^^^^^^^^^^^^^^^^^^^^^^^ What tell's "ls -l /etc/samba/private/smbpasswd" ? This file must be exist and readable by the unix user, who runs the samba daemon (normaly root).> [2002/10/09 08:15:21, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1459) > unable to open passdb database. >Hope this helps. Frank. -- Frank Matthie? fm+samba@Microdata-pos.de
Chris Berry
2002-Oct-11 16:53 UTC
[Samba] XP Pro - Domain Login ... great trauma and sorrow
>From: "Lew Aubrey" <lew@aimsystems.ca> >startsmbfilepwent_internal: unable to open >file >/etc/samba/private/smbpasswd. >Error was Permission denied >unable to open passdb database.I'm not a guru on samba yet, but this seems to be the relevant problem here. You need to check the permissions and user setup so that the smbpasswd file can be accessed. Chris Berry compjma@hotmail.com Systems Administrator JM Associates "I have found the way, and the way is Perl." _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx