[Samba] user authentication based on IP

sangfroid cfmx07 at yahoo.com
Wed Mar 31 08:32:39 MDT 2010


I am using AD server to authenticate my samba users and I have something
like this in my samba configuration file.

 password server = auth1.server   auth2.server.

However, as auth2.server is a secondary authentication server meant for
users from different location (say location B) , I would like to get it used
only if users come from location B.

auth2.server is exact replication of auth1.server

I need it because, if user from location A uses auth2.server (which is in
different location), all samba activity gets too slow...

how to configure samba so that, if users are from some block of IP, they get
authenticated agains auth1.server and if say they are from different
location, they get authenticated against auth2.server ??

View this message in context: http://old.nabble.com/user-authentication-based-on-IP-tp28096751p28096751.html
Sent from the Samba - General mailing list archive at Nabble.com.

More information about the samba mailing list