s4:util - add a function which finds the matching client site using the client address
commit093d35661d25d7fd89ce46fef5922768c0c0ace7
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 13 Apr 2010 16:28:53 +0000 (13 18:28 +0200)
committerAndrew Tridgell <tridge@samba.org>
Tue, 27 Apr 2010 05:24:41 +0000 (27 15:24 +1000)
tree7ed0b265e283b0176d173d2b03499fa1d19d75b6
parent725e48c22c92e284bb55567f2116c8ddc82a0529
s4:util - add a function which finds the matching client site using the client address

The lookup of the client site is done using the subnets in the configuration
partition. If no one matches we use the Windows Server fallback mechansim.
This means: if only one site is available just use it. If they're more set the
output variable to "".

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/dsdb/common/util.c