Rev 5023 | Rev 5029 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5023 | Rev 5024 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | FIXME |
- | |
2 |
|
1 | ldap_find=!sh which ldapsearch |
3 |
|
2 | !if $ldap_find issametext $empty |
4 |
|
3 | auth_test=ERROR no_ldap |
5 |
|
4 | !exit |
6 |
|
5 | !endif |
7 | 6 | ||
- | 7 | ldap_auth=!defof class_ldap_auth in $authdef |
|
- | 8 | !default ldap_auth=!defof ldap_auth in wimshome/log/wims.conf |
|
- | 9 | ||
- | 10 | ldap_port=!defof class_ldap_port in $authdef |
|
- | 11 | !default ldap_port=!defof ldap_port in wimshome/log/wims.conf |
|
- | 12 | ||
- | 13 | ldap_version=!defof class_ldap_version in $authdef |
|
- | 14 | !default ldap_version=!defof ldap_version in wimshome/log/wims.conf |
|
- | 15 | ||
- | 16 | ldap_base=!defof class_ldap_base in $authdef |
|
- | 17 | !default ldap_base=!defof ldap_base in wimshome/log/wims.conf |
|
- | 18 | ||
- | 19 | ldap_branch=!defof class_ldap_branch in $authdef |
|
- | 20 | !default ldap_branch=!defof ldap_branch in wimshome/log/wims.conf |
|
- | 21 | ||
- | 22 | ldap_uid=!defof class_ldap_uid in $authdef |
|
- | 23 | !default ldap_uid=!defof ldap_uid in wimshome/log/wims.conf |
|
- | 24 | ||
- | 25 | #ldap_id=!replace internal " by in $ldap_uid=$(wims_read_parm[1]),$ldap_branch,$ldap_base |
|
- | 26 | ldap_id=!replace internal " by in $ldap_uid=$(wims_read_parm[1]) |
|
- | 27 | ||
- | 28 | ldap_login=!defof class_ldap_login in $authdef |
|
- | 29 | !default ldap_login=!defof ldap_login in wimshome/log/wims.conf |
|
- | 30 | ldap_branch=!defof class_ldap_branch in $authdef |
|
- | 31 | !default ldap_branch=!defof ldap_branch in wimshome/log/wims.conf |
|
8 | 32 | ||
9 | ## standard, ne pas mettre en argument |
33 | ## standard, ne pas mettre en argument |
10 | 34 | ||
11 | authdef=wimshome/log/classes/$superclass/.def |
35 | authdef=wimshome/log/classes/$superclass/.def |
12 | 36 | ||
13 | ldap_host=!defof class_ldap_idp in $authdef |
37 | ldap_host=!defof class_ldap_idp in $authdef |
14 | ldap_port=!defof class_ldap_port in $authdef |
38 | ldap_port=!defof class_ldap_port in $authdef |
15 | ldap_base=!defof class_ldap_base in $authdef |
39 | ldap_base=!defof class_ldap_base in $authdef |
- | 40 | ||
- | 41 | !set l_regnum=!defof class_ldap_regnum in $authdef |
|
- | 42 | !default l_regnum=!defof ldap_regnum in wimshome/log/wims.conf |
|
- | 43 | !!upsCodeEtu |
|
- | 44 | !set l_photourl=!defof class_ldap_photourl in $authdef |
|
- | 45 | !default l_photourl=!defof ldap_photourl in wimshome/log/wims.conf |
|
- | 46 | !!upsURLPhoto |
|
- | 47 | !set l_email=!defof class_ldap_email in $authdef |
|
- | 48 | !default l_email=!defof ldap_email in wimshome/log/wims.conf |
|
- | 49 | !!eduPersonPrincipalName |
|
16 | 50 | ||
17 | !set l_uid=uid |
51 | !set l_uid=uid |
18 | !set l_lastname=sn |
52 | !set l_lastname=sn |
19 | !set l_firstname=givenName |
53 | !set l_firstname=givenName |
20 | !set l_password=password |
54 | !set l_password=password |