2013-08-27 19:43 keltezéssel, Christian Rößner írta:
Hi,
I have a running SOGo installation under Ubuntu 12.04.3 LTS. Version 2.0.7-1
I have an external LDAP server, where we have hundreds of contacts stored and I
wanted to integrate this into SOGo. Therefor I added a second LDAP instance to
/etc/sogo/sogo.conf.
The first block is from the main SOGo server and the second block is the
external server:
SOGoUserSources = (
{
CNFieldName = cn;
IDFieldName = uid;
IMAPLoginFieldName = mail;
KindFieldName = Kind;
MailFieldNames = (
mail
);
MultipleBookingsFieldName = Multiplebookings;
UIDFieldName = mail;
baseDN = "ou=people,dc=deltaweb,dc=de";
bindAsCurrentUser = NO;
bindDN = "cn=proxyuser,dc=deltaweb,dc=de";
bindFields = (
mail
);
bindPassword = ***;
canAuthenticate = YES;
displayName = "Gemeinsame Adressen";
hostname = localhost;
id = LDAP;
isAddressBook = YES;
port = 389;
scope = SUB;
type = ldap;
userPasswordAlgorithm = SSHA;
},
{
CNFieldName = cn;
IDFieldName = uid;
UIDFieldName = uid;
baseDN = "ou=wl,dc=deltaweb,dc=de";
bindDN = "cn=proxyuser,dc=deltaweb,dc=de";
bindPassword = ***;
canAuthenticate = NO;
displayName = "Privatkunden Adressen";
hostname = "bordergw.deltaweb.de";
id = LDAP2;
isAddressBook = YES;
encryption = STARTTLS;
port = 389;
scope = SUB;
type = ldap;
}
);
Users can login and they can see the global address book "Privatkunden
Adressen". But searching does not succeed.
Jean answered the second part of your mail, I'll try to answer the first
part. :)
Inside the any of usersources array you can define the searchfileds. eg.:
SearchFieldNames = (
sn,
givenName,
sAMAccountName,
mail,
displayName,
title
);
Could you try this?
--
[email protected]
https://inverse.ca/sogo/lists