Re: [CentOS] Older versions of samba that work with CentOS 7?

2019-05-28 Thread me

On Tue, 28 May 2019, Jobst Schmalenbach wrote:


On Mon, May 27, 2019 at 12:43:41PM +0200, Miroslav Geisselreiter 
(m...@intar.cz) wrote:

Hi Jobst,

you can use latest samba package from CentOS 7 - there is no problem with NT
style domains support (ie. it supports NT style domains). We use servers
with CentOS 6 and CentOS 7 both with NT style domains.


Phew!
Thank you, this is great news!


I had huge trouble to get the samba server started after I ported it onto a 
CentOS 7 machine.
I tried to start it with

   systemctl start smbd nmbd winbind samba

and it failed without error messages.


So I has asked a question on the Samba mailing list.
They told me I should do this as

   systemctl stop smbd nmbd winbind samba
   systemctl disable smbd nmbd winbind samba
   systemctl mask smbd nmbd winbind samba
   systemctl unmask samba-ad-dc
   systemctl enable samba-ad-dc
   systemctl start samba-ad-dc

Can you confirm, you start this with

   systemctl start samba-ad-dc


RHEL and therefore Centos does not support a samba ad-dc. You either have to 
find 3rd party rpms or build from source.


IIRC, Your initial request was for nt pdc support. They are totally different 
animals and
might work with the rpms provided by Centos. Various people over on the samba 
list have
found it painful to keep NT domains working with the latest versions of windows.

Having said that, your best bet is to bits the bullet and upgrade to AD. NT 
domains have
been obsoleted by Ms for more than 10 years.

Samba AD works just fine on Centos 7 if you build it yourself or find workable 
3rd party
rpms.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Older versions of samba that work with CentOS 7?

2019-05-28 Thread Miroslav Geisselreiter
In "my" CentOS 7 there are only services smb and nmb. I do not need 
winbind. I use samba with ldap and kerberos. So I use:

systemctl enable smb nmb
systemctl start smb nmb

I use standard samba packages comming with CentOS 7:
# rpm -qa | grep samba
samba-client-libs-4.8.3-4.el7.x86_64
samba-4.8.3-4.el7.x86_64
samba-common-4.8.3-4.el7.noarch
samba-common-tools-4.8.3-4.el7.x86_64
samba-common-libs-4.8.3-4.el7.x86_64
samba-libs-4.8.3-4.el7.x86_64

If you have trouble with starting samba there are posibilities to set 
higher log level and then see what happens.


Mirek

Dne 28.5.2019 v 3:36 Jobst Schmalenbach napsal(a):

On Mon, May 27, 2019 at 12:43:41PM +0200, Miroslav Geisselreiter 
(m...@intar.cz) wrote:

Hi Jobst,

you can use latest samba package from CentOS 7 - there is no problem with NT
style domains support (ie. it supports NT style domains). We use servers
with CentOS 6 and CentOS 7 both with NT style domains.

Phew!
Thank you, this is great news!


I had huge trouble to get the samba server started after I ported it onto a 
CentOS 7 machine.
I tried to start it with

 systemctl start smbd nmbd winbind samba

and it failed without error messages.


So I has asked a question on the Samba mailing list.
They told me I should do this as

 systemctl stop smbd nmbd winbind samba
 systemctl disable smbd nmbd winbind samba
 systemctl mask smbd nmbd winbind samba
 systemctl unmask samba-ad-dc
 systemctl enable samba-ad-dc
 systemctl start samba-ad-dc

Can you confirm, you start this with

 systemctl start samba-ad-dc



thanks


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Older versions of samba that work with CentOS 7?

2019-05-27 Thread Jobst Schmalenbach
On Mon, May 27, 2019 at 12:43:41PM +0200, Miroslav Geisselreiter 
(m...@intar.cz) wrote:
> Hi Jobst,
> 
> you can use latest samba package from CentOS 7 - there is no problem with NT
> style domains support (ie. it supports NT style domains). We use servers
> with CentOS 6 and CentOS 7 both with NT style domains.

Phew!
Thank you, this is great news!


I had huge trouble to get the samba server started after I ported it onto a 
CentOS 7 machine.
I tried to start it with

systemctl start smbd nmbd winbind samba

and it failed without error messages.


So I has asked a question on the Samba mailing list.
They told me I should do this as 

systemctl stop smbd nmbd winbind samba
systemctl disable smbd nmbd winbind samba
systemctl mask smbd nmbd winbind samba
systemctl unmask samba-ad-dc
systemctl enable samba-ad-dc
systemctl start samba-ad-dc

Can you confirm, you start this with 

systemctl start samba-ad-dc



thanks
-- 

Jobst Schmalenbach

Sendmail administration is not black magic.  There are legitimate technical 
reasons why it requires the sacrificing of a live chicken.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Older versions of samba that work with CentOS 7?

2019-05-27 Thread Miroslav Geisselreiter

Hi Jobst,

you can use latest samba package from CentOS 7 - there is no problem 
with NT style domains support (ie. it supports NT style domains). We use 
servers with CentOS 6 and CentOS 7 both with NT style domains.


Mirek

Dne 27.5.2019 v 2:57 Jobst Schmalenbach napsal(a):

Hi.

Are there any places I can download older versions of Samba working with CentOS 
7?

Reason:

I have been upgrading all of my servers from 6.X to 7.X.
This alone is a massive task for me as I am a one man band.

Samba made massive changes not allowing NT style domains anymore in the 4.10 
branch.

If I can find older samba RPM's for CentOS 7 than I can finish all upgrades of 
the OS, then later upgrade samba once I am finished when I have more time.


Any ideas anyone?

thanks
Jobst







--
Jobst Schmalenbach
The future isn't what it used to be (it never was).
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Older versions of samba that work with CentOS 7?

2019-05-26 Thread Jobst Schmalenbach


Hi.

Are there any places I can download older versions of Samba working with CentOS 
7?

Reason:

I have been upgrading all of my servers from 6.X to 7.X.
This alone is a massive task for me as I am a one man band.

Samba made massive changes not allowing NT style domains anymore in the 4.10 
branch.

If I can find older samba RPM's for CentOS 7 than I can finish all upgrades of 
the OS, then later upgrade samba once I am finished when I have more time.


Any ideas anyone?

thanks
Jobst







--
Jobst Schmalenbach
The future isn't what it used to be (it never was).
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos