LDAP email address is all empty

NethServer Version: NethServer release 7.3.1611 (Final)
Module: LDAP email

I’ve deployed NethServer in one of my droplet in DigitalOcean, and hosting account by LDAP localy, when i’m trying to get the user’s email address from LDAP it returns empty as “”, and i checked in the NethServer web interface under Management - Email address, all the users list with empty email addresses, i tried to edit but there’s no option to add/modify the email address.
So how can I get the user’s email address in LDAP?
Thanks

Do you mean Nethserver LDAP-Server or an other one at the same mashine?
If you mean another one it would be nice if you could post connection settings.

Hi, it’s all in the same machine.

In LDAP the “userPricipalName” should be identically to the email address:

Maybe you can use this.

2 Likes

You already have a built-in <user>@<domain> address, that column lists extra mail addresses for the user.
Do you think we should change the column name?

1 Like

Yes, I think something like additional mailadress would be fine.

You should try it at @flatspin’s way, take the userPrincipalName.

1 Like

Thanks for all your helps.
I got another question about the DN


as figured above the DN was not like the domain name which I’ve configured as xxxx.com but directory.nh
I use LDAP local accounts provider through Configuration - Accounts provider
why? am i doing something wrong?
Thanks

1 Like

Hi @tommycloud,

It’s default behaviour…but there is an overlay with your domain:

http://docs.nethserver.org/projects/nethserver-devel/en/v7/nethserver-directory.html#schema-and-base-dn

2 Likes

2 messages ont été déplacés vers un nouveau sujet : SAMBA4: change the user password after the first login

Un message a été intégré dans un sujet existant : SAMBA4 AD: change the user password after the first login