Rev 5045 | Rev 5092 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5045 | Rev 5072 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | 30 | ||
31 | # don't use auth_user and auth_password, some characters are unvailable |
31 | # don't use auth_user and auth_password, some characters are unvailable |
32 | # parameters are empty for auth-cas |
32 | # parameters are empty for auth-cas |
33 | !readproc adm/class/auth-$auth_method $auth_user_connection,$auth_password_connection |
33 | !readproc adm/class/auth-$auth_method $auth_user_connection,$auth_password_connection |
34 | 34 | ||
35 | auth_user_orig=$auth_user |
- | |
36 | - | ||
37 | # if ldap connection is OK, replace auth_user by $ldap_login (ie auth_test) |
- | |
38 | !! !if ERROR notwordof $auth_test |
- | |
39 | !! !if $auth_test!=$empty |
- | |
40 | !! auth_test=OK |
- | |
41 | !! !endif |
- | |
42 | !! !endif |
- | |
43 | !endif |
35 | !endif |
44 | ##### end of EXTERNAL connection - part 1 ##### |
36 | ##### end of EXTERNAL connection - part 1 ##### |
45 | # now we can run the script |
37 | # now we can run the script |
46 | !if $auth_method isitemof $auth_method_list and $auth_user!=supervisor |
38 | !if $auth_method isitemof $auth_method_list and $auth_user!=supervisor |
47 | auth_user=!lookup $auth_user_orig in wimshome/log/classes/$superclass/.userlist_external |
39 | auth_user=!lookup $auth_user_orig in wimshome/log/classes/$superclass/.userlist_external |