Hello good people, I'm in a need of your help, authenticating samba users through AD. I'm running samba 3.0.28 on FreeBSD 7.0 i386. Also Windows 2008 Enterprise server. When I try to join the domain I get an error message "Failed to join domain: Improperly formed account name" here is my smb.conf file: [global] workgroup = LAB realm = setup.net server string = SambaServer security = ads logon path = \\samba\home\share\%U guest account = pcguest log file = /var/log/samba/log.%m max log size = 50 password server = safad.setup.net allow trusted domains = yes auth methods= guest sam winbind available = yes realm = SETUP.NET passdb backend = tdbsam socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 local master = no os level = 33 domain master = no preferred master = no domain logons = no ldap admin dn = cn=root,dc=lab,dc=net logon script = %U.bat logon path = \\%L\Profiles\%U wins server = safad.setup.net wins proxy = no winbind uid = 10000-20000 winbind gid = 10000-20000 winbind separator = / winbind use default domain = yes dns proxy = no display charset = koi8-r unix charset = koi8-r dos charset = cp866 store dos attributes = yes map hidden = no map system = no map archive = no nt acl support = yes inherit acls = yes map acl inherit = yes add user script = /usr/sbin/useradd %u AND my "net ads join -U Administrator -d 10 %net ads join -U Administrator -d 10 [2008/06/27 09:09:42, 5] lib/debug.c:debug_dump_status(391) 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 dmapi: False/0 [2008/06/27 09:09:42, 3] param/loadparm.c:lp_load(5031) lp_load: refreshing parameters [2008/06/27 09:09:42, 3] param/loadparm.c:init_globals(1430) Initialising global parameters [2008/06/27 09:09:42, 3] param/params.c:pm_process(572) params.c:pm_process() - Processing configuration file "/usr/local/etc/smb.conf" [2008/06/27 09:09:42, 3] param/loadparm.c:do_section(3770) Processing section "[global]" doing parameter workgroup = LAB doing parameter realm = setup.net doing parameter server string = SambaServer doing parameter security = ads doing parameter logon path = \\samba\home\share\%U doing parameter guest account = pcguest doing parameter log file = /var/log/samba/log.%m doing parameter max log size = 50 doing parameter password server = safad.setup.net doing parameter allow trusted domains = yes doing parameter auth methods = guest sam winbind doing parameter available = yes doing parameter realm = SETUP.NET doing parameter passdb backend = tdbsam doing parameter socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 doing parameter local master = no doing parameter os level = 33 doing parameter domain master = no doing parameter preferred master = no doing parameter domain logons = no doing parameter ldap admin dn = cn=root,dc=lab,dc=net doing parameter logon script = %U.bat doing parameter logon path = \\%L\Profiles\%U doing parameter wins server = safad.setup.net doing parameter wins proxy = no doing parameter winbind uid = 10000-20000 doing parameter winbind gid = 10000-20000 doing parameter winbind separator = / doing parameter winbind use default domain = yes doing parameter dns proxy = no doing parameter display charset = koi8-r [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(105) Attempting to register new charset UCS-2LE [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(113) Registered charset UCS-2LE [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(105) Attempting to register new charset UTF-16LE [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(113) Registered charset UTF-16LE [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(105) Attempting to register new charset UCS-2BE [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(113) Registered charset UCS-2BE [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(105) Attempting to register new charset UTF-16BE [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(113) Registered charset UTF-16BE [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(105) Attempting to register new charset UTF8 [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(113) Registered charset UTF8 [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(105) Attempting to register new charset UTF-8 [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(113) Registered charset UTF-8 [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(105) Attempting to register new charset ASCII [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(113) Registered charset ASCII [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(105) Attempting to register new charset 646 [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(113) Registered charset 646 [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(105) Attempting to register new charset ISO-8859-1 [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(113) Registered charset ISO-8859-1 [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(105) Attempting to register new charset UCS2-HEX [2008/06/27 09:09:42, 5] lib/iconv.c:smb_register_charset(113) Registered charset UCS2-HEX doing parameter unix charset = koi8-r doing parameter dos charset = cp866 doing parameter store dos attributes = yes doing parameter map hidden = no doing parameter map system = no doing parameter map archive = no doing parameter nt acl support = yes doing parameter inherit acls = yes doing parameter map acl inherit = yes doing parameter add user script = /usr/sbin/useradd %u doing parameter add group script = /usr/sbin/groupadd %g doing parameter add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u [2008/06/27 09:09:42, 4] param/loadparm.c:lp_load(5062) pm_process() returned Yes [2008/06/27 09:09:42, 7] param/loadparm.c:lp_servicenumber(5200) lp_servicenumber: couldn't find homes [2008/06/27 09:09:42, 10] param/loadparm.c:set_server_role(4306) set_server_role: role = ROLE_DOMAIN_MEMBER [2008/06/27 09:09:42, 5] lib/util.c:init_names(287) Netbios name list:- my_netbios_names[0]="SAMBA" [2008/06/27 09:09:42, 2] lib/interface.c:add_interface(81) added interface ip=192.168.124.26 bcast=192.168.124.255 nmask255.255.255.0 [2008/06/27 09:09:42, 5] lib/gencache.c:gencache_init(61) Opening cache file at /var/db/samba/gencache.tdb [2008/06/27 09:09:42, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038 [2008/06/27 09:09:42, 5] libads/dns.c:sitename_fetch(677) sitename_fetch: Returning sitename for SETUP.NET: "Default-First-Site-Name" [2008/06/27 09:09:42, 4] libsmb/namequery_dc.c:ads_dc_name(73) ads_dc_name: domain=LAB [2008/06/27 09:09:42, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038 [2008/06/27 09:09:42, 5] libads/dns.c:sitename_fetch(677) sitename_fetch: Returning sitename for SETUP.NET: "Default-First-Site-Name" [2008/06/27 09:09:42, 6] libads/ldap.c:ads_find_dc(294) ads_find_dc: looking for realm 'SETUP.NET' [2008/06/27 09:09:42, 8] libsmb/namequery.c:get_sorted_dc_list(1626) get_sorted_dc_list: attempting lookup for name SETUP.NET (sitename Default-First-Site-Name) using [ads] [2008/06/27 09:09:42, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = SAF/DOMAIN/SETUP.NET, value 192.168.124.23, timeout = Fri Jun 27 09:23:55 2008 [2008/06/27 09:09:42, 5] libsmb/namequery.c:saf_fetch(136) saf_fetch: Returning "192.168.124.23" for "SETUP.NET" domain [2008/06/27 09:09:42, 3] libsmb/namequery.c:get_dc_list(1489) get_dc_list: preferred server list: "192.168.124.23, safad.setup.net" [2008/06/27 09:09:42, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038 [2008/06/27 09:09:42, 5] libads/dns.c:sitename_fetch(677) sitename_fetch: Returning sitename for SETUP.NET: "Default-First-Site-Name" [2008/06/27 09:09:42, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038 [2008/06/27 09:09:42, 5] libads/dns.c:sitename_fetch(677) sitename_fetch: Returning sitename for SETUP.NET: "Default-First-Site-Name" [2008/06/27 09:09:42, 10] libsmb/namequery.c:internal_resolve_name(1166) internal_resolve_name: looking up safad.setup.net#20 (sitename Default-First-Site-Name) [2008/06/27 09:09:42, 10] lib/gencache.c:gencache_get(226) Returning expired cache entry: key = NBT/SAFAD.SETUP.NET#20, value 192.168.124.23:0, timeout = Fri Jun 27 09:09:27 2008 [2008/06/27 09:09:42, 5] libsmb/namecache.c:namecache_fetch(210) no entry for safad.setup.net#20 found. [2008/06/27 09:09:42, 3] libsmb/namequery.c:resolve_lmhosts(966) resolve_lmhosts: Attempting lmhosts lookup for name safad.setup.net<0x20> [2008/06/27 09:09:42, 4] libsmb/namequery.c:startlmhosts(659) startlmhosts: Can't open lmhosts file /usr/local/etc/lmhosts. Error was No such file or directory [2008/06/27 09:09:42, 3] libsmb/namequery.c:resolve_wins(863) resolve_wins: Attempting wins lookup for name safad.setup.net<0x20> [2008/06/27 09:09:42, 10] lib/gencache.c:gencache_get(226) Returning expired cache entry: key = WINS_SRV_DEAD/192.168.124.23,0.0.0.0, value = DOWN, timeout = Fri Jun 27 09:08:17 2008 [2008/06/27 09:09:42, 4] lib/wins_srv.c:wins_srv_is_dead(111) wins_srv_is_dead: 192.168.124.23 is alive [2008/06/27 09:09:42, 6] lib/wins_srv.c:wins_srv_ip_tag(311) Current wins server for tag '*' with source 0.0.0.0 is 192.168.124.23 [2008/06/27 09:09:42, 10] lib/gencache.c:gencache_get(212) Cache entry with key = WINS_SRV_DEAD/192.168.124.23,0.0.0.0 couldn't be found [2008/06/27 09:09:42, 4] lib/wins_srv.c:wins_srv_is_dead(111) wins_srv_is_dead: 192.168.124.23 is alive [2008/06/27 09:09:42, 3] libsmb/namequery.c:resolve_wins(902) resolve_wins: using WINS server 192.168.124.23 and tag '*' [2008/06/27 09:09:42, 10] lib/util_sock.c:open_socket_in(839) bind succeeded on port 0 [2008/06/27 09:09:42, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (192.168.124.23) on port 137 [2008/06/27 09:09:44, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (192.168.124.23) on port 137 [2008/06/27 09:09:46, 5] libsmb/nmblib.c:send_udp(777) Sending a packet of len 50 to (192.168.124.23) on port 137 [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_get(212) Cache entry with key = WINS_SRV_DEAD/192.168.124.23,0.0.0.0 couldn't be found [2008/06/27 09:09:48, 4] lib/wins_srv.c:wins_srv_is_dead(111) wins_srv_is_dead: 192.168.124.23 is alive [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_set(140) Adding cache entry with key = WINS_SRV_DEAD/192.168.124.23,0.0.0.0; value = DOWN and timeout = Fri Jun 27 09:19:48 2008 (600 seconds ahead) [2008/06/27 09:09:48, 4] lib/wins_srv.c:wins_srv_died(148) Marking wins server 192.168.124.23 dead for 600 seconds from source 192.168.124.23 [2008/06/27 09:09:48, 3] libsmb/namequery.c:resolve_hosts(1029) resolve_hosts: Attempting host lookup for name safad.setup.net<0x20> [2008/06/27 09:09:48, 10] libsmb/namequery.c:remove_duplicate_addrs2(435) remove_duplicate_addrs2: looking for duplicate address/port pairs [2008/06/27 09:09:48, 5] libsmb/namecache.c:namecache_store(135) namecache_store: storing 1 address for safad.setup.net#20: 192.168.124.23:0 [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_set(140) Adding cache entry with key = NBT/SAFAD.SETUP.NET#20; value 192.168.124.23:0 and timeout = Fri Jun 27 09:20:48 2008 (660 seconds ahead) [2008/06/27 09:09:48, 10] libsmb/namequery.c:internal_resolve_name(1293) internal_resolve_name: returning 1 addresses: 192.168.124.23:0 [2008/06/27 09:09:48, 10] libsmb/namequery.c:remove_duplicate_addrs2(435) remove_duplicate_addrs2: looking for duplicate address/port pairs [2008/06/27 09:09:48, 4] libsmb/namequery.c:get_dc_list(1599) get_dc_list: returning 1 ip addresses in an ordered list [2008/06/27 09:09:48, 4] libsmb/namequery.c:get_dc_list(1600) get_dc_list: 192.168.124.23:389 [2008/06/27 09:09:48, 5] libads/ldap.c:ads_try_connect(180) ads_try_connect: sending CLDAP request to 192.168.124.23 (realm: SETUP.NET ) [2008/06/27 09:09:48, 10] libads/dns.c:sitename_store(638) sitename_store: realm = [SETUP.NET], sitename = [Default-First-Site-Name], expire = [2147483647] [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_set(140) Adding cache entry with key = AD_SITENAME/DOMAIN/SETUP.NET; value Default-First-Site-Name and timeout = Mon Jan 18 19:14:07 2038 (932900659 seconds ahead) [2008/06/27 09:09:48, 3] libads/ldap.c:ads_connect(394) Connected to LDAP server 192.168.124.23 [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038 [2008/06/27 09:09:48, 5] libads/dns.c:sitename_fetch(677) sitename_fetch: Returning sitename for SETUP.NET: "Default-First-Site-Name" [2008/06/27 09:09:48, 10] libads/ldap.c:ads_closest_dc(149) ads_closest_dc: ADS_CLOSEST flag set [2008/06/27 09:09:48, 10] libads/kerberos.c:create_local_private_krb5_conf_for_domain(614) create_local_private_krb5_conf_for_domain: fname /var/db/samba/smb_krb5/krb5.conf.LAB, realm = SETUP.NET, domain = LAB [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = SAF/DOMAIN/SETUP.NET, value 192.168.124.23, timeout = Fri Jun 27 09:23:55 2008 [2008/06/27 09:09:48, 5] libsmb/namequery.c:saf_fetch(136) saf_fetch: Returning "192.168.124.23" for "SETUP.NET" domain [2008/06/27 09:09:48, 3] libsmb/namequery.c:get_dc_list(1489) get_dc_list: preferred server list: "192.168.124.23, safad.setup.net" [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038 [2008/06/27 09:09:48, 5] libads/dns.c:sitename_fetch(677) sitename_fetch: Returning sitename for SETUP.NET: "Default-First-Site-Name" [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038 [2008/06/27 09:09:48, 5] libads/dns.c:sitename_fetch(677) sitename_fetch: Returning sitename for SETUP.NET: "Default-First-Site-Name" [2008/06/27 09:09:48, 10] libsmb/namequery.c:internal_resolve_name(1166) internal_resolve_name: looking up safad.setup.net#20 (sitename Default-First-Site-Name) [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = NBT/SAFAD.SETUP.NET#20, value 192.168.124.23:0, timeout = Fri Jun 27 09:20:48 2008 [2008/06/27 09:09:48, 5] libsmb/namecache.c:namecache_fetch(214) name safad.setup.net#20 found. [2008/06/27 09:09:48, 10] libsmb/namequery.c:remove_duplicate_addrs2(435) remove_duplicate_addrs2: looking for duplicate address/port pairs [2008/06/27 09:09:48, 4] libsmb/namequery.c:get_dc_list(1599) get_dc_list: returning 1 ip addresses in an ordered list [2008/06/27 09:09:48, 4] libsmb/namequery.c:get_dc_list(1600) get_dc_list: 192.168.124.23:389 [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = SAF/DOMAIN/SETUP.NET, value 192.168.124.23, timeout = Fri Jun 27 09:23:55 2008 [2008/06/27 09:09:48, 5] libsmb/namequery.c:saf_fetch(136) saf_fetch: Returning "192.168.124.23" for "SETUP.NET" domain [2008/06/27 09:09:48, 3] libsmb/namequery.c:get_dc_list(1489) get_dc_list: preferred server list: "192.168.124.23, safad.setup.net" [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038 [2008/06/27 09:09:48, 5] libads/dns.c:sitename_fetch(677) sitename_fetch: Returning sitename for SETUP.NET: "Default-First-Site-Name" [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038 [2008/06/27 09:09:48, 5] libads/dns.c:sitename_fetch(677) sitename_fetch: Returning sitename for SETUP.NET: "Default-First-Site-Name" [2008/06/27 09:09:48, 10] libsmb/namequery.c:internal_resolve_name(1166) internal_resolve_name: looking up safad.setup.net#20 (sitename Default-First-Site-Name) [2008/06/27 09:09:48, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = NBT/SAFAD.SETUP.NET#20, value 192.168.124.23:0, timeout = Fri Jun 27 09:20:48 2008 [2008/06/27 09:09:48, 5] libsmb/namecache.c:namecache_fetch(214) name safad.setup.net#20 found. [2008/06/27 09:09:48, 10] libsmb/namequery.c:remove_duplicate_addrs2(435) remove_duplicate_addrs2: looking for duplicate address/port pairs [2008/06/27 09:09:48, 4] libsmb/namequery.c:get_dc_list(1599) get_dc_list: returning 1 ip addresses in an ordered list [2008/06/27 09:09:48, 4] libsmb/namequery.c:get_dc_list(1600) get_dc_list: 192.168.124.23:389 [2008/06/27 09:09:48, 10] libads/kerberos.c:get_kdc_ip_string(565) get_kdc_ip_string: Returning kdc = 192.168.124.23 [2008/06/27 09:09:48, 5] libads/kerberos.c:create_local_private_krb5_conf_for_domain(683) create_local_private_krb5_conf_for_domain: wrote file /var/db/samba/smb_krb5/krb5.conf.LAB with realm SETUP.NET KDC 192.168.124.23 [2008/06/27 09:09:48, 4] libsmb/namequery_dc.c:ads_dc_name(139) ads_dc_name: using server='SAFAD.SETUP.NET' IP=192.168.124.23 Administrator's password: [2008/06/27 09:09:55, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038 [2008/06/27 09:09:55, 5] libads/dns.c:sitename_fetch(677) sitename_fetch: Returning sitename for SETUP.NET: "Default-First-Site-Name" [2008/06/27 09:09:55, 6] libads/ldap.c:ads_find_dc(294) ads_find_dc: looking for realm 'SETUP.NET' [2008/06/27 09:09:55, 8] libsmb/namequery.c:get_sorted_dc_list(1626) get_sorted_dc_list: attempting lookup for name SETUP.NET (sitename Default-First-Site-Name) using [ads] [2008/06/27 09:09:55, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = SAF/DOMAIN/SETUP.NET, value 192.168.124.23, timeout = Fri Jun 27 09:23:55 2008 [2008/06/27 09:09:55, 5] libsmb/namequery.c:saf_fetch(136) saf_fetch: Returning "192.168.124.23" for "SETUP.NET" domain [2008/06/27 09:09:55, 3] libsmb/namequery.c:get_dc_list(1489) get_dc_list: preferred server list: "192.168.124.23, safad.setup.net" [2008/06/27 09:09:55, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038 [2008/06/27 09:09:55, 5] libads/dns.c:sitename_fetch(677) sitename_fetch: Returning sitename for SETUP.NET: "Default-First-Site-Name" [2008/06/27 09:09:55, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = AD_SITENAME/DOMAIN/SETUP.NET, value Default-First-Site-Name, timeout = Mon Jan 18 19:14:07 2038 [2008/06/27 09:09:55, 5] libads/dns.c:sitename_fetch(677) sitename_fetch: Returning sitename for SETUP.NET: "Default-First-Site-Name" [2008/06/27 09:09:55, 10] libsmb/namequery.c:internal_resolve_name(1166) internal_resolve_name: looking up safad.setup.net#20 (sitename Default-First-Site-Name) [2008/06/27 09:09:55, 10] lib/gencache.c:gencache_get(226) Returning valid cache entry: key = NBT/SAFAD.SETUP.NET#20, value 192.168.124.23:0, timeout = Fri Jun 27 09:20:48 2008 [2008/06/27 09:09:55, 5] libsmb/namecache.c:namecache_fetch(214) name safad.setup.net#20 found. [2008/06/27 09:09:55, 10] libsmb/namequery.c:remove_duplicate_addrs2(435) remove_duplicate_addrs2: looking for duplicate address/port pairs [2008/06/27 09:09:55, 4] libsmb/namequery.c:get_dc_list(1599) get_dc_list: returning 1 ip addresses in an ordered list [2008/06/27 09:09:55, 4] libsmb/namequery.c:get_dc_list(1600) get_dc_list: 192.168.124.23:389 [2008/06/27 09:09:55, 5] libads/ldap.c:ads_try_connect(180) ads_try_connect: sending CLDAP request to 192.168.124.23 (realm: SETUP.NET ) [2008/06/27 09:09:55, 10] libads/dns.c:sitename_store(638) sitename_store: realm = [SETUP.NET], sitename = [Default-First-Site-Name], expire = [2147483647] [2008/06/27 09:09:55, 10] lib/gencache.c:gencache_set(140) Adding cache entry with key = AD_SITENAME/DOMAIN/SETUP.NET; value Default-First-Site-Name and timeout = Mon Jan 18 19:14:07 2038 (932900652 seconds ahead) [2008/06/27 09:09:55, 3] libads/ldap.c:ads_connect(394) Connected to LDAP server 192.168.124.23 [2008/06/27 09:09:55, 10] libads/ldap.c:ads_closest_dc(149) ads_closest_dc: ADS_CLOSEST flag set [2008/06/27 09:09:55, 10] libsmb/namequery.c:saf_store(74) saf_store: domain = [SETUP], server = [192.168.124.23], expire [1214583895] [2008/06/27 09:09:55, 10] lib/gencache.c:gencache_set(140) Adding cache entry with key = SAF/DOMAIN/SETUP; value = 192.168.124.23 and timeout = Fri Jun 27 09:24:55 2008 (900 seconds ahead) [2008/06/27 09:09:55, 10] libsmb/namequery.c:saf_store(74) saf_store: domain = [SETUP.NET], server = [192.168.124.23], expire [1214583895] [2008/06/27 09:09:55, 10] lib/gencache.c:gencache_set(140) Adding cache entry with key = SAF/DOMAIN/SETUP.NET; value 192.168.124.23and timeout = Fri Jun 27 09:24:55 2008 (900 seconds ahead) [2008/06/27 09:09:55, 4] libads/ldap.c:ads_current_time(2414) time offset is 0 seconds [2008/06/27 09:09:55, 4] libads/sasl.c:ads_sasl_bind(521) Found SASL mechanism GSS-SPNEGO [2008/06/27 09:09:55, 3] libads/sasl.c:ads_sasl_spnego_bind(213) ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2 [2008/06/27 09:09:55, 3] libads/sasl.c:ads_sasl_spnego_bind(213) ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 [2008/06/27 09:09:55, 3] libads/sasl.c:ads_sasl_spnego_bind(213) ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3 [2008/06/27 09:09:55, 3] libads/sasl.c:ads_sasl_spnego_bind(213) ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10 [2008/06/27 09:09:55, 3] libads/sasl.c:ads_sasl_spnego_bind(222) ads_sasl_spnego_bind: got server principal name not_defined_in_RFC4178@please_ignore [2008/06/27 09:09:55, 3] libsmb/clikrb5.c:ads_krb5_mk_req(593) ads_krb5_mk_req: krb5_cc_get_principal failed (No such file or directory) [2008/06/27 09:09:55, 10] libads/sasl.c:ads_sasl_spnego_bind(262) ads_sasl_spnego_krb5_bind failed with: No such file or directory, calling kinit [2008/06/27 09:09:55, 10] libads/kerberos.c:kerberos_kinit_password_ext(91) kerberos_kinit_password: using [MEMORY:net_ads] as ccache and config [/var/db/samba/smb_krb5/krb5.conf.LAB] [2008/06/27 09:09:55, 1] libsmb/clikrb5.c:ads_krb5_mk_req(602) ads_krb5_mk_req: krb5_get_credentials failed for not_defined_in_RFC4178@please_ignore (Server not found in Kerberos database) [2008/06/27 09:09:55, 1] utils/net_ads.c:net_ads_join(1470) error on ads_startup: Server not found in Kerberos database Failed to join domain: Improperly formed account name [2008/06/27 09:09:55, 2] utils/net.c:main(1036) return code = -1 Thanks, -Augustin,