FS#47821 - [dhcp] Add LDAP Support

Attached to Project: Arch Linux
Opened by Tim (bastelfreak) - Tuesday, 19 January 2016, 21:31 GMT
Last edited by Christian Hesse (eworm) - Friday, 09 March 2018, 09:05 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:
isc-dhcp supports the LDAP backend [0] since a few releases. Would it be possible to enable it? You can view my patched version of the pkgbuild at [1]. Another solution would be to create a third package "dhcp-ldap" or something similar, like debian does (I don't know why).

Additional info:
* package version(s)
* config and/or log files etc.


[0] https://kb.isc.org/article/AA-01284/78/LDAP-.html
[1] https://p.bastelfreak.de/3zg7/
This task depends upon

Closed by  Christian Hesse (eworm)
Friday, 09 March 2018, 09:05 GMT
Reason for closing:  Implemented
Additional comments about closing:  dhcp 4.4.1-3
Comment by Tim (bastelfreak) - Sunday, 07 February 2016, 11:27 GMT
Hi Felix, can you tell me how the current status is? I've seen that you updated the package, but the ldap support isn't yet included?
Comment by Tim (bastelfreak) - Monday, 11 April 2016, 13:08 GMT
Hi, any progress here?
Comment by Felix Yan (felixonmars) - Monday, 11 April 2016, 13:16 GMT
Sorry for the long delay. I would still like to see if there is a simpler way than running configure twice.
Comment by Tim (bastelfreak) - Friday, 09 February 2018, 20:24 GMT
Hi Felix,
in my opinion this isn't possible in a clean way. There are two different configure steps needed.
Comment by Christian Rebischke (Shibumi) - Tuesday, 13 February 2018, 09:36 GMT
Yep, I don't think there is a clean way for it. Calling 2x configure is the best solution imho.. But I would really love to see ldap support for isc-dhcp.
Comment by Tim (bastelfreak) - Friday, 02 March 2018, 09:06 GMT
Hi Felix (or any other Dev), could you take a look at this?
Comment by Tim (bastelfreak) - Friday, 02 March 2018, 09:45 GMT
I updated the PKGBUILD some time ago: https://p.bastelfreak.de/AoN/
Comment by Tim (bastelfreak) - Thursday, 08 March 2018, 11:55 GMT
Hey people,

can I assist somehow to get this done? I would appreciate any feedback :)

Cheers, Tim
Comment by Christian Hesse (eworm) - Thursday, 08 March 2018, 12:19 GMT
Taking a look at the PKGBUILD... The source tree is cloned, configured and built, but no files are installed from the cloned tree, no? What's the deal?
Comment by Tim (bastelfreak) - Friday, 09 March 2018, 08:57 GMT
Oh my bad, this was an error I introduced during my cleanup.

I did some testing again and it looks like it's now possible to use the ldap flags during the configure, and the dhclient will ignore them. My patch: https://gist.github.com/bastelfreak/d4ad6141d59be12249dd622dbc595a42


Loading...