sysutils/adtool: fix build on recent current

This commit is contained in:
Tobias C. Berner 2020-08-27 17:23:10 +00:00
parent 4c2d8c6c77
commit 16602fb28d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546373

View File

@ -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.