Re: [SOGo] LDAP search broken

2011-12-30 Thread Ludovic Marcotte

On 30/12/11 01:01, Emmanuel Dreyfus wrote:

No reply on this? I am still stuck with that problem...
Show me your SOGo configuration (.GNUstepDefaults) and also a LDIF entry 
for an user that should be allowed to authenticate.


--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] LDAP search broken

2011-12-30 Thread Emmanuel Dreyfus
Emmanuel Dreyfus  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-30 Thread Alex

Try configuring SOGo without IMAPHostFieldName.

El 30/12/2011 7:01, Emmanuel Dreyfus escribió:

Hi

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

Emmanuel Dreyfus  wrote:


Christian Mack  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:

 LDAPDebugEnabled
 YES
(...)
 SOGoUserSources
 
 
 CNFieldName
 cn
 IDFieldName
 uid
 IMAPHostFieldName
 XXXunusedYet
 UIDFieldName
 uid
 baseDN
 dc=example,dc=net
 bindDN
 
 bindFields
 
 dn
 
 bindPassword
 
 canAuthenticate
 YES
 displayName
 Example.net
 encryption
 SSL
 filter
 (objectClass=inetOrgPerson)
 hostname
 ldap.example.net
 id
 public
 isAddressBook
 YES
 port
 636
 
 



--
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  wrote:

> Christian Mack  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:
> 
> LDAPDebugEnabled
> YES
> (...)
> SOGoUserSources
> 
> 
> CNFieldName
> cn
> IDFieldName
> uid
> IMAPHostFieldName
> XXXunusedYet
> UIDFieldName
> uid
> baseDN
> dc=example,dc=net
> bindDN
> 
> bindFields
> 
> dn
> 
> bindPassword
> 
> canAuthenticate
> YES
> displayName
> Example.net
> encryption
> SSL
> filter
> (objectClass=inetOrgPerson)
> hostname
> ldap.example.net
> id
> public
> isAddressBook
> YES
> port
> 636
> 
> 


-- 
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  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:

LDAPDebugEnabled
YES
(...)
SOGoUserSources


CNFieldName
cn
IDFieldName
uid
IMAPHostFieldName
XXXunusedYet
UIDFieldName
uid
baseDN
dc=example,dc=net
bindDN

bindFields

dn

bindPassword

canAuthenticate
YES
displayName
Example.net
encryption
SSL
filter
(objectClass=inetOrgPerson)
hostname
ldap.example.net
id
public
isAddressBook
YES
port
636




-- 
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