[Samba] keytab file issues

Mark Campbell mcc171 at psu.edu
Tue Dec 4 20:41:05 GMT 2007


I am trying to join a samba server and have the keytab file set.  After 
joining there was no keytab file so I ran the command:

/usr/sfw/sbin/net ads keytab add host -d 10


This was the result:

[2007/12/04 21:40:09, 5] lib/debug.c:(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
[2007/12/04 21:40:09, 3] param/loadparm.c:(5024)
  lp_load: refreshing parameters
[2007/12/04 21:40:09, 3] param/loadparm.c:(1424)
  Initialising global parameters
[2007/12/04 21:40:09, 3] param/params.c:(572)
  params.c:pm_process() - Processing configuration file "/etc/sfw/smb.conf"
[2007/12/04 21:40:09, 3] param/loadparm.c:(3763)
  Processing section "[global]"
  doing parameter realm = PSUL.PSU.EDU
  doing parameter workgroup = PSUL
  doing parameter security = ADS
  doing parameter encrypt passwords = yes
  doing parameter use kerberos keytab = true
  doing parameter idmap backend = rid:PSUL=2000-50000000
  doing parameter idmap uid = 2000-50000000
  doing parameter idmap gid = 2000-50000000
  doing parameter log level = 10
  doing parameter winbind use default domain = yes
  doing parameter template shell = /bin/bash
  doing parameter template homedir = /export/home/%U
[2007/12/04 21:40:09, 4] param/loadparm.c:(5055)
  pm_process() returned Yes
[2007/12/04 21:40:09, 7] param/loadparm.c:(5193)
  lp_servicenumber: couldn't find homes
[2007/12/04 21:40:09, 10] param/loadparm.c:(4299)
  set_server_role: role = ROLE_DOMAIN_MEMBER
[2007/12/04 21:40:09, 5] lib/iconv.c:(105)
  Attempting to register new charset UCS-2LE
[2007/12/04 21:40:09, 5] lib/iconv.c:(113)
  Registered charset UCS-2LE
[2007/12/04 21:40:09, 5] lib/iconv.c:(105)
  Attempting to register new charset UTF-16LE
[2007/12/04 21:40:09, 5] lib/iconv.c:(113)
  Registered charset UTF-16LE
[2007/12/04 21:40:09, 5] lib/iconv.c:(105)
  Attempting to register new charset UCS-2BE
[2007/12/04 21:40:09, 5] lib/iconv.c:(113)
  Registered charset UCS-2BE
[2007/12/04 21:40:09, 5] lib/iconv.c:(105)
  Attempting to register new charset UTF-16BE
[2007/12/04 21:40:09, 5] lib/iconv.c:(113)
  Registered charset UTF-16BE
[2007/12/04 21:40:09, 5] lib/iconv.c:(105)
  Attempting to register new charset UTF8
[2007/12/04 21:40:09, 5] lib/iconv.c:(113)
  Registered charset UTF8
[2007/12/04 21:40:09, 5] lib/iconv.c:(105)
  Attempting to register new charset UTF-8
[2007/12/04 21:40:09, 5] lib/iconv.c:(113)
  Registered charset UTF-8
[2007/12/04 21:40:09, 5] lib/iconv.c:(105)
  Attempting to register new charset ASCII
[2007/12/04 21:40:09, 5] lib/iconv.c:(113)
  Registered charset ASCII
[2007/12/04 21:40:09, 5] lib/iconv.c:(105)
  Attempting to register new charset 646
[2007/12/04 21:40:09, 5] lib/iconv.c:(113)
  Registered charset 646
[2007/12/04 21:40:09, 5] lib/iconv.c:(105)
  Attempting to register new charset ISO-8859-1
[2007/12/04 21:40:09, 5] lib/iconv.c:(113)
  Registered charset ISO-8859-1
[2007/12/04 21:40:09, 5] lib/iconv.c:(105)
  Attempting to register new charset UCS2-HEX
[2007/12/04 21:40:09, 5] lib/iconv.c:(113)
  Registered charset UCS2-HEX
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/charcnv.c:(82)
  Substituting charset '646' for LOCALE
[2007/12/04 21:40:09, 5] lib/util.c:(287)
  Netbios name list:-
  my_netbios_names[0]="TESTY"
[2007/12/04 21:40:09, 2] lib/interface.c:(81)
  added interface ip=128.118.89.246 bcast=128.118.89.255 nmask=255.255.255.0
Processing principals to add...
[2007/12/04 21:40:09, 5] lib/gencache.c:(61)
  Opening cache file at /var/samba/locks/gencache.tdb
[2007/12/04 21:40:09, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU, 
value = Default-First-Site, timeout = Tue Jan 19 04:14:07 2038
[2007/12/04 21:40:09, 5] libads/dns.c:(677)
  sitename_fetch: Returning sitename for PSUL.PSU.EDU: "Default-First-Site"
[2007/12/04 21:40:09, 6] libads/ldap.c:(294)
  ads_find_dc: looking for realm 'PSUL.PSU.EDU'
[2007/12/04 21:40:09, 8] libsmb/namequery.c:(1626)
  get_sorted_dc_list: attempting lookup for name PSUL.PSU.EDU (sitename 
Default-First-Site) using [ads]
[2007/12/04 21:40:09, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = SAF/DOMAIN/PSUL.PSU.EDU, value = 
128.118.88.83, timeout = Tue Dec  4 21:52:26 2007
[2007/12/04 21:40:09, 5] libsmb/namequery.c:(136)
  saf_fetch: Returning "128.118.88.83" for "PSUL.PSU.EDU" domain
[2007/12/04 21:40:09, 3] libsmb/namequery.c:(1489)
  get_dc_list: preferred server list: "128.118.88.83, *"
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(1166)
  internal_resolve_name: looking up PSUL.PSU.EDU#1c (sitename 
Default-First-Site)
[2007/12/04 21:40:09, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = NBT/PSUL.PSU.EDU#1C, value = 
128.118.88.81:389,128.118.88.88:389,128.118.88.158:389, timeout = Tue 
Dec  4 21:48:26 2007
[2007/12/04 21:40:09, 5] libsmb/namecache.c:(214)
  name PSUL.PSU.EDU#1C found.
[2007/12/04 21:40:09, 8] libsmb/namequery.c:(1505)
  Adding 3 DC's from auto lookup
[2007/12/04 21:40:09, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU, 
value = Default-First-Site, timeout = Tue Jan 19 04:14:07 2038
[2007/12/04 21:40:09, 5] libads/dns.c:(677)
  sitename_fetch: Returning sitename for PSUL.PSU.EDU: "Default-First-Site"
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(435)
  remove_duplicate_addrs2: looking for duplicate address/port pairs
[2007/12/04 21:40:09, 4] libsmb/namequery.c:(1599)
  get_dc_list: returning 4 ip addresses in an ordered list
[2007/12/04 21:40:09, 4] libsmb/namequery.c:(1600)
  get_dc_list: 128.118.88.83:389 128.118.88.81:389 128.118.88.88:389 
128.118.88.158:389
[2007/12/04 21:40:09, 5] libads/ldap.c:(180)
  ads_try_connect: sending CLDAP request to 128.118.88.83 (realm: 
PSUL.PSU.EDU)
[2007/12/04 21:40:09, 10] libads/dns.c:(638)
  sitename_store: realm = [PSUL.PSU.EDU], sitename = 
[Default-First-Site], expire = [2147483647]
[2007/12/04 21:40:09, 10] lib/gencache.c:(140)
  Adding cache entry with key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU; value = 
Default-First-Site and timeout = Tue Jan 19 04:14:07 2038
   (950682838 seconds ahead)
[2007/12/04 21:40:09, 3] libads/ldap.c:(394)
  Connected to LDAP server 128.118.88.83
[2007/12/04 21:40:09, 10] libads/ldap.c:(149)
  ads_closest_dc: ADS_CLOSEST flag set
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(74)
  saf_store: domain = [PSUL], server = [128.118.88.83], expire = 
[1196801709]
[2007/12/04 21:40:09, 10] lib/gencache.c:(140)
  Adding cache entry with key = SAF/DOMAIN/PSUL; value = 128.118.88.83 
and timeout = Tue Dec  4 21:55:09 2007
   (900 seconds ahead)
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(74)
  saf_store: domain = [PSUL.PSU.EDU], server = [128.118.88.83], expire = 
[1196801709]
[2007/12/04 21:40:09, 10] lib/gencache.c:(140)
  Adding cache entry with key = SAF/DOMAIN/PSUL.PSU.EDU; value = 
128.118.88.83 and timeout = Tue Dec  4 21:55:09 2007
   (900 seconds ahead)
[2007/12/04 21:40:09, 4] libads/ldap.c:(2414)
  time offset is 0 seconds
[2007/12/04 21:40:09, 4] libads/sasl.c:(521)
  Found SASL mechanism GSS-SPNEGO
[2007/12/04 21:40:09, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2
[2007/12/04 21:40:09, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2
[2007/12/04 21:40:09, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3
[2007/12/04 21:40:09, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10
[2007/12/04 21:40:09, 3] libads/sasl.c:(222)
  ads_sasl_spnego_bind: got server principal name = joey$@PSUL.PSU.EDU
[2007/12/04 21:40:09, 3] libsmb/clikrb5.c:(528)
  ads_cleanup_expired_creds: Ticket in ccache[FILE:/tmp/krb5cc_0] 
expiration Wed, 05 Dec 2007 06:22:31 CET
[2007/12/04 21:40:09, 10] libsmb/clikrb5.c:(624)
  ads_krb5_mk_req: Ticket (joey$@PSUL.PSU.EDU) in ccache 
(FILE:/tmp/krb5cc_0) is valid until: (Wed, 05 Dec 2007 06:22:31 CET - 
1196832151)
[2007/12/04 21:40:09, 10] libsmb/clikrb5.c:(735)
  Got KRB5 session key of length 16
[2007/12/04 21:40:09, 10] lib/gencache.c:(173)
  Deleting cache entry (key = NBT/PSUL.PSU.EDU#1C)
[2007/12/04 21:40:09, 10] lib/gencache.c:(173)
  Deleting cache entry (key = NBT/PSUL#1C)
[2007/12/04 21:40:09, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU, 
value = Default-First-Site, timeout = Tue Jan 19 04:14:07 2038
[2007/12/04 21:40:09, 5] libads/dns.c:(677)
  sitename_fetch: Returning sitename for PSUL.PSU.EDU: "Default-First-Site"
[2007/12/04 21:40:09, 6] libads/ldap.c:(294)
  ads_find_dc: looking for realm 'PSUL.PSU.EDU'
[2007/12/04 21:40:09, 8] libsmb/namequery.c:(1626)
  get_sorted_dc_list: attempting lookup for name PSUL.PSU.EDU (sitename 
Default-First-Site) using [ads]
[2007/12/04 21:40:09, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = SAF/DOMAIN/PSUL.PSU.EDU, value = 
128.118.88.83, timeout = Tue Dec  4 21:55:09 2007
[2007/12/04 21:40:09, 5] libsmb/namequery.c:(136)
  saf_fetch: Returning "128.118.88.83" for "PSUL.PSU.EDU" domain
[2007/12/04 21:40:09, 3] libsmb/namequery.c:(1489)
  get_dc_list: preferred server list: "128.118.88.83, *"
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(1166)
  internal_resolve_name: looking up PSUL.PSU.EDU#1c (sitename 
Default-First-Site)
[2007/12/04 21:40:09, 10] lib/gencache.c:(212)
  Cache entry with key = NBT/PSUL.PSU.EDU#1C couldn't be found
[2007/12/04 21:40:09, 5] libsmb/namecache.c:(210)
  no entry for PSUL.PSU.EDU#1C found.
[2007/12/04 21:40:09, 5] libsmb/namequery.c:(1066)
  resolve_ads: Attempting to resolve DC's for PSUL.PSU.EDU using DNS
[2007/12/04 21:40:09, 4] libads/dns.c:(356)
  ads_dns_lookup_srv: 3 records returned in the answer section.
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(435)
  remove_duplicate_addrs2: looking for duplicate address/port pairs
[2007/12/04 21:40:09, 5] libsmb/namecache.c:(135)
  namecache_store: storing 3 addresses for PSUL.PSU.EDU#1c: 
128.118.88.81:389,128.118.88.88:389,128.118.88.83:389
[2007/12/04 21:40:09, 10] lib/gencache.c:(140)
  Adding cache entry with key = NBT/PSUL.PSU.EDU#1C; value = 
128.118.88.81:389,128.118.88.88:389,128.118.88.83:389 and timeout = Tue 
Dec  4 21:51:09 2007
   (660 seconds ahead)
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(1293)
  internal_resolve_name: returning 3 addresses: 128.118.88.81:389 
128.118.88.88:389 128.118.88.83:389
[2007/12/04 21:40:09, 8] libsmb/namequery.c:(1505)
  Adding 3 DC's from auto lookup
[2007/12/04 21:40:09, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU, 
value = Default-First-Site, timeout = Tue Jan 19 04:14:07 2038
[2007/12/04 21:40:09, 5] libads/dns.c:(677)
  sitename_fetch: Returning sitename for PSUL.PSU.EDU: "Default-First-Site"
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(435)
  remove_duplicate_addrs2: looking for duplicate address/port pairs
[2007/12/04 21:40:09, 4] libsmb/namequery.c:(1599)
  get_dc_list: returning 3 ip addresses in an ordered list
[2007/12/04 21:40:09, 4] libsmb/namequery.c:(1600)
  get_dc_list: 128.118.88.83:389 128.118.88.81:389 128.118.88.88:389
[2007/12/04 21:40:09, 5] libads/ldap.c:(180)
  ads_try_connect: sending CLDAP request to 128.118.88.83 (realm: 
PSUL.PSU.EDU)
[2007/12/04 21:40:09, 10] libads/dns.c:(638)
  sitename_store: realm = [PSUL.PSU.EDU], sitename = 
[Default-First-Site], expire = [2147483647]
[2007/12/04 21:40:09, 10] lib/gencache.c:(140)
  Adding cache entry with key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU; value = 
Default-First-Site and timeout = Tue Jan 19 04:14:07 2038
   (950682838 seconds ahead)
[2007/12/04 21:40:09, 3] libads/ldap.c:(394)
  Connected to LDAP server 128.118.88.83
[2007/12/04 21:40:09, 10] libads/ldap.c:(149)
  ads_closest_dc: ADS_CLOSEST flag set
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(74)
  saf_store: domain = [PSUL], server = [128.118.88.83], expire = 
[1196801709]
[2007/12/04 21:40:09, 10] lib/gencache.c:(140)
  Adding cache entry with key = SAF/DOMAIN/PSUL; value = 128.118.88.83 
and timeout = Tue Dec  4 21:55:09 2007
   (900 seconds ahead)
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(74)
  saf_store: domain = [PSUL.PSU.EDU], server = [128.118.88.83], expire = 
[1196801709]
[2007/12/04 21:40:09, 10] lib/gencache.c:(140)
  Adding cache entry with key = SAF/DOMAIN/PSUL.PSU.EDU; value = 
128.118.88.83 and timeout = Tue Dec  4 21:55:09 2007
   (900 seconds ahead)
[2007/12/04 21:40:09, 4] libads/ldap.c:(2414)
  time offset is 0 seconds
[2007/12/04 21:40:09, 4] libads/sasl.c:(521)
  Found SASL mechanism GSS-SPNEGO
[2007/12/04 21:40:09, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2
[2007/12/04 21:40:09, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2
[2007/12/04 21:40:09, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3
[2007/12/04 21:40:09, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10
[2007/12/04 21:40:09, 3] libads/sasl.c:(222)
  ads_sasl_spnego_bind: got server principal name = joey$@PSUL.PSU.EDU
[2007/12/04 21:40:09, 3] libsmb/clikrb5.c:(528)
  ads_cleanup_expired_creds: Ticket in ccache[FILE:/tmp/krb5cc_0] 
expiration Wed, 05 Dec 2007 06:22:31 CET
[2007/12/04 21:40:09, 10] libsmb/clikrb5.c:(624)
  ads_krb5_mk_req: Ticket (joey$@PSUL.PSU.EDU) in ccache 
(FILE:/tmp/krb5cc_0) is valid until: (Wed, 05 Dec 2007 06:22:31 CET - 
1196832151)
[2007/12/04 21:40:09, 10] libsmb/clikrb5.c:(735)
  Got KRB5 session key of length 16
[2007/12/04 21:40:09, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU, 
value = Default-First-Site, timeout = Tue Jan 19 04:14:07 2038
[2007/12/04 21:40:09, 5] libads/dns.c:(677)
  sitename_fetch: Returning sitename for PSUL.PSU.EDU: "Default-First-Site"
[2007/12/04 21:40:09, 6] libads/ldap.c:(294)
  ads_find_dc: looking for realm 'PSUL.PSU.EDU'
[2007/12/04 21:40:09, 8] libsmb/namequery.c:(1626)
  get_sorted_dc_list: attempting lookup for name PSUL.PSU.EDU (sitename 
Default-First-Site) using [ads]
[2007/12/04 21:40:09, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = SAF/DOMAIN/PSUL.PSU.EDU, value = 
128.118.88.83, timeout = Tue Dec  4 21:55:09 2007
[2007/12/04 21:40:09, 5] libsmb/namequery.c:(136)
  saf_fetch: Returning "128.118.88.83" for "PSUL.PSU.EDU" domain
[2007/12/04 21:40:09, 3] libsmb/namequery.c:(1489)
  get_dc_list: preferred server list: "128.118.88.83, *"
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(1166)
  internal_resolve_name: looking up PSUL.PSU.EDU#1c (sitename 
Default-First-Site)
[2007/12/04 21:40:09, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = NBT/PSUL.PSU.EDU#1C, value = 
128.118.88.81:389,128.118.88.88:389,128.118.88.83:389, timeout = Tue 
Dec  4 21:51:09 2007
[2007/12/04 21:40:09, 5] libsmb/namecache.c:(214)
  name PSUL.PSU.EDU#1C found.
[2007/12/04 21:40:09, 8] libsmb/namequery.c:(1505)
  Adding 3 DC's from auto lookup
[2007/12/04 21:40:09, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU, 
value = Default-First-Site, timeout = Tue Jan 19 04:14:07 2038
[2007/12/04 21:40:09, 5] libads/dns.c:(677)
  sitename_fetch: Returning sitename for PSUL.PSU.EDU: "Default-First-Site"
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(435)
  remove_duplicate_addrs2: looking for duplicate address/port pairs
[2007/12/04 21:40:09, 4] libsmb/namequery.c:(1599)
  get_dc_list: returning 3 ip addresses in an ordered list
[2007/12/04 21:40:09, 4] libsmb/namequery.c:(1600)
  get_dc_list: 128.118.88.83:389 128.118.88.81:389 128.118.88.88:389
[2007/12/04 21:40:09, 5] libads/ldap.c:(180)
  ads_try_connect: sending CLDAP request to 128.118.88.83 (realm: 
PSUL.PSU.EDU)
[2007/12/04 21:40:09, 10] libads/dns.c:(638)
  sitename_store: realm = [PSUL.PSU.EDU], sitename = 
[Default-First-Site], expire = [2147483647]
[2007/12/04 21:40:09, 10] lib/gencache.c:(140)
  Adding cache entry with key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU; value = 
Default-First-Site and timeout = Tue Jan 19 04:14:07 2038
   (950682838 seconds ahead)
[2007/12/04 21:40:09, 3] libads/ldap.c:(394)
  Connected to LDAP server 128.118.88.83
[2007/12/04 21:40:09, 10] libads/ldap.c:(149)
  ads_closest_dc: ADS_CLOSEST flag set
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(74)
  saf_store: domain = [PSUL], server = [128.118.88.83], expire = 
[1196801709]
[2007/12/04 21:40:09, 10] lib/gencache.c:(140)
  Adding cache entry with key = SAF/DOMAIN/PSUL; value = 128.118.88.83 
and timeout = Tue Dec  4 21:55:09 2007
   (900 seconds ahead)
[2007/12/04 21:40:09, 10] libsmb/namequery.c:(74)
  saf_store: domain = [PSUL.PSU.EDU], server = [128.118.88.83], expire = 
[1196801709]
[2007/12/04 21:40:09, 10] lib/gencache.c:(140)
  Adding cache entry with key = SAF/DOMAIN/PSUL.PSU.EDU; value = 
128.118.88.83 and timeout = Tue Dec  4 21:55:09 2007
   (900 seconds ahead)
[2007/12/04 21:40:10, 4] libads/ldap.c:(2414)
  time offset is 0 seconds
[2007/12/04 21:40:10, 4] libads/sasl.c:(521)
  Found SASL mechanism GSS-SPNEGO
[2007/12/04 21:40:10, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2
[2007/12/04 21:40:10, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2
[2007/12/04 21:40:10, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3
[2007/12/04 21:40:10, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10
[2007/12/04 21:40:10, 3] libads/sasl.c:(222)
  ads_sasl_spnego_bind: got server principal name = joey$@PSUL.PSU.EDU
[2007/12/04 21:40:10, 3] libsmb/clikrb5.c:(528)
  ads_cleanup_expired_creds: Ticket in ccache[FILE:/tmp/krb5cc_0] 
expiration Wed, 05 Dec 2007 06:22:31 CET
[2007/12/04 21:40:10, 10] libsmb/clikrb5.c:(624)
  ads_krb5_mk_req: Ticket (joey$@PSUL.PSU.EDU) in ccache 
(FILE:/tmp/krb5cc_0) is valid until: (Wed, 05 Dec 2007 06:22:31 CET - 
1196832151)
[2007/12/04 21:40:10, 10] libsmb/clikrb5.c:(735)
  Got KRB5 session key of length 16
[2007/12/04 21:40:10, 10] lib/gencache.c:(173)
  Deleting cache entry (key = NBT/PSUL.PSU.EDU#1C)
[2007/12/04 21:40:10, 10] lib/gencache.c:(173)
  Deleting cache entry (key = NBT/PSUL#1C)
[2007/12/04 21:40:10, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU, 
value = Default-First-Site, timeout = Tue Jan 19 04:14:07 2038
[2007/12/04 21:40:10, 5] libads/dns.c:(677)
  sitename_fetch: Returning sitename for PSUL.PSU.EDU: "Default-First-Site"
[2007/12/04 21:40:10, 6] libads/ldap.c:(294)
  ads_find_dc: looking for realm 'PSUL.PSU.EDU'
[2007/12/04 21:40:10, 8] libsmb/namequery.c:(1626)
  get_sorted_dc_list: attempting lookup for name PSUL.PSU.EDU (sitename 
Default-First-Site) using [ads]
[2007/12/04 21:40:10, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = SAF/DOMAIN/PSUL.PSU.EDU, value = 
128.118.88.83, timeout = Tue Dec  4 21:55:09 2007
[2007/12/04 21:40:10, 5] libsmb/namequery.c:(136)
  saf_fetch: Returning "128.118.88.83" for "PSUL.PSU.EDU" domain
[2007/12/04 21:40:10, 3] libsmb/namequery.c:(1489)
  get_dc_list: preferred server list: "128.118.88.83, *"
[2007/12/04 21:40:10, 10] libsmb/namequery.c:(1166)
  internal_resolve_name: looking up PSUL.PSU.EDU#1c (sitename 
Default-First-Site)
[2007/12/04 21:40:10, 10] lib/gencache.c:(212)
  Cache entry with key = NBT/PSUL.PSU.EDU#1C couldn't be found
[2007/12/04 21:40:10, 5] libsmb/namecache.c:(210)
  no entry for PSUL.PSU.EDU#1C found.
[2007/12/04 21:40:10, 5] libsmb/namequery.c:(1066)
  resolve_ads: Attempting to resolve DC's for PSUL.PSU.EDU using DNS
[2007/12/04 21:40:10, 4] libads/dns.c:(356)
  ads_dns_lookup_srv: 3 records returned in the answer section.
[2007/12/04 21:40:10, 10] libsmb/namequery.c:(435)
  remove_duplicate_addrs2: looking for duplicate address/port pairs
[2007/12/04 21:40:10, 5] libsmb/namecache.c:(135)
  namecache_store: storing 3 addresses for PSUL.PSU.EDU#1c: 
128.118.88.83:389,128.118.88.81:389,128.118.88.88:389
[2007/12/04 21:40:10, 10] lib/gencache.c:(140)
  Adding cache entry with key = NBT/PSUL.PSU.EDU#1C; value = 
128.118.88.83:389,128.118.88.81:389,128.118.88.88:389 and timeout = Tue 
Dec  4 21:51:10 2007
   (660 seconds ahead)
[2007/12/04 21:40:10, 10] libsmb/namequery.c:(1293)
  internal_resolve_name: returning 3 addresses: 128.118.88.83:389 
128.118.88.81:389 128.118.88.88:389
[2007/12/04 21:40:10, 8] libsmb/namequery.c:(1505)
  Adding 3 DC's from auto lookup
[2007/12/04 21:40:10, 10] lib/gencache.c:(226)
  Returning valid cache entry: key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU, 
value = Default-First-Site, timeout = Tue Jan 19 04:14:07 2038
[2007/12/04 21:40:10, 5] libads/dns.c:(677)
  sitename_fetch: Returning sitename for PSUL.PSU.EDU: "Default-First-Site"
[2007/12/04 21:40:10, 10] libsmb/namequery.c:(435)
  remove_duplicate_addrs2: looking for duplicate address/port pairs
[2007/12/04 21:40:10, 4] libsmb/namequery.c:(1599)
  get_dc_list: returning 3 ip addresses in an ordered list
[2007/12/04 21:40:10, 4] libsmb/namequery.c:(1600)
  get_dc_list: 128.118.88.83:389 128.118.88.81:389 128.118.88.88:389
[2007/12/04 21:40:10, 5] libads/ldap.c:(180)
  ads_try_connect: sending CLDAP request to 128.118.88.83 (realm: 
PSUL.PSU.EDU)
[2007/12/04 21:40:10, 10] libads/dns.c:(638)
  sitename_store: realm = [PSUL.PSU.EDU], sitename = 
[Default-First-Site], expire = [2147483647]
[2007/12/04 21:40:10, 10] lib/gencache.c:(140)
  Adding cache entry with key = AD_SITENAME/DOMAIN/PSUL.PSU.EDU; value = 
Default-First-Site and timeout = Tue Jan 19 04:14:07 2038
   (950682837 seconds ahead)
[2007/12/04 21:40:10, 3] libads/ldap.c:(394)
  Connected to LDAP server 128.118.88.83
[2007/12/04 21:40:10, 10] libads/ldap.c:(149)
  ads_closest_dc: ADS_CLOSEST flag set
[2007/12/04 21:40:10, 10] libsmb/namequery.c:(74)
  saf_store: domain = [PSUL], server = [128.118.88.83], expire = 
[1196801710]
[2007/12/04 21:40:10, 10] lib/gencache.c:(140)
  Adding cache entry with key = SAF/DOMAIN/PSUL; value = 128.118.88.83 
and timeout = Tue Dec  4 21:55:10 2007
   (900 seconds ahead)
[2007/12/04 21:40:10, 10] libsmb/namequery.c:(74)
  saf_store: domain = [PSUL.PSU.EDU], server = [128.118.88.83], expire = 
[1196801710]
[2007/12/04 21:40:10, 10] lib/gencache.c:(140)
  Adding cache entry with key = SAF/DOMAIN/PSUL.PSU.EDU; value = 
128.118.88.83 and timeout = Tue Dec  4 21:55:10 2007
   (900 seconds ahead)
[2007/12/04 21:40:10, 4] libads/ldap.c:(2414)
  time offset is 0 seconds
[2007/12/04 21:40:10, 4] libads/sasl.c:(521)
  Found SASL mechanism GSS-SPNEGO
[2007/12/04 21:40:10, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2
[2007/12/04 21:40:10, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2
[2007/12/04 21:40:10, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3
[2007/12/04 21:40:10, 3] libads/sasl.c:(213)
  ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10
[2007/12/04 21:40:10, 3] libads/sasl.c:(222)
  ads_sasl_spnego_bind: got server principal name = joey$@PSUL.PSU.EDU
[2007/12/04 21:40:10, 3] libsmb/clikrb5.c:(528)
  ads_cleanup_expired_creds: Ticket in ccache[FILE:/tmp/krb5cc_0] 
expiration Wed, 05 Dec 2007 06:22:31 CET
[2007/12/04 21:40:10, 10] libsmb/clikrb5.c:(624)
  ads_krb5_mk_req: Ticket (joey$@PSUL.PSU.EDU) in ccache 
(FILE:/tmp/krb5cc_0) is valid until: (Wed, 05 Dec 2007 06:22:31 CET - 
1196832151)
[2007/12/04 21:40:10, 10] libsmb/clikrb5.c:(735)
  Got KRB5 session key of length 16
[2007/12/04 21:40:10, 2] libads/kerberos_keytab.c:(260)
  ads_keytab_add_entry: Using default system keytab: 
FILE:/etc/krb5/krb5.keytab
[2007/12/04 21:40:10, 1] libads/kerberos_keytab.c:(263)
  ads_keytab_add_entry: krb5_kt_resolve failed (No such file or directory)
[2007/12/04 21:40:10, 2] utils/net.c:(1036)
  return code = 2


-- 
Mark Campbell
Systems Analyst
Digital Library Technologies
The Pennsylvania State University
mcc171 at psu.edu, 814-865-4774



More information about the samba mailing list