mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
selftest: Use the absolute path to libnss_winbind.so.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Jan 17 16:45:27 CET 2014 on sn-devel-104
This commit is contained in:
parent
5daf540782
commit
c20753ce7a
@ -9,6 +9,7 @@ use strict;
|
||||
use target::Samba3;
|
||||
use target::Samba4;
|
||||
use POSIX;
|
||||
use Cwd qw(abs_path);
|
||||
|
||||
sub new($$$$$) {
|
||||
my ($classname, $bindir, $binary_mapping,$ldap, $srcdir, $server_maxtime) = @_;
|
||||
@ -69,6 +70,7 @@ sub nss_wrapper_winbind_so_path($) {
|
||||
my $ret = $ENV{NSS_WRAPPER_WINBIND_SO_PATH};
|
||||
if (not defined($ret)) {
|
||||
$ret = bindir_path($object, "default/nsswitch/libnss-winbind.so");
|
||||
$ret = abs_path($ret);
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user