Hi there,

Currently I'm trying to install SOGo on my FreeBSD Box with multiple
Domains. But Login over LDAP Sources fails. Could anyone tell me whats
going wrong? I still didn't find the error :(
PostgreSQL, LDAP, IMAP and SMTP are distributed on other servers
(FreeBSD Jails).

On my sogo logfile

Oct 16 17:55:28 sogod [67193]: version 1.3.8 (build darko@web
201110142242) -- starting
Oct 16 17:55:28 sogod [67193]: vmem size check enabled: shutting down
app when vmem > 384 MB
Oct 16 17:55:28 sogod [67193]: <0x0x8052dfe50[SOGoProductLoader]> SOGo
products loaded from '/usr/local/GNUstep/Local/Library/SOGo':
Oct 16 17:55:28 sogod [67193]: <0x0x8052dfe50[SOGoProductLoader]>
CommonUI.SOGo, MailPartViewers.SOGo, Mailer.SOGo, Appointments.SOGo,
PreferencesUI.SOGo, AdministrationUI.SOGo, Contacts.SOGo, MailerUI.SOGo,
MainUI.SOGo, ContactsUI.SOGo, SchedulerUI.SOGo
Oct 16 17:55:28 sogod [67193]: <0x0x80528ee10[WOWatchDog]> listening on
*:20000
Oct 16 17:55:28 sogod [67193]: <0x0x80528ee10[WOWatchDog]> watchdog
process pid: 67193
Oct 16 17:55:28 sogod [67193]: <0x0x80135a100[WOWatchDogChild]> watchdog
request timeout set to 10 minutes
Oct 16 17:55:28 sogod [67193]: <0x0x80528ee10[WOWatchDog]> preparing 1
children
Oct 16 17:55:28 sogod [67193]: <0x0x80528ee10[WOWatchDog]> child spawned
with pid 67194
Oct 16 17:56:17 sogod [67194]: <0x0x80538cf50[SOGoCache]> Cache cleanup
interval set every 300.000000 seconds
Oct 16 17:56:17 sogod [67194]: <0x0x80538cf50[SOGoCache]> Using host(s)
'localhost' as server(s)
2011-10-16 17:56:17.952 sogod[67194] Note(SoObject): SoDebugKeyLookup is
enabled!
2011-10-16 17:56:17.953 sogod[67194] Note(SoObject): SoDebugBaseURL is
enabled!
2011-10-16 17:56:17.953 sogod[67194] Note(SoObject): relative base URLs
are enabled.
2011-10-16 17:56:21.964 sogod[67194] ERROR(-[NGBundleManager
bundleWithPath:]): could not create bundle for path:
'/usr/local/GNUstep/System/Library/Libraries/gnustep-base/Versions/1.19/Resources/SSL.bundle'
2011-10-16 17:56:21.976 sogod[67194] WOCompoundElement: pool embedding
is on.
2011-10-16 17:56:21.976 sogod[67194] WOCompoundElement: id logging is
on.
31.214.153.165 - - [16/Oct/2011:17:56:21 GMT] "GET /SOGo HTTP/1.1" 302
0/0 4.030 - - -
2011-10-16 17:56:22.056 sogod[67194] WARNING(-[NSNull(misc) count]):
called NSNull -count (returns 0) !!!
31.214.153.165 - - [16/Oct/2011:17:56:22 GMT] "GET /SOGo/ HTTP/1.1" 200
3521/0 0.034 10701 67% -
Oct 16 17:56:43 sogod [67194]: SOGoRootPage Login for user
'darko_hojnik' might not have worked - password policy: 65535  grace: -1
expire: -1  bound: 0
31.214.153.165 - - [16/Oct/2011:17:56:43 GMT] "POST /SOGo/connect
HTTP/1.1" 403 34/70 0.014 - - 


for better reading I've pasted everything on a pastbin service  

My .GNUstepDefaults
http://debianforum.de/forum/pastebin.php?mode=view&s=35979

My Vhost
http://debianforum.de/forum/pastebin.php?mode=view&s=35980

My Log
http://debianforum.de/forum/pastebin.php?mode=view&s=35981


here again my .GNUstepDefaults
 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN"
"http://www.gnustep.org/plist-0_9.xml";>
<plist version="0.9">
<dict>
    <key>NSGlobalDomain</key>
    <dict>
    </dict>
    <key>sogod</key>
    <dict>
        <key>LDAPDebugEnabled</key>
        <string>YES</string>
        <key>OCSFolderInfoURL</key>
        <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN"
"http://www.gnustep.org/plist-0_9.xml";>
<plist version="0.9">
<dict>
    <key>NSGlobalDomain</key>
    <dict>
    </dict>
    <key>sogod</key>
    <dict>
        <key>LDAPDebugEnabled</key>
        <string>YES</string>
        <key>OCSFolderInfoURL</key>

<string>postgresql://someuser:[email protected]:5432/sogodb/sogo_folder_info</string>
        <key>OCSSessionsFolderURL</key>

<string>postgresql://someuser:[email protected]:5432/sogodb/sogo_sessions_folder</string>
        <key>SOGoAppointmentSendEMailNotifications</key>
        <string>YES</string>
        <key>SOGoCalendarDefaultRoles</key>
        <array>
            <string>PublicViewer</string>
            <string>ConfidentialDAndTViewer</string>
        </array>
        <key>SOGoLanguage</key>
        <string>German</string>
        <key>SOGoMailingMechanism</key>
        <string>smtp</string>
        <key>SOGoProfileURL</key>

<string>postgresql://someuser:[email protected]:5432/sogodb/sogo_user_profile</string>
        <key>SOGoSentFolderName</key>
        <string>Sent</string>
        <key>SOGoTimeZone</key>
        <string>Europe/Berlin</string>
        <key>SOGoTrashFolderName</key>
        <string>Trash</string>
        <key>domains</key>
        <dict>
            <key>foo</key>
            <dict>
                <key>SOGoDraftsFolderName</key>
                <string>Drafts</string>
                <key>SOGoIMAPServer</key>
                <string>imap.foo.tld</string>
                <key>SOGoMailDomain</key>
                <string>imap.foo.tld</string>
                <key>SOGoSMTPServer</key>
                <string>smtp.foo.tld</string>
                <key>SOGoUserSources</key>
                <array>
                    <dict>
                        <key>CNFieldName</key>
                        <string>cn</string>
                        <key>IDFieldName</key>
                        <string>cn</string>
                        <key>UIDFieldName</key>
                        <string>uid</string>
                        <key>baseDN</key>

<string>ou=people1,dc=dc=foo,dc=bar,dc=tld</string>
                        <key>bindDN</key>
                        <string>cn=manager,dc=foo,dc=bar,dc=tld</string>
                        <key>bindPassword</key>
                        <string>askgoogle</string>
                        <key>canAuthenticate</key>
                        <string>YES</string>
                        <key>displayName</key>
                        <string>Shared Addresses</string>
                        <key>hostname</key>
                        <string>ldap.server.tld</string>
                        <key>id</key>
                        <string>public</string>
                        <key>isAddressBook</key>
                        <string>YES</string>
                        <key>port</key>
                        <string>389</string>
                        <key>type</key>
                        <string>ldap</string>
                    </dict>
                </array>
            </dict>
            <key>bar</key>
            <dict>
                <key>SOGoDraftsFolderName</key>
                <string>Drafts</string>
                <key>SOGoIMAPServer</key>
                <string>imap.bar.tld</string>
                <key>SOGoMailDomain</key>
                <string>imap.bar.tld</string>
                <key>SOGoSMTPServer</key>
                <string>smtp.bar.tld</string>
                <key>SOGoUserSources</key>
                <array>
                    <dict>
                        <key>CNFieldName</key>
                        <string>cn</string>
                        <key>IDFieldName</key>
                        <string>cn</string>
                        <key>UIDFieldName</key>
                        <string>uid</string>
                        <key>baseDN</key>

<string>ou=people2,dc=dc=foo,dc=bar,dc=tld</string>
                        <key>bindDN</key>
                        <string>cn=manager,dc=foo,dc=bar,dc=tld</string>
                        <key>bindPassword</key>
                        <string>askgoogle</string>
                        <key>canAuthenticate</key>
                        <string>YES</string>
                        <key>displayName</key>
                        <string>Shared Addresses</string>
                        <key>hostname</key>
                        <string>ldap.server.tld</string>
                        <key>id</key>
                        <string>public</string>
                        <key>isAddressBook</key>
                        <string>YES</string>
                        <key>port</key>
                        <string>389</string>
                        <key>type</key>
                        <string>ldap</string>
                    </dict>
                </array>
            </dict>
        </dict>
    </dict>
</dict>
</plist>

My Apache Vhost

  <VirtualHost *:80>
   ServerSignature On
   ServerName foo.tld
   ServerAdmin [email protected]

Alias /SOGo.woa/WebServerResources/ 
/usr/local/GNUstep/Local/Library/SOGo/WebServerResources/

Alias /SOGo/WebServerResources/ 
/usr/local/GNUstep/Local/Library/SOGo/WebServerResources/

AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*)  
//usr/local/GNUstep/Local/Library/SOGo/$1.SOGo/Resources/$2

<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*jpg">
  SetHandler default-handler
</LocationMatch>

<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*png">
  SetHandler default-handler
</LocationMatch>

<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*gif">
  SetHandler default-handler
</LocationMatch>

<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*css">
  SetHandler default-handler
</LocationMatch>

<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*js">
  SetHandler default-handler
</LocationMatch>

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On
ProxyPassInterpolateEnv On
ProxyPass /SOGo http://192.168.0.1:20000/SOGo interpolate

<Proxy http://192.168.0.1:20000/SOGo>
  RequestHeader set "x-webobjects-server-port" "80"
  RequestHeader set "x-webobjects-server-name" "hojnik.de"
  RequestHeader set "x-webobjects-server-url "http://foo/SOGo";
  RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
  RequestHeader set "x-webobjects-remote-host" "192.168.0.1"

  Order allow,deny
  Allow from all
</Proxy>
</VirtualHost>


Thanks in advance for anything to get my Installation running

best regards
Darko

-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to