URN Logo
UNIX Resources » Linux » Linux Forum » Samba Help » Page.62 » [Samba] Cannot find KDC for requested realm
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
[Samba] Cannot find KDC for requested realm
Subject: [Samba] Cannot find KDC for requested realm
Author: P V    Posted: 2005-08-10 18:10:08    Length: 3,561 byte(s)
[Original] [Print] [Top]
I'm trying to install Samba.
I need to put some files on Samba server accessed from Windows clients and authenticated through our Win2k Active Directory Server.
I'm following instructions from "Chapter 13_ Identity Mapping (IDMAP).htm", but at the moment I cannot connect. I've follow many directions from too much sites over Internet, and there are a lot of instructions, buy I cannot get connected. When I type \my_smb_server from Start/Run menu on a machine signed as Administrator, appear a Window asking for user and password.
When a type net ads join -UAdministrator
Administrator's password:
I get this:
[2005/08/09 14:22:20, 0] libads/kerberos.c:ads_kinit_password(146)  kerberos_kinit_password Administrator@MYDOMAIN.COM failed: Cannot find KDC for requested realm
[2005/08/09 14:22:20, 0] utils/net_ads.c:ads_startup(191)  ads_connect: Cannot find KDC for requested realm
 
Here are my configuration files:
-------------
File smb.conf
-------------
[global]
        workgroup = MAINWIN2KGROUP
        netbios name = SMBHOST
        realm = MYDOMAIN.COM
        security = ADS
        template shell = /bin/bash
        idmap uid = 500-10000000
        idmap gid = 500-10000000
        winbind use default domain = Yes
        winbind nested groups = Yes

# Shares section
[shared1]
comment = Datos compartidos
path = /home/user/toSamba
force user = Administrator
browseable = yes

--------------
/etc/krb5.conf
--------------
[logging]
 default = FILE:/var/kerberos/krb5/krb5libs.log
 kdc = FILE=/var/kerberos/krb5/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log
[libdefaults]
 default_realm = MYDOMAIN.COM
 dns_lookup_realm = false
 dns_lookup_kdc = false
[appdefaults]
 pam = {
   debug = false
   ticket_lifetime = 36000
   renew_lifetime = 36000
   forwardable = true
   krb4_convert = false
}
--------
log.smbd
--------
[2005/08/09 13:11:26, 5]
lib/module.c:smb_probe_module(104)
  Probing module 'ISO8859-1'
[2005/08/09 13:11:26, 5]
lib/module.c:smb_probe_module(115)
  Probing module 'ISO8859-1': Trying to load from /opt/local/samba/lib/charset/ISO8859-1.so
[2005/08/09 13:11:26, 3]
lib/module.c:do_smb_load_module(49)
  Error loading module 'opt/local/samba/lib/charset/ISO8859-1.so': ld.so.1
: /opt/local/samba/sbin/smbd: fatal: /opt/local/samba/lib/charset/ISO8859-1.so: open failed: No such file or directory
[2005/08/09 13:11:26, 5]
lib/charcnv.c:charset_name(78)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead

Thank you for any answer.
Regards.

 

      
---------------------------------
 Start your day with Yahoo! - make it your home page
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Original] [Print] [Top]
Subject: [Samba] Cannot find KDC for requested realm
Author: Svend Sorensen    Posted: 2005-08-10 18:20:09    Length: 1,623 byte(s)
[Original] [Print] [Top]
AD uses SRV records to find the KDC for a domain.  Windows sets these
up automatically if the AD server is also the DNS server for the
domain.

To check for the SRV record, try

$ host -t srv _kerberos._tcp.MYDOMAIN.COM

This MS article talks about the required SRV records:
http://support.microsoft.com/default.aspx?...kb;en-us;816587

On 8/10/05, P V [ditirambo_farfulla@yahoo.com] wrote:

QUOTE
snip
When a type net ads join -UAdministrator
Administrator's password:
I get this:
[2005/08/09 14:22:20, 0] libads/kerberos.c:ads_kinit_password(146)  kerberos_kinit_password Administrator@MYDOMAIN.COM failed: Cannot find KDC for requested realm
[2005/08/09 14:22:20, 0] utils/net_ads.c:ads_startup(191)  ads_connect: Cannot find KDC for requested realm

Here are my configuration files:
snip
-------------
/etc/krb5.conf
--------------
snip

Setting up krb5.conf shouldn't be necessary.  In fact, the Samba HOWTO
warns against doing it.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Original] [Print] [Top]
« Previous thread
[Samba] username map file to link Domain groups to user
Samba Help
Page. 62
Next thread »
[Samba] Compiling smbtorture
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 13:00:35, cost 0.022570848464966 ms.