Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2004 14:21:17 +0200
From:      Eric Masson <e-masson@kisoft-services.com>
To:        Marc Olzheim <marcolz@stack.nl>
Cc:        Evan Oberholster <eoberholster@aiias.edu>
Subject:   Re: How-to: Install Samba
Message-ID:  <86hdujw66a.fsf@srvbsdnanssv.interne.kisoft-services.com>
In-Reply-To: <20040514110500.GA87835@stack.nl> (Marc Olzheim's message of "Fri, 14 May 2004 13:05:00 %2B0200")
References:  <001801c4389e$8bcca790$1400a8c0@aiiasit> <20040513140547.GA72575@minubian.inethouston.net> <20040513140703.GB72575@minubian.inethouston.net> <86d658gwzs.fsf@srvbsdnanssv.interne.kisoft-services.com> <20040514110500.GA87835@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Marc" == Marc Olzheim <marcolz@stack.nl> writes:

Hello,

 Marc> Yup. What's the problem ?

I never can join the AD domain, just look the following typescript :

Script started on Fri May 14 14:11:37 2004
emss@srvbsdnanssv:~# kinit ADMINISTRATEUR@INTERNE.EXAMPLE.COM
ADMINISTRATEUR@INTERNE.EXAMPLE.COM's Password: 
emss@srvbsdnanssv:~# klist
Credentials cache: FILE:/tmp/krb5cc_0
        Principal: ADMINISTRATEUR@INTERNE.EXAMPLE.COM

  Issued           Expires          Principal                                                   
May 14 14:11:59  May 15 00:11:59  krbtgt/INTERNE.EXAMPLE.COM@INTERNE.EXAMPLE.COM
emss@srvbsdnanssv:~# net ads join -d 10 -U ADMINISTRATEUR
[2004/05/14 14:12:40, 5] lib/debug.c:debug_dump_status(369)
  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
[2004/05/14 14:12:40, 3] param/loadparm.c:lp_load(3877)
  lp_load: refreshing parameters
[2004/05/14 14:12:40, 3] param/loadparm.c:init_globals(1307)
  Initialising global parameters
[2004/05/14 14:12:40, 3] param/params.c:pm_process(566)
  params.c:pm_process() - Processing configuration file "/usr/local/etc/smb.conf"
[2004/05/14 14:12:40, 3] param/loadparm.c:do_section(3375)
  Processing section "[global]"
  doing parameter server string = Samba 3.0.3
  doing parameter security = ADS
  doing parameter realm = INTERNE.EXAMPLE.COM
  doing parameter log file = /var/log/samba/log.%m
  doing parameter max log size = 50
  doing parameter socket options = TCP_NODELAY
  doing parameter dns proxy = no
[2004/05/14 14:12:40, 4] param/loadparm.c:lp_load(3909)
  pm_process() returned Yes
[2004/05/14 14:12:40, 7] param/loadparm.c:lp_servicenumber(4022)
  lp_servicenumber: couldn't find homes
[2004/05/14 14:12:40, 10] param/loadparm.c:set_server_role(3818)
  set_server_role: role = ROLE_DOMAIN_MEMBER
[2004/05/14 14:12:40, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset UCS-2LE
[2004/05/14 14:12:40, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset UCS-2LE
[2004/05/14 14:12:40, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset UTF8
[2004/05/14 14:12:40, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset UTF8
[2004/05/14 14:12:40, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset ASCII
[2004/05/14 14:12:40, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset ASCII
[2004/05/14 14:12:40, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset 646
[2004/05/14 14:12:40, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset 646
[2004/05/14 14:12:40, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset ISO-8859-1
[2004/05/14 14:12:40, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset ISO-8859-1
[2004/05/14 14:12:40, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset UCS2-HEX
[2004/05/14 14:12:40, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset UCS2-HEX
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ISO8859-15' for LOCALE
[2004/05/14 14:12:40, 5] lib/util.c:init_names(270)
  Netbios name list:-
  my_netbios_names[0]="SRVBSDNANSSV"
[2004/05/14 14:12:40, 2] lib/interface.c:add_interface(79)
  added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
ADMINISTRATEUR's password: 
[2004/05/14 14:12:44, 6] libads/ldap.c:ads_find_dc(147)
  ads_find_dc: looking for realm 'INTERNE.EXAMPLE.COM'
[2004/05/14 14:12:44, 8] libsmb/namequery.c:get_sorted_dc_list(1402)
  get_sorted_dc_list: attempting lookup using [ads]
[2004/05/14 14:12:44, 10] libsmb/namequery.c:internal_resolve_name(1013)
  internal_resolve_name: looking up INTERNE.EXAMPLE.COM#1c
[2004/05/14 14:12:44, 5] lib/gencache.c:gencache_init(59)
  Opening cache file at /var/run/samba/gencache.tdb
[2004/05/14 14:12:44, 10] lib/gencache.c:gencache_get(286)
  Cache entry with key = NBT/INTERNE.EXAMPLE.COM#1C couldn't be found
[2004/05/14 14:12:44, 5] libsmb/namecache.c:namecache_fetch(195)
  no entry for INTERNE.EXAMPLE.COM#1C found.
[2004/05/14 14:12:44, 10] lib/gencache.c:gencache_del(214)
  Deleting cache entry (key = NBT/INTERNE.EXAMPLE.COM#1C)
[2004/05/14 14:12:44, 5] libsmb/namequery.c:resolve_ads(940)
  resolve_hosts: Attempting to resolve DC's for INTERNE.EXAMPLE.COM using DNS
[2004/05/14 14:12:44, 10] libsmb/namequery.c:remove_duplicate_addrs2(319)
  remove_duplicate_addrs2: looking for duplicate address/port pairs
[2004/05/14 14:12:44, 5] libsmb/namecache.c:namecache_store(131)
  namecache_store: storing 1 address for INTERNE.EXAMPLE.COM#1c: 192.168.0.1:389
[2004/05/14 14:12:44, 10] lib/gencache.c:gencache_set(127)
  Adding cache entry with key = NBT/INTERNE.EXAMPLE.COM#1C; value = 192.168.0.1:389 and timeout = Fri May 14 14:23:44 2004
   (660 seconds ahead)
[2004/05/14 14:12:44, 10] libsmb/namequery.c:internal_resolve_name(1131)
  internal_resolve_name: returning 1 addresses: 192.168.0.1:389 
[2004/05/14 14:12:44, 8] libsmb/namequery.c:get_dc_list(1300)
  Adding 1 DC's from auto lookup
[2004/05/14 14:12:44, 10] libsmb/namequery.c:remove_duplicate_addrs2(319)
  remove_duplicate_addrs2: looking for duplicate address/port pairs
[2004/05/14 14:12:44, 4] libsmb/namequery.c:get_dc_list(1376)
  get_dc_list: returning 1 ip addresses in an unordered list
[2004/05/14 14:12:44, 4] libsmb/namequery.c:get_dc_list(1377)
  get_dc_list: 192.168.0.1:389 
[2004/05/14 14:12:44, 5] libads/ldap.c:ads_try_connect(56)
  ads_try_connect: trying ldap server '192.168.0.1' port 389
[2004/05/14 14:12:45, 3] libads/ldap.c:ads_connect(218)
  Connected to LDAP server 192.168.0.1
[2004/05/14 14:12:45, 3] libads/ldap.c:ads_server_info(2029)
  got ldap server name srvw2kchapdc@INTERNE.EXAMPLE.COM, using bind path: dc=INTERNE,dc=EXAMPLE,dc=COM
[2004/05/14 14:12:45, 4] libads/ldap.c:ads_server_info(2035)
  time offset is -11 seconds
[2004/05/14 14:12:45, 4] libads/sasl.c:ads_sasl_bind(447)
  Found SASL mechanism GSS-SPNEGO
[2004/05/14 14:12:45, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
  got OID=1 2 840 48018 1 2 2
[2004/05/14 14:12:45, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
  got OID=1 2 840 113554 1 2 2
[2004/05/14 14:12:45, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
  got OID=1 2 840 113554 1 2 2 3
[2004/05/14 14:12:45, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
  got OID=1 3 6 1 4 1 311 2 2 10
[2004/05/14 14:12:45, 3] libads/sasl.c:ads_sasl_spnego_bind(211)
  got principal=srvw2kchapdc$@INTERNE.EXAMPLE.COM
[2004/05/14 14:12:45, 1] libsmb/clikrb5.c:ads_krb5_mk_req(306)
  krb5_cc_get_principal failed (No such file or directory)
[2004/05/14 14:12:46, 1] libsmb/clikrb5.c:ads_krb5_mk_req(314)
  krb5_get_credentials failed for srvw2kchapdc$@INTERNE.EXAMPLE.COM (Unknown error: -1765328343)
[2004/05/14 14:12:46, 1] utils/net_ads.c:ads_startup(181)
  ads_connect: Unknown error: -1765328343
[2004/05/14 14:12:46, 2] utils/net.c:main(792)
  return code = -1
emss@srvbsdnanssv:~# ^Dexit

Script done on Fri May 14 14:13:12 2004

Any idea ?

Eric Masson

-- 
 Quand je passe par le bios et que je lui dit de booter sur C, il boot
 sur le PM en C:\ et il met le SM en D:\. Quand le lui dit de booter sur
 D, il boot sur le SM en C:\ et il met le PM en D:\.  Ca c'est génial.
 -+- FP in: <http://www.le-gnu.net>; - Le bonheur, c'est simple -+-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hdujw66a.fsf>