nextcloud / user_external

👥 External user authentication methods like IMAP, SMB and FTP
https://apps.nextcloud.com/apps/user_external
108 stars 64 forks source link

Restrict creation of Useraccounts #131

Open kruegermedia opened 4 years ago

kruegermedia commented 4 years ago

Hello, the feature of restricting the automatic creation of useraccounts would be nice.

Right now when it comes to IMAP for example, every valid account of the configured domain is able to log in and creates - if not existing - a new account.

In combination with the feature requests:

21 #28

it would round up nicely

kind regards

violoncelloCH commented 4 years ago

I get the idea behind this... but how is this supposed to be configurable? via a custom regex matching? (which makes it very technical)

kruegermedia commented 3 years ago

Hello, long time no see, excuse me for that...

Regex could be an option, but an explicit whitelist would be an easier, not so technical, option.

violoncelloCH commented 3 years ago

seems we have an approach for this in #149 but to be honest I'm not really sure if this is something we should add...

kamilko commented 2 years ago

I have question to this topic - if I have some users added manually and some users from IMAP server I don't want to have option to login on Nextcloud/nor create account in Nextcloud while they trying to login - what I should do? Could there be some option like: autocreate_user = true/false ? Maybe this would be simpler than start with regex by default?