LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-19-2015, 01:04 PM   #1
apikalegusta
LQ Newbie
 
Registered: Mar 2015
Posts: 3

Rep: Reputation: Disabled
Error message in clean Samba installation on Slackware 14.1


Hello. I just installed a samba domain using the wiki.
The smbclient -L localhost -U% and the smbclient //localhost/netlogon -UAdministrator -c 'ls' finish ok. But in the configuration of the DNS something is wrong because I try to run samba -i (after I stoped the daemon) and get this error
Code:
/usr/sbin/samba_dnsupdate: Traceback (most recent call last):
/usr/sbin/samba_dnsupdate:   File "/usr/sbin/samba_dnsupdate", line 612, in <module>
/usr/sbin/samba_dnsupdate:     get_credentials(lp)
/usr/sbin/samba_dnsupdate:   File "/usr/sbin/samba_dnsupdate", line 125, in get_credentials
/usr/sbin/samba_dnsupdate:     raise e
/usr/sbin/samba_dnsupdate: RuntimeError: kinit for COMPUTER$@DOMAIN.COMAINCOUNTRY.COM failed (Cannot contact any KDC for requested realm)
/usr/sbin/samba_dnsupdate:
I'm clearly not a Samba expert, but I think my problem is with the DNS resolution.
The question is that I already have an a Windows Active Directory that we are trying to jubilate that also brings DHCP to the machines (including the Samba machine).
Right now I can't shut the AD because my company will kill me, so I have to configure the new domain with the old running along in the same network.
My smb.conf is this
Code:
[global]
        bind interfaces only = Yes
        realm = COMPANY.COMPANYCOUNTRY.COM
        idmap_ldb:use rfc2307 = yes
        server role = active directory domain controller
        wins support = true
        os level = 20
        interfaces = lo, eth0
        dns forwarder = 182.18.8.100
        workgroup = COMPANY
        netbios name = COMPUTER

[netlogon]
        path = /var/lib/samba/sysvol/company.companycountry.com/scripts
        read only = No

[sysvol]
        path = /var/lib/samba/sysvol
        read only = No

[home]
        path = /home/COMPANY
        read only = No
The IP 182.18.8.100 is the AD/Winms/DHCP machine.

I'm leaving something out that makes the samba domain to not run?

Thanks for the help, regards.

Last edited by apikalegusta; 03-19-2015 at 01:06 PM. Reason: bad title
 
Old 03-20-2015, 03:31 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
Cannot contact any KDC for requested realm
It's looking for a kerberos realm,

Quote:
realm = COMPANY.COMPANYCOUNTRY.COM
That, apparently, aint it.
You could take the realm reference out, if you're not running kerberos and sighup the Samba config
Or, if you're running Kerberos, you'll have to configure it for a live realm so it can get a ticket. Just a heads up, if you chose to do this make sure you have a good NTP server running on your domain and your client is synching with it prior to asking for a ticket from the kdc or you're going to have a lot of issues.
 
  


Reply

Tags
dnsmasq, samba, slackware


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
samba cups error message LinuxLover Linux - Server 2 03-17-2009 04:58 AM
Samba 3.0.21a and Samba Domain Member Servers in a Windows 2003 ADS Domain ramz Linux - Networking 3 04-09-2006 08:26 PM
Slackware + SAMBA + WinBind + NT Domain = 3 day headache enkrypter Slackware 4 04-15-2004 10:23 PM
Adding slackware box to samba-controlled domain? alypius Linux - Networking 2 12-14-2003 01:22 PM
Clean install error message. doders Linux - Newbie 7 09-06-2003 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:02 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
Open Source Consulting | Domain Registration