aboutsummaryrefslogtreecommitdiff
path: root/sysutils/adtool/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/adtool/files')
-rw-r--r--sysutils/adtool/files/patch-src_lib_active__directory.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/adtool/files/patch-src_lib_active__directory.h b/sysutils/adtool/files/patch-src_lib_active__directory.h
new file mode 100644
index 000000000000..dee46a283e2b
--- /dev/null
+++ b/sysutils/adtool/files/patch-src_lib_active__directory.h
@@ -0,0 +1,19 @@
+--- src/lib/active_directory.h.orig 2020-08-27 17:21:27 UTC
++++ src/lib/active_directory.h
+@@ -28,11 +28,11 @@ searchbase ou=users,dc=example,dc=com
+ | if there is a problem reading the config file, or
+ | AD_SERVER_CONNECT_FAILURE if a connection can't be made.
+ */
+-char *system_config_file;
+-char *uri;
+-char *binddn;
+-char *bindpw;
+-char *search_base;
++extern char *system_config_file;
++extern char *uri;
++extern char *binddn;
++extern char *bindpw;
++extern char *search_base;
+
+ /* ad_get_error() returns a pointer to a string containing an
+ | explanation of the last error that occured.