From b0782a625d50c6fce4da50d5c604f5cc4f128b43 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 4 Aug 2012 20:06:44 -0700 Subject: initial fork of simple-ldap-plugin --- Simple-LDAP-Login-Admin.php | 251 -------------------------------------------- 1 file changed, 251 deletions(-) delete mode 100644 Simple-LDAP-Login-Admin.php (limited to 'Simple-LDAP-Login-Admin.php') diff --git a/Simple-LDAP-Login-Admin.php b/Simple-LDAP-Login-Admin.php deleted file mode 100644 index 873c973..0000000 --- a/Simple-LDAP-Login-Admin.php +++ /dev/null @@ -1,251 +0,0 @@ - - - - -ID > 0) - { - $bool_test = 1; - } - else - { - $bool_test = 2; - } -} -//Load settings, etc -$simpleldap_account_suffix = get_option("simpleldap_account_suffix"); -$simpleldap_base_dn = get_option("simpleldap_base_dn"); -$simpleldap_domain_controllers = get_option("simpleldap_domain_controllers"); - -//Version 1.3 -$simpleldap_directory_type = get_option("simpleldap_directory_type"); -$simpleldap_login_mode = get_option("simpleldap_login_mode"); -$simpleldap_group = get_option("simpleldap_group"); -$simpleldap_account_type = get_option("simpleldap_account_type"); - -//Version 1.3.0.2 -$simpleldap_security_mode = get_option("simpleldap_security_mode"); - -//Version 1.4 -$simpleldap_ol_login = get_option("simpleldap_ol_login"); -$simpleldap_use_tls = get_option("simpleldap_use_tls"); - -?> - -
- -
-
-

Settings

-

These are rather important.

-

LDAP Directory:
->
->
-

-

Account Suffix:
-
-*Probably the suffix of your e-mail addresses. Example: @domain.com -

-

LDAP Login Attribute (OpenLDAP only):
-
-*In case your installation uses something other than uid. -

-

Base DN:
-
-*Example: For subdomain.domain.sufix use DC=subdomain,DC=domain,DC=suffix -

-

Domain Controller(s):
-
-*Separate with semi-colons. -

- - -
-
-

Advanced

-

For the intrepid and daring among you.

-

Login mode:
- >
- >
->

-

For latter two options, create account as:
- -

-

-Security mode:
- >
- >
-

-

-TLS:
-> -

-
-
-
-

Test Settings

-

Use this form as a limited test for those settings you saved.* This will test user creation and group membership. If settings don't work, use another browser to try actually logging in. (unless you'd rather get locked out)

-

*You did save them, right?

-
-

Username:
- -

Password:
- -

- - -
-

-

Test Results:

- -

-
-
-

Oddly, your version of PHP doesn't allow file_get_contents to use URLs. But even more oddly, your browser doesn't allow frames! I think it's time for you to consider leaving 1998 in the past.

"; ?> -
-
-Debug Info:
"; -echo "simpleldap_directory_type: ".get_option("simpleldap_directory_type")."/".$_POST['LDAP']."
"; -echo "simpleldap_login_mode: ".get_option("simpleldap_login_mode")."/".$_POST['mode']."
"; -echo "simpleldap_group: ".get_option("simpleldap_group")."/".$_POST['group_name']."
"; -echo "simpleldap_account_type: ".get_option("simpleldap_account_type")."/".$_POST['create_type']."

"; -} -?> - - \ No newline at end of file -- cgit v1.2.3