summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nds/openldap/files/openldap-2.1.30-glibc24.patch')
-rw-r--r--net-nds/openldap/files/openldap-2.1.30-glibc24.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-nds/openldap/files/openldap-2.1.30-glibc24.patch b/net-nds/openldap/files/openldap-2.1.30-glibc24.patch
new file mode 100644
index 000000000000..6e0d8d107c91
--- /dev/null
+++ b/net-nds/openldap/files/openldap-2.1.30-glibc24.patch
@@ -0,0 +1,12 @@
+--- openldap-2.2.28/libraries/libldap/init.c 2005-01-20 18:01:01.000000000 +0100
++++ openldap-2.2.28-patch/libraries/libldap/init.c 2006-03-14 17:17:13.000000000 +0100
+@@ -553,7 +553,7 @@
+ if( user == NULL ) user = getenv("LOGNAME");
+
+ if( user != NULL ) {
+- gopts->ldo_def_sasl_authcid = user;
++ gopts->ldo_def_sasl_authcid = LDAP_STRDUP(user);
+ }
+ }
+ #endif
+