Can't edit email address in Ldap users

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1.login with admin
2.go to user administration
3.edit the email address on the user

Expected behaviour
Edit the email address in the dashboard from admin, of the users

Actual behaviour
I have configured my server with integration with Active Directory and it works fine but if I try to edit the mail I am mistaken and tells me that I can not do it. I tried adding it to the user's email field in the acitve directory but it did not import.

Server configuration
Operating system:Ubuntu 16.10 Server
Web server: Apache 2.4.18
Database:MySql
PHP version: 7
ownCloud version (see ownCloud admin page):9.1.4
Updated from an older ownCloud or fresh install:fresh install
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):no

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

Which is absolutely correct as ownCloud will only read from AD/LDAP, not write to it.

Most likely some caching, try to wait a few hours/days to see if it get updated at some point in time.

Thanks for fast reply!
Do I have to do something in the OC configuration to import emails? Or is it enough to put the e-mail address in the display by flagging the 'view the email address'?
thanks

AFAIK you're not supposed to use the e-mail field in the user management of ownCloud at all if using AD/LDAP users.

The documentation at [1] mentioning something about an "Email Field" which might help you assigning the e-mail addresses of your users.

[1] https://doc.owncloud.org/server/latest/admin_manual/configuration_user/user_auth_ldap.html

1 Like

Work it with the email field mail , the same present in AD entries in Ad USer --> Properties--> On the Attribute tab find the attribute called mail
thanks