LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-19-2017, 05:54 AM   #1
xj25vm
Member
 
Registered: Jun 2008
Posts: 320

Rep: Reputation: 29
gssapi support for nsupdate - for Samba AD DC


As per my other related post, I am trying to configure Samba as an Active Directory Domain Controller on Slackware. One snag I have hit is that it appears to be impossible to get Samba to do dynamic dns updates against Bind - as Samba uses nsupdate with something called GSS-TSIG. And nsupdate complains:

Code:
nsupdate: cannot specify -g or -o, program not linked with GSS API Library
This is pretty important, as, when configured with the BIND9_DLZ dns back-end, both Samba and ISC Dhcpd need GSS-TSIG to do secure dns updates.

I suppose another option would be to use the Samba internal dns back-end - but that doesn't support ddns updates from Dhcpd - which means that all non-Windows devices on the network (printers, Linux pc's etc.) would be completely unable to register themselves through dns - which would break a lot of things.

Would it be possible to re-compile nsupdate with gssapi support somehow? Is there any chance that this could become part of Slackware? Is there an alternative to the above?
 
Old 04-19-2017, 09:44 AM   #2
xj25vm
Member
 
Registered: Jun 2008
Posts: 320

Original Poster
Rep: Reputation: 29
Just a follow-up to my original post - in case it is useful for others who might wish to configure Samba4 as an AD DC. I've installed the krb5 package from SBo - which was painless. Then I re-downloaded the Slackware sources and configs for Bind, and re-compiled Bind with the "--with-gssapi" argument. One interesting note is that, if krb5 is not installed, the compilation doesn't fail, but no gssapi support is enabled. Which can be a little confusing.

Now Samba and Dhcpd are able to do dynamic updates against Bind - using GSS-TSIG - after I installed the script and example configs found here:

https://wiki.samba.org/index.php/Con...rds_with_BIND9
 
1 members found this post helpful.
  


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
Disconnected: No Supported Authentication methods available(Server sent: publickey,gssapi-keyex,gssapi-with-mic). kowsalya Linux - Server 2 02-23-2017 07:46 PM
[SOLVED] ssh problem. (Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).) Satyaveer Arya Linux - Networking 4 10-19-2013 03:43 PM
Permission denied (publickey, gssapi-keyex,gssapi-with-mic,password) Huaqing Wang Linux - Newbie 1 06-27-2012 07:51 PM
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-inte ract MilanK Linux - Newbie 1 03-20-2012 03:44 AM
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password) scman64 Linux - Newbie 1 12-13-2011 12:20 AM


All times are GMT -5. The time now is 09:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration