Subversion Repositories ALCASAR

Rev

Rev 779 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 779 Rev 780
Line 108... Line 108...
108
	$ldap = new ldapConfig();
108
	$ldap = new ldapConfig();
109
	$ldap->load(ALCASAR_RADIUS_MODULE_LDAP);
109
	$ldap->load(ALCASAR_RADIUS_MODULE_LDAP);
110
	// mise à jours des données
110
	// mise à jours des données
111
	//$ldap->server = $ldap_server;
111
	//$ldap->server = $ldap_server;
112
	$ldap->host = $ldap_server;
112
	$ldap->host = $ldap_server;
113
	$ldap->identity = $ldap_identity;
113
	$ldap->identity = $ldap_user;
114
	$ldap->password = $ldap_password;
114
	$ldap->password = $ldap_password;
115
	$ldap->basedn = $ldap_basedn;
115
	$ldap->basedn = $ldap_base_dn;
116
	//$ldap->filter = $ldap_filter;
116
	//$ldap->filter = $ldap_filter;
117
	$ldap->uid = $ldap_filter;
117
	$ldap->uid = $ldap_filter;
118
	$ldap->base_filter = $ldap_base_filter;
118
	$ldap->base_filter = $ldap_base_filter;
119
	//sauvegarde du fichier /etc/raddb/modules/ldap
119
	//sauvegarde du fichier /etc/raddb/modules/ldap
120
	$ldap->save(ALCASAR_RADIUS_MODULE_LDAP);
120
	$ldap->save(ALCASAR_RADIUS_MODULE_LDAP);