mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
libads: Fix the build --without-ads
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Tue Feb 6 02:47:44 CET 2018 on sn-devel-144
This commit is contained in:
parent
0c3348feb0
commit
859698d29b
@ -640,7 +640,11 @@ int ads_keytab_list(const char *keytab_name)
|
||||
}
|
||||
|
||||
if (keytab_name == NULL) {
|
||||
#ifdef HAVE_ADS
|
||||
ret = ads_keytab_open(context, &keytab);
|
||||
#else
|
||||
ret = ENOENT;
|
||||
#endif
|
||||
} else {
|
||||
ret = smb_krb5_kt_open(context, keytab_name, False, &keytab);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user