Re: DHCP using Apache directory server

2016-02-01 Thread Emmanuel Lécharny
Le 01/02/16 20:22, Sherman Lilly a écrit : > Remember from previous post that I modified the dhcp schema to fix a > attribute description bug. But when I create the attribute it is list in > the drop down list when I select it. Also when I load the schema in a > schema browser it shows up. Studio

Re: DHCP using Apache directory server

2016-02-01 Thread Sherman Lilly
That is what it was. I will continue and see if anything else comes. On Mon, Feb 1, 2016 at 2:57 PM, Emmanuel Lécharny wrote: > Le 01/02/16 20:22, Sherman Lilly a écrit : > > Remember from previous post that I modified the dhcp schema to fix a > > attribute description bug.

Re: DHCP using Apache directory server

2016-02-01 Thread Sherman Lilly
Remember from previous post that I modified the dhcp schema to fix a attribute description bug. But when I create the attribute it is list in the drop down list when I select it. Also when I load the schema in a schema browser it shows up. On Mon, Feb 1, 2016 at 11:35 AM, Emmanuel Lécharny

Re: DHCP using Apache directory server

2016-02-01 Thread Sherman Lilly
OK. I have blanked out the data and restarted the server. The server starts up fine now. Now anytime I try to add a dhcp shema definition I get an error. ERR_04269 ATTRIBUTE_TYPE for OID dhcpserverdn does not exist! On Fri, Jan 29, 2016 at 1:11 AM, Emmanuel Lécharny wrote:

Re: DHCP using Apache directory server

2016-02-01 Thread Emmanuel Lécharny
Le 01/02/16 14:53, Sherman Lilly a écrit : > OK. I have blanked out the data and restarted the server. The server starts > up fine now. Now anytime I try to add a dhcp shema definition I get an > error. > > ERR_04269 ATTRIBUTE_TYPE for OID dhcpserverdn does not exist! This attribute is not defined

Re: DHCP using Apache directory server

2016-02-01 Thread Emmanuel Lécharny
Le 01/02/16 17:32, Sherman Lilly a écrit : > Sorry for the typo. I have to type what I see. Copy and paste isn't working. > > When you set object Class dhcpserver it requires the attribute > dhcpservicedn. It should be present. Is the DHCP schema enabled ?

Re: DHCP using Apache directory server

2016-02-01 Thread Sherman Lilly
Sorry for the typo. I have to type what I see. Copy and paste isn't working. When you set object Class dhcpserver it requires the attribute dhcpservicedn. On Mon, Feb 1, 2016 at 9:09 AM, Emmanuel Lécharny wrote: > Le 01/02/16 14:53, Sherman Lilly a écrit : > > OK. I have

Re: DHCP using Apache directory server

2016-01-28 Thread Emmanuel Lécharny
Le 28/01/16 15:46, Sherman Lilly a écrit : > How to do I do that? Assuming that you have a backup of your database content in a LDIF format, just delete the existing data from your disk (/instance//partitions/) Typically, on my linux box :

Re: DHCP using Apache directory server

2016-01-28 Thread Emmanuel Lécharny
Le 29/01/16 00:45, Sherman Lilly a écrit : > I haven't installed any relevant data that is important. So deleting the > database is not important but how do I start a new and make that > modification to the dhcp schema and the server startup properly. Since it > wasn't working I did load any data

Re: DHCP using Apache directory server

2016-01-28 Thread Hal Deadman
There may be an easier way to get an LDIF dump but I have this method run nightly by a Spring task in an LDAP related web application. I haven't switched over to ApacheDS in production but I use this against 389-ds in production and ApacheDS in development. This dumps people, groups and

Re: DHCP using Apache directory server

2016-01-28 Thread Sherman Lilly
I haven't installed any relevant data that is important. So deleting the database is not important but how do I start a new and make that modification to the dhcp schema and the server startup properly. Since it wasn't working I did load any data yet. This is just to see if I can get it to work

Re: DHCP using Apache directory server

2016-01-28 Thread Emmanuel Lécharny
Le 28/01/16 14:50, Sherman Lilly a écrit : > Adding the above ldif resulted in the server not able to start. Running > server in console mode shows this error. > > ERR_134 Cannot deserialize the entry : ERR_04269 ATTRIBUTE_TYPE for OID > 2.16.840.1.113719.1.203.4.19 does not exist! Yes, you need

Re: DHCP using Apache directory server

2016-01-28 Thread Sherman Lilly
How to do I do that? On Thu, Jan 28, 2016 at 9:33 AM, Emmanuel Lécharny wrote: > Le 28/01/16 14:50, Sherman Lilly a écrit : > > Adding the above ldif resulted in the server not able to start. Running > > server in console mode shows this error. > > > > ERR_134 Cannot

Re: DHCP using Apache directory server

2016-01-28 Thread Sherman Lilly
Adding the above ldif resulted in the server not able to start. Running server in console mode shows this error. ERR_134 Cannot deserialize the entry : ERR_04269 ATTRIBUTE_TYPE for OID 2.16.840.1.113719.1.203.4.19 does not exist! On Tue, Jan 26, 2016 at 5:38 PM, Stefan Seelmann

Re: DHCP using Apache directory server

2016-01-26 Thread Sherman Lilly
Can I fix the schema in my current version 2.0.0? If so how do I do this? On Wed, Jan 20, 2016 at 7:04 PM, Emmanuel Lécharny wrote: > Le 20/01/16 23:16, Stefan Seelmann a écrit : > > On 01/19/2016 02:46 PM, Sherman Lilly wrote: > >> I have got my schemas installed and

Re: DHCP using Apache directory server

2016-01-26 Thread Stefan Seelmann
On 01/26/2016 07:56 PM, Sherman Lilly wrote: > Can I fix the schema in my current version 2.0.0? If so how do I do this? Yes, you can change the syntax of dhcpOption attribute, e.g. you can apply the following LDIF: dn: m-oid=2.16.840.1.113719.1.203.4.7, ou=attributeTypes,cn=dhcp,ou=schema

Re: DHCP using Apache directory server

2016-01-20 Thread Stefan Seelmann
On 01/19/2016 02:46 PM, Sherman Lilly wrote: > I have got my schemas installed and working and the directory server is > working properly. I am trying to add a value to "dhcpOption" and it will > only accept a binary value. I figured out the value has to be utf8 encoded > value. How do I use

Re: DHCP using Apache directory server

2016-01-20 Thread Emmanuel Lécharny
Le 20/01/16 23:16, Stefan Seelmann a écrit : > On 01/19/2016 02:46 PM, Sherman Lilly wrote: >> I have got my schemas installed and working and the directory server is >> working properly. I am trying to add a value to "dhcpOption" and it will >> only accept a binary value. I figured out the value

DHCP using Apache directory server

2016-01-19 Thread Sherman Lilly
I have got my schemas installed and working and the directory server is working properly. I am trying to add a value to "dhcpOption" and it will only accept a binary value. I figured out the value has to be utf8 encoded value. How do I use Directory Studio to insert this value? Let say the string