Subversion Repositories ALCASAR

Rev

Rev 2704 | Rev 2712 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2704 Rev 2706
Line 24... Line 24...
24
	if ((!&Calling-Station-Id) || (&User-Name != &Calling-Station-Id) || (!&User-Password) || (&User-Password != "password")) { # no LDAP query for @MAC
24
	if ((!&Calling-Station-Id) || (&User-Name != &Calling-Station-Id) || (!&User-Password) || (&User-Password != "password")) { # no LDAP query for @MAC
25
		ldap { fail = 1 }
25
		ldap { fail = 1 }
26
		if ((ok || updated) && User-Password) {
26
		if ((ok || updated) && User-Password) {
27
			update control {
27
			update control {
28
				Auth-Type := LDAP
28
				Auth-Type := LDAP
-
 
29
				Tmp-String-0 := "ldap" # AuthType SQL group
29
			}
30
			}
30
		}
31
		}
31
	}
32
	}
32
 
33
 
33
	sql { notfound = 1 }
34
	sql { notfound = 1 }