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 will shwo all the schema elements it can read. That does not mea
that the server will accept them, if for instance the dhcp schela is
disabled.

Can you tell me what the value of the m-disabled attribute when you
click on the cn=dhcp,ou=schema entry on your server's DIT ? If it's
TRUE, change it to FALSE, save the changed entry, and restart your server.

I just tested it, it works (and I get the same error when the dhcp
schema m-disabled attribute is TRUE)



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. 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 will shwo all the schema elements it can read. That does not mea
> that the server will accept them, if for instance the dhcp schela is
> disabled.
>
> Can you tell me what the value of the m-disabled attribute when you
> click on the cn=dhcp,ou=schema entry on your server's DIT ? If it's
> TRUE, change it to FALSE, save the changed entry, and restart your server.
>
> I just tested it, it works (and I get the same error when the dhcp
> schema m-disabled attribute is TRUE)
>
>


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 
wrote:

> 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
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:

> 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 yet. This is just to see if I can get
> it
> > to work with DHCP lookup.
> As soon as you have blanked your data, restarted the server, then you
> should be able to modify your schema, stop and restart the server, and
> then reinject the data into your started server.
>
>


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 in any schema.

Where does it come from ?



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 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 in any schema.
>
> Where does it come from ?
>
>