Re: [SOGo] LDAP search broken

2011-12-30 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote:

 It seems I cannot get LDAP authentication working, while it works for
 the address book. When credentials should be validated by LDAP, it
 always fail
(...)
 It seems the LDAP parameters did not made their way to the function that
 uses them. This is SOGO 2.0.0b3.

I found a workaround: I use Apache with mod_authnz_ldap in front of
sogod, set x-webobjects-remote-user, and sogod trusts that. I still have
a weird LDAP log message, but authentication works.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] LDAP search broken

2011-12-29 Thread Emmanuel Dreyfus
Hi

No reply on this? I am still stuck with that problem...

Emmanuel Dreyfus m...@netbsd.org wrote:

 Christian Mack christian.m...@uni-konstanz.de wrote:
 
  Did you restart SOGo after changing your configuration?
 
 Yes, I did.
  
  If you did, what locale do you use as user sogo?
 
 None set. Did I miss something in the documentation about that? I quick
 look at the manual does not show anything about locale.
 
 I just set LANG=fr_FR.UTF-8 and restarted sogod, and I now have
 something that just seems a bit less corrupted:
 
 2011-12-24 16:30:16.153 sogod[12681] -[NGLdapConnection
 _searchAtBaseDN:qualifier:attributes:scope:]: search with at base
 filter  for attrs  RK
  
  And show us your LDAP configuration.
 
 I have this:
 
 keyLDAPDebugEnabled/key
 stringYES/string
 (...)
 keySOGoUserSources/key
 array
 dict
 keyCNFieldName/key
 stringcn/string
 keyIDFieldName/key
 stringuid/string
 keyIMAPHostFieldName/key
 stringXXXunusedYet/string
 keyUIDFieldName/key
 stringuid/string
 keybaseDN/key
 stringdc=example,dc=net/string
 keybindDN/key
 string/string
 keybindFields/key
 array
 stringdn/string
 /array
 keybindPassword/key
 string/string
 keycanAuthenticate/key
 stringYES/string
 keydisplayName/key
 stringExample.net/string
 keyencryption/key
 stringSSL/string
 keyfilter/key
 string(objectClass=inetOrgPerson)/string
 keyhostname/key
 stringldap.example.net/string
 keyid/key
 stringpublic/string
 keyisAddressBook/key
 stringYES/string
 keyport/key
 string636/string
 /dict
 /array


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] LDAP search broken

2011-12-24 Thread Emmanuel Dreyfus
Christian Mack christian.m...@uni-konstanz.de wrote:

 Did you restart SOGo after changing your configuration?

Yes, I did.
 
 If you did, what locale do you use as user sogo?

None set. Did I miss something in the documentation about that? I quick
look at the manual does not show anything about locale.

I just set LANG=fr_FR.UTF-8 and restarted sogod, and I now have
something that just seems a bit less corrupted:

2011-12-24 16:30:16.153 sogod[12681] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base
filter  for attrs  RK
 
 And show us your LDAP configuration.

I have this:

keyLDAPDebugEnabled/key
stringYES/string
(...)
keySOGoUserSources/key
array
dict
keyCNFieldName/key
stringcn/string
keyIDFieldName/key
stringuid/string
keyIMAPHostFieldName/key
stringXXXunusedYet/string
keyUIDFieldName/key
stringuid/string
keybaseDN/key
stringdc=example,dc=net/string
keybindDN/key
string/string
keybindFields/key
array
stringdn/string
/array
keybindPassword/key
string/string
keycanAuthenticate/key
stringYES/string
keydisplayName/key
stringExample.net/string
keyencryption/key
stringSSL/string
keyfilter/key
string(objectClass=inetOrgPerson)/string
keyhostname/key
stringldap.example.net/string
keyid/key
stringpublic/string
keyisAddressBook/key
stringYES/string
keyport/key
string636/string
/dict
/array


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] LDAP search broken

2011-12-19 Thread Christian Mack
Hello Emmanuel Dreyfus


On 2011-12-16 15:29, Emmanuel Dreyfus wrote:
 
 No reply on this one? This is an annoying problem...
 
 On Wed, Dec 14, 2011 at 11:25:53AM +, Emmanuel Dreyfus wrote:
 Hello

 It seems I cannot get LDAP authentication working, while it works for
 the address book. When credentials should be validated by LDAP, it
 always fail, and I have this in the logs:
 2011-12-14 12:10:39.717 sogod[12062] -[NGLdapConnection 
 _searchAtBaseDN:qualifier:attributes:scope:]: search with at base àL»˜Kpº 
 filter àL»HD–ºK for attrs  RK»€UcºI

 It seems the LDAP parameters did not made their way to the function that
 uses them. This is SOGO 2.0.0b3.
 

Did you restart SOGo after changing your configuration?

If you did, what locale do you use as user sogo?

And show us your LDAP configuration.


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] LDAP search broken

2011-12-16 Thread Emmanuel Dreyfus
Hello

No reply on this one? This is an annoying problem...

On Wed, Dec 14, 2011 at 11:25:53AM +, Emmanuel Dreyfus wrote:
 Hello
 
 It seems I cannot get LDAP authentication working, while it works for
 the address book. When credentials should be validated by LDAP, it
 always fail, and I have this in the logs:
 2011-12-14 12:10:39.717 sogod[12062] -[NGLdapConnection 
 _searchAtBaseDN:qualifier:attributes:scope:]: search with at base àL»˜Kpº 
 filter àL»HD–ºK for attrs  RK»€UcºI
 
 It seems the LDAP parameters did not made their way to the function that
 uses them. This is SOGO 2.0.0b3.

-- 
Emmanuel Dreyfus
m...@netbsd.org
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] LDAP search broken

2011-12-14 Thread Emmanuel Dreyfus
Hello

It seems I cannot get LDAP authentication working, while it works for
the address book. When credentials should be validated by LDAP, it
always fail, and I have this in the logs:
2011-12-14 12:10:39.717 sogod[12062] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base àL»˜Kpº 
filter àL»HD–ºK for attrs  RK»€UcºI

It seems the LDAP parameters did not made their way to the function that
uses them. This is SOGO 2.0.0b3.

-- 
Emmanuel Dreyfus
m...@netbsd.org
-- 
users@sogo.nu
https://inverse.ca/sogo/lists