[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge-plugin-ldapextauth/etc mapping.php,1.2,1.3
From: |
gsmet |
Subject: |
[Gforge-commits] gforge-plugin-ldapextauth/etc mapping.php,1.2,1.3 |
Date: |
Sat, 25 Dec 2004 11:12:48 -0600 |
Update of /cvsroot/gforge/gforge-plugin-ldapextauth/etc
In directory db.perdue.net:/tmp/cvs-serv733/etc
Modified Files:
mapping.php
Log Message:
made the default mapping more standart
Index: mapping.php
===================================================================
RCS file: /cvsroot/gforge/gforge-plugin-ldapextauth/etc/mapping.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mapping.php 29 Oct 2004 22:57:17 -0000 1.2
+++ mapping.php 25 Dec 2004 17:12:44 -0000 1.3
@@ -4,11 +4,8 @@
global $Language;
$result = array () ;
- $realname = $entry['gecos'][0] ;
- $rnarray = explode (' ', $realname, 2) ;
-
- $result['firstname'] = $rnarray[0] ;
- $result['lastname'] = $rnarray[1] ;
+ $result['firstname'] = $entry['givenname'][0] ;
+ $result['lastname'] = $entry['sn'][0] ;
$result['email'] = $entry['uid'][0] . '@' .
$GLOBALS['sys_default_domain'] ;
//$result['email'] = $entry['mail'][0] ; // AD
// You may also want to customise $result['language_id']
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge-plugin-ldapextauth/etc mapping.php,1.2,1.3,
gsmet <=