But, I don't see where you set the variable $um_user_type to the usertype returned from your search, so that if block is never entered.if (($um_user_type =~ /F/)) { print FLOG "$entry->{usertype}[0] - Address $entry->{mail} +[0]\n"; print "Functional- $entry->{usertype}[0] - Address $entry +->{mail}[0]\n";
In reply to Re^2: searching LDAP and writing to text file
by hominid
in thread searching LDAP and writing to text file
by mr_evans2u
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |