dn:
cn=server,ou=dhcp,dc=ldap-account-manager,dc=org
objectclass: dhcpServer
objectclass: dhcpOptions
objectclass: top
cn: server
dhcpcomments: My DHCP server
dhcpoption: domain-name
"ldap-account-manager.org"
dhcpoption: domain-name-servers 192.168.1.1
dhcpoption: routers 192.168.1.1
dhcpoption: netbios-name-servers 192.168.1.1
dhcpoption: subnet-mask 255.255.255.0
dhcpoption: netbios-node-type 8
dhcpstatements: default-lease-time 3600
dhcpstatements: max-lease-time 7200
dhcpstatements: include "mykey"
dhcpstatements: ddns-update-style interim
dhcpstatements: update-static-leases true
dhcpstatements: ignore client-updates
ddns-update-style none;
deny unknown-clients;
ldap-server "server";
ldap-dhcp-server-cn "server";
ldap-port 389;
ldap-username
"uid=dhcp,ou=people,dc=ldap-account-manager,dc=org";
ldap-password "{SSHA}XXXXXXXXXXXX";
ldap-base-dn
"ou=dhcp,dc=ldap-account-manager,dc=org";
ldap-method dynamic;
ldap-debug-file
"/var/log/dhcp-ldap-startup.log";
include /etc/ldap/schema/dhcp.schema
index dhcpHWAddress eq
index dhcpClassData eq
Constant value | Resulting LDAP value |
---|---|
my constant | my constant |
%gn% | Steve |
%gn%((gn))%sn% | Steve Miller (would be "Miller" if gn is empty) |
§memberUid|, § | user1, user2 |