Hello,
I've written a short script to prepend "ext-" to mail addresses
of all external colleagues in Microsoft Active Directory:
filter => '(&(objectCategory=Person)(objectClass=User))',
$mail = "ext-$mail"
if $entry->get_value('company') !~ /mycompany/i
&& $mail
"A. Farber" <[EMAIL PROTECTED]> writes:
> Hello,
>
> I've written a short script to prepend "ext-" to mail addresses
> of all external colleagues in Microsoft Active Directory:
>
> filter => '(&(objectCategory=Person)(objectClass=User))',
>
> $mail = "ext-$mail"
> if $entry->
On Oct 23, 2008, at 9:49 AM, A. Farber wrote:
If I remove "!" it works ok. If I try that filter with dsquery:
dsquery * domainroot -filter "(&(objectCategory=Person)
(objectClass=User)(!company=mycompany))
- then it works too. Has anybody seen the same problem?
dsquery is being lenient here.