I don't think you can use the autofill function to do what you want.  If there 
was a ":" in the field you could use the /k flag to split it based on that, but 
unless the string values are a set size (i.e. the string before @ is always the 
same length, or the domain name is the same length) you can't get only the 
domain string.

Unfortunately I don't have an easy solution for you.  You could write your own 
javascript function, but it would require modifying the phpldapadmin code in a 
couple places to get it to work.

Matt


----- Original Message -----
From: "valderson" <[email protected]>
To: [email protected]
Sent: Friday, March 27, 2009 12:33:49 PM GMT -05:00 US/Canada Eastern
Subject: [phpldapadmin-users]  autofill


I was wondering how i can use autofill to create my "mailMessageStore" entry.
I want to add the domain part of the mail address to
/home/vmail/"domain"/user. So if the user email is [email protected] the
mailMessageStore path would be /home/vmail/domain/test. With the range
modifier this is not possible as the domains are of different lengths. I am
using phpLdapAdmin version 1.1.0.5
-- 
View this message in context: 
http://www.nabble.com/autofill-tp22745171p22745171.html
Sent from the phpldapadmin-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

------------------------------------------------------------------------------
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to