Bluehost.com Web Hosting $6.95

Re: [Samba] Unnecessary smbpasswd

This is a discussion on Re: [Samba] Unnecessary smbpasswd within the Samba forums, part of the Networking and Network Related category; On Thu, Sep 29, 2005 at 12:30:35PM -0600, Ric Tibbetts wrote: > If I understand the process correctly: &...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-29-2005
Jeremy Allison
 
Posts: n/a
Default Re: [Samba] Unnecessary smbpasswd

On Thu, Sep 29, 2005 at 12:30:35PM -0600, Ric Tibbetts wrote:

> If I understand the process correctly:
>
> User on Windows XP box makes a request to the Samba server.
> The windows box passes the username/password pair to the Samba server.
> The Samba server checks that the user exists on the unix box, and
> (following the "password server = xxx.xxx.xxx.xxx" parameter in
> smb.conf) verifies the username/password from the Windows Domain
> Controller (specified in the "password server = " parameter).
> If the username/password do not exist on the specified password
> server, samba checks the smbpasswd file.
> Once the username/password is validated, the samba server will pass the
> share.
>
> Is the above a fair breakdown, in a very simple implementation?


Close. The Samba server sends a challenge to the client on initial
connect, the client replies on sessionsetup (user logon) with a
username and a cryptographic reply to the challenge based on
the users hashed password.

Now Samba has to authenticate that reply somehow. It can't use
unix passwords as the hashes aren't the same. To do it locally
it can use smbpassword (or a local tdb or an ldap based SAM). To
do this remotely against a Windows DC the Samba server have to
be set up as a member of the domain served by the Windows PDC.
That's where the net XXX (ads or rpc) join comes in.

Once the authentication passes the the Samba server needs to
look up a UNIX user that will represent the logging in client
on this box - that's where you have either local unix users
in /etc/passwd or use winbindd to have remote domain users
appear as local unix users.

Hope this helps,

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0