Quantcast
Channel: Software Communities : Popular Discussions - All Things Unix
Viewing all articles
Browse latest Browse all 1046

SPNEGO login failed: No such file or directory

$
0
0
When we try and run the smbclient command it fails with the following error.

[root@epicqaapp bin]# nslookup pvalentino

Server:         10.3.1.11

Address:        10.3.1.11#53

 

Name:   pvalentino.ecmc.lan

Address: 10.3.8.64

 

[root@epicqaapp bin]# nslookup epicqaapp

Server:         10.3.1.11

Address:        10.3.1.11#53

 

Name:   epicqaapp.ecmc.lan

Address: 10.3.17.183

 

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1      localhost.localdomain   localhost

10.3.17.183     epicqaapp epicqaapp.ecmc.lan

10.3.17.185     epiclms

10.3.1.10       ecmc_dc7ecmc_dc7.ecmc.lan

10.3.1.11       ecmc_dc8ecmc_dc8.ecmc.lan

10.3.8.64       pvalentinopvalentino.ecmc.lan

 

Still get logon prompt if valid users stanza is enabled

 

[root@epicqaapp bin]# ./net  ads testjoin

Join is OK

[root@epicqaapp bin]# ./net  rpc testjoin

Join to 'ECMC_DOMAIN' is OK

 

[root@epicqaapp bin]# smbclient -d100 -L epicqaapp

INFO: Current debug levels:

  all: True/100

  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

lp_load: refreshing parameters

Initialising global parameters

params.c:pm_process() - Processing configuration file "/etc/opt/quest/samba/smb.conf"

Processing section "[global]"

doing parameter workgroup = ECMC_DOMAIN

doing parameter server string = EPICQAAPP Samba Server

doing parameter log file = /var/opt/quest/log/samba/%m.log

doing parameter log level = 1

doing parameter max log size = 1000

doing parameter security = ads

doing parameter use spnego = yes

doing parameter use kerberos keytab = yes

doing parameter machine password timeout = 0

doing parameter encrypt passwords = yes

doing parameter domain logons = no

doing parameter domain master = no

doing parameter preferred master = no

doing parameter local master = no

doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192SO_SNDBUF=8192

doing parameter wins server = 10.3.1.10 10.3.1.11

doing parameter realm = ECMC.LAN

doing parameter winbind nested groups = no

doing parameter ldap admin dn = CN=VasIdmapAdmin

doing parameter idmap backend = ldap:ldap://localhost

doing parameter idmap uid = 1-2147483647

doing parameter idmap gid = 1-2147483647

doing parameter idmap cache time = 300   # Expire the tdbcache every 5 minutes

doing parameter obey pam restrictions = yes

pm_process() returned Yes

lp_servicenumber: couldn't find homes

set_server_role: role = ROLE_DOMAIN_MEMBER

Attempting to register new charset UCS-2LE

Registered charset UCS-2LE

Attempting to register new charset UTF-16LE

Registered charset UTF-16LE

Attempting to register new charset UCS-2BE

Registered charset UCS-2BE

Attempting to register new charset UTF-16BE

Registered charset UTF-16BE

Attempting to register new charset UTF8

Registered charset UTF8

Attempting to register new charset UTF-8

Registered charset UTF-8

Attempting to register new charset ASCII

Registered charset ASCII

Attempting to register new charset 646

Registered charset 646

Attempting to register new charset ISO-8859-1

Registered charset ISO-8859-1

Attempting to register new charset UCS2-HEX

Registered charset UCS2-HEX

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

added interface ip=10.3.17.183 bcast=10.3.17.255nmask=255.255.255.0

added interface ip=10.3.17.184 bcast=10.3.17.255nmask=255.255.255.0

added interface ip=10.3.17.185 bcast=10.3.17.255nmask=255.255.255.0

Netbios name list:-

my_netbios_names[0]="EPICQAAPP"

Client started (version 3.0.28-Quest-291).

Opening cache file at /var/opt/quest/lib/samba/gencache.tdb

Returning valid cache entry: key = AD_SITENAME/DOMAIN/ECMC.LAN,value = Minnesota,timeout = Mon Jan 18 21:14:07 2038

sitename_fetch: Returning sitename for ECMC.LAN: "Minnesota"

internal_resolve_name: looking up epicqaapp#20 (sitename Minnesota)

Returning valid cache entry: key = NBT/EPICQAAPP#20, value =10.3.17.185:0,10.3.17.184:0,10.3.17.183:0, timeout = Tue Jun 10 15:00:51 2008

name epicqaapp#20 found.

Connecting to 10.3.17.185 at port 445

socket option SO_KEEPALIVE = 0

socket option SO_REUSEADDR = 0

socket option SO_BROADCAST = 0

socket option TCP_NODELAY = 1

socket option TCP_KEEPCNT = 9

socket option TCP_KEEPIDLE = 7200

socket option TCP_KEEPINTVL = 75

socket option IPTOS_LOWDELAY = 0

socket option IPTOS_THROUGHPUT = 0

socket option SO_SNDBUF = 16384

socket option SO_RCVBUF = 16384

socket option SO_SNDLOWAT = 1

socket option SO_RCVLOWAT = 1

socket option SO_SNDTIMEO = 0

socket option SO_RCVTIMEO = 0

 session request ok

write_socket(5,194)

write_socket(5,194) wrote 194

got smb length of 177

size=177

smb_com=0x72

smb_rcls=0

smb_reh=0

smb_err=0

smb_flg=136

smb_flg2=51201

smb_tid=0

smb_pid=3529

smb_uid=0

smb_mid=1

smt_wct=17

smb_vwv[ 0]=    8 (0x8)

smb_vwv[ 1]=12803 (0x3203)

smb_vwv[ 2]=  256 (0x100)

smb_vwv[ 3]= 1024 (0x400)

smb_vwv[ 4]=   65 (0x41)

smb_vwv[ 5]=    0 (0x0)

smb_vwv[ 6]=  256 (0x100)

smb_vwv[ 7]=51712 (0xCA00)

smb_vwv[ 8]=   13 (0xD)

smb_vwv[ 9]=64768 (0xFD00)

smb_vwv[10]=33011 (0x80F3)

smb_vwv[11]=32896 (0x8080)

smb_vwv[12]=60039 (0xEA87)

smb_vwv[13]=13214 (0x339E)

smb_vwv[14]=51403 (0xC8CB)

smb_vwv[15]=11265 (0x2C01)

smb_vwv[16]=    1 (0x1)

smb_bcc=108

[000] 65 70 69 63 71 61 61 70  70 0000 00 00 00 00 00  epicqaap p.......

[010] 60 5A 06 06 2B 06 01 05  05 02A0 50 30 4E A0 24  `Z..+... ...P0N.$

[020] 30 22 06 09 2A 86 48 86  F7 1201 02 02 06 09 2A  0"..*.H. .......*

[030] 86 48 82 F7 12 01 02 02  06 0A2B 06 01 04 01 82  .H...... ..+.....

[040] 37 02 02 0A A3 26 30 24  A0 221B 20 63 69 66 73  7....&0$ .". cifs

[050] 2F 65 70 69 63 71 61 61  70 702E 65 63 6D 63 2E  /epicqaa pp.ecmc.

[060] 6C 61 6E 40 45 43 4D 43  2E 4C414E             lan@ECMC .LAN

size=177

smb_com=0x72

smb_rcls=0

smb_reh=0

smb_err=0

smb_flg=136

smb_flg2=51201

smb_tid=0

smb_pid=3529

smb_uid=0

smb_mid=1

smt_wct=17

smb_vwv[ 0]=    8 (0x8)

smb_vwv[ 1]=12803 (0x3203)

smb_vwv[ 2]=  256 (0x100)

smb_vwv[ 3]= 1024 (0x400)

smb_vwv[ 4]=   65 (0x41)

smb_vwv[ 5]=    0 (0x0)

smb_vwv[ 6]=  256 (0x100)

smb_vwv[ 7]=51712 (0xCA00)

smb_vwv[ 8]=   13 (0xD)

smb_vwv[ 9]=64768 (0xFD00)

smb_vwv[10]=33011 (0x80F3)

smb_vwv[11]=32896 (0x8080)

smb_vwv[12]=60039 (0xEA87)

smb_vwv[13]=13214 (0x339E)

smb_vwv[14]=51403 (0xC8CB)

smb_vwv[15]=11265 (0x2C01)

smb_vwv[16]=    1 (0x1)

smb_bcc=108

[000] 65 70 69 63 71 61 61 70  70 0000 00 00 00 00 00  epicqaap p.......

[010] 60 5A 06 06 2B 06 01 05  05 02A0 50 30 4E A0 24  `Z..+... ...P0N.$

[020] 30 22 06 09 2A 86 48 86  F7 1201 02 02 06 09 2A  0"..*.H. .......*

[030] 86 48 82 F7 12 01 02 02  06 0A2B 06 01 04 01 82  .H...... ..+.....

[040] 37 02 02 0A A3 26 30 24  A0 221B 20 63 69 66 73  7....&0$ .". cifs

[050] 2F 65 70 69 63 71 61 61  70 702E 65 63 6D 63 2E  /epicqaa pp.ecmc.

[060] 6C 61 6E 40 45 43 4D 43  2E 4C414E             lan@ECMC .LAN

Doing spnego session setup (blob length=108)

got OID=1 2 840 113554 1 2 2

got OID=1 2 840 48018 1 2 2

got OID=1 3 6 1 4 1 311 2 2 10

got principal=cifs/epicqaapp.ecmc.lan@ECMC.LAN

Doing kerberos session setup

ads_krb5_mk_req: krb5_cc_get_principal failed (No such file ordirectory)

cli_session_setup_kerberos: spnego_gen_negTokenTarg failed: No suchfile or directory

SPNEGO login failed: No such file or directory

lang_tdb_init: loading/var/opt/quest/lib/samba/lang_en_US.UTF-8.tdb

session setup failed: SUCCESS - 0


Has anyone seen this before?



Viewing all articles
Browse latest Browse all 1046

Trending Articles