{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"org.yota.space"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"skeletondirectory": "",
"dbtype": "mysql",
"version": "31.0.5.1",
"overwrite.cli.url": "https:\/\/org.yota.space",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"default_phone_region": "CA",
"maintenance": false,
"maintenance_window_start": 0,
"enable_previews": true,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"app_install_overwrite": [
"files_ebookreader",
"listman"
],
"theme": "",
"loglevel": 2,
"defaultapp": "files",
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"profile.enabled": false
}
}
How to use GitHub
Steps to reproduce
php occ user:add User2 -g Group1 -g Group2 -g Group3in your nextcloud install folder, and provide a new password as requested.Expected behaviour
The user should be rejected because
--emailwas not given.Actual behaviour
LDAP users are created with no emails:
LDIF
Server configuration
Web server: Nginx
Database: PostgreSQL
PHP version: 8.2
Nextcloud version: 31.0.5
List of activated apps
Nextcloud configuration