All,

I am having issues joining a Xandros box running Samba 3 to an active directory domain. net rpc join works fine, but net ads join results in errors. I have put the results (debug level 10) of a net ads join at the end of this email. Basically, it appears that it cannot find any servers (finds an IP address that looks like it might have overflowed, and calls it a "dead entry"), then ads_connect either gives a "No such file or directory" error (as below) or an "Invalid or incomplete multibyte or wide character" error. I can attach an example of the second error if anyone would like, but I believe that everything is the same up until the ads_connect error.

If anyone can shed any light on what my problem might be, I would be grateful.

Renee





jme-cla-li01:/home/rgehlbac# net ads join -d10 -U "user"
[2007/03/26 17:02:46, 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/03/26 17:02:46, 3] param/loadparm.c:lp_load(4210)
 lp_load: refreshing parameters
[2007/03/26 17:02:46, 3] param/loadparm.c:init_globals(1393)
 Initialising global parameters
[2007/03/26 17:02:46, 3] param/params.c:pm_process(574)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2007/03/26 17:02:46, 3] param/loadparm.c:do_section(3665)
 Processing section "[global]"
 doing parameter include = /etc/xandrosncs/run/samba_wins
[2007/03/26 17:02:46, 3] param/params.c:pm_process(574)
params.c:pm_process() - Processing configuration file "/etc/xandrosncs/run/samba_wins"
 doing parameter wins server = 10.84.0.50
 doing parameter realm = FAYETTE
 doing parameter workgroup = FAYETTE
 doing parameter security = ads
 doing parameter winbind use default domain = yes
 doing parameter name resolve order = lmhosts host wins bcast dns
 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 encrypt passwords = true
 doing parameter passdb backend = tdbsam
 doing parameter ldap delete dn = yes
 doing parameter obey pam restrictions = yes
 doing parameter invalid users = root
 doing parameter map to guest = Bad User
 doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
 doing parameter client use spnego = no
 doing parameter load printers = no
 doing parameter printing = cups
 doing parameter printcap name = cups
 doing parameter dos filetimes = yes
 doing parameter socket options = TCP_NODELAY
 doing parameter display charset = iso8859-1
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(103)
 Attempting to register new charset UCS-2LE
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(111)
 Registered charset UCS-2LE
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(103)
 Attempting to register new charset UTF-16LE
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(111)
 Registered charset UTF-16LE
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(103)
 Attempting to register new charset UCS-2BE
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(111)
 Registered charset UCS-2BE
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(103)
 Attempting to register new charset UTF-16BE
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(111)
 Registered charset UTF-16BE
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(103)
 Attempting to register new charset UTF8
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(111)
 Registered charset UTF8
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(103)
 Attempting to register new charset UTF-8
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(111)
 Registered charset UTF-8
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(103)
 Attempting to register new charset ASCII
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(111)
 Registered charset ASCII
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(103)
 Attempting to register new charset 646
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(111)
 Registered charset 646
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(103)
 Attempting to register new charset ISO-8859-1
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(111)
 Registered charset ISO-8859-1
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(103)
 Attempting to register new charset UCS2-HEX
[2007/03/26 17:02:46, 5] lib/iconv.c:smb_register_charset(111)
 Registered charset UCS2-HEX
 doing parameter unix charset = iso8859-1
[2007/03/26 17:02:46, 4] param/loadparm.c:lp_load(4241)
 pm_process() returned Yes
[2007/03/26 17:02:46, 7] param/loadparm.c:lp_servicenumber(4354)
 lp_servicenumber: couldn't find homes
[2007/03/26 17:02:46, 10] param/loadparm.c:set_server_role(4174)
 set_server_role: role = ROLE_DOMAIN_MEMBER
[2007/03/26 17:02:46, 5] lib/util.c:init_names(260)
 Netbios name list:-
 my_netbios_names[0]="JME-CLA-LI01"
[2007/03/26 17:02:46, 2] lib/interface.c:add_interface(81)
 added interface ip=10.86.121.51 bcast=10.86.127.255 nmask=255.255.240.0
user's password:
[2007/03/26 17:02:48, 6] libads/ldap.c:ads_find_dc(217)
 ads_find_dc: looking for realm 'FAYETTE'
[2007/03/26 17:02:48, 8] libsmb/namequery.c:get_sorted_dc_list(1442)
 get_sorted_dc_list: attempting lookup using [ads]
[2007/03/26 17:02:48, 10] libsmb/namequery.c:internal_resolve_name(1028)
 internal_resolve_name: looking up FAYETTE#1c
[2007/03/26 17:02:48, 5] lib/gencache.c:gencache_init(59)
 Opening cache file at /var/run/samba/gencache.tdb
[2007/03/26 17:02:48, 10] lib/gencache.c:gencache_get(272)
Returning expired cache entry: key = NBT/FAYETTE#1C, value = 255.255.255.255:-1209964208, timeout = Mon Mar 26 16:53:05 2007

[2007/03/26 17:02:48, 5] libsmb/namecache.c:namecache_fetch(195)
 no entry for FAYETTE#1C found.
[2007/03/26 17:02:48, 10] lib/gencache.c:gencache_del(217)
 Deleting cache entry (key = NBT/FAYETTE#1C)
[2007/03/26 17:02:48, 5] libsmb/namequery.c:resolve_ads(955)
 resolve_hosts: Attempting to resolve DC's for FAYETTE using DNS
[2007/03/26 17:02:48, 5] libsmb/namecache.c:namecache_store(131)
namecache_store: storing 1 address for FAYETTE#1c: 255.255.255.255:136539648
[2007/03/26 17:02:48, 10] lib/gencache.c:gencache_set(130)
Adding cache entry with key = NBT/FAYETTE#1C; value = 255.255.255.255:136539648 and timeout = Mon Mar 26 17:13:48 2007
  (660 seconds ahead)
[2007/03/26 17:02:48, 8] libsmb/namequery.c:get_dc_list(1325)
 Adding 0 DC's from auto lookup
[2007/03/26 17:02:48, 4] libsmb/namequery.c:get_dc_list(1341)
 get_dc_list: no servers found
[2007/03/26 17:02:48, 6] libads/ldap.c:ads_find_dc(217)
 ads_find_dc: looking for domain 'FAYETTE'
[2007/03/26 17:02:48, 8] libsmb/namequery.c:get_sorted_dc_list(1442)
 get_sorted_dc_list: attempting lookup using [lmhosts host wins bcast dns]
[2007/03/26 17:02:48, 10] libsmb/namequery.c:internal_resolve_name(1028)
 internal_resolve_name: looking up FAYETTE#1c
[2007/03/26 17:02:48, 10] lib/gencache.c:gencache_get(272)
Returning valid cache entry: key = NBT/FAYETTE#1C, value = 255.255.255.255:136539648, timeout = Mon Mar 26 17:13:48 2007

[2007/03/26 17:02:48, 5] libsmb/namecache.c:namecache_fetch(209)
 dead entry for FAYETTE#1C found.
[2007/03/26 17:02:48, 8] libsmb/namequery.c:get_dc_list(1325)
 Adding 0 DC's from auto lookup
[2007/03/26 17:02:48, 4] libsmb/namequery.c:get_dc_list(1341)
 get_dc_list: no servers found
[2007/03/26 17:02:48, 0] utils/net_ads.c:ads_startup(191)
 ads_connect: No such file or directory
[2007/03/26 17:02:48, 2] utils/net.c:main(878)
 return code = -1




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to