Bump!

Is anyone able to help me with this issue?

With the following in sogo.conf, I am unable to get the e-mails displayed
on the UI. I am able to login, but then SOGo immediately logs out!

 SOGoUserSources = (
                {
                type = ldap;
                CNFieldName = cn;
                UIDFieldName = sAMAccountName;
                baseDN = "cn=users,dc=newideatest,dc=local";
                bindDN = "CN=dovecot,CN=users,DC=newideatest,DC=local";
                bindPassword = "mi-secreta";
                bindFields = (sAMAccountName, mail);
                filter = "mail = '*'";
                canAuthenticate = YES;
                displayName = "NI Users";
                hostname = "ldap://127.0.0.1:389";;
                id = public_samba4AD;
                isAddressBook = YES;
                }
            );


Here is what I see in sogo.log:

root@adc0:/home/wash# tail -f /var/log/sogo/sogo.log
Nov 28 05:44:01 sogod [51167]: <0x0x5573f3dcb2e0[WOWatchDog]> listening on
127.0.0.1:20000
Nov 28 05:44:01 sogod [51167]: <0x0x5573f3dcb2e0[WOWatchDog]> watchdog
process pid: 51167
Nov 28 05:44:01 sogod [51167]: <0x0x7f1d5eb79360[WOWatchDogChild]> watchdog
request timeout set to 10 minutes
Nov 28 05:44:01 sogod [51167]: <0x0x5573f3dcb2e0[WOWatchDog]> preparing 3
children
Nov 28 05:44:01 sogod [51167]: <0x0x5573f3dcb2e0[WOWatchDog]> child spawned
with pid 51169
Nov 28 05:44:01 sogod [51167]: <0x0x5573f3dcb2e0[WOWatchDog]> child spawned
with pid 51170
Nov 28 05:44:01 sogod [51167]: <0x0x5573f3dcb2e0[WOWatchDog]> child spawned
with pid 51171
Nov 28 05:44:01 sogod [51169]: <0x0x5573f3f1daa0[WOHttpAdaptor]> notified
the watchdog that we are ready
Nov 28 05:44:01 sogod [51170]: <0x0x5573f3f10920[WOHttpAdaptor]> notified
the watchdog that we are ready
Nov 28 05:44:01 sogod [51171]: <0x0x5573f3f107e0[WOHttpAdaptor]> notified
the watchdog that we are ready
Nov 28 05:44:37 sogod [51171]: |SOGo| starting method 'POST' on uri
'/SOGo/connect'
Nov 28 05:44:37 sogod [51171]: <0x0x5573f3eb5ea0[SOGoCache]> Cache cleanup
interval set every 300.000000 seconds
Nov 28 05:44:37 sogod [51171]: <0x0x5573f3eb5ea0[SOGoCache]> Using host(s)
'localhost' as server(s)
Nov 28 05:44:37 sogod [51171]: [WARN] <0x0x7f1d5eb9af60[WOxElemBuilder]>
could not locate builders: WOxExtElemBuilder,WOxExtElemBuilder
Nov 28 05:44:37 sogod [51171]: <0x0x5573f42465b0[NGLdapConnection]> Using
ldap_initialize for LDAP URL: ldap://127.0.0.1:389
Nov 28 05:44:37 sogod [51171]: <0x0x5573f4237c50[NGLdapConnection]> Using
ldap_initialize for LDAP URL: ldap://127.0.0.1:389
2020-11-28 05:44:37.981 sogod[51171:51171] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search at base '' filter
'(objectClass=*)' for attrs 'subschemaSubentry'
2020-11-28 05:44:37.982 sogod[51171:51171] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search at base
'CN=Aggregate,CN=Schema,CN=Configuration,DC=newideatest,DC=local' filter
'(objectClass=*)' for attrs 'objectclasses'
2020-11-28 05:44:38.149 sogod[51171:51171] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search at base
'cn=users,dc=newideatest,dc=local' filter
'(&(|([email protected]
)([email protected]))(mail=*))' for attrs 'dn'
Nov 28 05:44:38 sogod [51171]: SOGoRootPage successful login from
'172.16.2.104' for user '[email protected]' - expire = -1  grace =
-1
Nov 28 05:44:38 sogod [51171]: <0x0x5573f434aef0[NGLdapConnection]> Using
ldap_initialize for LDAP URL: ldap://127.0.0.1:389
2020-11-28 05:44:38.225 sogod[51171:51171] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search at base
'cn=users,dc=newideatest,dc=local' filter
'(&(|([email protected]
)([email protected]))(mail=*))' for attrs '*'
Nov 28 05:44:38 sogod [51171]: <0x0x5573f4362c50[NGLdapConnection]> Using
ldap_initialize for LDAP URL: ldap://127.0.0.1:389
2020-11-28 05:44:38.281 sogod[51171:51171] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search at base
'cn=users,dc=newideatest,dc=local' filter
'(&(|(samaccountname=odhiambo)(mail=odhiambo))(mail=*))' for attrs '*'
Nov 28 05:44:38 sogod [51171]: [WARN]
<0x0x5573f43bd460[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists
in DAV permissions table
Nov 28 05:44:38 sogod [51171]: [WARN]
<0x0x5573f43bd460[SOGoWebDAVAclManager]> entry '{DAV:}write-properties'
already exists in DAV permissions table
Nov 28 05:44:38 sogod [51171]: [WARN]
<0x0x5573f43bd460[SOGoWebDAVAclManager]> entry '{DAV:}write-content'
already exists in DAV permissions table
Nov 28 05:44:38 sogod [51171]: |SOGo| request took 0.462954 seconds to
execute
Nov 28 05:44:38 sogod [51171]: 172.16.2.104 "POST /SOGo/connect HTTP/1.1"
200 56/84 0.476 - - 5M - 13
Nov 28 05:44:39 sogod [51171]: |SOGo| starting method 'GET' on uri
'/SOGo/so/[email protected]'
Nov 28 05:44:39 sogod [51171]: |SOGo| request took 0.033459 seconds to
execute
Nov 28 05:44:39 sogod [51171]: 172.16.2.104 "GET
/SOGo/so/[email protected] HTTP/1.1" 200 7779/0 0.037 29219 73% 1M
- 13




On Thu, 26 Nov 2020 at 16:23, Odhiambo Washington <[email protected]>
wrote:

>
> Hello,
>
> I have a situation here that is making me pull all my hair out:
>
> I have been using SOGo with MySQL and it's been working very well.
>
> I have now added LDAP AD/Samba4 authentication for a test domain and SOGo
> does not find and display e-mails, whereas Outlook is able to connect via
> IMAP and display those e-mails.
>
> Authentication succeeds, then instead of displaying the web UI showing
> e-mails, calendar, etc, it simply logs out and wants me to login again.
>
> I am not sure if it is possible to mix-and-match different types of
> authentication. I thought it should not be a problem and SOGO would use the
> Dictionaries and Sources one after another.
> Is my assumption correct???
>
> Hoping someone is able to act as my 3rd eye and see where my mistake is.
>
> I have captured sogo.log on this link:
> https://pastebin.ubuntu.com/p/SMKx59cpNw/
> My sogo.conf is on the following link:
> https://pastebin.ubuntu.com/p/PQpQVNYGBJ/
>
> Thanking you in advance
>
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
> "Oh, the cruft.", grep ^[^#] :-)
>


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to