[Samba] Serverinfo Error
L.P.H. van Belle
belle at bazuin.nl
Wed Aug 21 07:02:48 UTC 2019
Hai Bob,
Ok, about the part below.
Is the user "Administrator" available, as in can you login with it.
Or is Adminstrator renamed to an other name?
Then, what is the DC holding the FSMO Roles?
You should try to join that specific server.
Is this a windows server?
Try this command:
samba-tool domain join edm-inc.com DC \
--server=server.fqdn.here \ # << AD-DC server with FSMO roles
--realm=EDM-INC.COM
--dns-backend=SAMBA_INTERNAL \ # if your running with bind9, --dns-backend=BIND9_DLZ
--option='idmap_ldb:use rfc2307 = yes' \
-U"DOM\Administrator"
( or change DOM\Administrator to Administrator at EDM-INC.COM )
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Robert A Wooldridge via samba
> Verzonden: woensdag 21 augustus 2019 0:23
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Serverinfo Error
>
> 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=C
> onfiguration,DC=edm-inc,DC=com
> Adding CN=NTDS
> Settings,CN=ATHENA2,CN=Servers,CN=Default-First-Site-Name,CN=S
> ites,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=S
> ites,CN=Configuration,DC=edm-inc,DC=com
> Deleted
> CN=ATHENA2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=C
> onfiguration,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-ba
> se-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-ba
> se-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
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
>
More information about the samba
mailing list