[Samba] Serverinfo Error
Robert A Wooldridge
bob.wooldridge at edm-inc.com
Tue Aug 20 22:23:09 UTC 2019
I finally got around to doing this and I'm getting python errors again.
Using Debian Buster but Samba unstable which is version 4.9.11. Here's
the error when I try to join the domain:
athena2:~# samba-tool domain join edm-inc.com DC -k yes
Finding a writeable DC for domain 'edm-inc.com'
Found DC ads1.edm-inc.com
workgroup is EDM
realm is edm-inc.com
Adding CN=ATHENA2,OU=Domain Controllers,DC=edm-inc,DC=com
Adding
CN=ATHENA2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com
Adding CN=NTDS
Settings,CN=ATHENA2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com
Join failed - cleaning up
Deleted CN=ATHENA2,OU=Domain Controllers,DC=edm-inc,DC=com
Deleted CN=NTDS
Settings,CN=ATHENA2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com
Deleted
CN=ATHENA2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com
ERROR(ldb): uncaught exception - LDAP error 10 LDAP_REFERRAL -
<0000202B: RefErr: DSID-030A09EC, data 0, 1 access points
ref 1: '0a70b006-a6ea-4d60-a706-b6d5df668c90._msdcs.edm-inc.com'
> <ldap://0a70b006-a6ea-4d60-a706-b6d5df668c90._msdcs.edm-inc.com>
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py",
line 178, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line
716, in run
backend_store=backend_store)
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1501, in
join_DC
ctx.do_join()
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1397, in
do_join
ctx.join_add_objects()
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 683, in
join_add_objects
ctx.samdb.modify(m)
On 08/02/2019 02:39 AM, L.P.H. van Belle via samba wrote:
> After a quick look at this thread, yes, i suggest you add a new DC.
>
> I also suggest you read :
> First this one.
> https://github.com/thctlo/samba4/blob/master/howtos/stretch-base-1.1-checkup.txt
> Now you are joining a existing domain.
>
> Line 20, the resolv.conf, set the first name server to you windows DC, the second to the internet.
> Besides that, before you install samba do these checks.
>
> Next is the install for the AD-DC.
> https://github.com/thctlo/samba4/blob/master/howtos/stretch-base-2.0-samba-minimal-ad.txt
> It is getting a bit old but its still correct.
>
> You start with line 38/39.
> Follow it until you are at line 183.
>
> Now here it changes a bit since your joining a domain.
> First you choose, with or without bind9_dlz.
> Personally, i preffer bind9_dlz because its more flexable.
>
> Then
> kinit administrator
> samba-tool domain join your.dns.domain.tld DC -k yes
>
> Then follow it untill line 258, bind/ no bind..
>
> Follow then untill line 290.
> There you can stop, skip the SePrivileges part.
>
> Reboot the server, and check your result.
>
> Greetz,
>
> Louis
>
>
>
>
>
>> -----Oorspronkelijk bericht-----
>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>> Robert A Wooldridge via samba
>> Verzonden: donderdag 1 augustus 2019 16:16
>> Aan: samba at lists.samba.org
>> Onderwerp: Re: [Samba] Serverinfo Error
>>
>> On 07/31/2019 01:28 AM, L.P.H. van Belle via samba wrote:
>>> Hai,
>>>
>>> Just an suggestion. Since now its known what is missing/wrong.
>>> Remove this server from the domain and re-add it.
>>>
>>> But use the samba 4.9.11 or 4.10.6 now.
>> Would it be safer if I added a different machine using
>> 4.9.11? And if
>> this new one works, then transfer rolls to it?
>>
>> --
>> Bob Wooldridge
>> EDM Incorporated
>>
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
>>
>>
>
--
Bob Wooldridge
IT Director
EDM Incorporated 220 Mansion House Center Suite 300 St. Louis, MO 63102
Office 314.231.5485 · Direct: 314.335.6911 · rw at edm-inc.com
Link to my Calendar
<https://groupware.edm-inc.com/SOGo/dav/public/bob.wooldridge@edm-inc.com/Calendar/personal.ics>
ENGINEERING DESIGN SOLUTIONS SINCE 1973
More information about the samba
mailing list