pitbulk / apps

ownCloud apps
3 stars 5 forks source link

Add a file in user home that contains his password #8

Open k3nnyfr opened 11 years ago

k3nnyfr commented 11 years ago

When a user connects to ownCloud via his CAS account, a user is correctly created and a password is generated.

But the user cannot know that password because it's encrypted, nor change it, because he just don't know his password.

So I propose to create a file during user creation with CAS in ownCloud database that contains the user password uncrypted, so the CAS user can connect with ownCloud desktop or mobile client

pitbulk commented 11 years ago

Don't know if create a file with a password is a good solution.

The password autogenerated during user creation with CAS is used becouse owncloud requires to set a password. Maybe a better solution is to use the change password functionality of Owncloud and set the password that the user want for no-web access.

k3nnyfr commented 11 years ago

Oh I didn't saw your answer, yes that's a good solution too !

I'll try it, maybe that should remain as an option in CAS configuration in Admin Panel like :

I'll try some improvements on it asap

k3nnyfr commented 11 years ago

Added an option with a default password forced to newly created CAS users if empty the regular random password is generated