Re: [SOGo] Can not log me in with LDAP
On Mon, Mar 26, 2012 at 12:15 PM, Darko Hojnik hoj...@virtualizing.org wrote: Hi there Today I've fresh installed SOGo on FreeBSD. But i cant log me in with LDAP enabeled. ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN http://www.gnustep.org/plist-0_9.xml; plist version=0.9 dict keyNSGlobalDomain/key dict /dict keysogod/key dict keyOCSEMailAlarmsFolderURL/key stringpostgresql://sogo:freebsd@127.0.0.1:5432/sogo/sogo_alarms_folder/string keyOCSFolderInfoURL/key stringpostgresql://sogo:freebsd@127.0.0.1:5432/sogo/sogo_folder_info/string keyOCSSessionsFolderURL/key stringpostgresql://sogo:freebsd@127.0.0.1:5432/sogo/sogo_sessions_info/string keySOGoACLsSendEMailNotifications/key stringYES/string keySOGoAppointmentSendEMailNotifications/key stringYES/string keySOGoCalendarDefaultRoles/key array stringPublicViewer/string stringConfidentialDAndTViewer/string /array keySOGoEnableEMailAlarms/key stringYES/string keySOGoFoldersSendEMailNotifications/key stringYES/string keySOGoIMAPServer/key string127.0.0.1/string keySOGoLanguage/key stringGerman/string keySOGoMailDomain/key stringhell.localdomain/string keySOGoMailingMechanism/key stringsmtp/string keySOGoMemcachedHost/key string=/string keySOGoProfileURL/key stringpostgresql://sogo:freebsd@127.0.0.1:5432/sogo/sogo_user_profile/string keySOGoSMTPServer/key string127.0.0.1/string keySOGoTimeZone/key stringEurope/Berlin/string keySOGoUserSources/key array dict keyCNFieldName/key stringcn/string keyIDFieldName/key stringuid/string keyUIDFieldName/key stringuid/string keybaseDN/key stringou=people,dc=hell/string keybindDN/key stringcn=manager,dc=hell/string keybindPassword/key stringfreebsd/string keycanAuthenticate/key stringYES/string keydisplayName/key stringldap/string keyhostname/key stringlocalhost/string keyid/key stringldap/string keyport/key string389/string /dict /array /dict /dict /plist ~ On my Log 2012-03-26 20:07:52.653 sogod[4104] WOCompoundElement: pool embedding is on. 2012-03-26 20:07:52.653 sogod[4104] WOCompoundElement: id logging is on. Mar 26 20:07:52 sogod [4104]: SOGoRootPage Login for user 'test@hell.localdomain' might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0 172.16.54.1 - - [26/Mar/2012:20:07:52 GMT] POST /SOGo/connect HTTP/1.1 403 34/76 0.512 - - - The Data to LDAP and PostgreSQL are correct. Binding with LDAP commandline-tools was successfully possible. Mailsystem ist Postfix, Postgrey, Cyrus and GOSa as an Webfrontend + a SAMBA PDC there are proper working. Anybody haves an Idea to fix it? The uid you are trying to login with (test@hell.localdomain) looks unusual to me. Are you sure that is the uid in your directory? Steve -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Can not log me in with LDAP
Hi Steve, Am Montag, den 26.03.2012, 12:45 -0700 schrieb Stephen Ingram: On Mon, Mar 26, 2012 at 12:15 PM, Darko Hojnik hoj...@virtualizing.org wrote: Hi there Today I've fresh installed SOGo on FreeBSD. But i cant log me in with LDAP enabeled. ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN http://www.gnustep.org/plist-0_9.xml; plist version=0.9 dict keyNSGlobalDomain/key dict /dict keysogod/key dict keyOCSEMailAlarmsFolderURL/key stringpostgresql://sogo:freebsd@127.0.0.1:5432/sogo/sogo_alarms_folder/string keyOCSFolderInfoURL/key stringpostgresql://sogo:freebsd@127.0.0.1:5432/sogo/sogo_folder_info/string keyOCSSessionsFolderURL/key stringpostgresql://sogo:freebsd@127.0.0.1:5432/sogo/sogo_sessions_info/string keySOGoACLsSendEMailNotifications/key stringYES/string keySOGoAppointmentSendEMailNotifications/key stringYES/string keySOGoCalendarDefaultRoles/key array stringPublicViewer/string stringConfidentialDAndTViewer/string /array keySOGoEnableEMailAlarms/key stringYES/string keySOGoFoldersSendEMailNotifications/key stringYES/string keySOGoIMAPServer/key string127.0.0.1/string keySOGoLanguage/key stringGerman/string keySOGoMailDomain/key stringhell.localdomain/string keySOGoMailingMechanism/key stringsmtp/string keySOGoMemcachedHost/key string=/string keySOGoProfileURL/key stringpostgresql://sogo:freebsd@127.0.0.1:5432/sogo/sogo_user_profile/string keySOGoSMTPServer/key string127.0.0.1/string keySOGoTimeZone/key stringEurope/Berlin/string keySOGoUserSources/key array dict keyCNFieldName/key stringcn/string keyIDFieldName/key stringuid/string keyUIDFieldName/key stringuid/string keybaseDN/key stringou=people,dc=hell/string keybindDN/key stringcn=manager,dc=hell/string keybindPassword/key stringfreebsd/string keycanAuthenticate/key stringYES/string keydisplayName/key stringldap/string keyhostname/key stringlocalhost/string keyid/key stringldap/string keyport/key string389/string /dict /array /dict /dict /plist ~ On my Log 2012-03-26 20:07:52.653 sogod[4104] WOCompoundElement: pool embedding is on. 2012-03-26 20:07:52.653 sogod[4104] WOCompoundElement: id logging is on. Mar 26 20:07:52 sogod [4104]: SOGoRootPage Login for usertest@hell.localdomain 'test@hell.localdomain' might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0 172.16.54.1 - - [26/Mar/2012:20:07:52 GMT] POST /SOGo/connect HTTP/1.1 403 34/76 0.512 - - - The Data to LDAP and PostgreSQL are correct. Binding with LDAP commandline-tools was successfully possible. Mailsystem ist Postfix, Postgrey, Cyrus and GOSa as an Webfrontend + a SAMBA PDC there are proper working. Anybody haves an Idea to fix it? The uid you are trying to login with (test@hell.localdomain) looks unusual to me. Are you sure that is the uid in your directory? Steve -- users@sogo.nu https://inverse.ca/sogo/lists Here is an ldif from this User dn: cn=Testing User,ou=people,dc=hell objectclass: top objectclass: person objectclass: organizationalPerson objectclass: inetOrgPerson objectclass: gosaAccount objectclass: posixAccount objectclass: shadowAccount objectclass: sambaSamAccount objectclass: gosaMailAccount cn: Testing User gidnumber: 1001 gosamaildeliverymode: [LC] gosamailserver: Cyrus on 127.0.0.1 homedirectory: /usr/home/test mail: test@hell.localdomain sambasid: S-1-5-21-3006298893-1151248186-1656590636-2002 sn: User uid: test uidnumber: 1001 academictitle:: RHIuIA== dateofbirth: 1970-01-01 gecos: Testing User gender: M givenname: Testing gosamailalternateaddress: test2@hell.localdomain gosamailalternateaddress: test3@hell.localdomain gosamailquota: 2000 gosaspammailbox: INBOX gosaspamsortlevel: 0 gotolastsystemlogin: 01.01.1970 00:00:00 homephone: 123456789 homepostaladdress: Somewere over the Rainbow labeleduri: http://www.google.com/ loginshell: /bin/csh personaltitle: King preferredlanguage: de_DE sambaacctflags: [U ] sambabadpasswordcount: 0 sambabadpasswordtime: 0 sambadomainname: HELL sambahomedrive: H: sambahomepath: \\HELL\test sambalmpassword: 1859DF459C8FC49CAAD3B435B51404EE sambalogofftime: 2147483647 sambalogontime: 0 sambamungeddial:
Re: [SOGo] Can not log me in with LDAP
On Mon, Mar 26, 2012 at 1:10 PM, Darko Hojnik hoj...@virtualizing.org wrote: Hi Steve, Am Montag, den 26.03.2012, 12:45 -0700 schrieb Stephen Ingram: On Mon, Mar 26, 2012 at 12:15 PM, Darko Hojnik hoj...@virtualizing.org wrote: Hi there Today I've fresh installed SOGo on FreeBSD. But i cant log me in with LDAP enabeled. ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN http://www.gnustep.org/plist-0_9.xml; plist version=0.9 dict keyNSGlobalDomain/key dict /dict keysogod/key dict keyOCSEMailAlarmsFolderURL/key stringpostgresql://sogo:freebsd@127.0.0.1:5432/sogo/sogo_alarms_folder/string keyOCSFolderInfoURL/key stringpostgresql://sogo:freebsd@127.0.0.1:5432/sogo/sogo_folder_info/string keyOCSSessionsFolderURL/key stringpostgresql://sogo:freebsd@127.0.0.1:5432/sogo/sogo_sessions_info/string keySOGoACLsSendEMailNotifications/key stringYES/string keySOGoAppointmentSendEMailNotifications/key stringYES/string keySOGoCalendarDefaultRoles/key array stringPublicViewer/string stringConfidentialDAndTViewer/string /array keySOGoEnableEMailAlarms/key stringYES/string keySOGoFoldersSendEMailNotifications/key stringYES/string keySOGoIMAPServer/key string127.0.0.1/string keySOGoLanguage/key stringGerman/string keySOGoMailDomain/key stringhell.localdomain/string keySOGoMailingMechanism/key stringsmtp/string keySOGoMemcachedHost/key string=/string keySOGoProfileURL/key stringpostgresql://sogo:freebsd@127.0.0.1:5432/sogo/sogo_user_profile/string keySOGoSMTPServer/key string127.0.0.1/string keySOGoTimeZone/key stringEurope/Berlin/string keySOGoUserSources/key array dict keyCNFieldName/key stringcn/string keyIDFieldName/key stringuid/string keyUIDFieldName/key stringuid/string keybaseDN/key stringou=people,dc=hell/string keybindDN/key stringcn=manager,dc=hell/string keybindPassword/key stringfreebsd/string keycanAuthenticate/key stringYES/string keydisplayName/key stringldap/string keyhostname/key stringlocalhost/string keyid/key stringldap/string keyport/key string389/string /dict /array /dict /dict /plist ~ On my Log 2012-03-26 20:07:52.653 sogod[4104] WOCompoundElement: pool embedding is on. 2012-03-26 20:07:52.653 sogod[4104] WOCompoundElement: id logging is on. Mar 26 20:07:52 sogod [4104]: SOGoRootPage Login for usertest@hell.localdomain 'test@hell.localdomain' might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0 172.16.54.1 - - [26/Mar/2012:20:07:52 GMT] POST /SOGo/connect HTTP/1.1 403 34/76 0.512 - - - The Data to LDAP and PostgreSQL are correct. Binding with LDAP commandline-tools was successfully possible. Mailsystem ist Postfix, Postgrey, Cyrus and GOSa as an Webfrontend + a SAMBA PDC there are proper working. Anybody haves an Idea to fix it? The uid you are trying to login with (test@hell.localdomain) looks unusual to me. Are you sure that is the uid in your directory? Steve -- users@sogo.nu https://inverse.ca/sogo/lists Here is an ldif from this User dn: cn=Testing User,ou=people,dc=hell objectclass: top objectclass: person objectclass: organizationalPerson objectclass: inetOrgPerson objectclass: gosaAccount objectclass: posixAccount objectclass: shadowAccount objectclass: sambaSamAccount objectclass: gosaMailAccount cn: Testing User gidnumber: 1001 gosamaildeliverymode: [LC] gosamailserver: Cyrus on 127.0.0.1 homedirectory: /usr/home/test mail: test@hell.localdomain sambasid: S-1-5-21-3006298893-1151248186-1656590636-2002 sn: User uid: test uidnumber: 1001 academictitle:: RHIuIA== dateofbirth: 1970-01-01 gecos: Testing User gender: M givenname: Testing gosamailalternateaddress: test2@hell.localdomain gosamailalternateaddress: test3@hell.localdomain gosamailquota: 2000 gosaspammailbox: INBOX gosaspamsortlevel: 0 gotolastsystemlogin: 01.01.1970 00:00:00 homephone: 123456789 homepostaladdress: Somewere over the Rainbow labeleduri: http://www.google.com/ loginshell: /bin/csh personaltitle: King preferredlanguage: de_DE sambaacctflags: [U ] sambabadpasswordcount: 0 sambabadpasswordtime: 0 sambadomainname: HELL sambahomedrive: H: sambahomepath: \\HELL\test sambalmpassword:
Re: [SOGo] Can not log me in with LDAP
Hi Ludovic, Am Montag, den 26.03.2012, 16:38 -0400 schrieb Ludovic Marcotte: On 26/03/12 16:32, Darko Hojnik wrote: keyIDFieldName/key stringuid/string keyUIDFieldName/key stringmail/string Set CNFieldName to cn Set IDFieldName to cn; Set UIDFieldName to uid; Set bindFields to (uid, mail); This should work. -- Ludovic Marcotte +1.514.755.3630 :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) Now it works keyCNFieldName/key stringcn/string keyIDFieldName/key stringcn/string keyUIDFieldName/key stringmail/string keybaseDN/key stringou=people,dc=hell/string keybindDN/key stringcn=manager,dc=hell/string keybindFields/key stringmail/string keybindPassword/key stringfreebsd/string keycanAuthenticate/key stringYES/string keydisplayName/key stringldap/string keyhostname/key stringlocalhost/string keyid/key stringldap/string keyport/key string389/string This would work but SOGo would register me with a wron username on cyrus. keyIDFieldName/key stringuid/string Thank you so much. best regards Darko -- users@sogo.nu https://inverse.ca/sogo/lists