Set personal information attributes to defaults in lib/ldap/user_info.php3
authorkkalev <kkalev>
Tue, 13 Aug 2002 06:27:25 +0000 (06:27 +0000)
committerkkalev <kkalev>
Tue, 13 Aug 2002 06:27:25 +0000 (06:27 +0000)
dialup_admin/Changelog
dialup_admin/lib/ldap/user_info.php3

index 704f22a..093c570 100644 (file)
@@ -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.
index 174f72e..ff56adb 100644 (file)
@@ -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]);