samba-tool?
-
- Posts: 315
- Joined: 2012/09/15 21:06:54
samba-tool?
Can anyone tell me where I can find samba-tool (what package/repository)? I am trying to do a samba3 to samba4 migration and the howtos refer to using this tool:
http://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO
[quote]
# /usr/local/samba/bin/samba-tool domain classicupgrade --dbdir=/path/to/samba3/tdbfiles --use-xattrs=yes --realm=myname.org /path/to/samba3.conf
[/quote]
http://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO
[quote]
# /usr/local/samba/bin/samba-tool domain classicupgrade --dbdir=/path/to/samba3/tdbfiles --use-xattrs=yes --realm=myname.org /path/to/samba3.conf
[/quote]
samba-tool?
It doesn't seem to be anything that CentOS supplies but I believe the version of samba4 in CentOS 6.4 is still a stripped down version that contains only enough for the IPA packages to function.
Re: samba-tool?
It is not included in the RPM, afaik.
I have used this HowTo:
https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
combined with some resources from:
http://opentodo.net/2013/01/samba4-as-ad-domain-controller-on-centos-6/
to get things going.
I have used this HowTo:
https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
combined with some resources from:
http://opentodo.net/2013/01/samba4-as-ad-domain-controller-on-centos-6/
to get things going.
Re: samba-tool?
[quote]Can anyone tell me where I can find samba-tool [/quote]
you can obtain this tool from src http://download.samba.org/samba/ftp/stable/samba-4.0.4.tar.gz (source4/scripting/bin)
you can obtain this tool from src http://download.samba.org/samba/ftp/stable/samba-4.0.4.tar.gz (source4/scripting/bin)
Re: samba-tool?
So I have to remove all the samba4 packages provided via CentOS 6.4 and install from source?
Is there no CentOS 6.4 package that provides "samba" and "samba-tool"?
(I could not find it)
Is there no CentOS 6.4 package that provides "samba" and "samba-tool"?
(I could not find it)
Re: samba-tool?
Thank you, this looks good.
It is for work, I'll register and download tomorrow.
It is for work, I'll register and download tomorrow.
Re: samba-tool?
Rather than install from source I would search for prebuilt RPM packages. I did so and found http://ftp.sernet.de/pub/samba/ which has a readme file in the 4.0 directory telling you how to register with SerNet to get the download address. I did not do so so I cannot vouch for the quality of these packages. If you do then a report back here would be useful.
Re: samba-tool?
I downloaded and installed those packages and succeeded in joining an existing Windows domain
as a domain controller. The server now is domain controller, DNS server, and DHCP server.
To get everything working I had to fix some permissions issues, apply a patch found using Google,
and to get rid of the %$^$@#Q selinux.
I reported my findings to sernet.de...
as a domain controller. The server now is domain controller, DNS server, and DHCP server.
To get everything working I had to fix some permissions issues, apply a patch found using Google,
and to get rid of the %$^$@#Q selinux.
I reported my findings to sernet.de...
Re: samba-tool?
I wouldn't disable eslinux. If you want help to fix that then probably best to start a new thread. Stick selinux in permissive mode instead of disabled, recreate the issue then look in /var/log/audit/auditd.log and/or use the aureport/ausearch tools to look at the denials it causes. Use audit2allow to generate a policy module that allows those things that were denied and you should be good to go.
Re: samba-tool?
Sorry for opening an old thread. Why isn't samba-tool command available in CentOS? That was a good question.