Hi,

I'm trying to set up a user writeable shared address book on top of samba over 
LDAP.

When adding a contact to the shared address book through the web interface,I 
get the following in the sogo log:

May 17 12:08:11 sogod [2448]: <0x0x7f3eab0b4990[NGLdapConnection]> Using 
ldap_initialize for LDAP URL: ldap://127.0.0.1
2016-05-17 12:08:11.793 sogod[2448] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search at base '' filter 
'(objectClass=*)' for attrs 'subschemaSubentry'
2016-05-17 12:08:11.794 sogod[2448] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search at base 
'CN=Aggregate,CN=Schema,CN=Configuration,DC=DOMAIN,DC=TLD' filter 
'(objectClass=*)' for attrs 'objectclasses'
2016-05-17 12:08:11.808 sogod[2448] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search at base 'dc=DOMAIN,dc=TLD' 
filter '(samaccountname=990-573AFB80-1-17AC8700)' for attrs '*'
2016-05-17 12:08:11.809 sogod[2448] ERROR(-[NGLdapSearchResultEnumerator 
nextObject]): does not support result references yet ..
May 17 12:08:11 sogod [2448]: <0x0x7f3eab25ac10[NGLdapConnection]> Using 
ldap_initialize for LDAP URL: ldap://127.0.0.1
May 17 12:08:11 sogod [2448]: MYIP "POST 
/SOGo/so/MYUSER/Contacts/sambaContacts/990-573AFB80-1-17AC8700/saveAsContact 
HTTP/1.1" 200 57/155 0.051 - - 0M
May 17 12:08:11 sogod [2448]: <0x0x7f3eab2c2c90[NGLdapConnection]> Using 
ldap_initialize for LDAP URL: ldap://127.0.0.1
2016-05-17 12:08:11.897 sogod[2448] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search at base 'dc=DOMAIN,dc=TLD' 
filter '(samaccountname=990-573AFB80-1-17AC8700)' for attrs '*'
2016-05-17 12:08:11.898 sogod[2448] ERROR(-[NGLdapSearchResultEnumerator 
nextObject]): does not support result references yet ..
May 17 12:08:11 sogod [2448]: MYIP "GET 
/SOGo/so/MYUSER/Contacts/sambaContacts/990-573AFB80-1-17AC8700/view HTTP/1.1" 
404 208/0 0.019 - - 0
May 17 12:08:11 sogod [2448]: MYIP "GET 
/SOGo/so/MYUSER/Contacts/sambaContacts/view?asc=1&search=name_or_address&sort=c_cn&value=
 HTTP/1.1" 200 82/0 0.017 - - 0

And the contact is not added. The relevant line seems to be 
2016-05-17 12:08:11.898 sogod[2448] ERROR(-[NGLdapSearchResultEnumerator 
nextObject]): does not support result references yet ..

Can anyone shed some light on this, please?

Relevant sogo.conf section:

SOGoUserSources = (
    {
        //SOMETHING ELSE HERE TO ENABLE LOGIN
      },{
        id = sambaContacts;
        displayName = "Shared Contacts";
        canAuthenticate = NO;
        isAddressBook = YES;
        type = ldap;
        CNFieldName = cn;
        IDFieldName = sAMAccountName;
        UIDFieldName = sAMAccountName;
        hostname = "ldap://127.0.0.1";;
        baseDN = "DC=DOMAIN,DC=TLD";
        bindDN = "CN=sogo,CN=Users,DC=DOMAIN,DC=TLD";
        bindPassword = "PASSWORD";
        filter = "((((objectClass=person) AND (objectClass=contact) AND 
((uidNumber>=2000) OR (mail='*')))
                 AND (NOT isCriticalSystemObject='TRUE') AND (NOT 
showInAdvancedViewOnly='TRUE') AND (NOT uid=Guest))
                 OR (((objectClass=group) AND (gidNumber>=2000)) AND (NOT 
isCriticalSystemObject='TRUE') AND (NOT showInAdvancedViewOnly='TRUE')))";
        mapping = {
            displayname = ("cn");
        };
        modifiers = ("MYUSER");
        objectClasses = ("contact", "person");
    }
);

Thanks,

Best,
Gustavo



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

Reply via email to