From: kkalev Date: Tue, 13 Aug 2002 06:27:25 +0000 (+0000) Subject: Set personal information attributes to defaults in lib/ldap/user_info.php3 X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=2b238067b1b3f037b806d00711d57abd1f1c1052;p=freeradius-dialup-admin.git Set personal information attributes to defaults in lib/ldap/user_info.php3 --- diff --git a/Changelog b/Changelog index 704f22a..093c570 100644 --- a/Changelog +++ b/Changelog @@ -17,6 +17,7 @@ Ver 1.50: lib/sql/group_admin.php3 * Set a few more personal information attributes to defaults in lib/sql/user_info.php3 * Fix a typo for department +* Set personal information attributes to defaults in lib/ldap/user_info.php3 Ver 1.30: * Add limit of results returned in accounting.php3 * Fix a bug in time2strclock() in lib/functions.php3. Seconds ammount more than 9 would not show. diff --git a/lib/ldap/user_info.php3 b/lib/ldap/user_info.php3 index 174f72e..ff56adb 100644 --- a/lib/ldap/user_info.php3 +++ b/lib/ldap/user_info.php3 @@ -5,6 +5,22 @@ if (is_file("../lib/lang/$config[general_prefered_lang]/utf8.php3")) else include_once('../lib/lang/default/utf8.php3'); +$cn = '-'; +$cn_lang = '-'; +$homeaddress = '-'; +$homeaddress_lang = '-'; +$fax = '-'; +$url = '-'; +$ou = '-'; +$ou_lang = '-'; +$title = '-'; +$title_lang = '-'; +$telephonenumber = '-'; +$homephone = '-'; +$mobile = '-'; +$mail = '-'; +$mailalt = '-'; + $ds=@ldap_connect("$config[ldap_server]"); // must be a valid ldap server! if ($ds) { $r=@ldap_bind($ds,"$config[ldap_binddn]",$config[ldap_bindpw]);