From b226955587ee3a45c25bef2783e13e82d2f9048c Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 30 Mar 2012 19:33:53 -0400 Subject: s4-auth-krb: Move keytab functions in a separate file. Confine ldb dependency. Signed-off-by: Andreas Schneider --- auth/credentials/credentials_krb5.c | 1 + auth/credentials/wscript_build | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 auth/credentials/wscript_build (limited to 'auth') diff --git a/auth/credentials/credentials_krb5.c b/auth/credentials/credentials_krb5.c index 18fda886bcd..f4defa1cc0c 100644 --- a/auth/credentials/credentials_krb5.c +++ b/auth/credentials/credentials_krb5.c @@ -28,6 +28,7 @@ #include "auth/credentials/credentials_proto.h" #include "auth/credentials/credentials_krb5.h" #include "auth/kerberos/kerberos_credentials.h" +#include "auth/kerberos/kerberos_srv_keytab.h" #include "auth/kerberos/kerberos_util.h" #include "param/param.h" diff --git a/auth/credentials/wscript_build b/auth/credentials/wscript_build old mode 100644 new mode 100755 index 2c46b43b214..a7936e92ecd --- a/auth/credentials/wscript_build +++ b/auth/credentials/wscript_build @@ -11,13 +11,13 @@ bld.SAMBA_LIBRARY('samba-credentials', bld.SAMBA_SUBSYSTEM('CREDENTIALS_KRB5', source='credentials_krb5.c', - deps='KERBEROS_UTIL gssapi samba-credentials', + deps='KERBEROS_SRV_KEYTAB KERBEROS_UTIL gssapi samba-credentials', public_deps='com_err authkrb5', ) bld.SAMBA_SUBSYSTEM('CREDENTIALS_SECRETS', source='credentials_secrets.c', - deps='CREDENTIALS_KRB5 CREDENTIALS_NTLM ldb samdb-common', + deps='CREDENTIALS_KRB5 CREDENTIALS_NTLM ldb SECRETS samdb-common', ) bld.SAMBA_SUBSYSTEM('CREDENTIALS_NTLM', -- cgit v1.2.1