--On Montag, 24. November 2003 16:58 +0100 _BA-Zentralamt-Maildienste <[EMAIL PROTECTED]> wrote:
Hi *,
is it possible to retrieve the range-upper and range-lower attributes for Active Directory attributes with Perl::LDAP? I tried it with the ditcontentrule method, but I only get back name, syntax, single-value, no-user-modification, oid, type and aliases as attributes.
Any hint?
These fields are not included in the attributeTypes (rfc 22552) attribute of the subschemaSubentry (CN=Aggregate,CN=Schema,CN=Configuration,DC=avinci,DC=de). However, you can get them from special entries which AD keeps for each schema element in the schemaNamingContext ( CN=Schema,CN=Configuration,DC=avinci,DC=de), e.g.:
# Surname, Schema, Configuration, avinci, de
dn: CN=Surname,CN=Schema,CN=Configuration,DC=avinci,DC=de
adminDescription: Surname
adminDisplayName: Surname
attributeID: 2.5.4.4
attributeSecurityGUID:: VAGN5Pi80RGHAgDAT7lgUA==
attributeSyntax: 2.5.5.12
cn: Surname
instanceType: 4
isMemberOfPartialAttributeSet: TRUE
isSingleValued: TRUE
lDAPDisplayName: sn
mAPIID: 14865
distinguishedName: CN=Surname,CN=Schema,CN=Configuration,DC=avinci,DC=de
objectCategory: CN=Attribute-Schema,CN=Schema,CN=Configuration,DC=avinci,DC=de
objectClass: top
objectClass: attributeSchema
objectGUID:: wwskE3aXKU2kXlZqw5hSkg==
oMSyntax: 64
rangeLower: 1
rangeUpper: 64
name: Surname
schemaIDGUID:: QXqWv+YN0BGihQCqADBJ4g==
searchFlags: 5
showInAdvancedViewOnly: TRUE
systemFlags: 16
systemOnly: FALSE
uSNChanged: 797
uSNCreated: 797
whenChanged: 16301021162108.0Z
whenCreated: 16301021162108.0Z
