LDAPAccountManager / lam

LDAP Account Manager
https://www.ldap-account-manager.org
Other
429 stars 69 forks source link

User self registration: support registration without password #313

Closed informaticavera closed 3 months ago

informaticavera commented 6 months ago

When the self-registration process is carried out by the company's personnel department, they must complete the password field and I will then give it to the user. Ideally, the password field should be generated randomly and sent to the user upon account creation.

gruberroland commented 6 months ago

This sounds like someone is requesting the account on behalf of the user. Would it be an option to use the regular admin interface for this? E.g. you can create a second server profile for HR that has limited functionality and allows to create users in a certain area?

If this is not an option how do you make sure that the random password is received by the user? I guess the user cannot access the mailbox without knowing the password.

informaticavera commented 6 months ago

Exactly, our HR department requests user registrations through self-service. The solution you propose may work, although let's see what you think:

password1

Sending the auto-generated password is not a problem, in our case user registration requires approval and the corporate email is not created until the process is finished and the user is created. We use users' personal email during self-registration. That is to say:

Captura desde 2024-03-20 07-03-26

First and Last Name: @@givenName@@ @@sn@@ User: @@uid@@ Email: @@mail@@

(HERE WE COULD INCLUDE THE AUTOGENERATED PASSWORD)

gruberroland commented 6 months ago

Thanks a lot for the extra info. Give us some days to check if and how this use-case can be supported.

gruberroland commented 6 months ago

Probably, the most easy solution would be to add an option in self service profile for random password generation. I put it on the list for 8.9.