Code

Fixed problem with base
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 14 May 2005 16:02:54 +0000 (16:02 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 14 May 2005 16:02:54 +0000 (16:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@214 594d385d-05f5-0310-b6e9-bd551577e9d8

contrib/gosa.conf
include/setup_checks.inc

index 0be337fafb5e72da16798dea42313636bb9b6040..587d856f013e05c83ec9cb363c3be108d788f3c7 100644 (file)
                        sambaversion="{SAMBAVERSION}"
                        {SID}
                        {RIDBASE}
-                       base="{LDAPBASE}"
                        mailMethod="{MAILMETHOD}"
                        hash="{CRYPT}"
                        dnmode="{DNMODE}"
-                       server="{LOCALHOST}"
+                       server="{LDAPHOST}"
                        config="ou=gosa,ou=configs,ou=systems,{LDAPBASE}">
 
-                       <referral url="{LOCALHOST}"
+                       <referral url="{LDAPHOST}/{LDAPBASE}"
                                admin="{LDAPADMIN}"
                                password="{PASSWORD}" />
                </location>
index b5ce6684c382393420736fc0d559683013fb0ebe..b7640a2ed6d142c12cd0ec4acef7f726b6a7cab7 100644 (file)
@@ -417,7 +417,7 @@ function parse_contrib_conf()
   $replacements['{LDAPBASE}']               =   $ldapconf['base'];
   $replacements['{LDAPADMIN}']              =   $ldapconf['admin'];
   $replacements['{DNMODE}']                 =   $ldapconf['peopledn'];
-  $replacements['{LOCALHOST}']              =   $ldapconf['uri'];
+  $replacements['{LDAPHOST}']               =   $ldapconf['uri'];
   $replacements['{PASSWORD}']               =   $ldapconf['password'];
   $replacements['{CRYPT}']                  =   $ldapconf['arr_cryptkeys'][$ldapconf['arr_crypts']];
   $replacements['{SID}']                    =   "";