Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-19-2017, 06:54 AM   #1
Registered: Jun 2008
Posts: 334

Rep: Reputation: 33
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:

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, 10:44 AM   #2
Registered: Jun 2008
Posts: 334

Original Poster
Rep: Reputation: 33
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:
1 members found this post helpful.


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 08:46 PM
[SOLVED] ssh problem. (Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).) Satyaveer Arya Linux - Networking 4 10-19-2013 04:43 PM
Permission denied (publickey, gssapi-keyex,gssapi-with-mic,password) Huaqing Wang Linux - Newbie 1 06-27-2012 08:51 PM
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-inte ract MilanK Linux - Newbie 1 03-20-2012 04:44 AM
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password) scman64 Linux - Newbie 1 12-13-2011 01:20 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:03 PM.

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