From: Javier <te...@rd...> - 2000-11-29 07:35:14
|
Hello guys! Can somebody help me about this: I'm triying to get the object's schema from LDAP server, but I can't. I'm working with OpenLdap 2.0.7, I think that this version of LDAP server support LDAPv3. Is it correct? I do this to get the schema: $dn="cn=Jane, ou=myDept, o=myorg, c=ES"; $ldap= Net::LDAP->new('192.168.0.44', debug=>0, async=>1,); $ldap->bind; $schema = $ldap->schema (dn => $dn); @attr_person = $schema->attributes( "person" ); $ldap->unbind; # End of example script I debug this script and the variable $schema return from $ldap->schema is not full! and Schema.pm's methods , for example $schema->attributes( "person" ) don't return anything. Can somebody tell me step by step how I can get the schema from the server? I do need configure Openldap for do this? Thanks for all!! Sorry for my English Javier |