Hello all,

After a lot of trial and error, I'll try to describe my problem in detail here. Basically, the goal is to have an LDAP GAL that is both READABLE (it already is) and, at least for some users, preferably for everyone, writable.

the usersource currently looks like this: - by the way, i also have other non-colliding usersources for users and groups.

SOGoUserSources= (
{
type= "ldap";
CNFieldName= "cn";
IDFieldName= "cn";
UIDFieldName= "uid";
MailFieldNames= ("mail");
objectClasses= ("inetOrgPerson");
baseDN= "ou=addressbook,dc=lol,dc=co";
bindDN= "uid=sogo,ou=bindUsers,dc=lol,dc=co";
bindPassword= "pw123";
bindAsCurrentUser= "NO";
canAuthenticate= "NO";
displayName= "LDAP Addressbook";
hostname= "ldaps://ldap.lol.co:636";
id= "1";
isAddressBook= "YES";
listRequiresDot= "NO";
SOGoLDAPQueryTimeout= "30";
modifiers= ("jaromir.rosenloec...@menzel-it.net");
mapping= {
givenname= ("givenName");
sn= ("sn");
displayname= ("cn");
mozillanickname= ("displayName");
mail= ("mail");
// mozillasecondemail= ("backupMail");
telephonenumber= ("telephoneNumber");
// homephone= ("homePhone");
mobile= ("mobile");
// mozillahomestreet= ("registeredAddress");
title= ("title");
ou= ("ou");
o= ("o");
mozillaworkstreet2= ("postalAddress");
photo= ("jpegPhoto", "photo");
}
},

Error:

sogod [74]: <0x0x56234f146600[NGLdapConnection]> Using ldap_initialize for LDAP URL: ldaps://ldap.lol.co:636 sogod[9:74] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search at base 'ou=addressbook,dc=lol,dc=co' filter '(cn=test)' for attrs '*' sogod[9:74] EXCEPTION: <NSException: 0x56234e9229b0> NAME:NSInvalidArgumentException REASON:SOGoContactSourceFolder(instance) does not recognize lookupContactsWithQualifier: INFO:(null) sogod [74]: 10.X.X.X "POST /SOGo/so/jaromir.rosenloec...@menzel-it.net/Contacts/1/test/saveAsContact HTTP/1.0" 501 0/420 0.158 - - 376K - 14

The mappings in the config match the reality and I have already tried various things so that it makes sense with the setup, without success.

I always get the same error message, regardless of whether I create a new entry or simply change an existing one slightly.

The binder has write access to the location, I have already verified this:

|ldapadd-x-Hldaps://ldap.lol.co-D"|uid=sogo,ou=bindUsers,dc=lol,dc=co"|-W-ftest.ldiff EnterLDAPPassword: addingnewentry"cn=JohnDoe,ou=addressbook,dc=lol,dc=co"|

I would be grateful for any advice/tips or suggestions as to what else I should try!

--
Mit freundlichem Gruß
Jaromir Rosenlöcher

--
Jaromir Rosenlöcher
System-Administrator

Menzel IT GmbH
Charlottenburger Str. 33a
13086 Berlin

jaromir.rosenloec...@menzel-it.net
+49 30 / 5130 444 - 00
Notfallnummer: +49 30 / 5130 444 - 44
Geschäftsführung: Daniel Menzel, Josefin Menzel
HRB: 149835 B, Amtsgericht Charlottenburg
UStID: DE309226751

Persönlich haftende Gesellschafterin:
JD Menzel Holding GmbH
Charlottenburger Str. 33, 13086 Berlin
HRB 237233 B, Amtsgericht Charlottenburg
Geschäftsführung: Daniel Menzel, Josefin Menzel

Reply via email to