Displaying 15 results from an estimated 15 matches for "mgmt01".
2009 Feb 27
4
Banging my head on wall (hosts)
Ok, so I figured I''d move this here since IRC isn''t the place for it.
Ok, so I have my 40ish servers. Of those, 36 or so of them have hosts
entries that need to look like this:
127.0.0.1 localhost
172.x.x.x dbprod1.xxx.com dbprod1
172.x.x.x mgmt01.xxx.com mgmt01 puppet certmaster
172.x.x.x mybox.xxx.com mybox
Where mybox is the name of the box.
The others have a few additional entries.
So, I made a class that creates those hosts entries and I include it on my
host.
Part of the class does this:
host { "${fqdn}":
ip =&...
2019 Jan 11
2
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
...y configured.
> Regarding the later lines having to do with the script, I clearly don't know what exactly is causing them. But surely they are all
> somehow part of this update process?
>
> Jan 10 15:46:23 dc01 dhcpd[1208]: Commit: IP: 172.20.10.165 DHCID: 1:d4:be:d9:22:9f:7d Name: mgmt01
> Jan 10 15:46:23 dc01 dhcpd[1208]: execute_statement argv[0] = /usr/local/bin/dhcp-dyndns.sh
> Jan 10 15:46:23 dc01 dhcpd[1208]: execute_statement argv[1] = add
> Jan 10 15:46:23 dc01 dhcpd[1208]: execute_statement argv[2] = 172.20.10.165
> Jan 10 15:46:23 dc01 dhcpd[1208]: execute_sta...
2019 Jan 11
2
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
...previous logs were with
> the -d option in place, and those extra lines were what was added as
> a result of the -d option.
>
> Here is what the logs show WITHOUT the -d option:
>
> Jan 11 10:00:36 dc01 dhcpd[1704]: Commit: IP: 172.20.10.165 DHCID:
> 1:d4:be:d9:22:9f:7d Name: mgmt01 Jan 11 10:00:36 dc01 dhcpd[1704]:
> execute_statement argv[0] = /usr/local/bin/dhcp-dyndns.sh Jan 11
> 10:00:36 dc01 dhcpd[1704]: execute_statement argv[1] = add Jan 11
> 10:00:36 dc01 dhcpd[1704]: execute_statement argv[2] = 172.20.10.165
> Jan 11 10:00:36 dc01 dhcpd[1704]: execute_sta...
2019 Jan 11
0
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
...now what to tell you, Rowland. The previous logs were with the -d option in place, and those extra lines were what was added as a result of the -d option.
Here is what the logs show WITHOUT the -d option:
Jan 11 10:00:36 dc01 dhcpd[1704]: Commit: IP: 172.20.10.165 DHCID: 1:d4:be:d9:22:9f:7d Name: mgmt01
Jan 11 10:00:36 dc01 dhcpd[1704]: execute_statement argv[0] = /usr/local/bin/dhcp-dyndns.sh
Jan 11 10:00:36 dc01 dhcpd[1704]: execute_statement argv[1] = add
Jan 11 10:00:36 dc01 dhcpd[1704]: execute_statement argv[2] = 172.20.10.165
Jan 11 10:00:36 dc01 dhcpd[1704]: execute_statement argv[3] = 1:d...
2019 Jan 10
2
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
...ollow. NOTE: the script does, of course, provide at least an exit
> code here. Also, nothing else was generated in samba-ad-dc or bind9
> logs during this operation:
It only logs to syslog
>Jan 10 14:31:46 dc01 dhcpd[1123]: Commit:
> IP: 172.20.10.165 DHCID: 1:d4:be:d9:22:9f:7d Name: mgmt01
From here on the script should be run
> Jan 10 14:31:46 dc01 sh[1123]: /usr/local/bin/dhcp-dyndns.sh: line 10:
> samba: command not found
Ah, you are (if I remember correctly) using a self compiled Samba, did
you read line 9 in the script ?
Uncomment line 10, adjust it for prefix if Sam...
2019 Jan 10
2
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
On Thu, 10 Jan 2019 20:18:37 +0000 (UTC)
Billy Bob <billysbobs at yahoo.com> wrote:
>
>
> On Thursday, January 10, 2019 2:08 PM, Billy Bob via samba
> <samba at lists.samba.org> wrote:
> >Do you want to change your scripts to match my scripts as found on
> >the wiki ?
> >I know they work, well they have for me for the last 6 years.
>
>
2019 Jan 11
2
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
...wrote:
On Fri, 11 Jan 2019 16:13:50 +0000 (UTC)
Billy Bob <billysbobs at yahoo.com> wrote:
>>> Here is what the logs show WITHOUT the -d option:
>>>
>>> Jan 11 10:00:36 dc01 dhcpd[1704]: Commit: IP: 172.20.10.165 DHCID:
>>> 1:d4:be:d9:22:9f:7d Name: mgmt01 Jan 11 10:00:36 dc01 dhcpd[1704]:
>>> execute_statement argv[0] = /usr/local/bin/dhcp-dyndns.sh Jan 11
>>> 10:00:36 dc01 dhcpd[1704]: execute_statement argv[1] = add Jan 11
>>> 10:00:36 dc01 dhcpd[1704]: execute_statement argv[2] = 172.20.10.165
>>> Jan 11 10:00:...
2019 Jan 10
0
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
...with script properly configured.
Regarding the later lines having to do with the script, I clearly don't know what exactly is causing them. But surely they are all somehow part of this update process?
Jan 10 15:46:23 dc01 dhcpd[1208]: Commit: IP: 172.20.10.165 DHCID: 1:d4:be:d9:22:9f:7d Name: mgmt01
Jan 10 15:46:23 dc01 dhcpd[1208]: execute_statement argv[0] = /usr/local/bin/dhcp-dyndns.sh
Jan 10 15:46:23 dc01 dhcpd[1208]: execute_statement argv[1] = add
Jan 10 15:46:23 dc01 dhcpd[1208]: execute_statement argv[2] = 172.20.10.165
Jan 10 15:46:23 dc01 dhcpd[1208]: execute_statement argv[3] = 1:d...
2019 Jan 11
0
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
...ts.samba.org> wrote:
On Fri, 11 Jan 2019 16:13:50 +0000 (UTC)
Billy Bob <billysbobs at yahoo.com> wrote:
>> Here is what the logs show WITHOUT the -d option:
>>
>> Jan 11 10:00:36 dc01 dhcpd[1704]: Commit: IP: 172.20.10.165 DHCID:
>> 1:d4:be:d9:22:9f:7d Name: mgmt01 Jan 11 10:00:36 dc01 dhcpd[1704]:
>> execute_statement argv[0] = /usr/local/bin/dhcp-dyndns.sh Jan 11
>> 10:00:36 dc01 dhcpd[1704]: execute_statement argv[1] = add Jan 11
>> 10:00:36 dc01 dhcpd[1704]: execute_statement argv[2] = 172.20.10.165
>> Jan 11 10:00:36 dc01 dhcpd[17...
2019 Jan 11
0
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
...13:50 +0000 (UTC)
> Billy Bob <billysbobs at yahoo.com> wrote:
>
>
> >>> Here is what the logs show WITHOUT the -d option:
> >>>
> >>> Jan 11 10:00:36 dc01 dhcpd[1704]: Commit: IP: 172.20.10.165 DHCID:
> >>> 1:d4:be:d9:22:9f:7d Name: mgmt01 Jan 11 10:00:36 dc01 dhcpd[1704]:
> >>> execute_statement argv[0] = /usr/local/bin/dhcp-dyndns.sh Jan 11
> >>> 10:00:36 dc01 dhcpd[1704]: execute_statement argv[1] = add Jan 11
> >>> 10:00:36 dc01 dhcpd[1704]: execute_statement argv[2] =
> >>> 172.20....
2019 Jan 10
0
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
...in straight off Wiki, the errors are now as follow. NOTE: the script does, of course, provide at least an exit code here. Also, nothing else was generated in samba-ad-dc or bind9 logs during this operation:
Jan 10 14:31:46 dc01 dhcpd[1123]: Commit: IP: 172.20.10.165 DHCID: 1:d4:be:d9:22:9f:7d Name: mgmt01
Jan 10 14:31:46 dc01 sh[1123]: /usr/local/bin/dhcp-dyndns.sh: line 10: samba: command not found
Jan 10 14:31:46 dc01 dhcpd[1123]: execute_statement argv[0] = /usr/local/bin/dhcp-dyndns.sh
Jan 10 14:31:46 dc01 dhcpd[1123]: execute_statement argv[1] = add
Jan 10 14:31:46 dc01 dhcpd[1123]: execute_sta...
2019 Jan 11
3
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
On Friday, January 11, 2019 1:39 PM, Rowland Penny via samba <samba at lists.samba.org> wrote:
> There doesn't seem to be anything really wrong there,the only really
> difference between your named.conf and mine is that I have:
>
> dnssec-validation no;
> dnssec-enable no;
> dnssec-lookaside no;
> listen-on-v6 { none; };
> listen-on port 53
2015 Jul 02
2
Secondary groups not recognized by Samba
...conf
#!==============================================================
# ----------------------- Network-Related Options -------------------------
workgroup = MYWORKGROUP
client signing = yes
client use spnego = yes
kerberos method = secrets and keytab
netbios name = MGMT01
# ----------------------- Domain Members Options ------------------------
security = ads
realm = MYDOMAIN.COM
# ----------------------- Share Definitions -------------------------
[homes]
comment = Home Directories
browseable = no
writable = yes
creat...
2019 Jan 10
1
samba_dnsupdate options: --use-samba-tool vs. --use-nsupdate, and dhcpd dynamic updates
.../dhcpduser.keytab $ sudo ls -la /etc/dhcpduser.keytab -r-------- 1 dhcpd dhcpd 347 Jan 9 16:20 /etc/dhcpduser.keytab
===================================
ERRORS
===================================
Jan 10 12:41:45 dc01 dhcpd[5099]: Commit: IP: 172.20.10.165 DHCID: 1:d4:be:d9:22:9f:7d Name: mgmt01
Jan 10 12:41:45 dc01 dhcpd[5099]: execute_statement argv[0] = /usr/local/bin/dhcp-dyndns.sh
Jan 10 12:41:45 dc01 dhcpd[5099]: execute_statement argv[1] = add
Jan 10 12:41:45 dc01 dhcpd[5099]: execute_statement argv[2] = 172.20.10.165
Jan 10 12:41:45 dc01 dhcpd[5099]: execute_statement argv[3] = 1:d...
2015 Jul 02
0
Secondary groups not recognized by Samba
...mb.conf
> #!============================================================== #
> ----------------------- Network-Related Options
> ------------------------- workgroup = MYWORKGROUP client signing =
> yes client use spnego = yes kerberos method = secrets and keytab
> netbios name = MGMT01 # ----------------------- Domain Members
> Options ------------------------ security = ads realm = MYDOMAIN.COM
> <http://MYDOMAIN.COM> # ----------------------- Share Definitions
> ------------------------- [homes] comment = Home Directories
> browseable = no writable = yes c...