How can I get SID of windows user connecting to samba

Maulik Desai mdesai at Omneon.com
Tue Apr 3 17:06:58 GMT 2001


>     I have certain doubts in my understanding of the samba.
>    please clear these issues for me .
>    1,  The user name I give in windows box  for connection to my samba
> server .will that user have a SID for it.

In Windows, each domain user gets a unique SID. If you're using "domain
level" security in Samba, Samba will get the user SID (as well as domain
SID & group SIDs) from the PDC if validation is successful.

>     if it has the SID. in samba where we storing that SID .

The user's SID is not stored because Samba does not have any use for
it locally. Samba will map the windows user to his/her Unix account 
and use the corresponding uid to identify the user locally.

>    2,   Is the user name we give in the windows box be 
> validated in the
> windows also or he will simply sent the password and user name to the
> samba server.

The client sends the credentials to the server it is trying to connect
to - it does not attempt to validate the user locally. 


-Maulik




More information about the samba-technical mailing list