[ltb-dev] reset by mail token

Steve Widdoes swiddoes at sevone.com
Wed Jul 3 16:13:31 CEST 2013


im trying to set this up. its connected to windows server 2008 r2. Ive
enabled mail tokens. and thats pretty much it. i dont see anything on the
webpage that says reset by email. the mail server info is set up. what else
do i need to set up?

# LDAP
$ldap_url = "ldaps://sevone";
$ldap_binddn = "CN=administrator,CN=users,DC=sevone,DC=com";
$ldap_bindpw = "password";
$ldap_base = "DC=sevone,DC=com";
$ldap_filter = "(&(objectClass=person)(uid={login}))";
$ldap_login_attribute = "uid";
$ldap_fullname_attribute = "cn";
$ldap_filter
="(&(objectClass=user)(sAMAccountName={login})(!(userAccountControl:1.2.840.113556.1.4.803:=2)))";

# Active Directory mode
# true: use unicodePwd as password field
# false: LDAPv3 standard behavior
$ad_mode = true;
# Force account unlock when password is changed
$ad_options['force_unlock'] = true;
# Force user change password at next login
$ad_options['force_pwd_change'] = false;

# Samba mode
# true: update sambaNTpassword and sambaPwdLastSet attributes too
# false: just update the password
# Warning: this require mhash() to be installed on your system
$samba_mode = false;

# Hash mechanism for password:
# SSHA
# SHA
# SMD5
# MD5
# CRYPT
# clear (the default)
# This option is not used with ad_mode = true
$hash = "true";

# Local password policy
# This is applied before directory password policy
# Minimal length
$pwd_min_length = 7;
# Maximal length
$pwd_max_length = 20;
# Minimal lower characters
$pwd_min_lower = 1;
# Minimal upper characters
$pwd_min_upper = 1;
# Minimal digit characters
$pwd_min_digit = 01;
# Show policy constraints message
$pwd_show_policy = true;

## Questions/answers
# Use questions/answers?
# true (default)
# false
$use_questions = true;

# Who changes the password?
# user: the user itself
# manager: the above binddn
$who_change_password = "user";

# Answer attribute should be hidden to users!
$answer_objectClass = "person";
$answer_attribute = "Description";

# Extra questions (built-in questions are in lang/$lang.inc.php)
$messages['questions']['ice'] = "What is your favorite ice cream flavor?";

## Token
# Use tokens?
# true (default)
# false
$use_tokens = true;
# Crypt tokens?
# true (default)
# false
$crypt_tokens = true;
# Token lifetime in seconds
$token_lifetime = "3600";

## Mail
# LDAP mail attribute
$mail_attribute = "mail";
# Who the email should come from
$mail_from = "passwordchange at domain.com";
# Notify users anytime their password is changed
$notify_on_change = true;

# Display help messages
$show_help = true;

# Language
$lang ="en";

# Logo
$logo = "style/sevone.png";

# Debug mode
$debug = false;

# Encryption, decryption keyphrase
$keyphrase = "password";

# Where to log password resets - Make sure apache has write permission
# By default, they are logged in Apache log
$reset_request_log = "C:/openldap/self-service-password.log";

## CAPTCHA
# Use Google reCAPTCHA (http://www.google.com/recaptcha)
# Go on the site to get public and private key
$use_recaptcha = false;
$recaptcha_publickey = "";
$recaptcha_privatekey = "";
# Customize theme (see
http://code.google.com/intl/de-DE/apis/recaptcha/docs/customization.html)
# Examples: red, white, blackglass, clean
$recaptcha_theme = "white";

-- 
   *Steve Widdoes*
IT Support Engineer - SevOne
 4550 New Linden Hill Rd, Wilmington, DE, 19808
 | p: 302-319-5400 |
e: swiddoes at sevone.com | w: www.SevOne.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ltb-project.org/pipermail/ltb-dev/attachments/20130703/db2bb3da/attachment.htm>


More information about the ltb-dev mailing list