Hello, I'm using SM 1.4.6, PHP 4.4.0, ldapquery plugin v. 2.1, NOT using an ldap database backen. My question is this: The management here want a way to have the user DN field auto- populated based on email address that signed in. So that leads me to two problems, number 1 the PHP scripting. I have very little experience with PHP so I wouldn't even know where to start. Secondly the user DN field is the users common name, not email address - so is there a way to take the users email address, check the ldap directory and pull the CN? Any help would be appreciated. Matt -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users