[Samba] Cannot find KDC for requested realm

P V ditirambo_farfulla at yahoo.com
Thu Aug 11 00:00:30 GMT 2005


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 at 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 


More information about the samba mailing list