[Samba] How I get that a host (domain NT) only gives access to a certain user

Andrew Bartlett abartlet at samba.org
Wed Jun 30 10:44:34 GMT 2004


On Wed, 2004-06-30 at 19:49, Nicki Messerschmidt, Linksystem Muenchen
GmbH wrote:
> Ricardo Chamorro said the following:
> 
> > How I get that a host (domain NT) only gives access to a certain
> > user. That, for example,  john only has access to the client IP
> > 192.168.0.11 or, said otherwise, that the host 192.168.0.11 only give
> > access to the user john. How could I implement it? I have looked for
> > in Using Samba and Google, but I have not found anything specific... 
> > It is a domain NT run on Debian Woody knl 2.4.25 with Samba 2.2.8
> > (setting as domain master and users security) and the clients are W95
> > and 98 with fixed IP.
> 
> You could do it via the login script like this:
> if "%username%" == "scanner" if not "%computername%" == "SCAN"
> \\server\netlogon\bin\logoff.exe /f /n
> 
> The file "logoff.exe" ist imho part of the resource kit.

You could also look at the sambaUserWorkstations attribute in
LDAP/tdbsam

This states that for a given user, they may only login from a particular
workstation.

This is in Samba 3.0

Andrew Bartlett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040630/e259db71/attachment.bin


More information about the samba mailing list