fix typo, add doc for ldap-edir, build edir.c with boilermake
authorOlivier Beytrison <olivier@heliosnet.org>
Sat, 8 Dec 2012 10:40:20 +0000 (11:40 +0100)
committerOlivier Beytrison <olivier@heliosnet.org>
Sat, 8 Dec 2012 10:48:09 +0000 (11:48 +0100)
raddb/mods-available/ldap
raddb/sites-available/default
src/modules/rlm_ldap/all.mk.in
src/modules/rlm_ldap/edir.c

index 875b0f7..92a5fe7 100644 (file)
@@ -57,6 +57,11 @@ ldap {
        # if you're not using LDAP to retrieve password values.
 #      expect_password = "yes" 
 
+       # Set to yes if you have eDirectory and want to use the universal
+       # password mechanism. Add ldap in post-auth to perform account
+       # policy checking
+#      edir = "no"
+
        #
        #  Profile related attributes.
        #
index 7d5c75b..fd51c6d 100644 (file)
@@ -640,9 +640,8 @@ post-auth {
 #      sql_log
 
        #
-       #  Un-comment the following if you have set
-       #  'edir_account_policy_check = yes' in the ldap module sub-section of
-       #  the 'modules' section.
+       #  Un-comment the following if you have set 'edir = yes'
+       #  in the ldap module sub-section of the 'modules' section.
        #
 #      ldap
 
index 591728e..1459ab3 100644 (file)
@@ -4,7 +4,7 @@ ifneq "$(TARGETNAME)" ""
 TARGET         := $(TARGETNAME).a
 endif
 
-SOURCES                := $(TARGETNAME).c
+SOURCES                := $(TARGETNAME).c @edir@
 
 SRC_CFLAGS     := @ldap_cflags@
 TGT_LDLIBS     := @ldap_ldflags@
index 08a64e8..e989dfa 100644 (file)
@@ -60,8 +60,6 @@ int nmasldap_get_password(LDAP *ld,char *objectDN, char *pwd, size_t *pwdSize);
  *     RequestBer contents:
  *             clientVersion                           INTEGER
  *             targetObjectDN                          OCTET STRING
- *             password1                               OCTET STRING
- *             password2                               OCTET STRING
  *
  *     Description:
  *             This function takes the request BER value and input