I have two networks: 192.168.1.0 with netmask 255.255.255.0 and
172.16.0.0 with netmask 255.255.254.0, when I join in domain in first
network hostname registered successfully, but in second network:
sudo net ads join -U admin
Enter admin's password:
Using short domain name -- BUTB
Joined 'TH-2-011' to realm 'butb.by'
DNS update failed!
dpkg -l | grep samba
ii samba 2:3.4.7~dfsg-1ubuntu3
lsb_release -a
Description: Linux Mint 9 Isadora
sudo net ads dns register -d 9 -U admin
[2010/07/27 12:35:32, 5] lib/debug.c:407(debug_dump_status)
INFO: Current debug levels:
all: True/9
tdb: False/0
printdrivers: False/0
lanman: False/0
smb: False/0
rpc_parse: False/0
rpc_srv: False/0
rpc_cli: False/0
passdb: False/0
sam: False/0
auth: False/0
winbind: False/0
vfs: False/0
idmap: False/0
quota: False/0
acls: False/0
locking: False/0
msdfs: False/0
dmapi: False/0
registry: False/0
[2010/07/27 12:35:32, 3] param/loadparm.c:9039(lp_load_ex)
lp_load_ex: refreshing parameters
[2010/07/27 12:35:32, 3] param/loadparm.c:4848(init_globals)
Initialising global parameters
[2010/07/27 12:35:32, 2] param/loadparm.c:4707(max_open_files)
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
[2010/07/27 12:35:32, 3] ../lib/util/params.c:550(pm_process)
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
[2010/07/27 12:35:32, 3] param/loadparm.c:7726(do_section)
Processing section "[global]"
doing parameter workgroup = BUTB
doing parameter netbios name = %h
[2010/07/27 12:35:32, 4] param/loadparm.c:7088(handle_netbios_name)
handle_netbios_name: set global_myname to: TH-2-011
doing parameter dos charset = cp866
[2010/07/27 12:35:32, 5] lib/iconv.c:104(smb_register_charset)
Attempting to register new charset UCS-2LE
[2010/07/27 12:35:32, 5] lib/iconv.c:112(smb_register_charset)
Registered charset UCS-2LE
[2010/07/27 12:35:32, 5] lib/iconv.c:104(smb_register_charset)
Attempting to register new charset UTF-16LE
[2010/07/27 12:35:32, 5] lib/iconv.c:112(smb_register_charset)
Registered charset UTF-16LE
[2010/07/27 12:35:32, 5] lib/iconv.c:104(smb_register_charset)
Attempting to register new charset UCS-2BE
[2010/07/27 12:35:32, 5] lib/iconv.c:112(smb_register_charset)
Registered charset UCS-2BE
[2010/07/27 12:35:32, 5] lib/iconv.c:104(smb_register_charset)
Attempting to register new charset UTF-16BE
[2010/07/27 12:35:32, 5] lib/iconv.c:112(smb_register_charset)
Registered charset UTF-16BE
[2010/07/27 12:35:32, 5] lib/iconv.c:104(smb_register_charset)
Attempting to register new charset UTF8
[2010/07/27 12:35:32, 5] lib/iconv.c:112(smb_register_charset)
Registered charset UTF8
[2010/07/27 12:35:32, 5] lib/iconv.c:104(smb_register_charset)
Attempting to register new charset UTF-8
[2010/07/27 12:35:32, 5] lib/iconv.c:112(smb_register_charset)
Registered charset UTF-8
[2010/07/27 12:35:32, 5] lib/iconv.c:104(smb_register_charset)
Attempting to register new charset ASCII
[2010/07/27 12:35:32, 5] lib/iconv.c:112(smb_register_charset)
Registered charset ASCII
[2010/07/27 12:35:32, 5] lib/iconv.c:104(smb_register_charset)
Attempting to register new charset 646
[2010/07/27 12:35:32, 5] lib/iconv.c:112(smb_register_charset)
Registered charset 646
[2010/07/27 12:35:32, 5] lib/iconv.c:104(smb_register_charset)
Attempting to register new charset ISO-8859-1
[2010/07/27 12:35:32, 5] lib/iconv.c:112(smb_register_charset)
Registered charset ISO-8859-1
[2010/07/27 12:35:32, 5] lib/iconv.c:104(smb_register_charset)
Attempting to register new charset UCS2-HEX
[2010/07/27 12:35:32, 5] lib/iconv.c:112(smb_register_charset)
Registered charset UCS2-HEX
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
doing parameter unix charset = UTF8
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
doing parameter server string = %h server (Samba, Linux)
doing parameter dns proxy = no
doing parameter name resolve order = lmhosts wins bcast host
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 1000
doing parameter syslog = 0
doing parameter panic action = /usr/share/samba/panic-action %d
doing parameter security = ADS
doing parameter encrypt passwords = true
doing parameter passdb backend = tdbsam
doing parameter obey pam restrictions = yes
doing parameter unix password sync = yes
doing parameter password server = ad, ad2
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
doing parameter pam password change = yes
doing parameter map to guest = bad user
doing parameter idmap uid = 10000-20000
doing parameter idmap gid = 10000-20000
doing parameter winbind uid = 10000-20000
doing parameter winbind gid = 10000-20000
doing parameter template shell = /bin/bash
doing parameter template homedir = /home/%U
doing parameter winbind separator = /
doing parameter winbind offline logon = true
doing parameter winbind cache time = 86400
doing parameter passdb backend = tdbsam
doing parameter realm = butb.by
doing parameter winbind use default domain = yes
doing parameter usershare allow guests = yes
[2010/07/27 12:35:32, 4] param/loadparm.c:9074(lp_load_ex)
pm_process() returned Yes
[2010/07/27 12:35:32, 7] param/loadparm.c:9279(lp_servicenumber)
lp_servicenumber: couldn't find homes
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:32, 5] lib/util.c:266(init_names)
Netbios name list:-
my_netbios_names[0]="TH-2-011"
[2010/07/27 12:35:32, 2] lib/interface.c:340(add_interface)
added interface eth0 ip=fe80::219:d1ff:fe7d:1a96%eth0
bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
[2010/07/27 12:35:32, 2] lib/interface.c:340(add_interface)
added interface eth0 ip=172.16.0.178 bcast=172.16.1.255
netmask=255.255.254.0
Enter admin's password:
[2010/07/27 12:35:35, 6] libads/ldap.c:346(ads_find_dc)
ads_find_dc: (ldap) looking for realm 'BUTB.BY'
[2010/07/27 12:35:35, 5] lib/gencache.c:61(gencache_init)
Opening cache file at /var/run/samba/gencache.tdb
[2010/07/27 12:35:35, 5] libads/dns.c:817(sitename_fetch)
sitename_fetch: Returning sitename for BUTB.BY:
"Default-First-Site-Name"
[2010/07/27 12:35:35, 4] libsmb/namequery_dc.c:73(ads_dc_name)
ads_dc_name: domain=BUTB
[2010/07/27 12:35:35, 5] libads/dns.c:817(sitename_fetch)
sitename_fetch: Returning sitename for BUTB.BY:
"Default-First-Site-Name"
[2010/07/27 12:35:35, 6] libads/ldap.c:366(ads_find_dc)
ads_find_dc: (cldap) looking for realm 'BUTB.BY'
[2010/07/27 12:35:35, 8] libsmb/namequery.c:2156(get_sorted_dc_list)
get_sorted_dc_list: attempting lookup for name BUTB.BY (sitename
Default-First-Site-Name) using [ads]
[2010/07/27 12:35:35, 5] libsmb/namequery.c:185(saf_fetch)
saf_fetch[join]: Returning "ad.butb.by" for "BUTB.BY"
domain
[2010/07/27 12:35:35, 3] libsmb/namequery.c:1972(get_dc_list)
get_dc_list: preferred server list: "ad.butb.by, ad, ad2"
[2010/07/27 12:35:35, 5] libads/dns.c:817(sitename_fetch)
sitename_fetch: Returning sitename for BUTB.BY:
"Default-First-Site-Name"
[2010/07/27 12:35:35, 5] libsmb/namecache.c:212(namecache_fetch)
name ad.butb.by#20 found.
[2010/07/27 12:35:35, 9] libsmb/conncache.c:150(check_negative_conn_cache)
check_negative_conn_cache returning result 0 for domain BUTB.BY server
192.168.1.2
[2010/07/27 12:35:35, 5] libads/dns.c:817(sitename_fetch)
sitename_fetch: Returning sitename for BUTB.BY:
"Default-First-Site-Name"
[2010/07/27 12:35:35, 5] libsmb/namecache.c:212(namecache_fetch)
name ad#20 found.
[2010/07/27 12:35:35, 9] libsmb/conncache.c:150(check_negative_conn_cache)
check_negative_conn_cache returning result 0 for domain BUTB.BY server
192.168.1.2
[2010/07/27 12:35:35, 5] libads/dns.c:817(sitename_fetch)
sitename_fetch: Returning sitename for BUTB.BY:
"Default-First-Site-Name"
[2010/07/27 12:35:35, 5] libsmb/namecache.c:212(namecache_fetch)
name ad2#20 found.
[2010/07/27 12:35:35, 9] libsmb/conncache.c:150(check_negative_conn_cache)
check_negative_conn_cache returning result 0 for domain BUTB.BY server
192.168.1.5
[2010/07/27 12:35:35, 4] libsmb/namequery.c:2105(get_dc_list)
get_dc_list: returning 2 ip addresses in an ordered list
[2010/07/27 12:35:35, 4] libsmb/namequery.c:2106(get_dc_list)
get_dc_list: 192.168.1.2:389 192.168.1.5:389
[2010/07/27 12:35:35, 9] libsmb/conncache.c:150(check_negative_conn_cache)
check_negative_conn_cache returning result 0 for domain BUTB.BY server
192.168.1.2
[2010/07/27 12:35:35, 5] libads/ldap.c:203(ads_try_connect)
ads_try_connect: sending CLDAP request to 192.168.1.2 (realm: BUTB.BY)
[2010/07/27 12:35:35, 3] libads/ldap.c:621(ads_connect)
Successfully contacted LDAP server 192.168.1.2
[2010/07/27 12:35:35, 5] libads/dns.c:817(sitename_fetch)
sitename_fetch: Returning sitename for BUTB.BY:
"Default-First-Site-Name"
[2010/07/27 12:35:35, 5] libsmb/namequery.c:185(saf_fetch)
saf_fetch[join]: Returning "ad.butb.by" for "BUTB.BY"
domain
[2010/07/27 12:35:35, 3] libsmb/namequery.c:1972(get_dc_list)
get_dc_list: preferred server list: "ad.butb.by, ad, ad2"
[2010/07/27 12:35:35, 5] libads/dns.c:817(sitename_fetch)
sitename_fetch: Returning sitename for BUTB.BY:
"Default-First-Site-Name"
[2010/07/27 12:35:35, 5] libsmb/namecache.c:212(namecache_fetch)
name ad.butb.by#20 found.
[2010/07/27 12:35:35, 9] libsmb/conncache.c:150(check_negative_conn_cache)
check_negative_conn_cache returning result 0 for domain BUTB.BY server
192.168.1.2
[2010/07/27 12:35:35, 5] libads/dns.c:817(sitename_fetch)
sitename_fetch: Returning sitename for BUTB.BY:
"Default-First-Site-Name"
[2010/07/27 12:35:35, 5] libsmb/namecache.c:212(namecache_fetch)
name ad#20 found.
[2010/07/27 12:35:35, 9] libsmb/conncache.c:150(check_negative_conn_cache)
check_negative_conn_cache returning result 0 for domain BUTB.BY server
192.168.1.2
[2010/07/27 12:35:35, 5] libads/dns.c:817(sitename_fetch)
sitename_fetch: Returning sitename for BUTB.BY:
"Default-First-Site-Name"
[2010/07/27 12:35:35, 5] libsmb/namecache.c:212(namecache_fetch)
name ad2#20 found.
[2010/07/27 12:35:35, 9] libsmb/conncache.c:150(check_negative_conn_cache)
check_negative_conn_cache returning result 0 for domain BUTB.BY server
192.168.1.5
[2010/07/27 12:35:35, 4] libsmb/namequery.c:2105(get_dc_list)
get_dc_list: returning 2 ip addresses in an ordered list
[2010/07/27 12:35:35, 4] libsmb/namequery.c:2106(get_dc_list)
get_dc_list: 192.168.1.2:389 192.168.1.5:389
[2010/07/27 12:35:35, 5] libsmb/namequery.c:185(saf_fetch)
saf_fetch[join]: Returning "ad.butb.by" for "BUTB.BY"
domain
[2010/07/27 12:35:35, 3] libsmb/namequery.c:1972(get_dc_list)
get_dc_list: preferred server list: "ad.butb.by, ad, ad2"
[2010/07/27 12:35:35, 5] libads/dns.c:817(sitename_fetch)
sitename_fetch: Returning sitename for BUTB.BY:
"Default-First-Site-Name"
[2010/07/27 12:35:35, 5] libsmb/namecache.c:212(namecache_fetch)
name ad.butb.by#20 found.
[2010/07/27 12:35:35, 9] libsmb/conncache.c:150(check_negative_conn_cache)
check_negative_conn_cache returning result 0 for domain BUTB.BY server
192.168.1.2
[2010/07/27 12:35:35, 5] libads/dns.c:817(sitename_fetch)
sitename_fetch: Returning sitename for BUTB.BY:
"Default-First-Site-Name"
[2010/07/27 12:35:35, 5] libsmb/namecache.c:212(namecache_fetch)
name ad#20 found.
[2010/07/27 12:35:35, 9] libsmb/conncache.c:150(check_negative_conn_cache)
check_negative_conn_cache returning result 0 for domain BUTB.BY server
192.168.1.2
[2010/07/27 12:35:35, 5] libads/dns.c:817(sitename_fetch)
sitename_fetch: Returning sitename for BUTB.BY:
"Default-First-Site-Name"
[2010/07/27 12:35:35, 5] libsmb/namecache.c:212(namecache_fetch)
name ad2#20 found.
[2010/07/27 12:35:35, 9] libsmb/conncache.c:150(check_negative_conn_cache)
check_negative_conn_cache returning result 0 for domain BUTB.BY server
192.168.1.5
[2010/07/27 12:35:35, 4] libsmb/namequery.c:2105(get_dc_list)
get_dc_list: returning 2 ip addresses in an ordered list
[2010/07/27 12:35:35, 4] libsmb/namequery.c:2106(get_dc_list)
get_dc_list: 192.168.1.2:389 192.168.1.5:389
[2010/07/27 12:35:35, 5]
libads/kerberos.c:921(create_local_private_krb5_conf_for_domain)
create_local_private_krb5_conf_for_domain: wrote file
/var/run/samba/smb_krb5/krb5.conf.BUTB with realm BUTB.BY KDC list =
kdc = 192.168.1.2
kdc = 192.168.1.5
kdc = 192.168.1.5
[2010/07/27 12:35:35, 4] libsmb/namequery_dc.c:143(ads_dc_name)
ads_dc_name: using server='AD.BUTB.BY' IP=192.168.1.2
[2010/07/27 12:35:35, 5] libads/ldap.c:203(ads_try_connect)
ads_try_connect: sending CLDAP request to AD.BUTB.BY (realm: BUTB.BY)
[2010/07/27 12:35:35, 3] libads/ldap.c:621(ads_connect)
Successfully contacted LDAP server 192.168.1.2
[2010/07/27 12:35:35, 3] libads/ldap.c:675(ads_connect)
Connected to LDAP server ad.butb.by
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 5] lib/charcnv.c:82(charset_name)
Substituting charset 'UTF-8' for LOCALE
[2010/07/27 12:35:35, 4] libads/ldap.c:2849(ads_current_time)
time offset is -1 seconds
[2010/07/27 12:35:35, 4] libads/sasl.c:1112(ads_sasl_bind)
Found SASL mechanism GSS-SPNEGO
[2010/07/27 12:35:35, 3] libads/sasl.c:780(ads_sasl_spnego_bind)
ads_sasl_spnego_bind: got OID=1.2.840.48018.1.2.2
[2010/07/27 12:35:35, 3] libads/sasl.c:780(ads_sasl_spnego_bind)
ads_sasl_spnego_bind: got OID=1.2.840.113554.1.2.2
[2010/07/27 12:35:35, 3] libads/sasl.c:780(ads_sasl_spnego_bind)
ads_sasl_spnego_bind: got OID=1.2.840.113554.1.2.2.3
[2010/07/27 12:35:35, 3] libads/sasl.c:780(ads_sasl_spnego_bind)
ads_sasl_spnego_bind: got OID=1.3.6.1.4.1.311.2.2.10
[2010/07/27 12:35:35, 3] libads/sasl.c:789(ads_sasl_spnego_bind)
ads_sasl_spnego_bind: got server principal name = ad$@BUTB.BY
[2010/07/27 12:35:35, 3] libsmb/clikrb5.c:687(ads_krb5_mk_req)
ads_krb5_mk_req: krb5_cc_get_principal failed (No credentials cache found)
[2010/07/27 12:35:35, 3] libsmb/clikrb5.c:620(ads_cleanup_expired_creds)
ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] expiration
???, 27 ??? 2010 22:35:34 EEST
[2010/07/27 12:35:35, 3] libsmb/clikrb5.c:729(ads_krb5_mk_req)
ads_krb5_mk_req: server marked as OK to delegate to, building
forwardable TGT
[2010/07/27 12:35:35, 2] lib/interface.c:340(add_interface)
added interface eth0 ip=fe80::219:d1ff:fe7d:1a96%eth0
bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
[2010/07/27 12:35:35, 2] lib/interface.c:340(add_interface)
added interface eth0 ip=172.16.0.178 bcast=172.16.1.255
netmask=255.255.254.0
[2010/07/27 12:35:35, 4] libads/dns.c:620(ads_dns_lookup_ns)
ads_dns_lookup_ns: 3 records returned in the answer section.
DNS update failed!
[2010/07/27 12:35:35, 2] utils/net.c:779(main)
return code = -1
cat /etc/samba/smb.conf
[global]
workgroup = BUTB
netbios name = %h
dos charset = cp866
unix charset = UTF8
server string = %h server (Samba, Linux)
dns proxy = no
name resolve order = lmhosts wins bcast host
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = ADS
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
password server = ad, ad2
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind uid = 10000-20000
winbind gid = 10000-20000
template shell = /bin/bash
template homedir = /home/%U
winbind separator = /
winbind offline logon = true
winbind cache time = 86400
passdb backend = tdbsam
realm = butb.by
winbind use default domain = yes
usershare allow guests = yes
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
Thanks in advance