Is there a reason why in NS8 the ldap is not used a global address book in SOGo ? This keeps the to:address autocompletion to work.
I changed isAddressBook = NO;
to YES;
in ../templates/sogo.conf
and it works as it used to.
Is there a reason why in NS8 the ldap is not used a global address book in SOGo ? This keeps the to:address autocompletion to work.
I changed isAddressBook = NO;
to YES;
in ../templates/sogo.conf
and it works as it used to.
Thanks for pointing out.
For which addressbook did you change isAddressbook
?
The two « users » entries (those for classic ldap and AD)
Thanks, it works.
After setting AD_Users and users isAdressbook
to YES
the LDAP addressbook is working:
hum at the time I think it was a feature because we have had the mail attribute absent of the ldap, maybe now we could reintroduce it
You’re right, the new mail attribute was set in my case.
maybe we have a bit more of work, notably for samba AD, since we started to use userprincipalname as mail address IIRC (need to dive)
target ghcr.io/nethserver/sogo:addressbook
this needs to be tested in upgrade and direct install
can I help ?
with pleasure
install a new stable sogo linked to you mail server, check the adressbook , then upgrade the instance to this
api-cli run update-module --data '{"module_url":"ghcr.io/nethserver/mymodule:latest","instances":["mymodule1"],"force":true}'
will do tonight.
Hi,
I’ve updated to the latest version and check sogo.conf in /home/sogo1/.config/templates
The optin for ldap address book is enabled ( isAddressBook = YES;)
Only i don’t see the users from LDAP is sogo
Ok. Why is it not using the default mail adrress from the user account and do you need to add an extra emailaddress which is an optional feature.
In other distros i’ve used it uses the users database with default domain in the addressbook
For AD that would be something like user@ad.domain.tld which is not wanted. Another example is when you use usernames like mne@ad.domain.tld
but the mail address should be markus.neuberger@domain.tld
.
This is only possible when there’s a separate mail field.
EDIT:
This way it’s also possible to exclude users from the address book.
And why is it so ?
as far as I remember it worked OOB with NS7 wether it was ad or dc.
In NS7 the server domain name was used as first mail domain which was used for the mail addresses that were shown in the SOGo address book. To change that mail address, you needed to use some LDAP editor.
Now you can set the LDAP mail address field directly on the domains and users page.
I had the same question. Why not using the main domainname in from the mail server as other distro’s are doing.
There is no main mail domain and it can’t be guessed. In NS7 or maybe other distros the first created mail domain is used but if you have more domains or the domain changes the address book may be wrong.
I can fully understand that it’s annoying to enter mail addresses if you just have one domain but I’d like to find a compromise to also cover use cases with more domains.
What about a method to automatically fill the mail field for all/selected users with a domain that can be chosen?
This way it’s not really more effort for admins with one domain.
When the domain changes, you can fill the mail field with the new domain and don’t need an LDAP editor.
For me it is not a big issue, only it needs to be user(admin) friendly
The suggested method sounds good. The user name in known and if when a default domain can be choosen which will be used for all users it makes it very simple