diff --git a/.compat-openldap.metadata b/.compat-openldap.metadata index b926df5..49729eb 100644 --- a/.compat-openldap.metadata +++ b/.compat-openldap.metadata @@ -1,2 +1 @@ -ffad8e108aae3a02373a11f00f4fd23056770cf2 SOURCES/openldap-config-sasl-options.patch 796b5db37ae5243b84f7b9c11217bbec44e0da8c SOURCES/openldap-2.3.43.tgz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..408d856 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/openldap-2.3.43.tgz diff --git a/SOURCES/openldap-config-sasl-options.patch b/SOURCES/openldap-config-sasl-options.patch new file mode 100644 index 0000000..f92b2b7 --- /dev/null +++ b/SOURCES/openldap-config-sasl-options.patch @@ -0,0 +1,15 @@ +SASL_MECH/SASL_REALM should be system configurable +--- openldap-2.3.27/libraries/libldap/init.c.orig 2007-04-26 16:37:02.000000000 +0200 ++++ openldap-2.3.27/libraries/libldap/init.c 2007-04-26 16:39:10.000000000 +0200 +@@ -81,9 +81,9 @@ + {0, ATTR_BOOL, "RESTART", NULL, LDAP_BOOL_RESTART}, + + #ifdef HAVE_CYRUS_SASL +- {1, ATTR_STRING, "SASL_MECH", NULL, ++ {0, ATTR_STRING, "SASL_MECH", NULL, + offsetof(struct ldapoptions, ldo_def_sasl_mech)}, +- {1, ATTR_STRING, "SASL_REALM", NULL, ++ {0, ATTR_STRING, "SASL_REALM", NULL, + offsetof(struct ldapoptions, ldo_def_sasl_realm)}, + {1, ATTR_STRING, "SASL_AUTHCID", NULL, + offsetof(struct ldapoptions, ldo_def_sasl_authcid)},