Feature #3017

view all contacts in SOGo adress book from other LDAP base

Added by Pierre Bourdin over 4 years ago. Updated about 3 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-sogo
Target version:~FUTURE
Resolution:REJECTED NEEDINFO:No

Description

Scenary : SOGo is coupled to AD LDAPs.

When trying to see people in local domain adress book, LDAP request is done but still respond blank...

See logs :

185.60.25.50 - - [02/Feb/2015:12:31:21 GMT] "POST /SOGo/so/pierre/Contacts/allContactSearch?search=alex HTTP/1.1" 200 263 /0 0.099 - - 0
Feb 02 12:34:47 sogod [22421]: 0x0x7ff34c293ce8[NGLdapConnection] Using ldap_initialize for LDAP URL: LDAPS://192.168.200.250:636
2015-02-02 12:34:47.043 sogod22421 -[NGLdapConnection] _searchAtBaseDN:qualifier:attributes:scope:]: search at base 'ou=ou-utilisateurs,dc=xxxxx,dc=local' filter '(&(|(samaccountname=pierre)(mail=pierre)(userPrincipalName=pierre))(objectClass=user))' for attrs '*'
Feb 02 12:34:47 sogod [22421]: [ERROR] 0x0x7ff34c4eb618[NGLdapAttribute] could not convert value of objectGUID to string
Feb 02 12:34:47 sogod [22421]: [ERROR] 0x0x7ff34c7d78c8[NGLdapAttribute] could not convert value of objectSid to string

This is working in the case of i'm writing new message to local user in LDAP directory, request is done and work fine.
(autocompletion OK but book is empty)


Subtasks

Feature #3031: force search all contacts in SOGo - dot charCLOSED

History

#1 Updated by Pierre Bourdin over 4 years ago

Here are the step to reproduce the bug :

  • Log in in SOGo
  • Go address book tab
  • Clear memcached # echo "flush_all" | nc 127.0.0.1 11211
  • clic to AD User address book, verbose logs of sogo says :
    Feb 03 10:32:27 sogod [56819]: 0x0x7ff9ee59e2a8[NGLdapConnection] Using ldap_initialize for LDAP URL: LDAP://192.168.200.250:389
    Feb 03 10:32:27 sogod [56819]: 0x0x7ff9edf411c8[LDAPSource] <NSException: 0x7ff9ee6ee958> NAME:LDAPException REASON:operation bind failed: Invalid credentials (0x31) INFO:{login = "samaccountname=pierre,ou=ou-utilisateurs,dc=xxxx,dc=local"; }
    Feb 03 10:32:27 sogod [56819]: 0x0x7ff9ee59e2a8[NGLdapConnection] Using ldap_initialize for LDAP URL: LDAP://192.168.200.250:389
    Feb 03 10:32:27 sogod [56819]: 0x0x7ff9ee632f28[NGLdapConnection] Using ldap_initialize for LDAP URL: LDAP://192.168.200.250:389
    2015-02-03 10:32:27.775 sogod56819 -[NGLdapConnection] _searchAtBaseDN:qualifier:attributes:scope:]: search at base 'ou=ou-utilisateurs,dc=xxxx,dc=local' filter '(&(|(samaccountname=pierre)(mail=pierre))(objectClass=group)(sAMAccountType=268435456))' for attrs '*'
    Feb 03 10:32:27 sogod [56819]: 0x0x7ff9ee5f0378[NGLdapConnection] Using ldap_initialize for LDAP URL: LDAP://192.168.200.250:389
    2015-02-03 10:32:27.781 sogod56819 -[NGLdapConnection] _searchAtBaseDN:qualifier:attributes:scope:]: search at base 'ou=ou-utilisateurs,dc=xxxx,dc=local' filter '(&(|(samaccountname=pierre)(mail=pierre)(userPrincipalName=pierre))(objectClass=user)(sAMAccountType=268435456))' for attrs '*'
    Feb 03 10:32:27 sogod [56819]: [ERROR] 0x0x7ff9ee546338[NGLdapAttribute] could not convert value of objectGUID to string
    Feb 03 10:32:27 sogod [56819]: [ERROR] 0x0x7ff9ee625d68[NGLdapAttribute] could not convert value of objectSid to string
    185.60.25.50 - - [03/Feb/2015:10:32:27 GMT] "POST /SOGo/so/pierre/Contacts/AD_Users/view?noframe=1&sort=c_cn&asc=true HTTP/1.1" 200 0 /0 0.037 - - 0

#2 Updated by Giacomo Sanchietti over 4 years ago

  • Target version deleted (v6.5)

#3 Updated by Pierre Bourdin over 4 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from can't view contacts in SOGo adress book from other LDAP base to view all contacts in SOGo adress book from other LDAP base

#4 Updated by Filippo Carletti over 4 years ago

  • Target version set to ~FUTURE

#5 Updated by Giacomo Sanchietti about 3 years ago

  • Status changed from NEW to CLOSED
  • % Done changed from 0 to 100

Won't do it on ns6; if someone request it again open a new issue for ns7

#6 Updated by Davide Principi about 3 years ago

  • Resolution set to REJECTED

Also available in: Atom PDF