Rowland Penny
2017-Dec-08 19:43 UTC
[Samba] DNS issue with clean install of samba 4.5.12-Debian
On Fri, 8 Dec 2017 14:25:19 -0500 lingpanda101 via samba <samba at lists.samba.org> wrote:> On 12/8/2017 1:50 PM, Rowland Penny via samba wrote: > > On Fri, 8 Dec 2017 12:27:30 -0600 > > Taylor Hammerling via samba <samba at lists.samba.org> wrote: > > > >> Will do, thanks! > >> > > Specifically, go here: > > https://github.com/thctlo/samba4/blob/master/samba-setup-checkup.sh > > > > Download and run the script and then look at the output, you can > > send the output direct to me if needed and I will see if I can spot > > any problems. > > > > Rowland > > > > > Rowland, > > Decided to run your script for giggles and I receive a error > > ./samba-setup-checkup.sh: line 89: [: too many arguments > >Funnily enough, so do I ;-) it isn't my script, it is Louis's, but I had some input and it looks like I will be having some more. To be continued....... Rowland
Taylor Hammerling
2017-Dec-08 19:54 UTC
[Samba] DNS issue with clean install of samba 4.5.12-Debian
Glad you guys replied, here is my output :D root at dc1:~# ./samba-setup-checkup.sh Check hostnames : Ok ./samba-setup-checkup.sh: line 89: [: too many arguments Checking detected host ipnumbers from resolv.conf and default gateway Ping gateway ip : 172.28.0.1 : Ok ping nameserver1: 172.28.255.49 : Ok ping nameserver2: 172.28.0.1 : Ok Check ping google dns : 8.8.8.8 : Ok root at dc1:~# so, everything looks good except for the part that bombs out :D On Fri, Dec 8, 2017 at 1:43 PM, Rowland Penny via samba < samba at lists.samba.org> wrote:> On Fri, 8 Dec 2017 14:25:19 -0500 > lingpanda101 via samba <samba at lists.samba.org> wrote: > > > On 12/8/2017 1:50 PM, Rowland Penny via samba wrote: > > > On Fri, 8 Dec 2017 12:27:30 -0600 > > > Taylor Hammerling via samba <samba at lists.samba.org> wrote: > > > > > >> Will do, thanks! > > >> > > > Specifically, go here: > > > https://github.com/thctlo/samba4/blob/master/samba-setup-checkup.sh > > > > > > Download and run the script and then look at the output, you can > > > send the output direct to me if needed and I will see if I can spot > > > any problems. > > > > > > Rowland > > > > > > > > Rowland, > > > > Decided to run your script for giggles and I receive a error > > > > ./samba-setup-checkup.sh: line 89: [: too many arguments > > > > > > Funnily enough, so do I ;-) > > it isn't my script, it is Louis's, but I had some input and it looks > like I will be having some more. > > To be continued....... > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- *Taylor Hammerling* | *IT Manager* 2800 Laura Lane | Middleton, WI 53562 *O *(608) 669-9070 *| C *(608) 512-7849 tcsbasys.com | ubiquistat.com
lingpanda101
2017-Dec-11 13:51 UTC
[Samba] DNS issue with clean install of samba 4.5.12-Debian
On 12/8/2017 2:54 PM, Taylor Hammerling via samba wrote:> Glad you guys replied, here is my output :D > > root at dc1:~# ./samba-setup-checkup.sh > Check hostnames : Ok > ./samba-setup-checkup.sh: line 89: [: too many arguments > Checking detected host ipnumbers from resolv.conf and default gateway > Ping gateway ip : 172.28.0.1 : Ok > ping nameserver1: 172.28.255.49 : Ok > ping nameserver2: 172.28.0.1 : Ok > Check ping google dns : 8.8.8.8 : Ok > root at dc1:~# > > > so, everything looks good except for the part that bombs out :D > > On Fri, Dec 8, 2017 at 1:43 PM, Rowland Penny via samba < > samba at lists.samba.org> wrote: > >> On Fri, 8 Dec 2017 14:25:19 -0500 >> lingpanda101 via samba <samba at lists.samba.org> wrote: >> >>> On 12/8/2017 1:50 PM, Rowland Penny via samba wrote: >>>> On Fri, 8 Dec 2017 12:27:30 -0600 >>>> Taylor Hammerling via samba <samba at lists.samba.org> wrote: >>>> >>>>> Will do, thanks! >>>>> >>>> Specifically, go here: >>>> https://github.com/thctlo/samba4/blob/master/samba-setup-checkup.sh >>>> >>>> Download and run the script and then look at the output, you can >>>> send the output direct to me if needed and I will see if I can spot >>>> any problems. >>>> >>>> Rowland >>>> >>>> >>> Rowland, >>> >>> Decided to run your script for giggles and I receive a error >>> >>> ./samba-setup-checkup.sh: line 89: [: too many arguments >>> >>> >> Funnily enough, so do I ;-) >> >> it isn't my script, it is Louis's, but I had some input and it looks >> like I will be having some more. >> >> To be continued....... >> >> Rowland >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> > >Rowland, Ran again with updated script. Fixed initial error. I will preface with my OS is Ubuntu 14.05.5 LTS. This script should still work, no? I did notice I had a error in my resolv.conf. It had details pertaining to another server. Must of mixed up my SSH window. Fixed and ran again but threw an error with my /etc/krb.conf.conf file. Not really an error but a change I knew I made to it. dns_lookup_realm = true I reverted the change just to satisfy the script, but it continues to report the prior discrepancy I believe. Incorrect '/etc/krb5.conf' file. Expected: [libdefaults] default_realm = DOMAIN.LOCAL dns_lookup_realm = false dns_lookup_kdc = true Got: [libdefaults] default_realm = DOMAIN.LOCAL dns_lookup_realm = false dns_lookup_kdc = true Is their a cache I'm not aware of because these two look identical now? I then get a legitimate error ldb: unable to stat module /usr/lib/x86_64-linux-gnu/samba/ldb : No such file or directory I didn't have samba-dsdb-modules installed. It isn't necessary for a proper install of Samba I believe but only for the purposes of this script? I went and installed anyways, but I was greeted with another error I don't know how to proceed. ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'NoneType' object has no attribute 'canonical_str' File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 415, in run forest_dn = samba.dn_from_dns_name(samdb.forest_dns_name()) File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 655, in forest_dns_name return forest_dn.canonical_str().split('/')[0] Is this supposed to be a debian only script from Louis? If so my apologizes for wasting your time. -- James