Send dhcp-users mailing list submissions to
        [email protected]
To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. ISC-DHCP ipv6 + LDAP: pull request (Denis Taranushin)
   2. cant start isc-dhcp-server6 (Denis Taranushin)


----------------------------------------------------------------------

Message: 1
Date: Tue, 14 Jun 2016 17:19:15 +0500
From: Denis Taranushin <[email protected]>
To: [email protected]
Subject: ISC-DHCP ipv6 + LDAP: pull request
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hello!
I have finally  done it!
But there is an some errors in repo.
There is a patch that make DHCP (4.3.4b1) works well with LDAP:

--- ./dhcp-4.3.4b1/server/ldap.c        2016-03-05 01:40:31.000000000 +0500
+++ ./dhcp-4.3.4b2/server/ldap.c        2016-06-14 16:40:23.000000000 +0500
@@ -702,9 +702,9 @@
    struct berval **tempbv;
    int i;

-  x_parser_strcat (cfile, "pool {\n");
+  x_parser_strcat (cfile, "pool6 {\n");

-  if ((tempbv = ldap_get_values_len (ld, item->ldent, "dhcpRange")) != 
NULL)
+  if ((tempbv = ldap_get_values_len (ld, item->ldent, "dhcpRange6")) != 
NULL)
      {
        x_parser_strcat (cfile, "range6");
        for (i=0; tempbv[i] != NULL; i++)

I don't have programmer acccount to pull request normally.
But please fix it. I have spent 2 weeks to start DHCPv6+LDAP.



------------------------------

Message: 2
Date: Wed, 15 Jun 2016 16:01:36 +0500
From: Denis Taranushin <[email protected]>
To: [email protected]
Subject: cant start isc-dhcp-server6
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hello.
I use DHCP + LDAP. They works well.
But after reboot i have

Jun 15 14:16:57 dhcp1 slapd[1018]: @(#) $OpenLDAP: slapd  (Ubuntu) (Sep 
15 2015 18:19:13) 
$#012#011buildd@lgw01-53:/build/openldap-2QUgtL/openldap-2.4.31/debian/build/servers/slapd

Jun 15 14:16:57 dhcp1 dhcpd: Error: Cannot login into ldap server 
127.0.0.1:389: Can't contact LDAP server

Jun 15 14:16:57 dhcp1 dhcpd: Configuration file errors encountered -- 
exiting

slapd starts but dhcpd can't connect. If I run manually:
service isc-dhcp-server6 start
the server starts normally

also i have errors inb log:
kernel: type=1400 audit(1465987873.009:24): apparmor="DENIED" 
operation="mknod" profile="/usr/sbin/dhcpd" name="/tmp-sDNmo4KlSV" 
pid=1272 comm="dhcpd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0

"/tmp-sDNmo4KlSV"  is strange.

any ideas?


------------------------------

_______________________________________________
dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users

End of dhcp-users Digest, Vol 92, Issue 10
******************************************

Reply via email to