[Samba] Error while contacting ADS from Samba server

Rahul rahulsahadev at gmail.com
Sat Jul 28 04:51:52 GMT 2007


Hi List,
        We have a problem in connecting ADS server from SAMBA. Whenever we
try to contact the
ADS server from the Samba its giving error as LDAP_NO_RESULTS_RETURNED.

We have varified the code also, in the code also its giving three
possibilities to raise that error message,
I am pasting the portion of code here,

     File name: libads/ldap.c

Function name: ads_server_info

Code snippet within this function:

   value = ads_pull_string(ads, ctx, res, "ldapServiceName");
         if (!value) {
                 ads_msgfree(ads, res);
                 talloc_destroy(ctx);
                 return ADS_ERROR(LDAP_NO_RESULTS_RETURNED);
         }

         timestr = ads_pull_string(ads, ctx, res, "currentTime");
         if (!timestr) {
                 ads_msgfree(ads, res);
                 talloc_destroy(ctx);
                 return ADS_ERROR(LDAP_NO_RESULTS_RETURNED);
         }

         schema_path = ads_pull_string(ads, ctx, res,
"schemaNamingContext");
         if (!schema_path) {
                 ads_msgfree(ads, res);
                 talloc_destroy(ctx);
                 return ADS_ERROR(LDAP_NO_RESULTS_RETURNED);
         }




In the ADS server Active Directory Users and Computers , under Computers its
listing the SAMBA
server name also...

ADS Server Details:
Windows 2000 OS
Domain Name : jhcc
Domain Controller Name : jhcc.org
Computer name : nf7000dc1.jhcc.org
No: of users : 556

Please verify this and give us some clues to solve this issue. I am pasting
the detailed log file with this mail.

[2007/07/26 23:56:47, 5] lib/debug.c:debug_dump_status(368)
  INFO: Current debug levels:
    all: True/10
    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
[2007/07/26 23:56:47, 3] param/loadparm.c:lp_load(4082)
  lp_load: refreshing parameters
[2007/07/26 23:56:47, 3] param/loadparm.c:init_globals(1366)
  Initialising global parameters
[2007/07/26 23:56:47, 3] param/params.c:pm_process(574)
  params.c:pm_process() - Processing configuration file
"/usr/local/arm/samba/lib/smb.conf"
[2007/07/26 23:56:47, 3] param/loadparm.c:do_section(3542)
  Processing section "[global]"
  doing parameter workgroup = jhcc
  doing parameter realm = JHCC.ORG
  doing parameter idmap uid = 1000-2000
  doing parameter idmap gid = 1000-2000
  doing parameter wins server = 172.16.64.21
  doing parameter server string = sanatserver
  doing parameter netbios name = terabox
[2007/07/26 23:56:48, 4] param/loadparm.c:handle_netbios_name(2881)
  handle_netbios_name: set global_myname to: TERABOX
  doing parameter encrypt passwords = yes
  doing parameter interfaces = eth0 172.16.131.21/255.255.240.0
  doing parameter socket options = TCP_NODELAY
  doing parameter read raw = yes
  doing parameter write raw = yes
  doing parameter oplocks = no
  doing parameter level2 oplocks = no
  doing parameter write cache size = 262144
[2007/07/26 23:56:48, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "write cache size" option is deprecated
  doing parameter read size = 65536
[2007/07/26 23:56:48, 0] param/loadparm.c:map_parameter(2536)
  Unknown parameter encountered: "read size"
[2007/07/26 23:56:48, 0] param/loadparm.c:lp_do_parameter(3277)
  Ignoring unknown parameter "read size"
  doing parameter template shell = /bin/false
  doing parameter directory mask = 0770
  doing parameter create mask = 0770
  doing parameter veto files =
/aquota.group/aquota.user/lost+found/.owner*/quota.group/quota.user/
  doing parameter root preexec = /usr/local/arm/samba/bin/smb-preexec '%S'
'%I' '%U' '%a' '%T'
  doing parameter root preexec close = Yes
  doing parameter root postexec = /usr/local/arm/samba/bin/smb-postexec '%S'
'%I' '%U' '%a' '%T'
  doing parameter security = ADS
  doing parameter ldap ssl = no
  doing parameter password server = *
  doing parameter winbind separator = +
[2007/07/26 23:56:48, 4] param/loadparm.c:lp_load(4113)
  pm_process() returned Yes
[2007/07/26 23:56:48, 7] param/loadparm.c:lp_servicenumber(4226)
  lp_servicenumber: couldn't find homes
[2007/07/26 23:56:48, 10] param/loadparm.c:set_server_role(4031)
  set_server_role: role = ROLE_DOMAIN_MEMBER
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UCS-2LE
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UCS-2LE
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF-16LE
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF-16LE
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UCS-2BE
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UCS-2BE
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF-16BE
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF-16BE
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF8
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF8
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF-8
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF-8
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset ASCII
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset ASCII
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset 646
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset 646
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset ISO-8859-1
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset ISO-8859-1
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UCS2-HEX
[2007/07/26 23:56:48, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UCS2-HEX
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(104)
  Probing module 'ANSI_X3.4-1968'
[2007/07/26 23:56:48, 5] lib/module.c:smb_probe_module(115)
  Probing module 'ANSI_X3.4-1968': Trying to load from
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so
[2007/07/26 23:56:48, 3] lib/module.c:do_smb_load_module(49)
  Error loading module '/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so':
/usr/local/arm/samba/lib/charset/ANSI_X3.4-1968.so: cannot open shared
object file: No such file or directory
[2007/07/26 23:56:48, 5] lib/charcnv.c:charset_name(78)
  Locale charset 'ANSI_X3.4-1968' unsupported, using ASCII instead
[2007/07/26 23:56:49, 5] lib/util.c:init_names(260)
  Netbios name list:-
  my_netbios_names[0]="TERABOX"
[2007/07/26 23:56:50, 3] lib/util.c:interpret_addr(1203)
  sys_gethostbyname: Unknown host. eth0
[2007/07/26 23:56:50, 2] lib/interface.c:interpret_interface(130)
  can't determine netmask for eth0
[2007/07/26 23:56:50, 2] lib/interface.c:add_interface(81)
  added interface ip=172.16.131.21 bcast=172.16.143.255 nmask=255.255.240.0
[2007/07/26 23:56:50, 6] libads/ldap.c:ads_find_dc(214)
  ads_find_dc: looking for realm 'JHCC.ORG'
[2007/07/26 23:56:50, 8] libsmb/namequery.c:get_sorted_dc_list(1433)
  get_sorted_dc_list: attempting lookup using [ads]
[2007/07/26 23:56:50, 10] libsmb/namequery.c:internal_resolve_name(1028)
  internal_resolve_name: looking up JHCC.ORG#1c
[2007/07/26 23:56:50, 5] lib/gencache.c:gencache_init(59)
  Opening cache file at /usr/local/arm/samba/var/locks/gencache.tdb
[2007/07/26 23:56:50, 10] lib/gencache.c:gencache_get(263)
  Returning expired cache entry: key = NBT/JHCC.ORG#1C, value =
172.16.64.21:389,172.16.64.27:389, timeout = Thu Jul 26 23:55:35 2007

[2007/07/26 23:56:50, 5] libsmb/namecache.c:namecache_fetch(195)
  no entry for JHCC.ORG#1C found.
[2007/07/26 23:56:50, 10] lib/gencache.c:gencache_del(214)
  Deleting cache entry (key = NBT/JHCC.ORG#1C)
[2007/07/26 23:56:50, 5] libsmb/namequery.c:resolve_ads(955)
  resolve_hosts: Attempting to resolve DC's for JHCC.ORG using DNS
[2007/07/26 23:56:50, 10] libsmb/namequery.c:remove_duplicate_addrs2(320)
  remove_duplicate_addrs2: looking for duplicate address/port pairs
[2007/07/26 23:56:50, 5] libsmb/namecache.c:namecache_store(131)
  namecache_store: storing 2 addresses for JHCC.ORG#1c: 172.16.64.21:389,
172.16.64.27:389
[2007/07/26 23:56:50, 10] lib/gencache.c:gencache_set(127)
  Adding cache entry with key = NBT/JHCC.ORG#1C; value = 172.16.64.21:389,
172.16.64.27:389 and timeout = Fri Jul 27 00:07:50 2007
   (660 seconds ahead)
[2007/07/26 23:56:50, 10] libsmb/namequery.c:internal_resolve_name(1145)
  internal_resolve_name: returning 2 addresses: 172.16.64.21:389
172.16.64.27:389
[2007/07/26 23:56:50, 8] libsmb/namequery.c:get_dc_list(1316)
  Adding 2 DC's from auto lookup
[2007/07/26 23:56:50, 10] libsmb/namequery.c:remove_duplicate_addrs2(320)
  remove_duplicate_addrs2: looking for duplicate address/port pairs
[2007/07/26 23:56:50, 4] libsmb/namequery.c:get_dc_list(1406)
  get_dc_list: returning 2 ip addresses in an unordered list
[2007/07/26 23:56:50, 4] libsmb/namequery.c:get_dc_list(1407)
  get_dc_list: 172.16.64.21:389 172.16.64.27:389
[2007/07/26 23:56:50, 5] libads/ldap.c:ads_try_connect(123)
  ads_try_connect: trying ldap server '172.16.64.21' port 389
[2007/07/26 23:56:50, 3] libads/ldap.c:ads_connect(285)
  Connected to LDAP server 172.16.64.21
[2007/07/26 23:56:50, 1] libads/ldap.c:ads_connect(289)
  Failed to get ldap server info
[2007/07/26 23:56:50, 0] utils/net_ads.c:ads_startup(191)
  ads_connect: No results returned
[2007/07/26 23:56:50, 2] utils/net.c:main(873)
  return code = -1


-- 
regards,
       Rahul


More information about the samba mailing list