[Samba] Samba 4.1 supports to join Windows 2012 server as a secondary DC?
erpo41 at gmail.com
erpo41 at gmail.com
Sun Dec 22 09:33:23 MST 2013
I got similar errors about not being able to find shared libraries after
compiling samba 3 from source. In my case, setting the environment variable
LD_LIBRARY_PATH to point to the bin directory inside the source tree was
enough to permit the 'net' utility to run for testing purposes. However, it
seems that samba doesn't like to be run from the source tree directly, so
other problems may come up if you don't do a 'make install'.
Thanks,
Eric
On Dec 21, 2013 4:58 PM, "Maximiliano Beltritti" <
maximiliano.beltritti at gmail.com> wrote:
> After I apply the patch the error change:
>
> root at samba41:~# /root/compilar/samba-4.1.0/bin/samba-tool domain join
> zentyal.it.com DC -Uadministrator --realm=zentyal.it.com
> Traceback (most recent call last):
> File "/root/compilar/samba-4.1.0/bin/samba-tool", line 33, in <module>
> from samba.netcmd.main import cmd_sambatool
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/main.py", line 24, in
> <module>
> from samba.netcmd.delegation import cmd_delegation
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/delegation.py", line
> 29, in <module>
> from samba.netcmd.common import _get_user_realm_domain
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/common.py", line 24,
> in <module>
> from samba.net import Net
> ImportError: libkdc-policy.so: cannot open shared object file: No such file
> or directory
>
> Any ideas?
>
>
> On Mon, Nov 11, 2013 at 4:38 AM, L.P.H. van Belle <belle at bazuin.nl> wrote:
>
> > check if this patch is applied:
> >
> > https://attachments.samba.org/attachment.cgi?id=9210
> >
> > i've seen the same error when i wanted to join my domain.
> > ( samba 4.0.10 )
> >
> >
> > >-----Oorspronkelijk bericht-----
> > >Van: maximiliano.beltritti at gmail.com
> > >[mailto:samba-bounces at lists.samba.org] Namens Maximiliano Beltritti
> > >Verzonden: dinsdag 29 oktober 2013 18:38
> > >Aan: samba at samba.org
> > >Onderwerp: [Samba] Samba 4.1 supports to join Windows 2012
> > >server as a secondary DC?
> > >
> > >Somebody knows if Samba 4.1 supports to join Windows 2012 server as a
> > >secondary DC?? Because after compiling samba 4.1 in an ubuntu
> > >server i try
> > >to join to a Windows 2012 server and get this error:
> > >
> > >root at samba41:~/compilar/samba-4.1.0#
> > >/root/compilar/samba-4.1.0/bin/samba-tool domain join zentyal.it.com DC
> > >-Uadministrator --realm=zentyal.it.com
> > >Finding a writeable DC for domain 'zentyal.it.com'
> > >Found DC win2k12.zentyal.it.com
> > >Password for [WORKGROUP\administrator]:
> > >workgroup is ZENTYAL
> > >realm is zentyal.it.com
> > >checking sAMAccountName
> > >Adding CN=SAMBA41,OU=Domain Controllers,DC=zentyal,DC=it,DC=com
> > >Adding
> > >CN=SAMBA41,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Co
> > >nfiguration,DC=zentyal,DC=it,DC=com
> > >Adding CN=NTDS
> > >Settings,CN=SAMBA41,CN=Servers,CN=Default-First-Site-Name,CN=Si
> > >tes,CN=Configuration,DC=zentyal,DC=it,DC=com
> > >DsAddEntry failed with status (5, 'WERR_ACCESS_DENIED') info (8567,
> > >'WERR_DS_INCOMPATIBLE_VERSION')
> > >Join failed - cleaning up
> > >checking sAMAccountName
> > >Deleted CN=SAMBA41,OU=Domain Controllers,DC=zentyal,DC=it,DC=com
> > >Deleted
> > >CN=SAMBA41,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Co
> > >nfiguration,DC=zentyal,DC=it,DC=com
> > >ERROR(runtime): uncaught exception - DsAddEntry failed
> > > File "bin/python/samba/netcmd/__init__.py", line 175, in _run
> > > return self.run(*args, **kwargs)
> > > File "bin/python/samba/netcmd/domain.py", line 552, in run
> > > machinepass=machinepass, use_ntvfs=use_ntvfs,
> > >dns_backend=dns_backend)
> > > File "bin/python/samba/join.py", line 1169, in join_DC
> > > ctx.do_join()
> > > File "bin/python/samba/join.py", line 1072, in do_join
> > > ctx.join_add_objects()
> > > File "bin/python/samba/join.py", line 541, in join_add_objects
> > > ctx.join_add_ntdsdsa()
> > > File "bin/python/samba/join.py", line 474, in join_add_ntdsdsa
> > > ctx.DsAddEntry([rec])
> > > File "bin/python/samba/join.py", line 437, in DsAddEntry
> > > raise RuntimeError("DsAddEntry failed")
> > >
> > >Thanks in advance!
> > >--
> > >To unsubscribe from this list go to the following URL and read the
> > >instructions: https://lists.samba.org/mailman/options/samba
> > >
> > >
> >
> >
> --
> 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