search for: dhcid

Displaying 20 results from an estimated 76 matches for "dhcid".

2015 Sep 03
7
samba_dlz: Failed to connect
On Thu, 3 Sep 2015, Rowland Penny wrote: > What are the permissions on /var/lib/samba/private/dns ? Also don't forget the permissions on /var/lib/samba/private If you're using sernet's packages, you'll have to chgrp it to to named or give it o+x perms.
2015 Sep 03
0
dhcp example
....0.2; >> option domain-search "example.com"; >> option netbios-name-servers 192.168.0.2; >> option ntp-servers 192.168.0.2; >> } >> >> on commit { >> set ClientIP = binary-to-ascii(10, 8, ".", leased-address); >> set ClientDHCID = binary-to-ascii(16, 8, ":", hardware); >> set ClientName = pick-first-value(option host-name, >> config-option-host-name, client-name); >> log(concat("Commit: IP: ", ClientIP, " DHCID: ", ClientDHCID, " Name: >> ", ClientName)); &g...
2015 Sep 03
2
dhcp errors - Re: dhcp example
..."$testos" ]; then > echo "${CMDCHOWN} dhcpd:dhcpd ${SETDHCPKEYTAB}" > echo "${CMDCHMOD} 400 ${SETDHCPKEYTAB}" > fi > exit 1 > fi > > ## VARIABLES ## > > # Variables supplied by dhcpd.conf > action=$1 > ip=$2 > DHCID=$3 > name=${4%%.*} > > usage() > { > echo "USAGE:" > echo " `basename $0` add ip-address dhcid|mac-address hostname" > echo " `basename $0` delete ip-address dhcid|mac-address" > } > > _KERBEROS () { > # get current time as a number &...
2015 Sep 04
0
dhcp errors - Re: dhcp example
...o "${CMDCHOWN} dhcpd:dhcpd ${SETDHCPKEYTAB}" >> echo "${CMDCHMOD} 400 ${SETDHCPKEYTAB}" >> fi >> exit 1 >> fi >> >> ## VARIABLES ## >> >> # Variables supplied by dhcpd.conf >> action=$1 >> ip=$2 >> DHCID=$3 >> name=${4%%.*} >> >> usage() >> { >> echo "USAGE:" >> echo " `basename $0` add ip-address dhcid|mac-address hostname" >> echo " `basename $0` delete ip-address dhcid|mac-address" >> } >> >> _KERBEROS ()...
2015 Sep 04
1
further testing - Re: dhcp errors - Re: dhcp example
...TAB}" >>> echo "${CMDCHMOD} 400 ${SETDHCPKEYTAB}" >>> fi >>> exit 1 >>> fi >>> >>> ## VARIABLES ## >>> >>> # Variables supplied by dhcpd.conf >>> action=$1 >>> ip=$2 >>> DHCID=$3 >>> name=${4%%.*} >>> >>> usage() >>> { >>> echo "USAGE:" >>> echo " `basename $0` add ip-address dhcid|mac-address hostname" >>> echo " `basename $0` delete ip-address dhcid|mac-address" >>>...
2020 May 19
4
DHCP Updates to DNS - Multiple Entries with Same IP
...se for 172.20.10.152 May 19 11:00:01 fddc11 dhcpd[5403]: DHCPREQUEST for 172.20.10.152 from 78:3a:84:bc:2c:db (Aarons-iPad) via eth0 May 19 11:00:01 fddc11 dhcpd[5403]: DHCPACK on 172.20.10.152 to 78:3a:84:bc:2c:db (Aarons-iPad) via eth0 May 19 11:00:01 fddc11 dhcpd[5403]: Commit: IP: 172.20.10.152 DHCID: 78:3a:84:bc:2c:db Name: Aarons-iPad May 19 11:00:01 fddc11 dhcpd[5403]: execute_statement argv[0] = /usr/local/bin/dhcp-dyndns.sh May 19 11:00:01 fddc11 dhcpd[5403]: execute_statement argv[1] = add May 19 11:00:01 fddc11 dhcpd[5403]: execute_statement argv[2] = 172.20.10.152 May 19 11:00:01 fddc11...
2019 Mar 20
1
How to automatically store the macAddress in AD
...EQUEST is 90:1b:0e:bb:12:8a > and the macaddress in AD is: 1:90:1b:e:bb:12:8a (have you noticed the > missing 0 and 1: is added at the beginning) > No I hadn't, but I don't think it has anything to do with script, I think DHCP is sending the wrong data: Commit: IP: 192.168.0.88 DHCID: 1:ec:8:6b:c:cb:c2 Name: devstation But, the request shows this: DHCPREQUEST for 192.168.0.88 from ec:08:6b:0c:cb:c2 (devstation) via eth0 1:ec:8:6b:c:cb:c2 != ec:08:6b:0c:cb:c2 Let me look into this, I could be some time ;-) It doesn't really matter for the scripts original purpose, but i...
2019 Mar 18
2
How to automatically store the macAddress in AD
...result}68" exit "${result}" else DN=$(echo "$Computer_Object" | grep 'dn:') objldif="$DN changetype: modify add: objectclass objectclass: ieee802Device" attrldif="$DN changetype: modify add: macAddress macAddress: $DHCID" # add the ldif echo "$objldif" | ldbmodify -k yes -H ldap://"$Hostname" ret="$?" if [ "$ret" -ne 0 ]; then logger "Error modifying Computer objectclass $name in AD." result="${resul...
2020 Oct 05
2
isc-dhcp dynamic update problem
...; next binding state free; rewind binding state free; hardware ethernet c8:1f:66:08:dd:49; uid "\001\310\037f\010\335I"; set vendor-class-identifier = "MSFT 5.0"; set noname = "dhcp-172-30-1-40"; set ClientIP = "172.30.1.40"; set ClientDHCID = "c8:1f:66:08:dd:49"; set ClientName = "MB-DISPATCH-20"; client-hostname "MB-DISPATCH-20"; on expiry { set ClientIP = binary-to-ascii (10, 8, ".", leased-address) ; log (debug, concat ("Expired: IP: ", ClientIP))...
2017 Dec 18
5
DHCP-DNS problems
...oks wrong, I would expect something like this: > > Dec 18 07:43:59 dc3 dhcpd: DHCPREQUEST for 192.168.0.111 from > cc:4e:ec:e9:c8:d3 via eth0 > Dec 18 07:43:59 dc3 dhcpd: DHCPACK on 192.168.0.111 to cc:4e:ec:e9:c8:d3 > via eth0 > Dec 18 07:47:33 dc3 dhcpd: Commit: IP: 192.168.0.88 DHCID: > 1:ec:8:6b:c:cb:c2 Name: devstation > Dec 18 07:47:33 dc3 dhcpd: execute_statement argv[0] = > /usr/local/bin/dhcp-dyndns.sh > Dec 18 07:47:33 dc3 dhcpd: execute_statement argv[1] = add > Dec 18 07:47:33 dc3 dhcpd: execute_statement argv[2] = 192.168.0.88 > Dec 18 07:47:33 dc3 d...
2019 Jan 10
1
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
...8;   pool {     range 172.20.10.165 172.20.10.229;     default-lease-time 43200;     max-lease-time 86400;   } } on commit { set noname = concat("dhcp-", binary-to-ascii(10, 8, "-", leased-address)); set ClientIP = binary-to-ascii(10, 8, ".", leased-address); set ClientDHCID = binary-to-ascii(16, 8, ":", hardware); set ClientName = pick-first-value(option host-name, config-option-host-name, client-name, noname); log(concat("Commit: IP: ", ClientIP, " DHCID: ", ClientDHCID, " Name: ", ClientName)); execute("/usr/local/bin/dhc...
2018 Aug 15
2
DDNS with bind9 and isc-dhcp-server
...fect. I see the right messages in the log, the two DHCP-Servers are talking to each other. When a Client ask for an IP-adresse he get's one. BUT the DNS-Update is not working. Here is the result from the log: -------------------- Aug 15 21:27:51 sambabuch dhcpd[572]: Commit: IP: 192.168.56.221 DHCID: 1:8:0:27:7b:f1:f2 Name: linux-client Aug 15 21:27:51 sambabuch dhcpd[572]: execute_statement argv[0] = /etc/dhcp/bin/dhcp-dyndns.sh Aug 15 21:27:51 sambabuch dhcpd[572]: execute_statement argv[1] = add Aug 15 21:27:51 sambabuch dhcpd[572]: execute_statement argv[2] = 192.168.56.221 Aug 15 21:27:51...
2020 Jul 05
2
same changes in the DHCP to DNS script
...gt;&1 & disown) exit 0 2. changes in dhcpd.conf.main ######Samba################################################################################## on commit { set ClientIP = binary-to-ascii(10, 8, ".", leased-address); set noName = concat("dhcp-", ClientIP); set ClientDHCID = binary-to-ascii(16, 8, ":", substring(hardware,1,6)); set ClientName = pick-first-value(config-option server.ddns-hostname, option host-name, config-option-host-name, client-name, noName); #log(concat("Commit: IP: ", ClientIP, " DHCID: ", ClientDHCID, " Name:...
2017 Dec 18
2
DHCP-DNS problems
Hello there. So, I have a Samba AD setup, with DHCP and samba_dlz setup as described in the wiki. However, I find that after a while, dynamic DHCPD updates stop working. The fix is for me to restart the named server. When in this state, I get log messages like: DHCPREQUEST for 192.168.52.232 (192.168.60.2) from 8c:be:be:0d:cf:3c (RedmiNote4-Gj?gur) via 192.168.52.253 Dec 18 15:39:44 dc02
2018 Jan 02
0
DHCP-DNS problems
...18 07:43:59 dc3 dhcpd: DHCPREQUEST for 192.168.0.111 from > > > > cc:4e:ec:e9:c8:d3 via eth0 > > > > Dec 18 07:43:59 dc3 dhcpd: DHCPACK on 192.168.0.111 to > > > > cc:4e:ec:e9:c8:d3 via eth0 > > > > Dec 18 07:47:33 dc3 dhcpd: Commit: IP: 192.168.0.88 DHCID: > > > > 1:ec:8:6b:c:cb:c2 Name: devstation > > > > Dec 18 07:47:33 dc3 dhcpd: execute_statement argv[0] = > > > > /usr/local/bin/dhcp-dyndns.sh > > > > Dec 18 07:47:33 dc3 dhcpd: execute_statement argv[1] = add > > > > Dec 18 07:47:33 dc3...
2019 Mar 20
0
How to automatically store the macAddress in AD
...g lease for 172.16.7.16 Mar 20 14:21:14 yoda2 dhcpd[6961]: DHCPREQUEST for 172.16.7.16 from 90:1b:0e:bb:12:8a (STHE-C-PROFS06) via eth0 Mar 20 14:21:14 yoda2 dhcpd[6961]: DHCPACK on 172.16.7.16 to 90:1b:0e:bb:12:8a (STHE-C-PROFS06) via eth0 Mar 20 14:21:14 yoda2 dhcpd[6961]: Commit: IP: 172.16.7.16 DHCID: 1:90:1b:e:bb:12:8a Name: STHE-C-PROFS06 Mar 20 14:21:14 yoda2 dhcpd[6961]: execute_statement argv[0] = /usr/local/bin/dhcp-dyndns.sh Mar 20 14:21:14 yoda2 dhcpd[6961]: execute_statement argv[1] = add Mar 20 14:21:14 yoda2 dhcpd[6961]: execute_statement argv[2] = 172.16.7.16 Mar 20 14:21:14 yoda2 d...
2018 May 16
2
DDNS Error
...9;s me again :-) Now we have DDNS with DHCP running but we have a problem on one of our two DCs. Btw we used the setup and the script from wiki. Doing a "dhclient" on a host we are getting the following messages: ------------- Mai 16 12:13:28 samba41 dhcpd[3961]: Commit: IP: 192.168.0.249 DHCID: 1:50:5b:5d:1c:ab:aa Name: horst Mai 16 12:13:28 samba41 dhcpd[3961]: execute_statement argv[0] = /etc/dhcp/bin/dhcp-dyndns.sh Mai 16 12:13:28 samba41 dhcpd[3961]: execute_statement argv[1] = add Mai 16 12:13:28 samba41 dhcpd[3961]: execute_statement argv[2] = 192.168.0.249 Mai 16 12:13:28 samba41...
2016 May 23
2
samba4 AD - winbind Could not write result
...elationship? In the following logs, you can see my two samba AD server's syslog ( S4 and S4bis ) The sever S4 ends by blocking. Rebooting make the things work again... Thanks for helping! Sam S4 *...* May 23 10:49:00 S4 dhcpd: Commit: IP: 172.21.33.99 DHCID: 1:9c:8e:99:d2:ec:fd Name: HP-CZC2097TDR May 23 10:49:00 S4 dhcpd: execute_statement argv[0] = /etc/dhcp/bin/dhcp-dyndns.sh May 23 10:49:00 S4 dhcpd: execute_statement argv[1] = add May 23 10:49:00 S4 dhcpd: execute_statement argv[2] = 172.21.33.99 May 23 10:49:00 S4 dhcpd: execute_statement argv...
2016 May 23
0
samba4 AD - winbind Could not write result
...Thanks for helping! > > Sam > > > > S4 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *...* > May 23 10:49:00 S4 dhcpd: Commit: IP: 172.21.33.99 DHCID: > 1:9c:8e:99:d2:ec:fd Name: HP-CZC2097TDR > May 23 10:49:00 S4 dhcpd: execute_statement argv[0] = > /etc/dhcp/bin/dhcp-dyndns.sh > May 23 10:49:00 S4 dhcpd: execute_statement argv[1] = add > May 23 10:49:00 S4 dhcpd: execute_statement argv[2] = 172.21.33.99 > May 23 10:49:00 S4...
2017 Oct 07
2
bind9 and isc-dhcp-Server for dynamic DNS-updates Error
..."-d" But the logs are the same: Oct 7 17:44:38 samba467 dhcpd: DHCPREQUEST for 192.168.16.38 from 08:00:27:e7:0a:66 (omtest) via eth0 Oct 7 17:44:38 samba467 dhcpd: DHCPACK on 192.168.16.38 to 08:00:27:e7:0a:66 (omtest) via eth0 Oct 7 17:44:55 samba467 dhcpd: Commit: IP: 192.168.16.37 DHCID: 1:0:c:29:e5:43:bf Name: ubuntu Oct 7 17:44:55 samba467 dhcpd: execute_statement argv[0] = /etc/dhcp/bin/dhcp-dyndns.sh Oct 7 17:44:55 samba467 dhcpd: execute_statement argv[1] = add Oct 7 17:44:55 samba467 dhcpd: execute_statement argv[2] = 192.168.16.37 Oct 7 17:44:55 samba467 dhcpd: execute_...