Hi everyone,

I'm wondering if it's possible to have some sort of lookup facility  
that can force the use a "mail" attribute and a "cn" attribute of an  
LDAP tree, instead of letting a user fill in their own name and e-mail  
address (and reply-to field). The reason for asking is the following:

We (a university) are planning to use Roundcube as the replacement  
webmail client. In our current webmail solution (old version of IMP)  
we can use hook functions to read the "mail" and "cn" attribute from  
an LDAP tree and use that as the from address and name. Our students  
are not able to change their from address and name in their identity  
in IMP. We want to prevent our students from using names like "cutie",  
"16 year old.." from their webmail interface. We also want to prevent  
them from changing their from email address in case they think it  
would be nice to send an email as if they were a teacher or so.

At the moment I have some sort of workaround to prevent the changing  
of name and from e-mail address by introducing a new identities_level  
in main.inc.php that disables the columns I specified in program/steps/ 
settings/edit_identity.inc. In this case, students are only allowed to  
change what we allow them to change (signature for instance). It would  
be nice however if we could have a similar "hook" function like IMP  
has, so that if they choose to have their name to be changed in one  
place (the LDAP tree), all connected services (including webmail)  
would automatically change too.

Is there some sort of patch or functionality available that can  
achieve that?

Thanks in advance,

Br.

Dennis
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to