The bind is ok, because if I change the password in the file sogo.conf
gives the following error:





Aug 19 17:26:42 sogod [4293]: [ERROR] <0x0xb8a6b828[LDAPSource]> Could not
bind to the LDAP server ldap://192.168.1.1:389 (389) using the bind DN:
cn=administrator,cn=users,dc=altempresa,dc=local

Aug 19 17:26:42 sogod [4293]: [ERROR] <0x0xb8a6b828[LDAPSource]>
<NSException: 0xb8739880> NAME:LDAPException REASON:operation bind failed:
Invalid credentials (0x31) INFO:{login =
"cn=administrator,cn=users,dc=altempresa,dc=local"; }



*De:* Szládovics Péter [mailto:[email protected]]
*Enviada em:* segunda-feira, 19 de agosto de 2013 11:16
*Para:* [email protected]
*Assunto:* Re: [SOGo] Installation Sogo



2013-08-19 15:21 keltezéssel, Patrick Duarte írta:

Dear Sirs,



I can not finish installing sogo.



I configured authentication with AD, its worked and MYSQL too worked.









Log of the SOGO on start service:



Aug 19 13:14:58 sogod [3805]: <0x0xb8f70d10[WOWatchDog]> Terminating with
SIGINT or SIGTERM

Aug 19 13:14:58 sogod [3805]: <0x0xb8ed6620[WOWatchDogChild]> sending
terminate signal to pid 3823

Aug 19 13:14:58 sogod [3805]: <0x0xb8f70d10[WOWatchDog]> Terminating with
SIGINT or SIGTERM

Aug 19 13:14:58 sogod [3805]: <0x0xb8ed6620[WOWatchDogChild]> child 3823
exited

Aug 19 13:14:58 sogod [3805]: <0x0xb8f70d10[WOWatchDog]> all children
exited. We now terminate.

Aug 19 13:14:58 sogod [3963]: version 2.0.7 (build
root@alta-bh-s03201308011850) -- starting

Aug 19 13:14:58 sogod [3963]: vmem size check enabled: shutting down app
when vmem > 384 MB

Aug 19 13:14:58 sogod [3963]: <0x0xb7a5da68[SOGoProductLoader]> SOGo
products loaded from '/usr/local/lib/GNUstep/SOGo':

Aug 19 13:14:58 sogod [3963]: <0x0xb7a5da68[SOGoProductLoader]>
AdministrationUI.SOGo, ContactsUI.SOGo, Mailer.SOGo, Appointments.SOGo,
MainUI.SOGo, SchedulerUI.SOGo, MailPartViewers.SOGo, MailerUI.SOGo,
Contacts.SOGo, PreferencesUI.SOGo, CommonUI.SOGo

Aug 19 13:14:58 sogod [3963]: <0x0xb7a5da68[SOGoProductLoader]> SOGo
products loaded from '/usr/lib/GNUstep/SOGo':

Aug 19 13:14:58 sogod [3963]: <0x0xb7a5da68[SOGoProductLoader]>
AdministrationUI.SOGo, ContactsUI.SOGo, Mailer.SOGo, Appointments.SOGo,
MainUI.SOGo, SchedulerUI.SOGo, MailPartViewers.SOGo, MailerUI.SOGo,
Contacts.SOGo, PreferencesUI.SOGo, CommonUI.SOGo

Aug 19 13:14:58 sogod [3963]: <0x0xb7b95d10[WOWatchDog]> listening on
*:20000

Aug 19 13:14:58 sogod [3963]: <0x0xb7b95d10[WOWatchDog]> watchdog process
pid: 3963

Aug 19 13:14:58 sogod [3963]: <0x0xb74b4be0[WOWatchDogChild]> watchdog
request timeout set to 10 minutes

Aug 19 13:14:58 sogod [3963]: <0x0xb7b95d10[WOWatchDog]> preparing 1
children

Aug 19 13:14:58 sogod [3963]: <0x0xb7b95d10[WOWatchDog]> child spawned with
pid 3981

2013-08-19 13:14:58.902 sogod[3981] MySQL4 connection established
0x0xb7987a80

2013-08-19 13:14:58.902 sogod[3981] MySQL4 channel 0x0xb79f2d10 opened
(connection=0x0xb7987a80,sogo)

2013-08-19 13:14:58.903 sogod[3981] <MySQL4Channel[0x0xb79f2d10]
connection=0x0xb7987a80> SQL: SELECT count(*) FROM sogo_user_profile;

2013-08-19 13:14:58.903 sogod[3981] <MySQL4Channel[0x0xb79f2d10]
connection=0x0xb7987a80>   query has results, entering fetch-mode.

2013-08-19 13:14:58.903 sogod[3981] <MySQL4Channel[0x0xb79f2d10]
connection=0x0xb7987a80> SQL: SELECT count(*) FROM sogo_folder_info;

2013-08-19 13:14:58.903 sogod[3981] <MySQL4Channel[0x0xb79f2d10]
connection=0x0xb7987a80>   query has results, entering fetch-mode.

2013-08-19 13:14:58.906 sogod[3981] <MySQL4Channel[0x0xb79f2d10]
connection=0x0xb7987a80> SQL: SELECT count(*) FROM sogo_sessions_folder;

2013-08-19 13:14:58.907 sogod[3981] <MySQL4Channel[0x0xb79f2d10]
connection=0x0xb7987a80>   query has results, entering fetch-mode.









Log on open interface web:



Aug 19 13:16:00 sogod [3981]: |SOGo| starting method 'GET' on uri '/SOGo'

Aug 19 13:16:00 sogod [3981]: <0x0xb7b2b428[SOGoCache]> Cache cleanup
interval set every 300.000000 seconds

Aug 19 13:16:00 sogod [3981]: <0x0xb7b2b428[SOGoCache]> Using host(s)
'localhost' as server(s)

Aug 19 13:16:00 sogod [3981]: [ERROR] [we-rm] did not find locale for
language: ptBR

Aug 19 13:16:00 sogod [3981]: [ERROR] [we-rm] did not find locale for
language: Portuguese

2013-08-19 13:16:00.768 sogod[3981] Note(SoObject): SoDebugKeyLookup is
enabled!

2013-08-19 13:16:00.768 sogod[3981] Note(SoObject): SoDebugBaseURL is
enabled!

2013-08-19 13:16:00.768 sogod[3981] Note(SoObject): relative base URLs are
enabled.

2013-08-19 13:16:00.775 sogod[3981] ERROR(-[NGBundleManager
bundleWithPath:]): could not create bundle for path:
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.22/Resources/SSL.bundle'

2013-08-19 13:16:00.797 sogod[3981] WOCompoundElement: pool embedding is on.

2013-08-19 13:16:00.797 sogod[3981] WOCompoundElement: id logging is on.

2013-08-19 13:16:00.801 sogod[3981] <MySQL4Channel[0x0xb79f2d10]
connection=0x0xb7987a80> SQL: SELECT c_defaults FROM sogo_user_profile
WHERE c_uid = 'anonymous';

2013-08-19 13:16:00.801 sogod[3981] <MySQL4Channel[0x0xb79f2d10]
connection=0x0xb7987a80>   query has results, entering fetch-mode.

Aug 19 13:16:00 sogod [3981]: |SOGo| request took 0.037530 seconds to
execute

192.168.1.50 - - [19/Aug/2013:13:16:00 GMT] "GET /SOGo HTTP/1.1" 302 0/0
0.040 - - 2M

2013-08-19 13:16:00.807 sogod[3981] Note: Using UTF-8 as URL encoding in
NGExtensions.

Aug 19 13:16:00 sogod [3981]: |SOGo| starting method 'GET' on uri '/SOGo/'

Aug 19 13:16:00 sogod [3981]: [ERROR] [we-rm] did not find locale for
language: ptBR

Aug 19 13:16:00 sogod [3981]: [ERROR] [we-rm] did not find locale for
language: Portuguese

2013-08-19 13:16:00.930 sogod[3981] WARNING(-[NSNull(misc) count]): called
NSNull -count (returns 0) !!!

Aug 19 13:16:00 sogod [3981]: |SOGo|   constructed root-url: /SOGo/

Aug 19 13:16:00 sogod [3981]: |SOGo|   setting root-url in context: /SOGo/

Aug 19 13:16:00 sogod [3981]: |SOGo| ROOT baseURL(no container,
name=(null)):

  own: /SOGo/

Aug 19 13:16:00 sogod [3981]: |SOGo| request took 0.192340 seconds to
execute

192.168.1.50 - - [19/Aug/2013:13:16:01 GMT] "GET /SOGo/ HTTP/1.1" 200
11853/0 0.194 - - 1M











But, try login:



Aug 19 13:17:07 sogod [3981]: |SOGo| starting method 'POST' on uri
'/SOGo/connect'

Aug 19 13:17:07 sogod [3981]: [ERROR] [we-rm] did not find locale for
language: ptBR

Aug 19 13:17:07 sogod [3981]: [ERROR] [we-rm] did not find locale for
language: Portuguese

Aug 19 13:17:07 sogod [3981]: <0x0xb7d22910[NGLdapConnection]> Using
ldap_initialize for LDAP URL: ldap://192.168.1.1:389

Aug 19 13:17:07 sogod [3981]: <0x0xb7989af8[NGLdapConnection]> Using
ldap_initialize for LDAP URL: ldap://192.168.1.1:389

2013-08-19 13:17:07.097 sogod[3981] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base  filter
for attrs

Aug 19 13:17:07 sogod [3981]: SOGoRootPage Login from '192.168.1.50' for
user 'patrick.duarte' might not have worked - password policy: 65535
grace: -1  expire: -1  bound: 0

Aug 19 13:17:07 sogod [3981]: |SOGo| request took 0.028921 seconds to
execute

192.168.1.50 - - [19/Aug/2013:13:17:07 GMT] "POST /SOGo/connect HTTP/1.1"
403 34/103 0.030 - - 0





Thanks


Patrick,

If you use AD instead of OpenLDAP, you need to bind to AD with sogo. Did
you configure the bind parameters correctly?
Did you try authenticate with this user through other tool (e.g. ldapsearch
or ldbsearch)?
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to