anonymous@RULINUX.NET~# Last login: 2024-11-27 04:09:00
Регистрация Вход Новости | Разметка | Пользователи | Галерея | Форум | Статьи | Неподтвержденное | Трекер | Правила форума | F.A.Q. | Ссылки | Поиск
[#] [Добавить метку] [Редактировать]
Скрыть

[samba] DNS update failed!

при добавлении в домен с некоторых машин не обновляются днсы, хотя конфиги везде одинаковые. в чем может быть проблема?

    sudo net ads join -d 10 -U ADMIN
  1.  ...
  2.  Joined 'HOST' to realm 'DOMAIN'
  3.  [2010/07/19 11:09:15, 10] libads/kerberos.c:188(kerberos_kinit_password_ext)
  4.   kerberos_kinit_password: as HOST$@DOMAIN using [MEMORY:net_ads] as ccache and config [(null)]
  5.  [2010/07/19 11:09:15, 10] lib/util.c:2626(name_to_fqdn)
  6.   name_to_fqdn: lookup for HOST -> HOST.DOMAIN.
  7.  [2010/07/19 11:09:15, 2] lib/interface.c:340(add_interface)
  8.   added interface eth0 ip=xxxx::xxx:xxxx:xxxx:xxxx%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
  9.  [2010/07/19 11:09:15, 2] lib/interface.c:340(add_interface)
  10.   added interface eth0 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx
  11.  [2010/07/19 11:09:15, 4] libads/dns.c:620(ads_dns_lookup_ns)
  12.   ads_dns_lookup_ns: 3 records returned in the answer section.
  13.  DNS update failed!
  14.  [2010/07/19 11:09:15, 2] utils/net.c:779(main)
  15.   return code = 0

конфиг самбы:

    /etc/samba/smb.conf
  1.   workgroup = DOMAIN
  2.   netbios name = %h
  3.   dos charset = cp866
  4.   unix charset = UTF8
  5.   server string = %h server (Samba, Linux)
  6.   dns proxy = no
  7.   name resolve order = lmhosts wins bcast host
  8.   log file = /var/log/samba/log.%m
  9.   max log size = 1000
  10.   syslog = 0
  11.   panic action = /usr/share/samba/panic-action %d
  12.   security = ADS
  13.   encrypt passwords = true
  14.   passdb backend = tdbsam
  15.   obey pam restrictions = yes
  16.   unix password sync = yes
  17.   password server = AD
  18.   passwd program = /usr/bin/passwd %u
  19.   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  20.   pam password change = yes
  21.   map to guest = bad user
  22.   idmap uid = 10000-20000
  23.   idmap gid = 10000-20000
  24.   winbind uid = 10000-20000
  25.   winbind gid = 10000-20000
  26.   template shell = /bin/bash
  27.   template homedir = /home/%U
  28.   winbind separator = /
  29.   winbind offline logon = true
  30.   winbind cache time = 86400
  31.   passdb backend = tdbsam
  32.   realm = DOMAIN
  33.   winbind use default domain = yes
  34.   client use spnego = yes
  35.   client ntlmv2 auth = yes
  36.   encrypt passwords = yes
  37.   usershare allow guests = yes

anonymous(*) (2010-07-19 12:22:00)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9

[Ответить на это сообщение]
[#] [Добавить метку] [Редактировать] Ответ на: [samba] DNS update failed! от anonymous 2010-07-19 12:22:00
avatar
Скрыть

Re: [samba] DNS update failed!

[2010/07/19 11:09:15, 4] libads/dns.c:620(ads_dns_lookup_ns) ads_dns_lookup_ns: 3 records returned in the answer section. DNS update failed!

похоже такое имя ужо есть в днс

bugmaker(*)(2010-07-19 17:01:59)

Opera/9.62 (X11; Linux i686; U; en) Presto/2.1.1
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от bugmaker 2010-07-19 17:01:59
avatar
Скрыть

Re: [samba] DNS update failed!

>похоже такое имя ужо есть в днс
неа, нету. такое пишет везде, в том числе и там, где обновляется нормально.

  1.  $ nslookup HOST
  2.  ;; Got SERVFAIL reply from AD, trying next server
  3.  Server: AD2
  4.  Address: AD2#53
  5.  
  6.  ** server can't find HOST: SERVFAIL
  7.  
  8.  $ nslookup HOST.DOMAIN
  9.  Server: AD
  10.  Address: AD#53
  11.  
  12.  ** server can't find HOST.DOMAIN: NXDOMAIN
  13.  
  14.  $ nslookup xxx.xxx.xxx.xxx
  15.  Server: AD
  16.  Address: AD#53
  17.  
  18.  ** server can't find xxx.xxx.xxx.xxx.in-addr.arpa.: NXDOMAIN

anonymous(*)(2010-07-19 17:46:00)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-19 17:46:00
avatar
Скрыть

Re: [samba] DNS update failed!

не это?

 https://www.lor-ng.org/message.php?newsid=6952

bugmaker(*)(2010-07-19 18:02:01)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100407 Ubuntu/9.04 (jaunty) Shiretoko/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от bugmaker 2010-07-19 18:02:01
avatar
Скрыть

Re: [samba] DNS update failed!

>не это?
не, не это, но подозреваю, что нечто похожее:)

anonymous(*)(2010-07-19 18:06:08)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-19 18:06:08
avatar
Скрыть

Re: [samba] DNS update failed!

Вот чё пишут

 http://www.pubbs.net/200906/samba/45706-samba-dns-problems-on-net-ads-join.html

This is a problem with the client identity. Please edit /etc/hostname with the short name, also edit /etc/hosts with the fully qualified domain name of the machine.

bugmaker(*)(2010-07-19 18:07:43)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100407 Ubuntu/9.04 (jaunty) Shiretoko/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от bugmaker 2010-07-19 18:07:43
avatar
Скрыть

Re: [samba] DNS update failed!

>Please edit /etc/hostname with the short name, also edit /etc/hosts with the fully qualified domain name of the machine.
не, тоже не оно.

anonymous(*)(2010-07-19 19:09:18)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-19 17:46:00
avatar
Скрыть

Re: [samba] DNS update failed!

может эти логи что-то скажут?

\code{sudo net ads dns register -d 9 -U ADMIN [2010/07/20 11:52:21, 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/20 11:52:21, 3] param/loadparm.c:9039(lp_load_ex) lp_load_ex: refreshing parameters [2010/07/20 11:52:21, 3] param/loadparm.c:4848(init_globals) Initialising global parameters [2010/07/20 11:52:21, 2] param/loadparm.c:4707(max_open_files) rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) [2010/07/20 11:52:21, 3] ../lib/util/params.c:550(pm_process) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" [2010/07/20 11:52:21, 3] param/loadparm.c:7726(do_section) Processing section "[global]" doing parameter workgroup = DOMAIN doing parameter netbios name = %h [2010/07/20 11:52:21, 4] param/loadparm.c:7088(handle_netbios_name) handle_netbios_name: set global_myname to: HOST doing parameter dos charset = cp866 [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UCS-2LE [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UCS-2LE [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UTF-16LE [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UTF-16LE [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UCS-2BE [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UCS-2BE [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UTF-16BE [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UTF-16BE [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UTF8 [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UTF8 [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UTF-8 [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UTF-8 [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset ASCII [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset ASCII [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset 646 [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset 646 [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset ISO-8859-1 [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset ISO-8859-1 [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UCS2-HEX [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UCS2-HEX [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE doing parameter unix charset = UTF8 [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 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 = DOMAIN doing parameter winbind use default domain = yes doing parameter usershare allow guests = yes [2010/07/20 11:52:21, 4] param/loadparm.c:9074(lp_load_ex) pm_process() returned Yes [2010/07/20 11:52:21, 7] param/loadparm.c:9279(lp_servicenumber) lp_servicenumber: couldn't find homes [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/util.c:266(init_names) Netbios name list:- my_netbios_names[0]="HOST" [2010/07/20 11:52:21, 2] lib/interface.c:340(add_interface) added interface eth0 ip=xxxx::xxx:xxxx:xxxx:xxxx%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff:: [2010/07/20 11:52:21, 2] lib/interface.c:340(add_interface) added interface eth0 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx Enter ADMIN's password: [2010/07/20 11:52:35, 6] libads/ldap.c:346(ads_find_dc) ads_find_dc: (ldap) looking for realm 'DOMAIN' [2010/07/20 11:52:35, 5] lib/gencache.c:61(gencache_init) Opening cache file at /var/run/samba/gencache.tdb [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 4] libsmb/namequery_dc.c:73(ads_dc_name) ads_dc_name: domain=DOMAIN [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 6] libads/ldap.c:366(ads_find_dc) ads_find_dc: (cldap) looking for realm 'DOMAIN' [2010/07/20 11:52:35, 8] libsmb/namequery.c:2156(get_sorted_dc_list) get_sorted_dc_list: attempting lookup for name DOMAIN (sitename Default-First-Site-Name) using [ads] [2010/07/20 11:52:35, 5] libsmb/namequery.c:185(saf_fetch) saf_fetch[join]: Returning "AD.DOMAIN" for "DOMAIN" domain [2010/07/20 11:52:35, 3] libsmb/namequery.c:1972(get_dc_list) get_dc_list: preferred server list: "AD.DOMAIN, AD, AD2" [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD.DOMAIN#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD2#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 4] libsmb/namequery.c:2105(get_dc_list) get_dc_list: returning 2 ip addresses in an ordered list [2010/07/20 11:52:35, 4] libsmb/namequery.c:2106(get_dc_list) get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389 [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/ldap.c:203(ads_try_connect) ads_try_connect: sending CLDAP request to xxx.xxx.xxx.xxx (realm: DOMAIN) [2010/07/20 11:52:35, 3] libads/ldap.c:621(ads_connect) Successfully contacted LDAP server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namequery.c:185(saf_fetch) saf_fetch[join]: Returning "AD.DOMAIN" for "DOMAIN" domain [2010/07/20 11:52:35, 3] libsmb/namequery.c:1972(get_dc_list) get_dc_list: preferred server list: "AD.DOMAIN, AD, AD2" [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD.DOMAIN#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD2#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 4] libsmb/namequery.c:2105(get_dc_list) get_dc_list: returning 2 ip addresses in an ordered list [2010/07/20 11:52:35, 4] libsmb/namequery.c:2106(get_dc_list) get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389 [2010/07/20 11:52:35, 5] libsmb/namequery.c:185(saf_fetch) saf_fetch[join]: Returning "AD.DOMAIN" for "DOMAIN" domain [2010/07/20 11:52:35, 3] libsmb/namequery.c:1972(get_dc_list) get_dc_list: preferred server list: "AD.DOMAIN, AD, AD2" [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD.DOMAIN#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD2#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 4] libsmb/namequery.c:2105(get_dc_list) get_dc_list: returning 2 ip addresses in an ordered list [2010/07/20 11:52:35, 4] libsmb/namequery.c:2106(get_dc_list) get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389 [2010/07/20 11:52: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.DOMAIN with realm DOMAIN KDC list = kdc = xxx.xxx.xxx.xxx kdc = xxx.xxx.xxx.xxx kdc = xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 4] libsmb/namequery_dc.c:143(ads_dc_name) ads_dc_name: using server='AD.DOMAIN' IP=xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/ldap.c:203(ads_try_connect) ads_try_connect: sending CLDAP request to AD.DOMAIN (realm: DOMAIN) [2010/07/20 11:52:35, 3] libads/ldap.c:621(ads_connect) Successfully contacted LDAP server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 3] libads/ldap.c:675(ads_connect) Connected to LDAP server AD.DOMAIN [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 4] libads/ldap.c:2849(ads_current_time) time offset is 1 seconds [2010/07/20 11:52:35, 4] libads/sasl.c:1112(ads_sasl_bind) Found SASL mechanism GSS-SPNEGO [2010/07/20 11:52: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/20 11:52: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/20 11:52: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/20 11:52: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/20 11:52:35, 3] libads/sasl.c:789(ads_sasl_spnego_bind) ads_sasl_spnego_bind: got server principal name = AD$@DOMAIN [2010/07/20 11:52: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/20 11:52:35, 4] libsmb/clikrb5.c:704(ads_krb5_mk_req) ads_krb5_mk_req: Advancing clock by 1 seconds to cope with clock skew [2010/07/20 11:52:35, 3] libsmb/clikrb5.c:620(ads_cleanup_expired_creds) ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] expiration Втр, 20 Июл 2010 21:52:36 EEST [2010/07/20 11:52: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/20 11:52:35, 2] lib/interface.c:340(add_interface) added interface eth0 ip=xxxx::xxx:xxxx:xxxx:xxxx%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff:: [2010/07/20 11:52:35, 2] lib/interface.c:340(add_interface) added interface eth0 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx [2010/07/20 11:52: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/20 11:52:35, 2] utils/net.c:779(main) return code = -1}

anonymous(*)(2010-07-20 13:13:17)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-20 13:13:17
avatar
Скрыть

Re: [samba] DNS update failed!

может эти логи что-то скажут?

\code{ sudo net ads dns register -d 9 -U ADMIN [2010/07/20 11:52:21, 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/20 11:52:21, 3] param/loadparm.c:9039(lp_load_ex) lp_load_ex: refreshing parameters [2010/07/20 11:52:21, 3] param/loadparm.c:4848(init_globals) Initialising global parameters [2010/07/20 11:52:21, 2] param/loadparm.c:4707(max_open_files) rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) [2010/07/20 11:52:21, 3] ../lib/util/params.c:550(pm_process) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" [2010/07/20 11:52:21, 3] param/loadparm.c:7726(do_section) Processing section "[global]" doing parameter workgroup = DOMAIN doing parameter netbios name = %h [2010/07/20 11:52:21, 4] param/loadparm.c:7088(handle_netbios_name) handle_netbios_name: set global_myname to: HOST doing parameter dos charset = cp866 [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UCS-2LE [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UCS-2LE [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UTF-16LE [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UTF-16LE [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UCS-2BE [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UCS-2BE [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UTF-16BE [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UTF-16BE [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UTF8 [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UTF8 [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UTF-8 [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UTF-8 [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset ASCII [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset ASCII [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset 646 [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset 646 [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset ISO-8859-1 [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset ISO-8859-1 [2010/07/20 11:52:21, 5] lib/iconv.c:104(smb_register_charset) Attempting to register new charset UCS2-HEX [2010/07/20 11:52:21, 5] lib/iconv.c:112(smb_register_charset) Registered charset UCS2-HEX [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE doing parameter unix charset = UTF8 [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 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 = DOMAIN doing parameter winbind use default domain = yes doing parameter usershare allow guests = yes [2010/07/20 11:52:21, 4] param/loadparm.c:9074(lp_load_ex) pm_process() returned Yes [2010/07/20 11:52:21, 7] param/loadparm.c:9279(lp_servicenumber) lp_servicenumber: couldn't find homes [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:21, 5] lib/util.c:266(init_names) Netbios name list:- my_netbios_names[0]="HOST" [2010/07/20 11:52:21, 2] lib/interface.c:340(add_interface) added interface eth0 ip=xxxx::xxx:xxxx:xxxx:xxxx%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff:: [2010/07/20 11:52:21, 2] lib/interface.c:340(add_interface) added interface eth0 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx Enter ADMIN's password: [2010/07/20 11:52:35, 6] libads/ldap.c:346(ads_find_dc) ads_find_dc: (ldap) looking for realm 'DOMAIN' [2010/07/20 11:52:35, 5] lib/gencache.c:61(gencache_init) Opening cache file at /var/run/samba/gencache.tdb [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 4] libsmb/namequery_dc.c:73(ads_dc_name) ads_dc_name: domain=DOMAIN [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 6] libads/ldap.c:366(ads_find_dc) ads_find_dc: (cldap) looking for realm 'DOMAIN' [2010/07/20 11:52:35, 8] libsmb/namequery.c:2156(get_sorted_dc_list) get_sorted_dc_list: attempting lookup for name DOMAIN (sitename Default-First-Site-Name) using [ads] [2010/07/20 11:52:35, 5] libsmb/namequery.c:185(saf_fetch) saf_fetch[join]: Returning "AD.DOMAIN" for "DOMAIN" domain [2010/07/20 11:52:35, 3] libsmb/namequery.c:1972(get_dc_list) get_dc_list: preferred server list: "AD.DOMAIN, AD, AD2" [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD.DOMAIN#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD2#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 4] libsmb/namequery.c:2105(get_dc_list) get_dc_list: returning 2 ip addresses in an ordered list [2010/07/20 11:52:35, 4] libsmb/namequery.c:2106(get_dc_list) get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389 [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/ldap.c:203(ads_try_connect) ads_try_connect: sending CLDAP request to xxx.xxx.xxx.xxx (realm: DOMAIN) [2010/07/20 11:52:35, 3] libads/ldap.c:621(ads_connect) Successfully contacted LDAP server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namequery.c:185(saf_fetch) saf_fetch[join]: Returning "AD.DOMAIN" for "DOMAIN" domain [2010/07/20 11:52:35, 3] libsmb/namequery.c:1972(get_dc_list) get_dc_list: preferred server list: "AD.DOMAIN, AD, AD2" [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD.DOMAIN#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD2#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 4] libsmb/namequery.c:2105(get_dc_list) get_dc_list: returning 2 ip addresses in an ordered list [2010/07/20 11:52:35, 4] libsmb/namequery.c:2106(get_dc_list) get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389 [2010/07/20 11:52:35, 5] libsmb/namequery.c:185(saf_fetch) saf_fetch[join]: Returning "AD.DOMAIN" for "DOMAIN" domain [2010/07/20 11:52:35, 3] libsmb/namequery.c:1972(get_dc_list) get_dc_list: preferred server list: "AD.DOMAIN, AD, AD2" [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD.DOMAIN#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/dns.c:817(sitename_fetch) sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" [2010/07/20 11:52:35, 5] libsmb/namecache.c:212(namecache_fetch) name AD2#20 found. [2010/07/20 11:52:35, 9] libsmb/conncache.c:150(check_negative_conn_cache) check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 4] libsmb/namequery.c:2105(get_dc_list) get_dc_list: returning 2 ip addresses in an ordered list [2010/07/20 11:52:35, 4] libsmb/namequery.c:2106(get_dc_list) get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389 [2010/07/20 11:52: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.DOMAIN with realm DOMAIN KDC list = kdc = xxx.xxx.xxx.xxx kdc = xxx.xxx.xxx.xxx kdc = xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 4] libsmb/namequery_dc.c:143(ads_dc_name) ads_dc_name: using server='AD.DOMAIN' IP=xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 5] libads/ldap.c:203(ads_try_connect) ads_try_connect: sending CLDAP request to AD.DOMAIN (realm: DOMAIN) [2010/07/20 11:52:35, 3] libads/ldap.c:621(ads_connect) Successfully contacted LDAP server xxx.xxx.xxx.xxx [2010/07/20 11:52:35, 3] libads/ldap.c:675(ads_connect) Connected to LDAP server AD.DOMAIN [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 5] lib/charcnv.c:82(charset_name) Substituting charset 'UTF-8' for LOCALE [2010/07/20 11:52:35, 4] libads/ldap.c:2849(ads_current_time) time offset is 1 seconds [2010/07/20 11:52:35, 4] libads/sasl.c:1112(ads_sasl_bind) Found SASL mechanism GSS-SPNEGO [2010/07/20 11:52: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/20 11:52: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/20 11:52: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/20 11:52: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/20 11:52:35, 3] libads/sasl.c:789(ads_sasl_spnego_bind) ads_sasl_spnego_bind: got server principal name = AD$@DOMAIN [2010/07/20 11:52: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/20 11:52:35, 4] libsmb/clikrb5.c:704(ads_krb5_mk_req) ads_krb5_mk_req: Advancing clock by 1 seconds to cope with clock skew [2010/07/20 11:52:35, 3] libsmb/clikrb5.c:620(ads_cleanup_expired_creds) ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] expiration Втр, 20 Июл 2010 21:52:36 EEST [2010/07/20 11:52: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/20 11:52:35, 2] lib/interface.c:340(add_interface) added interface eth0 ip=xxxx::xxx:xxxx:xxxx:xxxx%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff:: [2010/07/20 11:52:35, 2] lib/interface.c:340(add_interface) added interface eth0 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx [2010/07/20 11:52: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/20 11:52:35, 2] utils/net.c:779(main) return code = -1 }

anonymous(*)(2010-07-20 13:15:19)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-20 13:15:19
avatar
Скрыть

Re: [samba] DNS update failed!

блядь, ну че за хрень опять?

может эти логи что-то скажут?

bash
 sudo net ads dns register -d 9 -U ADMIN
[2010/07/20 11:52:21,  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/20 11:52:21,  3] param/loadparm.c:9039(lp_load_ex)
  lp_load_ex: refreshing parameters
[2010/07/20 11:52:21,  3] param/loadparm.c:4848(init_globals)
  Initialising global parameters
[2010/07/20 11:52:21,  2] param/loadparm.c:4707(max_open_files)
  rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
[2010/07/20 11:52:21,  3] ../lib/util/params.c:550(pm_process)
  params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2010/07/20 11:52:21,  3] param/loadparm.c:7726(do_section)
  Processing section "[global]"
  doing parameter workgroup = DOMAIN
  doing parameter netbios name = %h
[2010/07/20 11:52:21,  4] param/loadparm.c:7088(handle_netbios_name)
  handle_netbios_name: set global_myname to: HOST
  doing parameter dos charset = cp866
[2010/07/20 11:52:21,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UCS-2LE
[2010/07/20 11:52:21,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UCS-2LE
[2010/07/20 11:52:21,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UTF-16LE
[2010/07/20 11:52:21,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UTF-16LE
[2010/07/20 11:52:21,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UCS-2BE
[2010/07/20 11:52:21,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UCS-2BE
[2010/07/20 11:52:21,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UTF-16BE
[2010/07/20 11:52:21,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UTF-16BE
[2010/07/20 11:52:21,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UTF8
[2010/07/20 11:52:21,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UTF8
[2010/07/20 11:52:21,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UTF-8
[2010/07/20 11:52:21,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UTF-8
[2010/07/20 11:52:21,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset ASCII
[2010/07/20 11:52:21,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset ASCII
[2010/07/20 11:52:21,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset 646
[2010/07/20 11:52:21,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset 646
[2010/07/20 11:52:21,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset ISO-8859-1
[2010/07/20 11:52:21,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset ISO-8859-1
[2010/07/20 11:52:21,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UCS2-HEX
[2010/07/20 11:52:21,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UCS2-HEX
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
  doing parameter unix charset = UTF8
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:21,  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 = DOMAIN
  doing parameter winbind use default domain = yes
  doing parameter usershare allow guests = yes
[2010/07/20 11:52:21,  4] param/loadparm.c:9074(lp_load_ex)
  pm_process() returned Yes
[2010/07/20 11:52:21,  7] param/loadparm.c:9279(lp_servicenumber)
  lp_servicenumber: couldn't find homes
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 11:52:21,  5] lib/util.c:266(init_names)
  Netbios name list:-
  my_netbios_names[0]="HOST"
[2010/07/20 11:52:21,  2] lib/interface.c:340(add_interface)
  added interface eth0 ip=xxxx::xxx:xxxx:xxxx:xxxx%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
[2010/07/20 11:52:21,  2] lib/interface.c:340(add_interface)
  added interface eth0 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx
Enter ADMIN'
s password:
[2010/07/20 11:52:35,  6] libads/ldap.c:346(ads_find_dc)
  ads_find_dc: (ldap) looking for realm 'DOMAIN'
[2010/07/20 11:52:35,  5] lib/gencache.c:61(gencache_init)
  Opening cache file at /var/run/samba/gencache.tdb
[2010/07/20 11:52:35,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 11:52:35,  4] libsmb/namequery_dc.c:73(ads_dc_name)
  ads_dc_name: domain=DOMAIN
[2010/07/20 11:52:35,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 11:52:35,  6] libads/ldap.c:366(ads_find_dc)
  ads_find_dc: (cldap) looking for realm 'DOMAIN'
[2010/07/20 11:52:35,  8] libsmb/namequery.c:2156(get_sorted_dc_list)
  get_sorted_dc_list: attempting lookup for name DOMAIN (sitename Default-First-Site-Name) using [ads]
[2010/07/20 11:52:35,  5] libsmb/namequery.c:185(saf_fetch)
  saf_fetch[join]: Returning "AD.DOMAIN" for "DOMAIN" domain
[2010/07/20 11:52:35,  3] libsmb/namequery.c:1972(get_dc_list)
  get_dc_list: preferred server list: "AD.DOMAIN, AD, AD2"
[2010/07/20 11:52:35,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 11:52:35,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD.DOMAIN#20 found.
[2010/07/20 11:52:35,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 11:52:35,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD#20 found.
[2010/07/20 11:52:35,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 11:52:35,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD2#20 found.
[2010/07/20 11:52:35,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  4] libsmb/namequery.c:2105(get_dc_list)
  get_dc_list: returning 2 ip addresses in an ordered list
[2010/07/20 11:52:35,  4] libsmb/namequery.c:2106(get_dc_list)
  get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389
[2010/07/20 11:52:35,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  5] libads/ldap.c:203(ads_try_connect)
  ads_try_connect: sending CLDAP request to xxx.xxx.xxx.xxx (realm: DOMAIN)
[2010/07/20 11:52:35,  3] libads/ldap.c:621(ads_connect)
  Successfully contacted LDAP server xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 11:52:35,  5] libsmb/namequery.c:185(saf_fetch)
  saf_fetch[join]: Returning "AD.DOMAIN" for "DOMAIN" domain
[2010/07/20 11:52:35,  3] libsmb/namequery.c:1972(get_dc_list)
  get_dc_list: preferred server list: "AD.DOMAIN, AD, AD2"
[2010/07/20 11:52:35,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 11:52:35,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD.DOMAIN#20 found.
[2010/07/20 11:52:35,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 11:52:35,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD#20 found.
[2010/07/20 11:52:35,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 11:52:35,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD2#20 found.
[2010/07/20 11:52:35,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  4] libsmb/namequery.c:2105(get_dc_list)
  get_dc_list: returning 2 ip addresses in an ordered list
[2010/07/20 11:52:35,  4] libsmb/namequery.c:2106(get_dc_list)
  get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389
[2010/07/20 11:52:35,  5] libsmb/namequery.c:185(saf_fetch)
  saf_fetch[join]: Returning "AD.DOMAIN" for "DOMAIN" domain
[2010/07/20 11:52:35,  3] libsmb/namequery.c:1972(get_dc_list)
  get_dc_list: preferred server list: "AD.DOMAIN, AD, AD2"
[2010/07/20 11:52:35,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 11:52:35,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD.DOMAIN#20 found.
[2010/07/20 11:52:35,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 11:52:35,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD#20 found.
[2010/07/20 11:52:35,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 11:52:35,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD2#20 found.
[2010/07/20 11:52:35,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  4] libsmb/namequery.c:2105(get_dc_list)
  get_dc_list: returning 2 ip addresses in an ordered list
[2010/07/20 11:52:35,  4] libsmb/namequery.c:2106(get_dc_list)
  get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389
[2010/07/20 11:52: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.DOMAIN with realm DOMAIN KDC list =   kdc = xxx.xxx.xxx.xxx
        kdc = xxx.xxx.xxx.xxx
        kdc = xxx.xxx.xxx.xxx
 
[2010/07/20 11:52:35,  4] libsmb/namequery_dc.c:143(ads_dc_name)
  ads_dc_name: using server='AD.DOMAIN' IP=xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  5] libads/ldap.c:203(ads_try_connect)
  ads_try_connect: sending CLDAP request to AD.DOMAIN (realm: DOMAIN)
[2010/07/20 11:52:35,  3] libads/ldap.c:621(ads_connect)
  Successfully contacted LDAP server xxx.xxx.xxx.xxx
[2010/07/20 11:52:35,  3] libads/ldap.c:675(ads_connect)
  Connected to LDAP server AD.DOMAIN
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 11:52:35,  4] libads/ldap.c:2849(ads_current_time)
  time offset is 1 seconds
[2010/07/20 11:52:35,  4] libads/sasl.c:1112(ads_sasl_bind)
  Found SASL mechanism GSS-SPNEGO
[2010/07/20 11:52: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/20 11:52: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/20 11:52: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/20 11:52: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/20 11:52:35,  3] libads/sasl.c:789(ads_sasl_spnego_bind)
  ads_sasl_spnego_bind: got server principal name = AD$@DOMAIN
[2010/07/20 11:52: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/20 11:52:35,  4] libsmb/clikrb5.c:704(ads_krb5_mk_req)
  ads_krb5_mk_req: Advancing clock by 1 seconds to cope with clock skew
[2010/07/20 11:52:35,  3] libsmb/clikrb5.c:620(ads_cleanup_expired_creds)
  ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] expiration Втр, 20 Июл 2010 21:52:36 EEST
[2010/07/20 11:52: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/20 11:52:35,  2] lib/interface.c:340(add_interface)
  added interface eth0 ip=xxxx::xxx:xxxx:xxxx:xxxx%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
[2010/07/20 11:52:35,  2] lib/interface.c:340(add_interface)
  added interface eth0 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx
[2010/07/20 11:52: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/20 11:52:35,  2] utils/net.c:779(main)
  return code = -1
 

anonymous(*)(2010-07-20 13:17:05)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-20 13:17:05
avatar
Скрыть

Re: [samba] DNS update failed!

Пока всё ещё непонятно. Попробуй получить такой же лог с компа, где всё нормально, и сравнить с этим diff'ом. Посмотри лог сервера тоже, там должно быть указано почему от не обновляет. Вопрос, все одни и те же компы стабильно либо подключаются либо нет, или это когда как?

bugmaker(*)(2010-07-20 17:35:45)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100407 Ubuntu/9.04 (jaunty) Shiretoko/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от bugmaker 2010-07-20 17:35:45
avatar
Скрыть

Re: [samba] DNS update failed!

лог с компа с которого все нормально(правда на нем другая версия самбы, но компа с такой же версией сейчас под рукой нет):

bash
sudo net ads dns register -d 9 -U ADMIN
[2010/07/20 17:31:50,  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/20 17:31:50,  3] param/loadparm.c:9031(lp_load_ex)
  lp_load_ex: refreshing parameters
[2010/07/20 17:31:50,  3] param/loadparm.c:4840(init_globals)
  Initialising global parameters
[2010/07/20 17:31:50,  2] param/loadparm.c:4699(max_open_files)
  rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
[2010/07/20 17:31:50,  3] ../lib/util/params.c:550(pm_process)
  params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2010/07/20 17:31:50,  3] param/loadparm.c:7718(do_section)
  Processing section "[global]"
  doing parameter workgroup = DOMAIN
  doing parameter netbios name = %h
[2010/07/20 17:31:50,  4] param/loadparm.c:7080(handle_netbios_name)
  handle_netbios_name: set global_myname to: HOST
  doing parameter dos charset = cp866
[2010/07/20 17:31:50,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UCS-2LE
[2010/07/20 17:31:50,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UCS-2LE
[2010/07/20 17:31:50,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UTF-16LE
[2010/07/20 17:31:50,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UTF-16LE
[2010/07/20 17:31:50,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UCS-2BE
[2010/07/20 17:31:50,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UCS-2BE
[2010/07/20 17:31:50,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UTF-16BE
[2010/07/20 17:31:50,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UTF-16BE
[2010/07/20 17:31:50,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UTF8
[2010/07/20 17:31:50,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UTF8
[2010/07/20 17:31:50,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UTF-8
[2010/07/20 17:31:50,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UTF-8
[2010/07/20 17:31:50,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset ASCII
[2010/07/20 17:31:50,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset ASCII
[2010/07/20 17:31:50,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset 646
[2010/07/20 17:31:50,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset 646
[2010/07/20 17:31:50,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset ISO-8859-1
[2010/07/20 17:31:50,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset ISO-8859-1
[2010/07/20 17:31:50,  5] lib/iconv.c:104(smb_register_charset)
  Attempting to register new charset UCS2-HEX
[2010/07/20 17:31:50,  5] lib/iconv.c:112(smb_register_charset)
  Registered charset UCS2-HEX
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
  doing parameter unix charset = UTF8
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:50,  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 = DOMAIN
  doing parameter winbind use default domain = yes
  doing parameter usershare allow guests = yes
[2010/07/20 17:31:50,  4] param/loadparm.c:9066(lp_load_ex)
  pm_process() returned Yes
[2010/07/20 17:31:50,  7] param/loadparm.c:9271(lp_servicenumber)
  lp_servicenumber: couldn't find homes
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/charcnv.c:82(charset_name)
  Substituting charset '
UTF-8' for LOCALE
[2010/07/20 17:31:50,  5] lib/util.c:266(init_names)
  Netbios name list:-
  my_netbios_names[0]="HOST"
[2010/07/20 17:31:50,  2] lib/interface.c:340(add_interface)
  added interface eth0 ip=xxxx::xxx:xxxx:xxxx:xxxx%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
[2010/07/20 17:31:50,  2] lib/interface.c:340(add_interface)
  added interface vmnet8 ip=xxxx::xxx:xxxx:xxxx:8%vmnet8 bcast=fe80::ffff:ffff:ffff:ffff%vmnet8 netmask=ffff:ffff:ffff:ffff::
[2010/07/20 17:31:50,  2] lib/interface.c:340(add_interface)
  added interface eth0 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx
[2010/07/20 17:31:50,  2] lib/interface.c:340(add_interface)
  added interface vmnet8 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx
Enter ADMIN'
s password:
[2010/07/20 17:31:53,  6] libads/ldap.c:346(ads_find_dc)
  ads_find_dc: (ldap) looking for realm 'DOMAIN'
[2010/07/20 17:31:53,  5] lib/gencache.c:61(gencache_init)
  Opening cache file at /var/run/samba/gencache.tdb
[2010/07/20 17:31:53,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 17:31:53,  4] libsmb/namequery_dc.c:73(ads_dc_name)
  ads_dc_name: domain=DOMAIN
[2010/07/20 17:31:53,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 17:31:53,  6] libads/ldap.c:366(ads_find_dc)
  ads_find_dc: (cldap) looking for realm 'DOMAIN'
[2010/07/20 17:31:53,  8] libsmb/namequery.c:2155(get_sorted_dc_list)
  get_sorted_dc_list: attempting lookup for name DOMAIN (sitename Default-First-Site-Name) using [ads]
[2010/07/20 17:31:53,  5] libsmb/namequery.c:200(saf_fetch)
  saf_fetch: Returning "AD.DOMAIN" for "DOMAIN" domain
[2010/07/20 17:31:53,  3] libsmb/namequery.c:1971(get_dc_list)
  get_dc_list: preferred server list: "AD.DOMAIN, AD, AD2"
[2010/07/20 17:31:53,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 17:31:53,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD.DOMAIN#20 found.
[2010/07/20 17:31:53,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 17:31:53,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD#20 found.
[2010/07/20 17:31:53,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 17:31:53,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD2#20 found.
[2010/07/20 17:31:53,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  4] libsmb/namequery.c:2104(get_dc_list)
  get_dc_list: returning 2 ip addresses in an ordered list
[2010/07/20 17:31:53,  4] libsmb/namequery.c:2105(get_dc_list)
  get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389
[2010/07/20 17:31:53,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  5] libads/ldap.c:203(ads_try_connect)
  ads_try_connect: sending CLDAP request to xxx.xxx.xxx.xxx (realm: DOMAIN)
[2010/07/20 17:31:53,  3] libads/ldap.c:621(ads_connect)
  Successfully contacted LDAP server xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 17:31:53,  5] libsmb/namequery.c:200(saf_fetch)
  saf_fetch: Returning "AD.DOMAIN" for "DOMAIN" domain
[2010/07/20 17:31:53,  3] libsmb/namequery.c:1971(get_dc_list)
  get_dc_list: preferred server list: "AD.DOMAIN, AD, AD2"
[2010/07/20 17:31:53,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 17:31:53,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD.DOMAIN#20 found.
[2010/07/20 17:31:53,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 17:31:53,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD#20 found.
[2010/07/20 17:31:53,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 17:31:53,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD2#20 found.
[2010/07/20 17:31:53,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  4] libsmb/namequery.c:2104(get_dc_list)
  get_dc_list: returning 2 ip addresses in an ordered list
[2010/07/20 17:31:53,  4] libsmb/namequery.c:2105(get_dc_list)
  get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389
[2010/07/20 17:31:53,  5] libsmb/namequery.c:200(saf_fetch)
  saf_fetch: Returning "AD.DOMAIN" for "DOMAIN" domain
[2010/07/20 17:31:53,  3] libsmb/namequery.c:1971(get_dc_list)
  get_dc_list: preferred server list: "AD.DOMAIN, AD, AD2"
[2010/07/20 17:31:53,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 17:31:53,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD.DOMAIN#20 found.
[2010/07/20 17:31:53,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 17:31:53,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD#20 found.
[2010/07/20 17:31:53,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  5] libads/dns.c:817(sitename_fetch)
  sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name"
[2010/07/20 17:31:53,  5] libsmb/namecache.c:212(namecache_fetch)
  name AD2#20 found.
[2010/07/20 17:31:53,  9] libsmb/conncache.c:150(check_negative_conn_cache)
  check_negative_conn_cache returning result 0 for domain DOMAIN server xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  4] libsmb/namequery.c:2104(get_dc_list)
  get_dc_list: returning 2 ip addresses in an ordered list
[2010/07/20 17:31:53,  4] libsmb/namequery.c:2105(get_dc_list)
  get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389
[2010/07/20 17:31:53,  5] libads/kerberos.c:920(create_local_private_krb5_conf_for_domain)
  create_local_private_krb5_conf_for_domain: wrote file /var/run/samba/smb_krb5/krb5.conf.DOMAIN with realm DOMAIN KDC list =   kdc = xxx.xxx.xxx.xxx
        kdc = xxx.xxx.xxx.xxx
        kdc = xxx.xxx.xxx.xxx
 
[2010/07/20 17:31:53,  4] libsmb/namequery_dc.c:143(ads_dc_name)
  ads_dc_name: using server='AD.DOMAIN' IP=xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  5] libads/ldap.c:203(ads_try_connect)
  ads_try_connect: sending CLDAP request to AD.DOMAIN (realm: DOMAIN)
[2010/07/20 17:31:53,  3] libads/ldap.c:621(ads_connect)
  Successfully contacted LDAP server xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  3] libads/ldap.c:675(ads_connect)
  Connected to LDAP server AD.DOMAIN
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  5] lib/charcnv.c:82(charset_name)
  Substituting charset 'UTF-8' for LOCALE
[2010/07/20 17:31:53,  4] libads/ldap.c:2849(ads_current_time)
  time offset is -371 seconds
[2010/07/20 17:31:53,  4] libads/sasl.c:1112(ads_sasl_bind)
  Found SASL mechanism GSS-SPNEGO
[2010/07/20 17:31:53,  3] libads/sasl.c:780(ads_sasl_spnego_bind)
  ads_sasl_spnego_bind: got OID=1.2.840.48018.1.2.2
[2010/07/20 17:31:53,  3] libads/sasl.c:780(ads_sasl_spnego_bind)
  ads_sasl_spnego_bind: got OID=1.2.840.113554.1.2.2
[2010/07/20 17:31:53,  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/20 17:31:53,  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/20 17:31:53,  3] libads/sasl.c:789(ads_sasl_spnego_bind)
  ads_sasl_spnego_bind: got server principal name = AD$@DOMAIN
[2010/07/20 17:31:53,  3] libsmb/clikrb5.c:688(ads_krb5_mk_req)
  ads_krb5_mk_req: krb5_cc_get_principal failed (No credentials cache found)
[2010/07/20 17:31:53,  3] libsmb/clikrb5.c:621(ads_cleanup_expired_creds)
  ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] expiration Wed, 21 Jul 2010 03:25:42 EEST
[2010/07/20 17:31:53,  3] libsmb/clikrb5.c:730(ads_krb5_mk_req)
  ads_krb5_mk_req: server marked as OK to delegate to, building forwardable TGT
[2010/07/20 17:31:53,  2] lib/interface.c:340(add_interface)
  added interface eth0 ip=xxxx::xxx:xxxx:xxxx:xxxx%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
[2010/07/20 17:31:53,  2] lib/interface.c:340(add_interface)
  added interface vmnet8 ip=xxxx::xxx:xxxx:xxxx:x%vmnet8 bcast=fe80::ffff:ffff:ffff:ffff%vmnet8 netmask=ffff:ffff:ffff:ffff::
[2010/07/20 17:31:53,  2] lib/interface.c:340(add_interface)
  added interface eth0 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  2] lib/interface.c:340(add_interface)
  added interface vmnet8 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx
[2010/07/20 17:31:53,  4] libads/dns.c:620(ads_dns_lookup_ns)
  ads_dns_lookup_ns: 3 records returned in the answer section.
Successfully registered hostname with DNS
[2010/07/20 17:31:53,  2] utils/net.c:779(main)
  return code = 0
 

diff:

diff
24c24
<  param/loadparm.c:9031(lp_load_ex)
---
<i>>  param/loadparm.c:9039(lp_load_ex)

</i><br>26c26
<  param/loadparm.c:4840(init_globals)
---
<i>>  param/loadparm.c:4848(init_globals)

</i><br>28c28
<  param/loadparm.c:4699(max_open_files)
---
<i>>  param/loadparm.c:4707(max_open_files)

</i><br>32c32
<  param/loadparm.c:7718(do_section)
---
<i>>  param/loadparm.c:7726(do_section)

</i><br>36c36
<  param/loadparm.c:7080(handle_netbios_name)
---
<i>>  param/loadparm.c:7088(handle_netbios_name)

</i><br>166c166
<  param/loadparm.c:9066(lp_load_ex)
---
<i>>  param/loadparm.c:9074(lp_load_ex)

</i><br>168c168
<  param/loadparm.c:9271(lp_servicenumber)
---
<i>>  param/loadparm.c:9279(lp_servicenumber)

</i><br>204,205d203
<   added interface vmnet8 ip=xxxx::xxx:xxxx:xxxx:8%vmnet8 bcast=fe80::ffff:ffff:ffff:ffff%vmnet8 netmask=ffff:ffff:ffff:ffff::
<  lib/interface.c:340(add_interface)
207,208d204
<  lib/interface.c:340(add_interface)
<   added interface vmnet8 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx
222c218
<  libsmb/namequery.c:2155(get_sorted_dc_list)
---
<i>>  libsmb/namequery.c:2156(get_sorted_dc_list)

</i><br>224c220
<  libsmb/namequery.c:200(saf_fetch)
---
<i>>  libsmb/namequery.c:185(saf_fetch)

</i><br>226c222
<  libsmb/namequery.c:1971(get_dc_list)
---
<i>>  libsmb/namequery.c:1972(get_dc_list)

</i><br>246,247d241
<  libsmb/namequery.c:2104(get_dc_list)
<   get_dc_list: returning 2 ip addresses in an ordered list
249c243,245
<   get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389
---
<i>>   get_dc_list: returning 2 ip addresses in an ordered list

</i><br><i>>  libsmb/namequery.c:2106(get_dc_list)
</i><br><i>>   get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389
</i><br>258c254
<  libsmb/namequery.c:200(saf_fetch)
---
<i>>  libsmb/namequery.c:185(saf_fetch)

</i><br>260c256
<  libsmb/namequery.c:1971(get_dc_list)
---
<i>>  libsmb/namequery.c:1972(get_dc_list)

</i><br>280,281d275
<  libsmb/namequery.c:2104(get_dc_list)
<   get_dc_list: returning 2 ip addresses in an ordered list
283,284c277,280
<   get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389
<  libsmb/namequery.c:200(saf_fetch)
---
<i>>   get_dc_list: returning 2 ip addresses in an ordered list

</i><br><i>>  libsmb/namequery.c:2106(get_dc_list)
</i><br><i>>   get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389
</i><br><i>>  libsmb/namequery.c:185(saf_fetch)
</i><br>286c282
<  libsmb/namequery.c:1971(get_dc_list)
---
<i>>  libsmb/namequery.c:1972(get_dc_list)

</i><br>306,307d301
<  libsmb/namequery.c:2104(get_dc_list)
<   get_dc_list: returning 2 ip addresses in an ordered list
309,314c303,310
<   get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389
<  libads/kerberos.c:920(create_local_private_krb5_conf_for_domain)
<   create_local_private_krb5_conf_for_domain: wrote file /var/run/samba/smb_krb5/krb5.conf.DOMAIN with realm DOMAIN KDC list =         kdc = xxx.xxx.xxx.xxx
<       kdc = xxx.xxx.xxx.xxx
<       kdc = xxx.xxx.xxx.xxx
<  
---
<i>>   get_dc_list: returning 2 ip addresses in an ordered list

</i><br><i>>  libsmb/namequery.c:2106(get_dc_list)
</i><br><i>>   get_dc_list: xxx.xxx.xxx.xxx:389 xxx.xxx.xxx.xxx:389
</i><br><i>>  libads/kerberos.c:921(create_local_private_krb5_conf_for_domain)
</i><br><i>>   create_local_private_krb5_conf_for_domain: wrote file /var/run/samba/smb_krb5/krb5.conf.DOMAIN with realm DOMAIN KDC list =   kdc = xxx.xxx.xxx.xxx
</i><br><i>>         kdc = xxx.xxx.xxx.xxx
</i><br><i>>         kdc = xxx.xxx.xxx.xxx
</i><br><i>>  
</i><br>352c348
<   time offset is -371 seconds
---
<i>>   time offset is 1 seconds

</i><br>365c361
<  libsmb/clikrb5.c:688(ads_krb5_mk_req)
---
<i>>  libsmb/clikrb5.c:687(ads_krb5_mk_req)

</i><br>367,369c363,367
<  libsmb/clikrb5.c:621(ads_cleanup_expired_creds)
<   ads_cleanup_expired_creds: Ticket in ccache expiration Wed, 21 Jul 2010 03:25:42 EEST
<  libsmb/clikrb5.c:730(ads_krb5_mk_req)
---
<i>>  libsmb/clikrb5.c:704(ads_krb5_mk_req)

</i><br><i>>   ads_krb5_mk_req: Advancing clock by 1 seconds to cope with clock skew
</i><br><i>>  libsmb/clikrb5.c:620(ads_cleanup_expired_creds)
</i><br><i>>   ads_cleanup_expired_creds: Ticket in ccache expiration Втр, 20 Июл 2010 21:52:36 EEST
</i><br><i>>  libsmb/clikrb5.c:729(ads_krb5_mk_req)
</i><br>374,375d371
<   added interface vmnet8 ip=xxxx::xxx:xxxx:xxxx:x%vmnet8 bcast=fe80::ffff:ffff:ffff:ffff%vmnet8 netmask=ffff:ffff:ffff:ffff::
<  lib/interface.c:340(add_interface)
377,378d372
<  lib/interface.c:340(add_interface)
<   added interface vmnet8 ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx
381c375
< Successfully registered hostname with DNS
---
<i>> DNS update failed!

</i><br>383,384c377
<   return code = 0
<
---
<i>>   return code = -1

</i><br>

>Вопрос, все одни и те же компы стабильно либо подключаются либо нет, или это когда как?
с компа, с которого ввсе нормально примерно 1 из 5-7 случаев днс не обновляются. с компа, с которого не все нормально - ни разу не получилось.

anonymous(*)(2010-07-21 10:33:29)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-21 10:33:29
avatar
Скрыть

Re: [samba] DNS update failed!

туксоед, почени движок!!! даже логи нормально вставить нельзя

anonymous(*)(2010-07-21 10:39:12)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от bugmaker 2010-07-20 17:35:45
avatar
Скрыть

Re: [samba] DNS update failed!

>Посмотри лог сервера тоже, там должно быть указано почему от не обновляет.
в логах сервера пусто(

anonymous(*)(2010-07-21 10:49:15)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-21 10:39:12
avatar
Скрыть

Re: [samba] DNS update failed!

похоже у тебя на компах разница во времени с сервером более 5 минут. Попробуй пофиксить это сперва и проверить снова.

bugmaker(*)(2010-07-21 11:12:16)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100407 Ubuntu/9.04 (jaunty) Shiretoko/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от bugmaker 2010-07-21 11:12:16
avatar
Скрыть

Re: [samba] DNS update failed!

перед подключением сотвори

net time set

bugmaker(*)(2010-07-21 11:13:14)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100407 Ubuntu/9.04 (jaunty) Shiretoko/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от bugmaker 2010-07-21 11:12:16
avatar
Скрыть

Re: [samba] DNS update failed!

>похоже у тебя на компах разница во времени с сервером более 5 минут. Попробуй пофиксить это сперва и проверить снова.
неа, sudo ntpdate AD дало ~-5 секунд.

anonymous(*)(2010-07-21 11:24:50)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-21 11:24:50
avatar
Скрыть

Re: [samba] DNS update failed!

а это к чему было?

time offset is -371 seconds

bugmaker(*)(2010-07-21 12:04:17)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100407 Ubuntu/9.04 (jaunty) Shiretoko/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от bugmaker 2010-07-21 12:04:17
avatar
Скрыть

Re: [samba] DNS update failed!

>а это к чему было?
это кто тому что время отстает от доменного всего на 5 секунд. т.е. с ним все нормально.

>time offset is -371 seconds
а у тебя на ~6 минут)))

anonymous(*)(2010-07-21 12:06:39)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-21 12:06:39
avatar
Скрыть

Re: [samba] DNS update failed!

вот именно. Сравни время на компах, которые подключаются, и которые нет.

bugmaker(*)(2010-07-21 12:12:44)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100407 Ubuntu/9.04 (jaunty) Shiretoko/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от bugmaker 2010-07-21 12:12:44
avatar
Скрыть

Re: [samba] DNS update failed!

>вот именно.
что вот именно?

>Сравни время на компах, которые подключаются, и которые нет.
до ntpdate - ~5 сек. после - одинаковое.

anonymous(*)(2010-07-21 12:18:51)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: [samba] DNS update failed! от anonymous 2010-07-19 12:22:00
avatar
Скрыть

Re: [samba] DNS update failed!

хм... посмотрел еще несколько компов. все они находятся в другой подсети в влане... мб из-за этого? но ведь винда нормально обновляет...

anonymous(*)(2010-07-21 12:59:14)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-21 12:18:51
avatar
Скрыть

Re: [samba] DNS update failed!

> что вот именно?
откуда-то взялась разница в 6 минут. Значение ведь из твоих логов.

> до ntpdate - ~5 сек. после - одинаковое.
а если net time set, как я говорил?

bugmaker(*)(2010-07-21 13:06:56)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100407 Ubuntu/9.04 (jaunty) Shiretoko/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-21 12:59:14
avatar
Скрыть

Re: [samba] DNS update failed!

наверняка из-за этого. Эта сеть есть есть в списке interfaces? К ней прямой интерфейс с сервера, или через маршрутизатор?

bugmaker(*)(2010-07-21 13:08:08)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100407 Ubuntu/9.04 (jaunty) Shiretoko/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от bugmaker 2010-07-21 13:06:56
avatar
Скрыть

Re: [samba] DNS update failed!

>откуда-то взялась разница в 6 минут. Значение ведь из твоих логов.
обана. а вот это я проглядел...

>а если net time set, как я говорил?
один фиг. только после net time set пишет "time offset is -8 seconds", а после ntpdate - "time offset is 0 seconds"

anonymous(*)(2010-07-21 13:18:56)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от bugmaker 2010-07-21 13:08:08
avatar
Скрыть

Re: [samba] DNS update failed!

>Эта сеть есть есть в списке interfaces?
в каком списке?

>К ней прямой интерфейс с сервера, или через маршрутизатор?
через маршрутизатор и фаерволл.

anonymous(*)(2010-07-21 13:25:19)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-21 13:18:56
avatar
Скрыть

Re: [samba] DNS update failed!

> обана. а вот это я проглядел...
так уточни это. Странно, что большой time offset указан тобой именно на том компе, который подключается ладно.

bugmaker(*)(2010-07-21 13:48:04)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100407 Ubuntu/9.04 (jaunty) Shiretoko/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от bugmaker 2010-07-21 13:48:04
avatar
Скрыть

Re: [samba] DNS update failed!

>так уточни это.
уже. time offset is -1 seconds

>Странно, что большой time offset указан тобой именно на том компе, который подключается ладно.
кстати да. единственное что могу предположить - что net неправильно считает время.

anonymous(*)(2010-07-21 15:42:01)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-21 15:42:01
avatar
Скрыть

Re: [samba] DNS update failed!

хм, отнес комп, с которого нормально обнослялось в другую подсеть, от туда не обновляется, принес обратно - снова обновляется.

    nmap AD -PN
  1.  PORT STATE SERVICE
  2.  53/tcp open domain
  3.  88/tcp open kerberos-sec
  4.  135/tcp open msrpc
  5.  389/tcp open ldap
  6.  445/tcp open microsoft-ds
  7.  1025/tcp open NFS-or-IIS

но даже если дропать таблесами все остальные порты - все работает:

    cat fw.sh
  1.  iptables -F
  2.  iptables -P OUTPUT DROP
  3.  iptables -P INTPUT DROP
  4.  
  5.  iptables -A OUTPUT -p tcp --dport 53 -j ACCEPT
  6.  iptables -A OUTPUT -p tcp --dport 389 -j ACCEPT
  7.  iptables -A OUTPUT -p udp --dport 53 -j ACCEPT
  8.  iptables -A OUTPUT -p udp --dport 88 -j ACCEPT
  9.  iptables -A OUTPUT -p udp --dport 389 -j ACCEPT
  10.  iptables -A INPUT -p tcp --sport 53 -j ACCEPT
  11.  iptables -A INPUT -p tcp --sport 389 -j ACCEPT
  12.  iptables -A INPUT -p udp --sport 53 -j ACCEPT
  13.  iptables -A INPUT -p udp --sport 88 -j ACCEPT
  14.  iptables -A INPUT -p udp --sport 389 -j ACCEPT

/me вообще перестал что-либо понимать(

anonymous(*)(2010-07-26 18:21:06)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-26 18:21:06
avatar
Скрыть

Re: [samba] DNS update failed!

может это поможет:

    tcpdump -n
  1.  11:10:54.306629 IP HOST.56637 > AD2.389: UDP, length 93
  2.  11:10:54.307499 IP AD2.389 > HOST.56637: UDP, length 157
  3.  11:10:54.309138 IP HOST.46943 > AD.53: 12152+ A? AD2.DOMAIN. (29)
  4.  11:10:54.309783 IP AD.53 > HOST.46943: 12152* 1/0/0 A AD2 (45)
  5.  11:10:54.309990 IP HOST.52356 > AD2.389: UDP, length 93
  6.  11:10:54.310796 IP AD2.389 > HOST.52356: UDP, length 157
  7.  11:10:54.311194 IP HOST.56375 > AD.53: 16332+ A? AD2.DOMAIN. (29)
  8.  11:10:54.311810 IP AD.53 > HOST.56375: 16332* 1/0/0 A AD2 (45)
  9.  11:10:54.312385 IP HOST.52754 > AD.53: 44820+ AAAA? AD2.DOMAIN. (29)
  10.  11:10:54.313042 IP AD.53 > HOST.52754: 44820* 0/1/0 (78)
  11.  11:10:54.313180 IP HOST.53483 > AD.53: 51152+ AAAA? AD2.DOMAIN.DOMAIN. (37)
  12.  11:10:54.313824 IP AD.53 > HOST.53483: 51152 NXDomain* 0/1/0 (93)
  13.  11:10:54.313930 IP HOST.57870 > AD.53: 28650+ A? AD2.DOMAIN. (29)
  14.  11:10:54.314543 IP AD.53 > HOST.57870: 28650* 1/0/0 A AD2 (45)
  15.  11:10:54.314652 IP HOST.54509 > AD2.389: Flags [S], seq 3898837807, win 5840, options [mss 1460,sackOK,TS val 472906 ecr 0,nop,wscale 5], length 0
  16.  11:10:54.315295 IP AD2.389 > HOST.54509: Flags [S.], seq 3257631265, ack 3898837808, win 16384, options [mss 1460,nop,wscale 0,nop,nop,TS val 0 ecr 0,nop,nop,sackOK], length 0
  17.  11:10:54.315322 IP HOST.54509 > AD2.389: Flags [.], ack 1, win 183, options [nop,nop,TS val 472907 ecr 0], length 0
  18.  11:10:54.316079 IP HOST.54509 > AD2.389: Flags [P.], seq 1:53, ack 1, win 183, options [nop,nop,TS val 472907 ecr 0], length 52
  19.  11:10:54.316492 IP AD2.389 > HOST.54509: Flags [P.], seq 1:90, ack 53, win 65483, options [nop,nop,TS val 55381751 ecr 472907], length 89
  20.  11:10:54.316515 IP HOST.54509 > AD2.389: Flags [.], ack 90, win 183, options [nop,nop,TS val 472907 ecr 55381751], length 0
  21.  11:10:54.316826 IP HOST.54509 > AD2.389: Flags [P.], seq 53:117, ack 90, win 183, options [nop,nop,TS val 472907 ecr 55381751], length 64
  22.  11:10:54.317241 IP AD2.389 > HOST.54509: Flags [P.], seq 90:214, ack 117, win 65419, options [nop,nop,TS val 55381751 ecr 472907], length 124
  23.  11:10:54.317384 IP HOST.54509 > AD2.389: Flags [P.], seq 117:143, ack 214, win 183, options [nop,nop,TS val 472907 ecr 55381751], length 26
  24.  11:10:54.317841 IP AD2.389 > HOST.54509: Flags [P.], seq 214:322, ack 143, win 65393, options [nop,nop,TS val 55381751 ecr 472907], length 108
  25.  11:10:54.319429 IP HOST.56638 > AD2.88: v5
  26.  11:10:54.321184 IP AD2.88 > HOST.56638:
  27.  11:10:54.325835 IP HOST.58146 > AD.53: 46975+ SRV? _kerberos-master._udp.DOMAIN. (47)
  28.  11:10:54.326490 IP AD.53 > HOST.58146: 46975 NXDomain* 0/1/0 (103)
  29.  11:10:54.326986 IP HOST.45949 > AD2.88: v5
  30.  11:10:54.329757 IP AD2.88 > HOST.45949: v5
  31.  11:10:54.329964 IP HOST.35524 > AD.53: 14275+ SRV? _kerberos-master._udp.DOMAIN. (47)
  32.  11:10:54.330594 IP AD.53 > HOST.35524: 14275 NXDomain* 0/1/0 (103)
  33.  11:10:54.331482 IP HOST.43997 > AD2.88:
  34.  11:10:54.335283 IP AD2.88 > HOST.43997:
  35.  11:10:54.339206 IP HOST.32974 > AD.53: 42941+ SRV? _kerberos-master._udp.DOMAIN. (47)
  36.  11:10:54.339838 IP AD.53 > HOST.32974: 42941 NXDomain* 0/1/0 (103)
  37.  11:10:54.340512 IP HOST.48290 > AD2.88:
  38.  11:10:54.343876 IP AD2.88 > HOST.48290:
  39.  11:10:54.344188 IP HOST.60146 > AD.53: 65534+ SRV? _kerberos-master._udp.DOMAIN. (47)
  40.  11:10:54.344821 IP AD.53 > HOST.60146: 65534 NXDomain* 0/1/0 (103)
  41.  11:10:54.345481 IP HOST.54509 > AD2.389: Flags [.], seq 143:1591, ack 322, win 183, options [nop,nop,TS val 472914 ecr 55381751], length 1448
  42.  11:10:54.345590 IP HOST.54509 > AD2.389: Flags [P.], seq 1591:2924, ack 322, win 183, options [nop,nop,TS val 472914 ecr 55381751], length 1333
  43.  11:10:54.346757 IP AD2.389 > HOST.54509: Flags [.], ack 2924, win 65535, options [nop,nop,TS val 55381751 ecr 472914], length 0
  44.  11:10:54.347543 IP AD2.389 > HOST.54509: Flags [P.], seq 322:372, ack 2924, win 65535, options [nop,nop,TS val 55381751 ecr 472914], length 50
  45.  11:10:54.347993 IP HOST.36625 > AD.53: 42827+ NS? DOMAIN. (25)
  46.  11:10:54.348647 IP AD.53 > HOST.36625: 42827* 3/0/3 NS AD.DOMAIN.,[|domain]
  47.  11:10:54.348870 IP HOST.44099 > AD.53: 12256+ A? AD.DOMAIN. (28)
  48.  11:10:54.349467 IP AD.53 > HOST.44099: 12256* 1/0/0 A AD (44)
  49.  11:10:54.349570 IP HOST.45815 > AD.53: Flags [S], seq 3891820469, win 5840, options [mss 1460,sackOK,TS val 472915 ecr 0,nop,wscale 5], length 0
  50.  11:10:54.350195 IP AD.53 > HOST.45815: Flags [S.], seq 475460370, ack 3891820470, win 16384, options [mss 1460,nop,wscale 0,nop,nop,TS val 0 ecr 0,nop,nop,sackOK], length 0
  51.  11:10:54.350217 IP HOST.45815 > AD.53: Flags [.], ack 1, win 183, options [nop,nop,TS val 472915 ecr 0], length 0
  52.  11:10:54.350353 IP HOST.45815 > AD.53: Flags [P.], seq 1:3, ack 1, win 183, options [nop,nop,TS val 472915 ecr 0], length 2
  53.  11:10:54.356970 IP 0.0.0.0.8116 > 172.16.0.0.8116: UDP, length 37
  54.  11:10:54.386712 IP HOST.54509 > AD2.389: Flags [.], ack 372, win 183, options [nop,nop,TS val 472925 ecr 55381751], length 0
  55.  11:10:54.550705 IP HOST.45815 > AD.53: Flags [P.], seq 1:3, ack 1, win 183, options [nop,nop,TS val 472966 ecr 0], length 2
  56.  11:10:54.550909 IP AD.53 > HOST.45815: Flags [.], ack 3, win 65533, options [nop,nop,TS val 168296804 ecr 472915], length 0
  57.  11:10:54.550934 IP HOST.45815 > AD.53: Flags [P.], seq 3:120, ack 1, win 183, options [nop,nop,TS val 472966 ecr 168296804], length 11710240 [b2&3=0x1] [3q] [1122au][|domain]
  58.  11:10:54.551296 IP AD.53 > HOST.45815: Flags [P.], seq 1:120, ack 120, win 65416, options [nop,nop,TS val 168296804 ecr 472966], length 11917767 update NXRRSet- 3/0/0[|domain]
  59.  11:10:54.551314 IP HOST.45815 > AD.53: Flags [.], ack 120, win 183, options [nop,nop,TS val 472966 ecr 168296804], length 0
  60.  11:10:54.551399 IP HOST.45815 > AD.53: Flags [P.], seq 120:122, ack 120, win 183, options [nop,nop,TS val 472966 ecr 168296804], length 2
  61.  11:10:54.668012 IP AD.53 > HOST.45815: Flags [.], ack 122, win 65414, options [nop,nop,TS val 168296807 ecr 472966], length 0
  62.  11:10:54.668047 IP HOST.45815 > AD.53: Flags [P.], seq 122:267, ack 120, win 183, options [nop,nop,TS val 472995 ecr 168296807], length 14510240 [b2&3=0x1] [3a] [1122au][|domain]
  63.  11:10:54.669046 IP AD.53 > HOST.45815: Flags [P.], seq 120:267, ack 267, win 65269, options [nop,nop,TS val 168296807 ecr 472995], length 1479158 update Refused- 1/3/0 (145)
  64.  11:10:54.669395 IP HOST.53016 > AD.53: 34670+ A? AD.DOMAIN. (28)
  65.  11:10:54.669778 IP AD.53 > HOST.53016: 34670* 1/0/0 A AD (44)
  66.  11:10:54.669886 IP HOST.45816 > AD.53: Flags [S], seq 3903698560, win 5840, options [mss 1460,sackOK,TS val 472995 ecr 0,nop,wscale 5], length 0
  67.  11:10:54.670475 IP AD.53 > HOST.45816: Flags [S.], seq 917647811, ack 3903698561, win 16384, options [mss 1460,nop,wscale 0,nop,nop,TS val 0 ecr 0,nop,nop,sackOK], length 0
  68.  11:10:54.670495 IP HOST.45816 > AD.53: Flags [.], ack 1, win 183, options [nop,nop,TS val 472995 ecr 0], length 0
  69.  11:10:54.671349 IP HOST.59491 > AD2.88:
  70.  11:10:54.675333 IP AD2.88 > HOST.59491:
  71.  11:10:54.675550 IP HOST.58901 > AD.53: 18405+ SRV? _kerberos-master._udp.DOMAIN. (47)
  72.  11:10:54.676275 IP AD.53 > HOST.58901: 18405 NXDomain* 0/1/0 (103)
  73.  11:10:54.676911 IP HOST.57846 > AD2.88:
  74.  11:10:54.680154 IP AD2.88 > HOST.57846:
  75.  11:10:54.680367 IP HOST.41755 > AD.53: 55208+ SRV? _kerberos-master._udp.DOMAIN. (47)
  76.  11:10:54.681110 IP AD.53 > HOST.41755: 55208 NXDomain* 0/1/0 (103)
  77.  11:10:54.683345 IP HOST.45816 > AD.53: Flags [P.], seq 1:3, ack 1, win 183, options [nop,nop,TS val 472999 ecr 0], length 2
  78.  11:10:54.684723 IP HOST.45816 > AD.53: Flags [.], seq 3:1451, ack 1, win 183, options [nop,nop,TS val 472999 ecr 0], length 14480 [b2&3=0x1] [0q] [1n] [9271au] (1446)
  79.  11:10:54.685512 IP AD.53 > HOST.45816: Flags [.], ack 1451, win 64085, options [nop,nop,TS val 168296807 ecr 472999], length 0
  80.  11:10:54.685545 IP HOST.45816 > AD.53: Flags [P.], seq 1451:2847, ack 1, win 183, options [nop,nop,TS val 472999 ecr 168296807], length 139627571 updateM Resp14$ [36821q],[|domain]
  81.  11:10:54.687471 IP AD.53 > HOST.45816: Flags [.], seq 1:1449, ack 2847, win 65535, options [nop,nop,TS val 168296807 ecr 472999], length 144829434 Refused-[|domain]
  82.  11:10:54.687503 IP HOST.45816 > AD.53: Flags [.], ack 1449, win 273, options [nop,nop,TS val 473000 ecr 168296807], length 0
  83.  11:10:54.687585 IP AD.53 > HOST.45816: Flags [P.], seq 1449:2847, ack 2847, win 65535, options [nop,nop,TS val 168296807 ecr 472999], length 13988781 updateMA+% [b2&3=0x6bb3] [36821a] [57518q] [63933n] [62244au][|domain]
  84.  11:10:54.687594 IP HOST.45816 > AD.53: Flags [.], ack 2847, win 364, options [nop,nop,TS val 473000 ecr 168296807], length 0
  85.  11:10:54.687737 IP HOST.45816 > AD.53: Flags [F.], seq 2847, ack 2847, win 364, options [nop,nop,TS val 473000 ecr 168296807], length 0
  86.  11:10:54.687948 IP AD.53 > HOST.45816: Flags [.], ack 2848, win 65535, options [nop,nop,TS val 168296807 ecr 473000], length 0
  87.  11:10:54.688000 IP AD.53 > HOST.45816: Flags [F.], seq 2847, ack 2848, win 65535, options [nop,nop,TS val 168296807 ecr 473000], length 0
  88.  11:10:54.688009 IP HOST.45816 > AD.53: Flags [.], ack 2848, win 364, options [nop,nop,TS val 473000 ecr 168296807], length 0
  89.  11:10:54.688086 IP HOST.53824 > AD.53: 20459+ A? AD.DOMAIN. (28)
  90.  11:10:54.688682 IP AD.53 > HOST.53824: 20459* 1/0/0 A AD (44)
  91.  11:10:54.688786 IP HOST.45817 > AD.53: Flags [S], seq 3908954700, win 5840, options [mss 1460,sackOK,TS val 473000 ecr 0,nop,wscale 5], length 0
  92.  11:10:54.689386 IP AD.53 > HOST.45817: Flags [S.], seq 857512287, ack 3908954701, win 16384, options [mss 1460,nop,wscale 0,nop,nop,TS val 0 ecr 0,nop,nop,sackOK], length 0
  93.  11:10:54.689404 IP HOST.45817 > AD.53: Flags [.], ack 1, win 183, options [nop,nop,TS val 473000 ecr 0], length 0
  94.  11:10:54.690065 IP HOST.56502 > AD2.88:
  95.  11:10:54.693290 IP AD2.88 > HOST.56502:
  96.  11:10:54.693513 IP HOST.32835 > AD.53: 40876+ SRV? _kerberos-master._udp.DOMAIN. (47)
  97.  11:10:54.694149 IP AD.53 > HOST.32835: 40876 NXDomain* 0/1/0 (103)
  98.  11:10:54.694876 IP HOST.45817 > AD.53: Flags [P.], seq 1:3, ack 1, win 183, options [nop,nop,TS val 473002 ecr 0], length 2
  99.  11:10:54.694957 IP HOST.45817 > AD.53: Flags [.], seq 3:1451, ack 1, win 183, options [nop,nop,TS val 473002 ecr 0], length 14480 [b2&3=0x1] [9271au][|domain]
  100.  11:10:54.695735 IP AD.53 > HOST.45817: Flags [.], ack 1451, win 64085, options [nop,nop,TS val 168296807 ecr 473002], length 0
  101.  11:10:54.695757 IP HOST.45817 > AD.53: Flags [P.], seq 1451:2847, ack 1, win 183, options [nop,nop,TS val 473002 ecr 168296807], length 139625956 updateM+% [b2&3=0x6597] [11727a] [28706q] [47481n] [32035au][|domain]
  102.  11:10:54.697647 IP AD.53 > HOST.45817: Flags [.], seq 1:1449, ack 2847, win 65535, options [nop,nop,TS val 168296807 ecr 473002], length 144817687 Refused-[|domain]
  103.  11:10:54.697676 IP HOST.45817 > AD.53: Flags [.], ack 1449, win 273, options [nop,nop,TS val 473002 ecr 168296807], length 0
  104.  11:10:54.697761 IP AD.53 > HOST.45817: Flags [P.], seq 1449:2847, ack 2847, win 65535, options [nop,nop,TS val 168296807 ecr 473002], length 139861832 updateM+ [b2&3=0x6564] [28706a] [26007q] [11727n] [47481au][|domain]
  105.  11:10:54.697770 IP HOST.45817 > AD.53: Flags [.], ack 2847, win 364, options [nop,nop,TS val 473002 ecr 168296807], length 0
  106.  11:10:54.697877 IP HOST.45817 > AD.53: Flags [F.], seq 2847, ack 2847, win 364, options [nop,nop,TS val 473002 ecr 168296807], length 0
  107.  11:10:54.697963 IP HOST.45815 > AD.53: Flags [F.], seq 267, ack 267, win 216, options [nop,nop,TS val 473002 ecr 168296807], length 0
  108.  11:10:54.698104 IP AD.53 > HOST.45817: Flags [.], ack 2848, win 65535, options [nop,nop,TS val 168296807 ecr 473002], length 0
  109.  11:10:54.698139 IP AD.53 > HOST.45817: Flags [F.], seq 2847, ack 2848, win 65535, options [nop,nop,TS val 168296807 ecr 473002], length 0
  110.  11:10:54.698149 IP HOST.45817 > AD.53: Flags [.], ack 2848, win 364, options [nop,nop,TS val 473002 ecr 168296807], length 0
  111.  11:10:54.698185 IP AD.53 > HOST.45815: Flags [.], ack 268, win 65269, options [nop,nop,TS val 168296807 ecr 473002], length 0
  112.  11:10:54.698226 IP AD.53 > HOST.45815: Flags [F.], seq 267, ack 268, win 65269, options [nop,nop,TS val 168296807 ecr 473002], length 0
  113.  11:10:54.698231 IP HOST.45815 > AD.53: Flags [.], ack 268, win 216, options [nop,nop,TS val 473002 ecr 168296807], length 0
  114.  11:10:54.698303 IP HOST.54509 > AD2.389: Flags [P.], seq 2924:2931, ack 372, win 183, options [nop,nop,TS val 473002 ecr 55381751], length 7
  115.  11:10:54.698362 IP HOST.54509 > AD2.389: Flags [F.], seq 2931, ack 372, win 183, options [nop,nop,TS val 473002 ecr 55381751], length 0
  116.  11:10:54.698720 IP AD2.389 > HOST.54509: Flags [F.], seq 372, ack 2931, win 65528, options [nop,nop,TS val 55381755 ecr 473002], length 0
  117.  11:10:54.698748 IP HOST.54509 > AD2.389: Flags [.], ack 373, win 183, options [nop,nop,TS val 473003 ecr 55381755], length 0
  118.  11:10:54.698968 IP AD2.389 > HOST.54509: Flags [.], ack 2932, win 65528, options [nop,nop,TS val 55381755 ecr 473002], length 0

anonymous(*)(2010-07-27 12:33:27)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-27 12:33:27
avatar
Скрыть

Re: [samba] DNS update failed!

и tcpdump с хоста, где все нормально:

    sudo tcpdump -n | grep -v 0.0.0.0 | grep -v who-has
  1.  11:40:36.321447 IP HOST.52978 > AD.389: UDP, length 93
  2.  11:40:36.321812 IP AD.389 > HOST.52978: UDP, length 155
  3.  11:40:36.323401 IP HOST.47881 > AD.53: 50487+ A? AD.DOMAIN. (28)
  4.  11:40:36.323612 IP AD.53 > HOST.47881: 50487* 1/0/0 A AD (44)
  5.  11:40:36.323784 IP HOST.43956 > AD.389: UDP, length 93
  6.  11:40:36.324081 IP AD.389 > HOST.43956: UDP, length 155
  7.  11:40:36.324308 IP HOST.49664 > AD.53: 15165+ A? AD.DOMAIN. (28)
  8.  11:40:36.324503 IP AD.53 > HOST.49664: 15165* 1/0/0 A AD (44)
  9.  11:40:36.325053 IP HOST.38750 > AD.53: 27052+ A? AD.DOMAIN. (28)
  10.  11:40:36.325248 IP AD.53 > HOST.38750: 27052* 1/0/0 A AD (44)
  11.  11:40:36.325366 IP HOST.58208 > AD.389: Flags [S], seq 1692975436, win 5840, options [mss 1460,sackOK,TS val 567222 ecr 0,nop,wscale 4], length 0
  12.  11:40:36.325534 IP AD.389 > HOST.58208: Flags [S.], seq 33763913, ack 1692975437, win 16384, options [mss 1460,nop,wscale 0,nop,nop,TS val 0 ecr 0,nop,nop,sackOK], length 0
  13.  11:40:36.325564 IP HOST.58208 > AD.389: Flags [.], ack 1, win 365, options [nop,nop,TS val 567222 ecr 0], length 0
  14.  11:40:36.326525 IP HOST.58208 > AD.389: Flags [P.], seq 1:65, ack 1, win 365, options [nop,nop,TS val 567222 ecr 0], length 64
  15.  11:40:36.326786 IP AD.389 > HOST.58208: Flags [P.], seq 1:90, ack 65, win 65471, options [nop,nop,TS val 168314616 ecr 567222], length 89
  16.  11:40:36.326811 IP HOST.58208 > AD.389: Flags [.], ack 90, win 365, options [nop,nop,TS val 567222 ecr 168314616], length 0
  17.  11:40:36.327099 IP HOST.58208 > AD.389: Flags [P.], seq 65:141, ack 90, win 365, options [nop,nop,TS val 567222 ecr 168314616], length 76
  18.  11:40:36.327357 IP AD.389 > HOST.58208: Flags [P.], seq 90:214, ack 141, win 65395, options [nop,nop,TS val 168314616 ecr 567222], length 124
  19.  11:40:36.327462 IP HOST.58208 > AD.389: Flags [P.], seq 141:179, ack 214, win 365, options [nop,nop,TS val 567222 ecr 168314616], length 38
  20.  11:40:36.327793 IP AD.389 > HOST.58208: Flags [P.], seq 214:321, ack 179, win 65357, options [nop,nop,TS val 168314616 ecr 567222], length 107
  21.  11:40:36.329384 IP HOST.52530 > AD.88: v5
  22.  11:40:36.330636 IP AD.88 > HOST.52530:
  23.  11:40:36.330894 IP HOST.43699 > AD.53: 9122+ SRV? _kerberos-master._udp.DOMAIN. (47)
  24.  11:40:36.331131 IP AD.53 > HOST.43699: 9122 NXDomain* 0/1/0 (103)
  25.  11:40:36.331626 IP HOST.38115 > AD.88: v5
  26.  11:40:36.333730 IP AD.88 > HOST.38115: v5
  27.  11:40:36.333896 IP HOST.60740 > AD.53: 13296+ SRV? _kerberos-master._udp.DOMAIN. (47)
  28.  11:40:36.334126 IP AD.53 > HOST.60740: 13296 NXDomain* 0/1/0 (103)
  29.  11:40:36.335006 IP HOST.58828 > AD.88:
  30.  11:40:36.338000 IP AD.88 > HOST.58828:
  31.  11:40:36.321447 IP HOST.52978 > AD.389: UDP, length 93
  32.  11:40:36.321812 IP AD.389 > HOST.52978: UDP, length 155
  33.  11:40:36.323401 IP HOST.47881 > AD.53: 50487+ A? AD.DOMAIN. (28)
  34.  11:40:36.323612 IP AD.53 > HOST.47881: 50487* 1/0/0 A AD (44)
  35.  11:40:36.323784 IP HOST.43956 > AD.389: UDP, length 93
  36.  11:40:36.324081 IP AD.389 > HOST.43956: UDP, length 155
  37.  11:40:36.324308 IP HOST.49664 > AD.53: 15165+ A? AD.DOMAIN. (28)
  38.  11:40:36.324503 IP AD.53 > HOST.49664: 15165* 1/0/0 A AD (44)
  39.  11:40:36.325053 IP HOST.38750 > AD.53: 27052+ A? AD.DOMAIN. (28)
  40.  11:40:36.325248 IP AD.53 > HOST.38750: 27052* 1/0/0 A AD (44)
  41.  11:40:36.325366 IP HOST.58208 > AD.389: Flags [S], seq 1692975436, win 5840, options [mss 1460,sackOK,TS val 567222 ecr 0,nop,wscale 4], length 0
  42.  11:40:36.325534 IP AD.389 > HOST.58208: Flags [S.], seq 33763913, ack 1692975437, win 16384, options [mss 1460,nop,wscale 0,nop,nop,TS val 0 ecr 0,nop,nop,sackOK], length 0
  43.  11:40:36.325564 IP HOST.58208 > AD.389: Flags [.], ack 1, win 365, options [nop,nop,TS val 567222 ecr 0], length 0
  44.  11:40:36.326525 IP HOST.58208 > AD.389: Flags [P.], seq 1:65, ack 1, win 365, options [nop,nop,TS val 567222 ecr 0], length 64
  45.  11:40:36.326786 IP AD.389 > HOST.58208: Flags [P.], seq 1:90, ack 65, win 65471, options [nop,nop,TS val 168314616 ecr 567222], length 89
  46.  11:40:36.326811 IP HOST.58208 > AD.389: Flags [.], ack 90, win 365, options [nop,nop,TS val 567222 ecr 168314616], length 0
  47.  11:40:36.327099 IP HOST.58208 > AD.389: Flags [P.], seq 65:141, ack 90, win 365, options [nop,nop,TS val 567222 ecr 168314616], length 76
  48.  11:40:36.327357 IP AD.389 > HOST.58208: Flags [P.], seq 90:214, ack 141, win 65395, options [nop,nop,TS val 168314616 ecr 567222], length 124
  49.  11:40:36.327462 IP HOST.58208 > AD.389: Flags [P.], seq 141:179, ack 214, win 365, options [nop,nop,TS val 567222 ecr 168314616], length 38
  50.  11:40:36.327793 IP AD.389 > HOST.58208: Flags [P.], seq 214:321, ack 179, win 65357, options [nop,nop,TS val 168314616 ecr 567222], length 107
  51.  11:40:36.329384 IP HOST.52530 > AD.88: v5
  52.  11:40:36.330636 IP AD.88 > HOST.52530:
  53.  11:40:36.330894 IP HOST.43699 > AD.53: 9122+ SRV? _kerberos-master._udp.DOMAIN. (47)
  54.  11:40:36.331131 IP AD.53 > HOST.43699: 9122 NXDomain* 0/1/0 (103)
  55.  11:40:36.331626 IP HOST.38115 > AD.88: v5
  56.  11:40:36.333730 IP AD.88 > HOST.38115: v5
  57.  11:40:36.333896 IP HOST.60740 > AD.53: 13296+ SRV? _kerberos-master._udp.DOMAIN. (47)
  58.  11:40:36.334126 IP AD.53 > HOST.60740: 13296 NXDomain* 0/1/0 (103)
  59.  11:40:36.335006 IP HOST.58828 > AD.88:
  60.  11:40:36.338000 IP AD.88 > HOST.58828:
  61.  11:40:36.341541 IP HOST.55774 > AD.53: 10713+ SRV? _kerberos-master._udp.DOMAIN. (47)
  62.  11:40:36.341778 IP AD.53 > HOST.55774: 10713 NXDomain* 0/1/0 (103)
  63.  11:40:36.342756 IP HOST.47682 > AD.88:
  64.  11:40:36.345169 IP AD.88 > HOST.47682:
  65.  11:40:36.345346 IP HOST.45336 > AD.53: 57481+ SRV? _kerberos-master._udp.DOMAIN. (47)
  66.  11:40:36.345575 IP AD.53 > HOST.45336: 57481 NXDomain* 0/1/0 (103)
  67.  11:40:36.346073 IP HOST.58208 > AD.389: Flags [.], seq 179:1627, ack 321, win 365, options [nop,nop,TS val 567227 ecr 168314616], length 1448
  68.  11:40:36.346094 IP HOST.58208 > AD.389: Flags [P.], seq 1627:2949, ack 321, win 365, options [nop,nop,TS val 567227 ecr 168314616], length 1322
  69.  11:40:36.346877 IP AD.389 > HOST.58208: Flags [.], ack 2949, win 65535, options [nop,nop,TS val 168314616 ecr 567227], length 0
  70.  11:40:36.347620 IP AD.389 > HOST.58208: Flags [P.], seq 321:371, ack 2949, win 65535, options [nop,nop,TS val 168314616 ecr 567227], length 50
  71.  11:40:36.348024 IP HOST.35134 > AD.53: 47888+ NS? DOMAIN. (25)
  72.  11:40:36.348274 IP AD.53 > HOST.35134: 47888* 3/0/3 NS AD2.DOMAIN.,[|domain]
  73.  11:40:36.348473 IP HOST.46292 > AD.53: 14532+ A? AD2.DOMAIN. (29)
  74.  11:40:36.348672 IP AD.53 > HOST.46292: 14532* 1/0/0 A AD2 (45)
  75.  11:40:36.348812 IP HOST.53932 > AD2.53: Flags [S], seq 1693962294, win 5840, options [mss 1460,sackOK,TS val 567228 ecr 0,nop,wscale 4], length 0
  76.  11:40:36.348968 IP AD2.53 > HOST.53932: Flags [S.], seq 2190478425, ack 1693962295, win 16384, options [mss 1460,nop,wscale 0,nop,nop,TS val 0 ecr 0,nop,nop,sackOK], length 0
  77.  11:40:36.348993 IP HOST.53932 > AD2.53: Flags [.], ack 1, win 365, options [nop,nop,TS val 567228 ecr 0], length 0
  78.  11:40:36.349678 IP HOST.53932 > AD2.53: Flags [P.], seq 1:3, ack 1, win 365, options [nop,nop,TS val 567228 ecr 0], length 2
  79.  11:40:36.384769 IP HOST.58208 > AD.389: Flags [.], ack 371, win 365, options [nop,nop,TS val 567237 ecr 168314616], length 0
  80.  11:40:36.517510 IP AD2.53 > HOST.53932: Flags [.], ack 3, win 65533, options [nop,nop,TS val 55399567 ecr 567228], length 0
  81.  11:40:36.517541 IP HOST.53932 > AD2.53: Flags [P.], seq 3:120, ack 1, win 365, options [nop,nop,TS val 567270 ecr 55399567], length 11710240 [b2&3=0x1] [3q] [1122au][|domain]
  82.  11:40:36.341541 IP HOST.55774 > AD.53: 10713+ SRV? _kerberos-master._udp.DOMAIN. (47)
  83.  11:40:36.341778 IP AD.53 > HOST.55774: 10713 NXDomain* 0/1/0 (103)
  84.  11:40:36.342756 IP HOST.47682 > AD.88:
  85.  11:40:36.345169 IP AD.88 > HOST.47682:
  86.  11:40:36.345346 IP HOST.45336 > AD.53: 57481+ SRV? _kerberos-master._udp.DOMAIN. (47)
  87.  11:40:36.345575 IP AD.53 > HOST.45336: 57481 NXDomain* 0/1/0 (103)
  88.  11:40:36.346073 IP HOST.58208 > AD.389: Flags [.], seq 179:1627, ack 321, win 365, options [nop,nop,TS val 567227 ecr 168314616], length 1448
  89.  11:40:36.346094 IP HOST.58208 > AD.389: Flags [P.], seq 1627:2949, ack 321, win 365, options [nop,nop,TS val 567227 ecr 168314616], length 1322
  90.  11:40:36.346877 IP AD.389 > HOST.58208: Flags [.], ack 2949, win 65535, options [nop,nop,TS val 168314616 ecr 567227], length 0
  91.  11:40:36.347620 IP AD.389 > HOST.58208: Flags [P.], seq 321:371, ack 2949, win 65535, options [nop,nop,TS val 168314616 ecr 567227], length 50
  92.  11:40:36.348024 IP HOST.35134 > AD.53: 47888+ NS? DOMAIN. (25)
  93.  11:40:36.348274 IP AD.53 > HOST.35134: 47888* 3/0/3 NS AD2.DOMAIN.,[|domain]
  94.  11:40:36.348473 IP HOST.46292 > AD.53: 14532+ A? AD2.DOMAIN. (29)
  95.  11:40:36.348672 IP AD.53 > HOST.46292: 14532* 1/0/0 A AD2 (45)
  96.  11:40:36.348812 IP HOST.53932 > AD2.53: Flags [S], seq 1693962294, win 5840, options [mss 1460,sackOK,TS val 567228 ecr 0,nop,wscale 4], length 0
  97.  11:40:36.348968 IP AD2.53 > HOST.53932: Flags [S.], seq 2190478425, ack 1693962295, win 16384, options [mss 1460,nop,wscale 0,nop,nop,TS val 0 ecr 0,nop,nop,sackOK], length 0
  98.  11:40:36.348993 IP HOST.53932 > AD2.53: Flags [.], ack 1, win 365, options [nop,nop,TS val 567228 ecr 0], length 0
  99.  11:40:36.349678 IP HOST.53932 > AD2.53: Flags [P.], seq 1:3, ack 1, win 365, options [nop,nop,TS val 567228 ecr 0], length 2
  100.  11:40:36.384769 IP HOST.58208 > AD.389: Flags [.], ack 371, win 365, options [nop,nop,TS val 567237 ecr 168314616], length 0
  101.  11:40:36.517510 IP AD2.53 > HOST.53932: Flags [.], ack 3, win 65533, options [nop,nop,TS val 55399567 ecr 567228], length 0
  102.  11:40:36.517541 IP HOST.53932 > AD2.53: Flags [P.], seq 3:120, ack 1, win 365, options [nop,nop,TS val 567270 ecr 55399567], length 11710240 [b2&3=0x1] [3q] [1122au][|domain]

anonymous(*)(2010-07-27 12:47:43)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: Re: [samba] DNS update failed! от anonymous 2010-07-27 12:47:43
avatar
Скрыть

Re: [samba] DNS update failed!

да, фаерволл показывает, что все пакты нормально проходят. так что я совсем запутался в чем может быть проблема.

anonymous(*)(2010-07-27 12:52:09)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
[#] [Добавить метку] [Редактировать] Ответ на: [samba] DNS update failed! от anonymous 2010-07-19 12:22:00
avatar
Скрыть

Re: [samba] DNS update failed!

все, после долгих мучений всетаки нашел виновника. и догадайтесь кто это? да, это блядский майкрософт! это пиздец блин, отрубаешь секурные апдейты на контроллере домена - все нормально обновляется. врубаешь секурные апдейты обратно - то что уже обновилось - нормально обновляется и дальше, остальное все-равно не обновляется.

anonymous(*)(2010-08-17 17:27:13)

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Linux Mint/8 (Helena) Firefox/3.5.9
Этот тред читают 1 пользователь:
Анонимных: 1
Зарегистрированных: 0




(c) 2010-2020 LOR-NG Developers Group
Powered by TimeMachine

Valid HTML 4.01 Transitional Правильный CSS!