Hi Ludo
Sorry , our email crossed each other. Here is the information. Sorry
about that.
So here is my LDIF entry
# bremont, Personnel, OuCVZ, casadevelazquez.org
dn: uid=bremont,ou=Personnel,ou=OuCVZ,dc=casadevelazquez,dc=org
sn: Bremont
gidNumber: 8
givenName: Damien
uid: bremont
uidNumber: 1041
cn: Damien Bremont
objectClass: organizationalPerson
objectClass: person
objectClass: posixAccount
objectClass: inetOrgPerson
objectClass: top
homeDirectory: /xxxx
userPassword:: xxxxx
mail: [email protected]
This is what I get when I try to login with my uid and with
LDAPDebugEnabled set to YES
Jan 08 21:01:12 sogod [19333]: <0x0x7f898378e840[SOGoCache]> Cache
cleanup interval set every 300.000000 seconds
Jan 08 21:01:12 sogod [19333]: <0x0x7f898378e840[SOGoCache]> Using
host(s) 'localhost' as server(s)
Jan 08 21:01:12 sogod [19333]: [ERROR]
<0x0x7f89836a9360[NGBundleManager]> could not create bundle for path:
'/usr/share/GNUstep/Librari'
Jan 08 21:01:12 sogod [19333]: [WARN] <0x0x7f89803b3e20[WOxElemBuilder]>
could not locate builders: WOxExtElemBuilder,WOxExtElemBuilder
Jan 08 21:01:12 sogod [19333]: <0x0x7f8983bf68f0[NGLdapConnection]>
Using ldap_initialize for LDAP URL: ldaps://localhost:636
Jan 08 21:01:12 sogod [19333]: <0x0x7f8983bf5830[NGLdapConnection]>
Using ldap_initialize for LDAP URL: ldaps://localhost:636
2016-01-08 21:01:12.141 sogod[19333] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search at base '' filter
'(objectC'
2016-01-08 21:01:12.147 sogod[19333] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search at base
'cn=Subschema' filt'
2016-01-08 21:01:12.155 sogod[19333] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search at base
'ou=personnel,ou=ou'
Jan 08 21:01:12 sogod [19333]: [ERROR]
<0x0x7f8983be0130[SOGoUserManager]> Authenticated with multidomain
source but login is not an ema.
Jan 08 21:01:12 sogod [19333]: SOGoRootPage Login from '192.168.192.100'
for user 'bremont' might not have worked - password policy: 6550
Jan 08 21:01:12 sogod [19333]: 192.168.192.100 "POST /SOGo/connect
HTTP/1.1" 403 34/47 0.100 - - 3M
Thanks for your help
Best
Damien
Firma mail Casa de Velázquez *Damien BRÉMONT*
RESPONSABLE DES SYSTÈMES D'INFORMATION
ET COMMUNICATION
CASA DE VELÁZQUEZ <http://www.casadevelazquez.org>
On 08/01/16 20:20, Ludovic Marcotte wrote:
Hi,
Show me an LDIF entry of one of your user.
Also set LDAPDebugEnabled to YES in /etc/sogo/sogo.conf, restart SOGo,
look at /var/log/sogo/sogo.log, try to login, grab the error, post it.
Ludo
On 08/01/2016 13:58, Damien Brémont wrote:
Here is the list of sogo/sope packages
ii sogo 2.3.5-1 a modern and scalable
groupware
ii libsope-appserver4.9 4.9.r1664.20160105 SOPE
application server libraries
ii libsope-core4.9 4.9.r1664.20160105 Core libraries
of the SOPE application server
ii libsope-gdl1-4.9 4.9.r1664.20160105 GNUstep
database libraries for SOPE
ii libsope-ldap4.9 4.9.r1664.20160105 SOPE libraries
for LDAP access
ii libsope-mime4.9 4.9.r1664.20160105 SOPE libraries
for MIME processing
ii libsope-xml4.9 4.9.r1664.20160105 SOPE libraries
for XML processing
ii sope4.9-gdl1-mysql 4.9.r1664.20160105 MySQL
connector for SOPE's fork of the GNUstep database environmet
ii sope4.9-libxmlsaxdriver 4.9.r1664.20160105 XML Parser for SOPE's
SAX engine
An my /etc/sogo/sogo.conf
{
SOGoProfileURL =
"mysql://xxx:xxxx@localhost:3306/sogo/sogo_user_profile";
OCSFolderInfoURL =
"mysql://xxxx:xxxxxxx@localhost:3306/sogo/sogo_folder_info";
OCSSessionsFolderURL =
"mysql://xxxx:xxxxx@localhost:3306/sogo/sogo_sessions_folder";
/* Mail */
SOGoDraftsFolderName = Drafts;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoIMAPServer = imaps://localhost:993;
SOGoSieveServer = sieve://127.0.0.1:4190;
SOGoSMTPServer = 127.0.0.1;
SOGoMailDomain = xxxxxxxxx;
SOGoMailingMechanism = smtp;
SOGoForceExternalLoginWithEmail = NO;
SOGoMailSpoolPath = /var/spool/sogo;
NGImap4ConnectionStringSeparator = "/";
SOGoAppointmentSendEMailNotifications = YES;
SOGoACLsSendEMailNotifications = YES;
/* Authentication */
SOGoPasswordChangeEnabled = NO;
/* LDAP authentication example */
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
UIDFieldName = uid;
IDFieldName = mail; // first field of the DN for direct binds
bindFields = (mail); // array of fields to use for indirect binds
baseDN = "ou=AddressBook,ou=xxxxxx,dc=xxxxxxx,dc=xxxxxx";
bindDN = "uid=xxxxxxx,ou=xxxxxxx,dc=xxxxxxx,dc=xxxxxx";
bindPassword = xxxxxx;
canAuthenticate = NO;
displayName = "Anuario Global";
hostname = ldaps://localhost:636;
id = public;
isAddressBook = YES;
},
{
type = ldap;
CNFieldName = cn;
UIDFieldName = uid;
IDFieldName = uid; // first field of the DN for direct binds
bindFields = (uid, mail); // array of fields to use for
indirect binds
baseDN = "ou=xxxxxxx,ou=xxxxxxx,dc=xxxxxxx,dc=xxxxxxx";
bindDN = "uid=xxxxxxx,ou=xxxxxxx,dc=xxxxxxx,dc=xxxxxxx";
bindPassword = xxxxxxx;
canAuthenticate = YES;
hostname = ldaps://localhost:636;
id = Personnel;
isAddressBook = NO;
}
);
/* Web Interface */
SOGoPageTitle = "Casa de Velazquez";
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
SOGoSieveScriptsEnabled = YES;
/* General */
SOGoLanguage = Spanish;
SOGoTimeZone = Europe/Berlin;
SOGoEnableEMailAlarms = YES;
OCSEMailAlarmsFolderURL =
"mysql://xxxxxxx:xxxxxxx@localhost:3306/sogo/sogo_alarms_folder";
SOGoCalendarDefaultRoles = (
// PublicDAndTViewer,
PublicViewer,
ConfidentialDAndTViewer
);
OGoContactsDefaultRoles =
("ObjectEditor");
SOGoMailComposeMessageType = html;
SOGoMailMessageCheck = every_2_minutes;
SOGoFirstDayOfWeek = 1;
SOGoDayStartTime = 8;
SOGoDayEndTime = 19;
SOGoCalendarEventsDefaultClassification = PRIVATE;
SOGoCalendarTasksDefaultClassification = PRIVATE;
SOGoMailReplyPlacement = above;
SOGoMailSignaturePlacement = above;
SOGoSuperUsernames = (xxxxxxx); //This is an array - keep the parens!
}
--
[email protected]
https://inverse.ca/sogo/lists