[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Schema discovery / Microsoft ADSI problem



Title: RE: Schema discovery / Microsoft ADSI problem
Thanks. Unfortunately this did not work either for us.
-----Original Message-----
From: Chapman, Kyle [mailto:Kyle_Chapman@G1.com]
Sent: Monday, June 25, 2001 3:05 PM
To: 'Jeanette Greeff - MWeb'; openldap-software@OpenLDAP.org
Subject: RE: Schema discovery / Microsoft ADSI problem

try using a sql like syntax query against openldap-> select uid,uidNumber from 'LDAP://server/o...,ou..' where "sn=smith"

then use the recordset object to get the values:
while not rs.eof
        msgbox rs("uid")->for vbs
        listbox1.additem rs.fields(0)->vb
        rs.movenext




-----Original Message-----
From: Jeanette Greeff - MWeb [mailto:JGreeff@mweb.com]
Sent: Monday, June 25, 2001 6:39 AM
To: openldap-software@OpenLDAP.org
Subject: Schema discovery / Microsoft ADSI problem


Hi

We are currently migrating from Netscape Directory Server v4.11 to OpenLDAP
2.0. So far so good, but we have run into a problem using Microsoft ADSI 2.5
to access OpenLDAP.

The problem is: Using the Microsoft ADSI we can only retrieve attributes
that were defined in the core schema. When we try to retrieve attributes
which are not part of the core schema (e.g. the uidNumber in the nis.schema)
we get the following error: ADSTYPE_PROV_SPECIFIC. Which we interpret as
Microsoft does not recognize the syntax definition of the attribute? It also
seems as if the ADSI does not recognize any of the additional object classes
(probably the root problem).

We define our own additional schema, which we have included in the
slapd.conf file as follows

schemacheck     on
include         /usr/openldap/current/etc/openldap/schema/core.schema
include         /usr/openldap/current/etc/openldap/schema/cosine.schema
include
/usr/openldap/current/etc/openldap/schema/inetorgperson.schema
include         /usr/openldap/current/etc/openldap/schema/nis.schema
include
/usr/openldap/current/etc/openldap/schema/our_own_ldap.schema


We can access both the core and the other schema's objects/attributes via
other programming languages e.g. Perl and C++.

The Microsoft ADSI code works against the Netscape Directory Server.

Any ideas/similar problems/helpful suggestions? I have perused the OpenLDAP
Administrator's Guide and the Mailing Lists Archives but after several
attempts have not been able to resolve this issue.


Thanks a lot
Jeanette Greeff