username case sensitivity issue
Nessuno ha ancora preso questa issue.
- #130 di @someone-somenet-org — chiusa senza merge
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 32/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- php
- Ambito
- authentication, backend
Direzione di ricerca
No source file or test is named. Start by reproducing the capitalization mismatch through the user_external WebDAV backend and compare it with the database backend; done means differently capitalized usernames resolve to one user, one folder, and persistent admin edits.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Affected apps
user_external
Steps to reproduce
- log in multiple times to the same user via user_external (WebDAV) with different capitalization of the username
- see different folders in the file system for the different capitalizations but only one user in admin/users
- from admin/users try to edit parameters (display name / email) and see it getting overwritten back after refresh of the page
Expected behaviour
nextcloud should handle different capitalization of usernames and don't differentiate between them, as it does for users with the user backend "database"
Actual behaviour
strange issues occure as described in "Steps to reproduce"
Server configuration detail
Operating system: Linux 4.4.0-134-generic #160-Ubuntu SMP Wed Aug 15 14:58:00 UTC 2018 x86_64
Webserver: Apache (fpm-fcgi)
Database: mysql 10.0.36
PHP version:
7.2.9-1+ubuntu16.04.1+deb.sury.org+1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, cgi-fcgi, mysqlnd, PDO, xml, apcu, apc, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, ldap, exif, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, smbclient, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, libsmbclient, Zend OPcache
Nextcloud version: 14.0.0 - 14.0.0.19
Updated from an older Nextcloud/ownCloud or fresh install: updated
Where did you install Nextcloud from: official nextclou download
Signing status
Array
(
)
List of activated apps
Enabled:
- accessibility: 1.0.1
- activity: 2.7.0
- bruteforcesettings: 1.1.0
- cloud_federation_api: 0.0.1
- comments: 1.4.0
- dav: 1.6.0
- federatedfilesharing: 1.4.0
- federation: 1.4.0
- files: 1.9.0
- files_external: 1.5.0
- files_linkeditor: 1.0.7
- files_pdfviewer: 1.3.2
- files_rightclick: 0.8.4
- files_sharing: 1.6.2
- files_texteditor: 2.6.0
- files_trashbin: 1.4.1
- files_versions: 1.7.1
- files_videoplayer: 1.3.0
- firstrunwizard: 2.3.0
- gallery: 18.1.0
- groupfolders: 1.3.3
- impersonate: 1.1.0
- issuetemplate: 0.4.0
- logreader: 2.0.0
- lookup_server_connector: 1.2.0
- metadata: 0.7.0
- nextcloud_announcements: 1.3.0
- notifications: 2.2.1
- oauth2: 1.2.1
- onlyoffice: 2.0.4
- password_policy: 1.4.0
- previewgenerator: 1.1.0
- provisioning_api: 1.4.0
- quota_warning: 1.3.0
- ransomware_protection: 1.2.0
- serverinfo: 1.4.0
- sharebymail: 1.4.0
- support: 1.0.0
- survey_client: 1.2.0
- systemtags: 1.4.0
- theming: 1.5.0
- twofactor_backupcodes: 1.3.1
- updatenotification: 1.4.1
- user_external: 0.4
- workflowengine: 1.4.0
Disabled:
- admin_audit
- announcementcenter
- encryption
- files_accesscontrol
- files_automatedtagging
- user_ldap
Configuration (config/config.php)
{
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***"
],
"auth.bruteforce.protection.enabled": true,
"0": [
".htaccess",
"Thumbs.db",
"thumbs.db"
],
"cron_log": true,
"activity_expire_days": 33,
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "14.0.0.19",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\Movie",
"OC\\Preview\\PDF",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown"
],
"preview_max_x": 1024,
"preview_max_y": 768,
"preview_max_scale_factor": 1,
"filesystem_check_changes": 0,
"filelocking.enabled": "true",
"htaccess.RewriteBase": "\/",
"integrity.check.disabled": false,
"knowledgebaseenabled": false,
"logfile": "\/srv\/nextclouddata\/nextcloud.log",
"loglevel": 0,
"logtimezone": "Europe\/Berlin",
"log_rotate_size": 104857600,
"maintenance": false,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"overwriteprotocol": "https",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0
},
"quota_include_external_storage": false,
"share_folder": "",
"skeletondirectory": "\/srv\/nextclouddata\/presets\/",
"theme": "",
"trashbin_retention_obligation": "auto, 7",
"updater.release.channel": "stable",
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"user_backends": [
{
"class": "\\OCA\\User_External\\WebDAVAuth",
"arguments": [
"***REMOVED SENSITIVE VALUE***"
]
}
],
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": 1,
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "ssl",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***"
}
Are you using external storage, if yes which one: webdav
Are you using encryption: false
Are you using an external user-backend, if yes which one: WebDAV
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Operating system: Win 10
Logs
Browser log
not relevant
Nextcloud log
Browser log
not relevant
- Lingua principale
- JavaScript
- Stelle
- 121
- Fork
- 73
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nextcloud/user_external
-
0. Needs triage bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nextcloud/user_external#298 · 1 reazione ·
-
NC 35 compatibilityAperta0. Needs triage enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
nextcloud/user_external#311 · 2 commenti · 4 reazioni ·
-
0. Needs triage bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
nextcloud/user_external#310 · 2 commenti ·
-
v4.0.0 released!Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 20/100
nextcloud/user_external#295 · 3 reazioni ·
-
0. Needs triage bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
nextcloud/user_external#281 · 6 commenti · 3 reazioni ·
Tutte le issue di nextcloud/user_external
Issue simili
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
app bug config windows-os
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openai/codex#51926 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
clawsweeper:needs-product-decision clawsweeper:needs-security-review clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:security issue-rating: 🦞 diamond lobster P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
openclaw/openclaw#166870 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
⚠ needs intervention document structure changed
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
[Package] Widget primitives [Type] Enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
WordPress/gutenberg#84204 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno