[Evolvis-commits] r121: initialize ldap uidnumber/gidnumber with '65543' (nobody) instead of '0' ↵

sfromm at evolvis.org sfromm at evolvis.org
Wed May 6 16:41:18 CEST 2009


Author: sfromm
Date: 2009-05-06 14:41:17 +0000 (Wed, 06 May 2009)
New Revision: 121

Modified:
   trunk/gforge_base/login_management/ldap/ldap2ldap.php
Log:
initialize ldap uidnumber/gidnumber with '65543' (nobody) instead of '0'


Modified: trunk/gforge_base/login_management/ldap/ldap2ldap.php
===================================================================
--- trunk/gforge_base/login_management/ldap/ldap2ldap.php	2009-04-08 09:15:13 UTC (rev 120)
+++ trunk/gforge_base/login_management/ldap/ldap2ldap.php	2009-05-06 14:41:17 UTC (rev 121)
@@ -115,8 +115,8 @@
 	    $item["sn"] = $info[$i]["sn"][0];
 	    $item["mail"] = $info[$i]["mailprimaryaddress"][0];
 	    $item["loginshell"] = "/lib/anonsvnsh";
-	    $item["uidnumber"] = 0;
-	    $item["gidnumber"] = 0;
+	    $item["uidnumber"] = 65534;
+	    $item["gidnumber"] = 65534;
 	    $item["uid"][1] = 0;
 	    $item["homeDirectory"] = "/var/lib/gforge/chroot/home/users/".$uname;
 	    $item["uid"][2] = 1;




More information about the evolvis-commits mailing list