{"id":29190657,"url":"https://github.com/owncloud/user_external","last_synced_at":"2025-07-02T00:10:44.837Z","repository":{"id":33264892,"uuid":"157368951","full_name":"owncloud/user_external","owner":"owncloud","description":"User backend using IMAP, SMB or FTP","archived":false,"fork":false,"pushed_at":"2024-08-02T08:45:40.000Z","size":256,"stargazers_count":2,"open_issues_count":4,"forks_count":6,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-06-27T21:13:47.536Z","etag":null,"topics":["owncloud-app"],"latest_commit_sha":null,"homepage":"","language":"Starlark","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/owncloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-11-13T11:23:40.000Z","updated_at":"2025-04-22T15:03:58.000Z","dependencies_parsed_at":"2024-03-22T11:53:34.252Z","dependency_job_id":"d97a0335-77d4-4821-9ac4-5c9e7a1d5954","html_url":"https://github.com/owncloud/user_external","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/owncloud/user_external","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owncloud%2Fuser_external","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owncloud%2Fuser_external/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owncloud%2Fuser_external/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owncloud%2Fuser_external/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owncloud","download_url":"https://codeload.github.com/owncloud/user_external/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owncloud%2Fuser_external/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263052430,"owners_count":23406106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["owncloud-app"],"created_at":"2025-07-02T00:10:44.233Z","updated_at":"2025-07-02T00:10:44.820Z","avatar_url":"https://github.com/owncloud.png","language":"Starlark","funding_links":[],"categories":[],"sub_categories":[],"readme":"External user authentication\n============================\nAuthenticate user login against FTP, IMAP or SMB.\n\nPasswords are not stored locally; authentication always happens against\nthe remote server.\n\nIt stores users and their display name in its own database table\n`users_external`.\nWhen modifying the `user_backends` configuration, you need to\nupdate the database table's `backend` field, or your users will lose\ntheir configured display name.\n\nIf something does not work, check the log file at `owncloud/data/owncloud.log`.\n\n\nFTP\n---\nAuthenticate ownCloud users against a FTP server.\n\n\n### Configuration\nYou only need to supply the FTP host name or IP.\n\nThe second - optional - parameter determines if SSL should be used or not.\n\nAdd the following to `config.php`:\n\n    'user_backends' =\u003e array(\n        array(\n            'class' =\u003e 'OC_User_FTP',\n            'arguments' =\u003e array('127.0.0.1'),\n        ),\n    ),\n\nTo enable SSL connections via `ftps`, append a second parameter `true`:\n\n    'user_backends' =\u003e array(\n        array(\n            'class' =\u003e 'OC_User_FTP',\n            'arguments' =\u003e array('127.0.0.1', true),\n        ),\n    ),\n\n\n### Dependencies\nPHP automatically contains basic FTP support.\n\nFor SSL-secured FTP connections via ftps, the PHP [openssl extension][0]\nneeds to be activated.\n\n[0]: http://php.net/openssl\n\n\n\nIMAP\n----\nAuthenticate ownCloud users against an IMAP server.\nIMAP user and password need to be given for the ownCloud login\n\n\n### Configuration\nAdd the following to your `config.php`:\n\n    'user_backends' =\u003e array(\n        array(\n            'class' =\u003e 'OC_User_IMAP',\n            'arguments' =\u003e array(\n                '{127.0.0.1:143/imap/readonly}', 'example.com'\n            ),\n        ),\n    ),\n\nThis connects to the IMAP server on IP `127.0.0.1`, in readonly mode.\nIf a domain name (e.g. example.com) is specified, then this makes sure that \nonly users from this domain will be allowed to login. After successful\nlogin the domain part will be stripped and the rest used as username in\nownCloud. e.g. 'username@example.com' will be 'username' in ownCloud.\n\nRead the [imap_open][0] PHP manual page to learn more about the allowed\nparameters.\n\n[0]: http://php.net/imap_open#refsect1-function.imap-open-parameters\n\n\n### Dependencies\nThe PHP [IMAP extension][1] has to be activated.\n\n[1]: http://php.net/imap\n\n\n\nSamba\n-----\nUtilizes the `smbclient` executable to authenticate against a windows\nnetwork machine via SMB.\n\n\n### Configuration\nThe only supported parameter is the hostname of the remote machine.\n\nAdd the following to your `config.php`:\n\n    'user_backends' =\u003e array(\n        array(\n            'class' =\u003e 'OC_User_SMB',\n            'arguments' =\u003e array('127.0.0.1'),\n        ),\n    ),\n\n\n### Dependencies\nThe `smbclient` executable needs to be installed and accessible within `$PATH`.\n\n\nWebDAV\n------\n\nAuthenticate users by a WebDAV call. You can use any WebDAV server, ownCloud server or other web server to authenticate. It should return http 200 for right credentials and http 401 for wrong ones.\n\nAttention: This app is not compatible with the LDAP user and group backend. This app is not the WebDAV interface of ownCloud, if you don't understand what it does then do not enable it.\n\n### Configuration\nThe only supported parameter is the URL of the web server.\n\nAdd the following to your `config.php`:\n\n    'user_backends' =\u003e array(\n        array(\n            'class' =\u003e '\\OCA\\User_External\\WebDAVAuth',\n            'arguments' =\u003e array('https://example.com/webdav'),\n        ),\n    ),\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowncloud%2Fuser_external","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowncloud%2Fuser_external","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowncloud%2Fuser_external/lists"}