-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mail attribute not synced from LDAP/AD before first login #9494
Comments
cc @nextcloud/ldap |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Hello, I too have the same issue. I want to try to fix the issues manually before this bug is patched by the dev teams, but I can't quite get your command to work, what command did you issue to fix it for all users? I've 10000+ users that are missing the email fields. I tried to execute command |
Hi!
|
@tgoeg Hello, |
Hmm... If all of your users are on the same domain, probably bulk set their addresses with |
Should be fixed with #14200 (and shipped with 13.0.12, 14.0.8, 15.0.5) |
When connecting to AD, is it possible to create a mail and bind it to the nextcloud login according to the template "sAMAccountName@mail.com"? Since the user does not have mail or mail is not set in AD in the attributes. Can you show an example? |
@tach-tm you replied to a bug report that is closed for 3.5 years, and with an unrelated question. I would like to ask you to raise your question in the forums: https://help.nextcloud.com If you wish support with setup issues from Nextcloud GmbH we offer this as part of the Nextcloud subscription. Learn more about this at https://nextcloud.com/enterprise/ |
Steps to reproduce
Expected behaviour
Synced users should have their mail adresses set
Actual behaviour
No mail address found
Workarounds
If I login with an AD user the first time, the email gets set.
The same effect can be achieved by issuing either
or
which fixes it for all users.
However, this should work automatically when initially syncing users from LDAP/AD. Sharing per mail silently fails before that, which is pretty hard to debug!
Server configuration
Operating system:
Ubuntu 16.04.4 LTS
Web server:
Apache 2.4.18-2ubuntu3.8
Database:
mysql-server 5.7.22-0ubuntu0.16.04.1
PHP version:
php 7.0.28-0ubuntu0.16.04.1
Nextcloud version: (see Nextcloud admin page)
13.0.2
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from 12.x
Where did you install Nextcloud from:
Official download from nextcloud.com
Signing status:
Signing status
``` No errors have been found. ```List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local
Are you using encryption: yes
Are you using an external user-backend, if yes which one: ActiveDirectory
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Any
Operating system:
Any
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: