On 25/11/03 10:56 am, Hirmke Michael <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> thx for your answer.
> 
> [...]
>> However that shouldn't affect the parsing. Have you got an
>> example of the
>> raw AD attribute value? What does the returned schema hash
>> look like? It is
> 
> I used Data::Dumper to inspect the resulting hash - see below.
> 
>> clearly valid since you're able to look at single-value et
>> al, so the other
>> AD cruft might be lurking in there somewhere...
> 
> $sObjClass = "contact";
> @lAttr = $lohSchema->may( $sObjClass );
> use Data::Dumper;
> print "\n", Dumper( @lAttr ), "\n";
> 
> gives something like that:
> 
> $VAR1 = {
>         'no-user-modification' => 1,
>         'name' => 'whenChanged',
>         'oid' => '1.2.840.113556.1.2.3',
>         'aliases' => [],
>         'single-value' => 1,
>         'type' => 'at',
>         'syntax' => '1.3.6.1.4.1.1466.115.121.1.24'
>       };
> $VAR2 = {
>         'no-user-modification' => 1,
>         'name' => 'msCOM-PartitionSetLink',
>         'oid' => '1.2.840.113556.1.4.1424',
>         'aliases' => [],
>         'type' => 'at',
>         'syntax' => '1.3.6.1.4.1.1466.115.121.1.12'
>       };
> ...
> 
> So I never get any range-* attributes 8-<
>
> Am I doing something wrong here?

Everything looks OK, except for the missing stuff. Are you certain the
server's actually returning the missing stuff?

> Or is that all I can get from AD using Perl::LDAP?

Sorry, but unless we can see an example of an attributeTypes value that
includes these range things, it is difficult to say why it isn't working.

If you read the subschema subentry from perl yourself, and dump it to an
LDIF file, that would be one way of seeing the raw attributeTypes values...

Cheers,

Chris

Reply via email to