Custom Schemas and Partitions

2011-07-01 Thread Luke Shannon
Hello;

I have a LDIF I need to get running locally.

I installed Apache Directory Studio Version: 1.5.3.v20100330.

Here are the first three entries:

dn: o=1.accDev.com
objectClass: top
objectClass: organization
objectClass: devAccount
o: 1.accDev.com

dn: ou=rqUat, o=1.accDev.com
ou: rqUat
objectClass: top
objectClass: organizationalUnit
objectClass: devAccount

dn: ou=accdev.com, ou=rqUat, o=1.accDev.com
devFailedAttemptsMax: 5
ou: accdev.com
objectClass: top
objectClass: organizationalUnit
objectClass: devAccount

I created three partitions on my server for 1.accDev.com, rqUat and accdev.com. 
For each I gave them the suffix listed in the info above. But when I connect to 
my server the partitions are not listed? Only shows schema and system.

I have a schema file that contains the devAccount definitions and related 
attributes. In the schema browser I was able to load these objects, but they 
don't seem to be available to the server I am trying to load the LDIF on?

Can anyone give me any tips?

Thanks,

Luke


Re: Custom Schemas and Partitions

2011-07-01 Thread Emmanuel Lecharny

On 7/1/11 5:27 PM, Luke Shannon wrote:

Hello;

I have a LDIF I need to get running locally.

I installed Apache Directory Studio Version: 1.5.3.v20100330.

Here are the first three entries:

dn: o=1.accDev.com
objectClass: top
objectClass: organization
objectClass: devAccount
o: 1.accDev.com

dn: ou=rqUat, o=1.accDev.com
ou: rqUat
objectClass: top
objectClass: organizationalUnit
objectClass: devAccount

dn: ou=accdev.com, ou=rqUat, o=1.accDev.com
devFailedAttemptsMax: 5
ou: accdev.com
objectClass: top
objectClass: organizationalUnit
objectClass: devAccount

I created three partitions on my server for 1.accDev.com, rqUat and accdev.com. 
For each I gave them the suffix listed in the info above. But when I connect to 
my server the partitions are not listed? Only shows schema and system.


In Apache DS, you can't create encapsulated partitions. It's not supported.

I have a schema file that contains the devAccount definitions and related 
attributes. In the schema browser I was able to load these objects, but they 
don't seem to be available to the server I am trying to load the LDIF on?

Can anyone give me any tips?

Where is this devAccoubt ObjectClass coming from ?


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com



Re: Custom Schemas and Partitions

2011-07-01 Thread Pierre-Arnaud Marcelot
Hi Luke,

On 1 juil. 2011, at 17:27, Luke Shannon wrote:

 Hello;
 
 I have a LDIF I need to get running locally.
 
 I installed Apache Directory Studio Version: 1.5.3.v20100330.
 
 Here are the first three entries:
 
 dn: o=1.accDev.com
 objectClass: top
 objectClass: organization
 objectClass: devAccount
 o: 1.accDev.com
 
 dn: ou=rqUat, o=1.accDev.com
 ou: rqUat
 objectClass: top
 objectClass: organizationalUnit
 objectClass: devAccount
 
 dn: ou=accdev.com, ou=rqUat, o=1.accDev.com
 devFailedAttemptsMax: 5
 ou: accdev.com
 objectClass: top
 objectClass: organizationalUnit
 objectClass: devAccount
 
 I created three partitions on my server for 1.accDev.com, rqUat and 
 accdev.com. For each I gave them the suffix listed in the info above. But 
 when I connect to my server the partitions are not listed? Only shows schema 
 and system.

This is normal. You only defined the suffix of each partition in the 
configuration, but the entry itself is still kind of empty (it's just a DN 
ATM).
You need to create for each partition its context entry either via an LDIF 
import or via Studio using this guide:
http://directory.apache.org/studio/static/users_guide/ldap_browser/tools_newcontextentry_wizard.html


 I have a schema file that contains the devAccount definitions and related 
 attributes. In the schema browser I was able to load these objects, but they 
 don't seem to be available to the server I am trying to load the LDIF on?

What is the format of your schema file ? Has it been loaded in ApacheDS ?
Could you describe a little more precisely your steps to insert the schema 
within ApacheDS?

Thanks,
Pierre-Arnaud


 Can anyone give me any tips?
 
 Thanks,
 
 Luke



Re: Custom Schemas and Partitions

2011-07-01 Thread Luke Shannon
The devAccounts object is coming from a custom schema. I was able to load this 
using the Schema browser. However it seems my server does not have access to 
the objects I loaded. Do ldap servers have a context or something?

Luke

- Original Message -
From: Emmanuel Lecharny elecha...@gmail.com
To: users@directory.apache.org
Sent: Friday, 1 July, 2011 11:36:55 AM
Subject: Re: Custom Schemas and Partitions

On 7/1/11 5:27 PM, Luke Shannon wrote:
 Hello;

 I have a LDIF I need to get running locally.

 I installed Apache Directory Studio Version: 1.5.3.v20100330.

 Here are the first three entries:

 dn: o=1.accDev.com
 objectClass: top
 objectClass: organization
 objectClass: devAccount
 o: 1.accDev.com

 dn: ou=rqUat, o=1.accDev.com
 ou: rqUat
 objectClass: top
 objectClass: organizationalUnit
 objectClass: devAccount

 dn: ou=accdev.com, ou=rqUat, o=1.accDev.com
 devFailedAttemptsMax: 5
 ou: accdev.com
 objectClass: top
 objectClass: organizationalUnit
 objectClass: devAccount

 I created three partitions on my server for 1.accDev.com, rqUat and 
 accdev.com. For each I gave them the suffix listed in the info above. But 
 when I connect to my server the partitions are not listed? Only shows schema 
 and system.

In Apache DS, you can't create encapsulated partitions. It's not supported.
 I have a schema file that contains the devAccount definitions and related 
 attributes. In the schema browser I was able to load these objects, but they 
 don't seem to be available to the server I am trying to load the LDIF on?

 Can anyone give me any tips?
Where is this devAccoubt ObjectClass coming from ?


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com



Re: Custom Schemas and Partitions

2011-07-01 Thread Emmanuel Lécharny

On 7/1/11 5:46 PM, Luke Shannon wrote:

The devAccounts object is coming from a custom schema. I was able to load this 
using the Schema browser. However it seems my server does not have access to 
the objects I loaded. Do ldap servers have a context or something?


First, can you tell us exactly what is the server you use ?

Then, how did you injected the OC into the schema ?


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com



Re: Custom Schemas and Partitions

2011-07-01 Thread Luke Shannon
I was hoping an LDAP import could create these partitions, however when I run 
the import it complains about not being to find the 1.accDev.com partition. Is 
there a way to do an import where it creates the structure it needs?

The wizard for creating a context is interesting. However when I got to the 3 
step, picking the objects, I noticed the ones from the custom schema I had 
created when I loaded my schema file where not in there. How can I make these 
available?

Luke

- Original Message -
From: Pierre-Arnaud Marcelot p...@marcelot.net
To: users@directory.apache.org
Sent: Friday, 1 July, 2011 11:37:59 AM
Subject: Re: Custom Schemas and Partitions

Hi Luke,

On 1 juil. 2011, at 17:27, Luke Shannon wrote:

 Hello;
 
 I have a LDIF I need to get running locally.
 
 I installed Apache Directory Studio Version: 1.5.3.v20100330.
 
 Here are the first three entries:
 
 dn: o=1.accDev.com
 objectClass: top
 objectClass: organization
 objectClass: devAccount
 o: 1.accDev.com
 
 dn: ou=rqUat, o=1.accDev.com
 ou: rqUat
 objectClass: top
 objectClass: organizationalUnit
 objectClass: devAccount
 
 dn: ou=accdev.com, ou=rqUat, o=1.accDev.com
 devFailedAttemptsMax: 5
 ou: accdev.com
 objectClass: top
 objectClass: organizationalUnit
 objectClass: devAccount
 
 I created three partitions on my server for 1.accDev.com, rqUat and 
 accdev.com. For each I gave them the suffix listed in the info above. But 
 when I connect to my server the partitions are not listed? Only shows schema 
 and system.

This is normal. You only defined the suffix of each partition in the 
configuration, but the entry itself is still kind of empty (it's just a DN 
ATM).
You need to create for each partition its context entry either via an LDIF 
import or via Studio using this guide:
http://directory.apache.org/studio/static/users_guide/ldap_browser/tools_newcontextentry_wizard.html


 I have a schema file that contains the devAccount definitions and related 
 attributes. In the schema browser I was able to load these objects, but they 
 don't seem to be available to the server I am trying to load the LDIF on?

What is the format of your schema file ? Has it been loaded in ApacheDS ?
Could you describe a little more precisely your steps to insert the schema 
within ApacheDS?

Thanks,
Pierre-Arnaud


 Can anyone give me any tips?
 
 Thanks,
 
 Luke



Re: Custom Schemas and Partitions

2011-07-01 Thread Luke Shannon
I'm not sure what server generated this schema file, it came from a client I'm 
working with and they are not available today.

However, I was able to import the schema file into a schema project of Apache 
Directory Studio using the Import - Schema from OpenLDAP Files. All the 
objects appear in the Schema project without error, however they are not 
available in my ldap connection (when I do a search for objects in there 
nothing from the import shows up).

I should add I am also really new to LDAP, so apologize if some of these 
questions are a bit frustrating.

Thanks,

Luke

- Original Message -
From: Emmanuel Lécharny elecha...@apache.org
To: users@directory.apache.org
Sent: Friday, 1 July, 2011 11:50:46 AM
Subject: Re: Custom Schemas and Partitions

On 7/1/11 5:46 PM, Luke Shannon wrote:
 The devAccounts object is coming from a custom schema. I was able to load 
 this using the Schema browser. However it seems my server does not have 
 access to the objects I loaded. Do ldap servers have a context or something?

First, can you tell us exactly what is the server you use ?

Then, how did you injected the OC into the schema ?


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com



Re: Custom Schemas and Partitions

2011-07-01 Thread Pierre-Arnaud Marcelot

On 1 juil. 2011, at 18:00, Luke Shannon wrote:

 I'm not sure what server generated this schema file, it came from a client 
 I'm working with and they are not available today.
 
 However, I was able to import the schema file into a schema project of Apache 
 Directory Studio using the Import - Schema from OpenLDAP Files. All the 
 objects appear in the Schema project without error, however they are not 
 available in my ldap connection (when I do a search for objects in there 
 nothing from the import shows up).

Your action only imported the schema file into the project in the Schema 
Editor. It didn't imported it to the directory server itself.
To do so, you need to export it as LDIF file (that's the format ApacheDS 
accepts for updating its schema) and then import this LDIF file using the LDAP 
Browser. 

Regards,
Pierre-Arnaud

 
 I should add I am also really new to LDAP, so apologize if some of these 
 questions are a bit frustrating.
 
 Thanks,
 
 Luke
 
 - Original Message -
 From: Emmanuel Lécharny elecha...@apache.org
 To: users@directory.apache.org
 Sent: Friday, 1 July, 2011 11:50:46 AM
 Subject: Re: Custom Schemas and Partitions
 
 On 7/1/11 5:46 PM, Luke Shannon wrote:
 The devAccounts object is coming from a custom schema. I was able to load 
 this using the Schema browser. However it seems my server does not have 
 access to the objects I loaded. Do ldap servers have a context or something?
 
 First, can you tell us exactly what is the server you use ?
 
 Then, how did you injected the OC into the schema ?
 
 
 -- 
 Regards,
 Cordialement,
 Emmanuel Lécharny
 www.iktek.com
 



Re: Custom Schemas and Partitions

2011-07-01 Thread Pierre-Arnaud Marcelot
On 1 juil. 2011, at 17:53, Luke Shannon wrote:

 I was hoping an LDAP import could create these partitions, however when I run 
 the import it complains about not being to find the 1.accDev.com partition. 
 Is there a way to do an import where it creates the structure it needs?

Simply create the structure in an LDIF file and import it.

 The wizard for creating a context is interesting. However when I got to the 3 
 step, picking the objects, I noticed the ones from the custom schema I had 
 created when I loaded my schema file where not in there. How can I make these 
 available?

As read your mail a second time, I'm not sure you really created 3 partitions 
but rather one partition with all entries under it, like this:

|- o=1.accDev.com
|-  ou=rqUat, o=1.accDev.com
 |- ou=accdev.com, ou=rqUat, o=1.accDev.com

Am I right?

Regards,
Pierre-Arnaud

 
 Luke
 
 - Original Message -
 From: Pierre-Arnaud Marcelot p...@marcelot.net
 To: users@directory.apache.org
 Sent: Friday, 1 July, 2011 11:37:59 AM
 Subject: Re: Custom Schemas and Partitions
 
 Hi Luke,
 
 On 1 juil. 2011, at 17:27, Luke Shannon wrote:
 
 Hello;
 
 I have a LDIF I need to get running locally.
 
 I installed Apache Directory Studio Version: 1.5.3.v20100330.
 
 Here are the first three entries:
 
 dn: o=1.accDev.com
 objectClass: top
 objectClass: organization
 objectClass: devAccount
 o: 1.accDev.com
 
 dn: ou=rqUat, o=1.accDev.com
 ou: rqUat
 objectClass: top
 objectClass: organizationalUnit
 objectClass: devAccount
 
 dn: ou=accdev.com, ou=rqUat, o=1.accDev.com
 devFailedAttemptsMax: 5
 ou: accdev.com
 objectClass: top
 objectClass: organizationalUnit
 objectClass: devAccount
 
 I created three partitions on my server for 1.accDev.com, rqUat and 
 accdev.com. For each I gave them the suffix listed in the info above. But 
 when I connect to my server the partitions are not listed? Only shows schema 
 and system.
 
 This is normal. You only defined the suffix of each partition in the 
 configuration, but the entry itself is still kind of empty (it's just a DN 
 ATM).
 You need to create for each partition its context entry either via an LDIF 
 import or via Studio using this guide:
 http://directory.apache.org/studio/static/users_guide/ldap_browser/tools_newcontextentry_wizard.html
 
 
 I have a schema file that contains the devAccount definitions and related 
 attributes. In the schema browser I was able to load these objects, but they 
 don't seem to be available to the server I am trying to load the LDIF on?
 
 What is the format of your schema file ? Has it been loaded in ApacheDS ?
 Could you describe a little more precisely your steps to insert the schema 
 within ApacheDS?
 
 Thanks,
 Pierre-Arnaud
 
 
 Can anyone give me any tips?
 
 Thanks,
 
 Luke
 



Re: Custom Schemas and Partitions

2011-07-01 Thread Luke Shannon
When I try the import of the LDIF I get an error for every entry like this:

#!ERROR [LDAP: error code 80 - OTHER: failed for Add Request : ClientEntry  
   dn: ou=attributeTypes, cn=pti Ldap Schema, ou=schema objectclass: 
organizationalUnit objectclass: top ou: attributetypes : 
C:\Users\lshannon\.ApacheDirectoryStudio\.metadata\.plugins\org.apache.directory.studio.apacheds\servers\a4ce4525-5dd5--82bc-c3e906cc3400\partitions\schema\ou=schema\cn=dev\
 ldap\ schema\ou=attributetypes.ldif (The system cannot find the path 
specified)]

What is this file it is looking for? When I exported the schema to an LDIF I 
choose the option to export it to a single file. I looked through the file and 
don't see any reference to an external file?

BTW, if anyone on the list thinks they can help me with this, I will pay 50 USD 
(paypal) for an hour session via Skype to anyone who thinks they can walk me 
through this LDIF import.

Luke


- Original Message -
From: Pierre-Arnaud Marcelot p...@marcelot.net
To: users@directory.apache.org
Sent: Friday, 1 July, 2011 12:07:19 PM
Subject: Re: Custom Schemas and Partitions


On 1 juil. 2011, at 18:00, Luke Shannon wrote:

 I'm not sure what server generated this schema file, it came from a client 
 I'm working with and they are not available today.
 
 However, I was able to import the schema file into a schema project of Apache 
 Directory Studio using the Import - Schema from OpenLDAP Files. All the 
 objects appear in the Schema project without error, however they are not 
 available in my ldap connection (when I do a search for objects in there 
 nothing from the import shows up).

Your action only imported the schema file into the project in the Schema 
Editor. It didn't imported it to the directory server itself.
To do so, you need to export it as LDIF file (that's the format ApacheDS 
accepts for updating its schema) and then import this LDIF file using the LDAP 
Browser. 

Regards,
Pierre-Arnaud

 
 I should add I am also really new to LDAP, so apologize if some of these 
 questions are a bit frustrating.
 
 Thanks,
 
 Luke
 
 - Original Message -
 From: Emmanuel Lécharny elecha...@apache.org
 To: users@directory.apache.org
 Sent: Friday, 1 July, 2011 11:50:46 AM
 Subject: Re: Custom Schemas and Partitions
 
 On 7/1/11 5:46 PM, Luke Shannon wrote:
 The devAccounts object is coming from a custom schema. I was able to load 
 this using the Schema browser. However it seems my server does not have 
 access to the objects I loaded. Do ldap servers have a context or something?
 
 First, can you tell us exactly what is the server you use ?
 
 Then, how did you injected the OC into the schema ?
 
 
 -- 
 Regards,
 Cordialement,
 Emmanuel Lécharny
 www.iktek.com
 



Re: Custom Schemas and Partitions

2011-07-01 Thread Pierre-Arnaud Marcelot
I guess it's a problem with the name of your custom schema which contains a 
space, which when it is imported in the server causes an issue with path name 
containing a space on Windows.

My guess would be to try to change the name to something without spaces.

Regards,
Pierre-Arnaud

On 1 juil. 2011, at 18:16, Luke Shannon wrote:

 When I try the import of the LDIF I get an error for every entry like this:
 
 #!ERROR [LDAP: error code 80 - OTHER: failed for Add Request : 
 ClientEntry dn: ou=attributeTypes, cn=pti Ldap Schema, ou=schema 
 objectclass: organizationalUnit objectclass: top ou: attributetypes : 
 C:\Users\lshannon\.ApacheDirectoryStudio\.metadata\.plugins\org.apache.directory.studio.apacheds\servers\a4ce4525-5dd5--82bc-c3e906cc3400\partitions\schema\ou=schema\cn=dev\
  ldap\ schema\ou=attributetypes.ldif (The system cannot find the path 
 specified)]
 
 What is this file it is looking for? When I exported the schema to an LDIF I 
 choose the option to export it to a single file. I looked through the file 
 and don't see any reference to an external file?
 
 BTW, if anyone on the list thinks they can help me with this, I will pay 50 
 USD (paypal) for an hour session via Skype to anyone who thinks they can walk 
 me through this LDIF import.
 
 Luke
 
 
 - Original Message -
 From: Pierre-Arnaud Marcelot p...@marcelot.net
 To: users@directory.apache.org
 Sent: Friday, 1 July, 2011 12:07:19 PM
 Subject: Re: Custom Schemas and Partitions
 
 
 On 1 juil. 2011, at 18:00, Luke Shannon wrote:
 
 I'm not sure what server generated this schema file, it came from a client 
 I'm working with and they are not available today.
 
 However, I was able to import the schema file into a schema project of 
 Apache Directory Studio using the Import - Schema from OpenLDAP Files. All 
 the objects appear in the Schema project without error, however they are not 
 available in my ldap connection (when I do a search for objects in there 
 nothing from the import shows up).
 
 Your action only imported the schema file into the project in the Schema 
 Editor. It didn't imported it to the directory server itself.
 To do so, you need to export it as LDIF file (that's the format ApacheDS 
 accepts for updating its schema) and then import this LDIF file using the 
 LDAP Browser. 
 
 Regards,
 Pierre-Arnaud
 
 
 I should add I am also really new to LDAP, so apologize if some of these 
 questions are a bit frustrating.
 
 Thanks,
 
 Luke
 
 - Original Message -
 From: Emmanuel Lécharny elecha...@apache.org
 To: users@directory.apache.org
 Sent: Friday, 1 July, 2011 11:50:46 AM
 Subject: Re: Custom Schemas and Partitions
 
 On 7/1/11 5:46 PM, Luke Shannon wrote:
 The devAccounts object is coming from a custom schema. I was able to load 
 this using the Schema browser. However it seems my server does not have 
 access to the objects I loaded. Do ldap servers have a context or something?
 
 First, can you tell us exactly what is the server you use ?
 
 Then, how did you injected the OC into the schema ?
 
 
 -- 
 Regards,
 Cordialement,
 Emmanuel Lécharny
 www.iktek.com
 
 



Re: Custom Schemas and Partitions

2011-07-01 Thread Luke Shannon
OK, I fixed that.

Now I see:

#!ERROR [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for Add Request 
: ClientEntry dn: m-oid=1.3.6.1.4.1.21151.1.1.1.1, ou=attributeTypes, 
cn=devLdapSchema, ou=schema objectclass: metaAttributeType objectclass: 
metaTop objectclass: top m-oid: 1.3.6.1.4.1.21151.1.1.1.1 
m-descridevon: unique identifier allowing substring searches m-substr: 
caseIgnoreSubstringsMatch m-syntax: 1.3.6.1.4.1.1466.115.121.1.15 
m-name: devUniqueId m-equality: caseIgnoreMatch m-length: 256 : 
ERR_10026 Cannot add the AttributeType m-oid=1.3.6.1.4.1.21151.1.1.1.1, 
ou=attributeTypes, cn=devLdapSchema, ou=schema, as the associated schema 
(devldapschema) is not loaded]

If I am reading this right there is another ldap schema here that I need?

Luke

- Original Message -
From: Pierre-Arnaud Marcelot p...@marcelot.net
To: users@directory.apache.org
Sent: Friday, 1 July, 2011 12:23:16 PM
Subject: Re: Custom Schemas and Partitions

I guess it's a problem with the name of your custom schema which contains a 
space, which when it is imported in the server causes an issue with path name 
containing a space on Windows.

My guess would be to try to change the name to something without spaces.

Regards,
Pierre-Arnaud

On 1 juil. 2011, at 18:16, Luke Shannon wrote:

 When I try the import of the LDIF I get an error for every entry like this:
 
 #!ERROR [LDAP: error code 80 - OTHER: failed for Add Request : 
 ClientEntry dn: ou=attributeTypes, cn=pti Ldap Schema, ou=schema 
 objectclass: organizationalUnit objectclass: top ou: attributetypes : 
 C:\Users\lshannon\.ApacheDirectoryStudio\.metadata\.plugins\org.apache.directory.studio.apacheds\servers\a4ce4525-5dd5--82bc-c3e906cc3400\partitions\schema\ou=schema\cn=dev\
  ldap\ schema\ou=attributetypes.ldif (The system cannot find the path 
 specified)]
 
 What is this file it is looking for? When I exported the schema to an LDIF I 
 choose the option to export it to a single file. I looked through the file 
 and don't see any reference to an external file?
 
 BTW, if anyone on the list thinks they can help me with this, I will pay 50 
 USD (paypal) for an hour session via Skype to anyone who thinks they can walk 
 me through this LDIF import.
 
 Luke
 
 
 - Original Message -
 From: Pierre-Arnaud Marcelot p...@marcelot.net
 To: users@directory.apache.org
 Sent: Friday, 1 July, 2011 12:07:19 PM
 Subject: Re: Custom Schemas and Partitions
 
 
 On 1 juil. 2011, at 18:00, Luke Shannon wrote:
 
 I'm not sure what server generated this schema file, it came from a client 
 I'm working with and they are not available today.
 
 However, I was able to import the schema file into a schema project of 
 Apache Directory Studio using the Import - Schema from OpenLDAP Files. All 
 the objects appear in the Schema project without error, however they are not 
 available in my ldap connection (when I do a search for objects in there 
 nothing from the import shows up).
 
 Your action only imported the schema file into the project in the Schema 
 Editor. It didn't imported it to the directory server itself.
 To do so, you need to export it as LDIF file (that's the format ApacheDS 
 accepts for updating its schema) and then import this LDIF file using the 
 LDAP Browser. 
 
 Regards,
 Pierre-Arnaud
 
 
 I should add I am also really new to LDAP, so apologize if some of these 
 questions are a bit frustrating.
 
 Thanks,
 
 Luke
 
 - Original Message -
 From: Emmanuel Lécharny elecha...@apache.org
 To: users@directory.apache.org
 Sent: Friday, 1 July, 2011 11:50:46 AM
 Subject: Re: Custom Schemas and Partitions
 
 On 7/1/11 5:46 PM, Luke Shannon wrote:
 The devAccounts object is coming from a custom schema. I was able to load 
 this using the Schema browser. However it seems my server does not have 
 access to the objects I loaded. Do ldap servers have a context or something?
 
 First, can you tell us exactly what is the server you use ?
 
 Then, how did you injected the OC into the schema ?
 
 
 -- 
 Regards,
 Cordialement,
 Emmanuel Lécharny
 www.iktek.com
 
 



Re: Custom Schemas and Partitions

2011-07-01 Thread Luke Shannon
Ok, this is the name of the schema I exported, its not another schema at all.

In my ldif of the schema export I have:

# Generated by Apache Directory Studio on July 1, 2011 1:28:18 PM

# SCHEMA PTILDAPSCHEMA
dn: cn=ptiLdapSchema, ou=schema

I just find it weird that it would complain a schema is not load...while I am 
loading it?

Luke

- Original Message -
From: Luke Shannon lshan...@jaspersoft.com
To: users@directory.apache.org
Sent: Friday, 1 July, 2011 12:35:10 PM
Subject: Re: Custom Schemas and Partitions

OK, I fixed that.

Now I see:

#!ERROR [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for Add Request 
: ClientEntry dn: m-oid=1.3.6.1.4.1.21151.1.1.1.1, ou=attributeTypes, 
cn=devLdapSchema, ou=schema objectclass: metaAttributeType objectclass: 
metaTop objectclass: top m-oid: 1.3.6.1.4.1.21151.1.1.1.1 
m-descridevon: unique identifier allowing substring searches m-substr: 
caseIgnoreSubstringsMatch m-syntax: 1.3.6.1.4.1.1466.115.121.1.15 
m-name: devUniqueId m-equality: caseIgnoreMatch m-length: 256 : 
ERR_10026 Cannot add the AttributeType m-oid=1.3.6.1.4.1.21151.1.1.1.1, 
ou=attributeTypes, cn=devLdapSchema, ou=schema, as the associated schema 
(devldapschema) is not loaded]

If I am reading this right there is another ldap schema here that I need?

Luke

- Original Message -
From: Pierre-Arnaud Marcelot p...@marcelot.net
To: users@directory.apache.org
Sent: Friday, 1 July, 2011 12:23:16 PM
Subject: Re: Custom Schemas and Partitions

I guess it's a problem with the name of your custom schema which contains a 
space, which when it is imported in the server causes an issue with path name 
containing a space on Windows.

My guess would be to try to change the name to something without spaces.

Regards,
Pierre-Arnaud

On 1 juil. 2011, at 18:16, Luke Shannon wrote:

 When I try the import of the LDIF I get an error for every entry like this:
 
 #!ERROR [LDAP: error code 80 - OTHER: failed for Add Request : 
 ClientEntry dn: ou=attributeTypes, cn=pti Ldap Schema, ou=schema 
 objectclass: organizationalUnit objectclass: top ou: attributetypes : 
 C:\Users\lshannon\.ApacheDirectoryStudio\.metadata\.plugins\org.apache.directory.studio.apacheds\servers\a4ce4525-5dd5--82bc-c3e906cc3400\partitions\schema\ou=schema\cn=dev\
  ldap\ schema\ou=attributetypes.ldif (The system cannot find the path 
 specified)]
 
 What is this file it is looking for? When I exported the schema to an LDIF I 
 choose the option to export it to a single file. I looked through the file 
 and don't see any reference to an external file?
 
 BTW, if anyone on the list thinks they can help me with this, I will pay 50 
 USD (paypal) for an hour session via Skype to anyone who thinks they can walk 
 me through this LDIF import.
 
 Luke
 
 
 - Original Message -
 From: Pierre-Arnaud Marcelot p...@marcelot.net
 To: users@directory.apache.org
 Sent: Friday, 1 July, 2011 12:07:19 PM
 Subject: Re: Custom Schemas and Partitions
 
 
 On 1 juil. 2011, at 18:00, Luke Shannon wrote:
 
 I'm not sure what server generated this schema file, it came from a client 
 I'm working with and they are not available today.
 
 However, I was able to import the schema file into a schema project of 
 Apache Directory Studio using the Import - Schema from OpenLDAP Files. All 
 the objects appear in the Schema project without error, however they are not 
 available in my ldap connection (when I do a search for objects in there 
 nothing from the import shows up).
 
 Your action only imported the schema file into the project in the Schema 
 Editor. It didn't imported it to the directory server itself.
 To do so, you need to export it as LDIF file (that's the format ApacheDS 
 accepts for updating its schema) and then import this LDIF file using the 
 LDAP Browser. 
 
 Regards,
 Pierre-Arnaud
 
 
 I should add I am also really new to LDAP, so apologize if some of these 
 questions are a bit frustrating.
 
 Thanks,
 
 Luke
 
 - Original Message -
 From: Emmanuel Lécharny elecha...@apache.org
 To: users@directory.apache.org
 Sent: Friday, 1 July, 2011 11:50:46 AM
 Subject: Re: Custom Schemas and Partitions
 
 On 7/1/11 5:46 PM, Luke Shannon wrote:
 The devAccounts object is coming from a custom schema. I was able to load 
 this using the Schema browser. However it seems my server does not have 
 access to the objects I loaded. Do ldap servers have a context or something?
 
 First, can you tell us exactly what is the server you use ?
 
 Then, how did you injected the OC into the schema ?
 
 
 -- 
 Regards,
 Cordialement,
 Emmanuel Lécharny
 www.iktek.com
 
 



Re: Custom Schemas and Partitions

2011-07-01 Thread Luke Shannon
Also if I look under ou=schema I can see that cn=ptiLdapSchema is indeed 
loaded. It just has no objects or attributes in it.

Any ideas?

Luke

- Original Message -
From: Luke Shannon lshan...@jaspersoft.com
To: users@directory.apache.org
Sent: Friday, 1 July, 2011 1:35:48 PM
Subject: Re: Custom Schemas and Partitions

Ok, this is the name of the schema I exported, its not another schema at all.

In my ldif of the schema export I have:

# Generated by Apache Directory Studio on July 1, 2011 1:28:18 PM

# SCHEMA PTILDAPSCHEMA
dn: cn=ptiLdapSchema, ou=schema

I just find it weird that it would complain a schema is not load...while I am 
loading it?

Luke

- Original Message -
From: Luke Shannon lshan...@jaspersoft.com
To: users@directory.apache.org
Sent: Friday, 1 July, 2011 12:35:10 PM
Subject: Re: Custom Schemas and Partitions

OK, I fixed that.

Now I see:

#!ERROR [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for Add Request 
: ClientEntry dn: m-oid=1.3.6.1.4.1.21151.1.1.1.1, ou=attributeTypes, 
cn=devLdapSchema, ou=schema objectclass: metaAttributeType objectclass: 
metaTop objectclass: top m-oid: 1.3.6.1.4.1.21151.1.1.1.1 
m-descridevon: unique identifier allowing substring searches m-substr: 
caseIgnoreSubstringsMatch m-syntax: 1.3.6.1.4.1.1466.115.121.1.15 
m-name: devUniqueId m-equality: caseIgnoreMatch m-length: 256 : 
ERR_10026 Cannot add the AttributeType m-oid=1.3.6.1.4.1.21151.1.1.1.1, 
ou=attributeTypes, cn=devLdapSchema, ou=schema, as the associated schema 
(devldapschema) is not loaded]

If I am reading this right there is another ldap schema here that I need?

Luke

- Original Message -
From: Pierre-Arnaud Marcelot p...@marcelot.net
To: users@directory.apache.org
Sent: Friday, 1 July, 2011 12:23:16 PM
Subject: Re: Custom Schemas and Partitions

I guess it's a problem with the name of your custom schema which contains a 
space, which when it is imported in the server causes an issue with path name 
containing a space on Windows.

My guess would be to try to change the name to something without spaces.

Regards,
Pierre-Arnaud

On 1 juil. 2011, at 18:16, Luke Shannon wrote:

 When I try the import of the LDIF I get an error for every entry like this:
 
 #!ERROR [LDAP: error code 80 - OTHER: failed for Add Request : 
 ClientEntry dn: ou=attributeTypes, cn=pti Ldap Schema, ou=schema 
 objectclass: organizationalUnit objectclass: top ou: attributetypes : 
 C:\Users\lshannon\.ApacheDirectoryStudio\.metadata\.plugins\org.apache.directory.studio.apacheds\servers\a4ce4525-5dd5--82bc-c3e906cc3400\partitions\schema\ou=schema\cn=dev\
  ldap\ schema\ou=attributetypes.ldif (The system cannot find the path 
 specified)]
 
 What is this file it is looking for? When I exported the schema to an LDIF I 
 choose the option to export it to a single file. I looked through the file 
 and don't see any reference to an external file?
 
 BTW, if anyone on the list thinks they can help me with this, I will pay 50 
 USD (paypal) for an hour session via Skype to anyone who thinks they can walk 
 me through this LDIF import.
 
 Luke
 
 
 - Original Message -
 From: Pierre-Arnaud Marcelot p...@marcelot.net
 To: users@directory.apache.org
 Sent: Friday, 1 July, 2011 12:07:19 PM
 Subject: Re: Custom Schemas and Partitions
 
 
 On 1 juil. 2011, at 18:00, Luke Shannon wrote:
 
 I'm not sure what server generated this schema file, it came from a client 
 I'm working with and they are not available today.
 
 However, I was able to import the schema file into a schema project of 
 Apache Directory Studio using the Import - Schema from OpenLDAP Files. All 
 the objects appear in the Schema project without error, however they are not 
 available in my ldap connection (when I do a search for objects in there 
 nothing from the import shows up).
 
 Your action only imported the schema file into the project in the Schema 
 Editor. It didn't imported it to the directory server itself.
 To do so, you need to export it as LDIF file (that's the format ApacheDS 
 accepts for updating its schema) and then import this LDIF file using the 
 LDAP Browser. 
 
 Regards,
 Pierre-Arnaud
 
 
 I should add I am also really new to LDAP, so apologize if some of these 
 questions are a bit frustrating.
 
 Thanks,
 
 Luke
 
 - Original Message -
 From: Emmanuel Lécharny elecha...@apache.org
 To: users@directory.apache.org
 Sent: Friday, 1 July, 2011 11:50:46 AM
 Subject: Re: Custom Schemas and Partitions
 
 On 7/1/11 5:46 PM, Luke Shannon wrote:
 The devAccounts object is coming from a custom schema. I was able to load 
 this using the Schema browser. However it seems my server does not have 
 access to the objects I loaded. Do ldap servers have a context or something?
 
 First, can you tell us exactly what is the server you use ?
 
 Then, how did you injected the OC into the schema ?
 
 
 -- 
 Regards,
 Cordialement,
 Emmanuel