s3:param: Only include smb_ldap.h for LDAP_* defines
authorAndreas Schneider <asn@samba.org>
Mon, 6 Dec 2021 17:08:54 +0000 (18:08 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 6 Dec 2021 22:08:31 +0000 (22:08 +0000)
There is no need for ads.h which would pull in krb5.h and much more ...

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/param/loadparm.c

index c35d3b842a9299d6364369e9084a7c482103ad44..5c784400e483928fe12d8796aab9244a05c34ec3 100644 (file)
@@ -63,7 +63,7 @@
 #include "lib/smbconf/smbconf.h"
 #include "lib/smbconf/smbconf_init.h"
 
-#include "ads.h"
+#include "include/smb_ldap.h"
 #include "../librpc/gen_ndr/svcctl.h"
 #include "intl.h"
 #include "../libcli/smb/smb_signing.h"