Thanks for your answer Davide,
but with the configuration shown at GitHub and only selecting one branch at the point windows-network at nethserver it works very well.
If I try to enter the domain like this ‘dc=MyDomainFS,dc=local,dc=my-domain,dc=de’ in the branch-field for global search, it dosn’t work.
Thanks for your answer and sorry for my late answer, but I haven’t had so much time.
I don’t understand how to do it with the template, can you explain it to me based on an example?
Hello Davide,
because of holiday and other projects I haven’t had a chance to answer in time. But now I’ve added a directory named sogo-config to templates-custom and copied 10user_source_active_directory to it. At this file I changed at “id = AD_Distributionlist” baseDN = “$baseDN”; to baseDN = “dc=MyDomainFS,dc=local,dc=my-domain,dc=de”, but it dosn’t work. Do you have any idea.
Did you set up bind credentials? IIRC MS Active Directory requires GSSAPI or LDAP authentication… Maybe I’m wrong but latest versions may require LDAPs (SSL) too…
I’ve tested it with nethserver 7 beta 1, I can see all users at the webinterface, but not the branches. Also I can’t login with the accounts at the sogo login page.
Has anyone an idea how to login with Windows Active Directory Accounts to SOGo? It always says authentication failed, wrong username or password. I can see the users at users and groups at the nethserver, but the protocol says it can’t bind.
Aug 31 14:08:03 sogod [13276]: 192.168.46.130 “GET /SOGo/ HTTP/1.1” 200 7354/0 0.107 23082 68% 0
Aug 31 14:08:18 sogod [13276]: <0x0x7f7650bf4ba0[LDAPSource]> <NSException: 0x7f7650553170> NAME:LDAPException REASON:operation bind failed: Can’t contact LDAP server (0xFFFFFFFF) INFO:{“error_code” = “-1”; login = "samaccountname=mtraeumner@myDomain.local.my-domain.de,cn=users,dc=myDomain,dc=local,dc=my-domain,dc=de"; }
Aug 31 14:08:18 sogod [13276]: [ERROR] <0x0x7f7650bed1d0[LDAPSource]> Could not bind to the LDAP server ldap://gps0.myDomain.local.my-domain.de:389 (389) using the bind DN:
cn=GROUPWARE,cn=Computers,dc=myDomain,dc=local,dc=my-domain,dc=de
Aug 31 14:08:18 sogod [13276]: [ERROR] <0x0x7f7650bed1d0[LDAPSource]> <NSException: 0x7f7650c3a0b0> NAME:LDAPException REASON:operation bind failed: Can’t contact LDAP server (0xFFFFFFFF) INFO:{“error_code” = “-1”; login =
“cn=GROUPWARE,cn=Computers,dc=myDomain,dc=local,dc=my-domain,dc=de”; }
Aug 31 14:08:18 sogod [13276]: SOGoRootPage Login from ‘192.168.46.130’ for user ‘mtraeumner@myDomain.local.my-domain.de’ might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0
Aug 31 14:08:18 sogod [13276]: 192.168.46.130 “POST /SOGo/connect HTTP/1.1” 403 34/102 0.042 - - 0