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

2002-10-11 Thread Lew Aubrey



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.


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

2002-10-11 Thread Frank Matthieß
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ß[EMAIL PROTECTED]

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



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

2002-10-11 Thread Chris Berry

>From: "Lew Aubrey" <[EMAIL PROTECTED]>
>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
[EMAIL PROTECTED]
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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



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

2002-10-13 Thread johnnybb

An easier way to do this might be to install webmin (a web based gui for
linux admin) it can merge data with one click, and it's free!
www.webmin.com Good luck!

Thank You,

John Berry, Owner
Lantex Voice & Data Systems
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Frank Matthieß
Sent: Friday, October 11, 2002 4:03 AM
To: [EMAIL PROTECTED]
Subject: Re: [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ß
[EMAIL PROTECTED]

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba