Roundcube Community Forum

 

Automatically reading GECOS information to fill Name/Surname fields on creation?

Started by oukourj, November 08, 2019, 05:08:33 AM

Previous topic - Next topic

oukourj

I don't think I found a plugin doing this.

The idea would be that RC would read the information in /etc/passwd to fill the Name and Surname fields of a newly created RC user.

Right now I'll have to login to each new user and input these fields for them.

Is there a way to do this ? Or maybe even a RC user creation script I could (carefully ;-)) edit ?

JohnDoh

have a look at the new_user_identity identity plugin which ships with roundcube. it uses LDAP to get the user information but it should give you a starting point to create a plugin which uses /etc/passwd
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...