[Samba] samba access based on computername possible?

Thomas M. Skeren III tms3 at fsklaw.com
Wed Mar 23 00:53:54 GMT 2005

flashgordon wrote:

> Hi Thomas
> Tried to do it, but didn't work, all machines are in dns
> but not resolved

Hmm...then samba doesn't use anything but ip addy to resolve host allow 
statement.  Try WINS if that fails then you're stuck with ip's.  I've 
never tried it.  I assume that the *nix server is resolving to the DNS 
server in question?

> gordon
> ----- Original Message ----- From: "Thomas M. Skeren III" 
> <tms3 at fsklaw.com>
> To: "flashgordon" <flashgordon at xs4all.nl>
> Cc: <samba at samba.org>
> Sent: Wednesday, March 23, 2005 12:58 AM
> Subject: Re: [Samba] samba access based on computername possible?
>> flashgordon wrote:
>>> Is it possible to setup samba based on computernames so hostnames 
>>> (NOT ipnummers)  of computers instead of usernames?
>>> so to be more clear :
>>> hosts allow= computername (instead of ip number)
>> I think yes if they're in DNS.  I don't think samba resolves this 
>> through WINS.  Not sure though. never tried it.
>>> if this isn't possible is there a workaround?
>>> ora   a how to?
>>> best regards
>>> gordon

More information about the samba mailing list