Rev 12555 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12555 | Rev 13323 | ||
---|---|---|---|
Line 74... | Line 74... | ||
74 | !else |
74 | !else |
75 | !if $auth_real_login!= and $auth_real_login!=ERROR |
75 | !if $auth_real_login!= and $auth_real_login!=ERROR |
76 | auth_test=$auth_real_login |
76 | auth_test=$auth_real_login |
77 | !else |
77 | !else |
78 | !! one looks for the ldap_login in an anonymous way (no password) |
78 | !! one looks for the ldap_login in an anonymous way (no password) |
- | 79 | !! quite anonymous search, since $ldap_oneuser is unpriviledged |
|
79 | ldap_search2=!sh ldapsearch -x -H ldap://$ldap_auth:$ldap_port -b "$ldap_base" '$ldap_id' $ldap_login | grep -v "^[d]n:" |
80 | ldap_search2=!sh ldapsearch -x -H ldap://$ldap_auth:$ldap_port -b "$ldap_base" $ldap_accreditation '$ldap_id' $ldap_login | grep -v "^[d]n:" |
80 | ldap_search2=!replace internal :$ $ by , in $ldap_search2 |
81 | ldap_search2=!replace internal :$ $ by , in $ldap_search2 |
81 | ldap_cnt2=!linecnt $ldap_search2 |
82 | ldap_cnt2=!linecnt $ldap_search2 |
82 | 83 | ||
83 | !for i=1 to $ldap_cnt2 |
84 | !for i=1 to $ldap_cnt2 |
84 | l=!line $i of $ldap_search2 |
85 | l=!line $i of $ldap_search2 |