LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-07-2013, 07:31 AM   #1
sberthelot
LQ Newbie
 
Registered: Feb 2012
Location: France
Distribution: Slackware
Posts: 11

Rep: Reputation: Disabled
Post Samba4 for Slackware 14.1 : non working rc.samba for AD ?


I'm not sure if this message will be on time before the release of Slackware 14.1.

I've managed to test upgrade and new deployments based on 14.1rc with samba 4.1 and everything is working well on samba side with internal DNS except the startup.

From the documentation samba4 should be started with "samba" on command line and stopped using smbcontrol (ie: smbcontrol all shutdown).
The actual rc.samba in samba4.1 package seems to work only for samba3, smbd and nmbd complain (in logs) that they cannot be started directly on samba4 and that we should use "samba" on command line (they actually don't start when invoked directly).
A small adaptation of the rc.samba script may be desirable before official release...

Below part is SOLVED
[By the way using the internal Samba4 DNS is OK for small organizations or simple setups ; using Bind DLZ is more appropriate for real life scenarios and better performance. I know it's kinda late for this but why isn't bind package compiled with DLZ ? It would certainly help third parties and samba4 users to have bind DLZ and Samba4 compiled with DLZ in 14.1 release (or at least testing). DLZ should now be included in Bind upstream sources and I don't remember any problem compiling it]

Last edited by sberthelot; 11-07-2013 at 08:49 AM.
 
Old 11-07-2013, 07:55 AM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,500

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
you have to start the samba daemon (and eventually integrate it with bind) if you want to use it as an AD domain controller, but I suppose most of Slackware users don't want to deploy by default a (not so easy to manage) DC to share some files.

and bind's dlz patches are not included in the default bind release...

just my 2c
 
Old 11-07-2013, 08:05 AM   #3
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Originally Posted by ponce View Post
and bind's dlz patches are not included in the default bind release...
From version 9.4

bind-9.4.0/CHANGES
Code:
1913.   [func]          Integrate contibuted DLZ code into named. [RT #11382]
 
Old 11-07-2013, 08:23 AM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,500

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
ops, sorry, I missed that.

I just read https://wiki.samba.org/index.php/Dns-backend_bind, but still can't be used in Slackware by default, as it doesn't ship any kerberos implementation.

Last edited by ponce; 11-07-2013 at 12:06 PM.
 
Old 11-07-2013, 08:28 AM   #5
sberthelot
LQ Newbie
 
Registered: Feb 2012
Location: France
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: Disabled
Red face

Thanks ponce and wildwizard.

wildwizard you were faster than me
DLZ is integrated from 9.4 and built by default from 9.8 on.

I just checked and it is working already on Slackware 14.1rc3 with samba4 so I'm editing the subject of this thread ; I didn't see that it was included in latest packages.
I tested with my AD setup and zones are updated successfully, no need for external Kerberos libraries.

The only remaining request should be about rc.samba.

For the samba4 startup script, does it work for you as it is when using only "simple" shares ?
AD has become way more simple to setup, especially on 4.1, that I consider migrating to that paradigm only on production servers.

Last edited by sberthelot; 11-07-2013 at 08:30 AM.
 
Old 11-07-2013, 12:15 PM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,500

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
no, it doesn't work for me.

I should follow this

https://wiki.samba.org/index.php/Set...re_file_shares

but I don't like that I have to do it through windows
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND 9.9 DLZ with MySQL backend reverse lookup issue. anindyameister Linux - Server 1 09-20-2013 03:21 AM
Bind Forward and DLZ kavius Linux - Networking 27 10-04-2012 06:34 AM
Can bind dlz work with the mysql stored procedure? oranix Linux - Server 1 01-22-2011 07:58 AM
Information about bind dlz‏ coffee777 Linux - Server 2 09-18-2009 02:01 AM
Run two instances of a dlz engine in BIND 9.5? fmillion Linux - Networking 3 06-14-2008 02:48 AM


All times are GMT -5. The time now is 07:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration