[Samba] XP Pro - Domain Login ... great trauma and sorrow

Frank Matthieß fm+samba at Microdata-POS.de
Fri Oct 11 11:04:01 GMT 2002


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 at Microdata-pos.de




More information about the samba mailing list