Hi all – we are trying out the latest version of Backup PC on a Centos 7 box. 
Ran into a problem connecting to an older netapp cif share using smbclient 4.8.3

Looking for any advice I can try to get it working. Ideally I’d like to 
continue to use CIFS rather than exporting all our cifs shares as nfs but I do 
see this as an option…

Below is a log of my attempt to connect via command line which yields the same 
error as when backuppc runs a backup.

Thanks all,
Josh

[root@host BackupPC]# smbclient -L fileserver01 -U administrator -W 
domain.local -d 5
INFO: Current debug levels:
  all: 5
  tdb: 5
  printdrivers: 5
  lanman: 5
  smb: 5
  rpc_parse: 5
  rpc_srv: 5
  rpc_cli: 5
  passdb: 5
  sam: 5
  auth: 5
  winbind: 5
  vfs: 5
  idmap: 5
  quota: 5
  acls: 5
  locking: 5
  msdfs: 5
  dmapi: 5
  registry: 5
  scavenger: 5
  dns: 5
  ldb: 5
  tevent: 5
  auth_audit: 5
  auth_json_audit: 5
  kerberos: 5
  drs_repl: 5
  smb2: 5
  smb2_credits: 5
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
INFO: Current debug levels:
  all: 5
  tdb: 5
  printdrivers: 5
  lanman: 5
  smb: 5
  rpc_parse: 5
  rpc_srv: 5
  rpc_cli: 5
  passdb: 5
  sam: 5
  auth: 5
  winbind: 5
  vfs: 5
  idmap: 5
  quota: 5
  acls: 5
  locking: 5
  msdfs: 5
  dmapi: 5
  registry: 5
  scavenger: 5
  dns: 5
  ldb: 5
  tevent: 5
  auth_audit: 5
  auth_json_audit: 5
  kerberos: 5
  drs_repl: 5
  smb2: 5
  smb2_credits: 5
Processing section "[global]"
doing parameter workgroup = SAMBA
doing parameter security = user
doing parameter passdb backend = tdbsam
doing parameter printing = cups
doing parameter printcap name = cups
doing parameter load printers = yes
doing parameter cups options = raw
pm_process() returned Yes
added interface bond0 ip=10.x.x.x bcast=10.x.x.255 netmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="host"
Client started (version 4.8.3).
Opening cache file at /var/lib/samba/gencache.tdb
Opening cache file at /var/lib/samba/lock/gencache_notrans.tdb
sitename_fetch: No stored sitename for realm ''
no entry for fileserver01#20 found.
resolve_lmhosts: Attempting lmhosts lookup for name fileserver01 <0x20>
getlmhostsent: lmhost entry: 127.0.0.1 localhost
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name fileserver01 <0x20>
namecache_store: storing 1 address for fileserver01#20: 10.x.x.x
Connecting to 10.x.x.x at port 445
Socket options:
                SO_KEEPALIVE = 0
                SO_REUSEADDR = 0
                SO_BROADCAST = 0
                TCP_NODELAY = 1
                TCP_KEEPCNT = 9
                TCP_KEEPIDLE = 7200
                TCP_KEEPINTVL = 75
                IPTOS_LOWDELAY = 0
                IPTOS_THROUGHPUT = 0
                SO_REUSEPORT = 0
                SO_SNDBUF = 87040
                SO_RCVBUF = 367360
                SO_SNDLOWAT = 1
                SO_RCVLOWAT = 1
                SO_SNDTIMEO = 0
                SO_RCVTIMEO = 0
                TCP_QUICKACK = 1
                TCP_DEFER_ACCEPT = 0
session request ok
negotiated dialect[SMB2_02] against server[fileserver01]
got OID=1.2.840.48018.1.2.2
Enter DOMAIN.LOCAL\administrator's password:

Kinit for gnwadmin@DOMAIN.LOCAL to access fileserver01 failed: Cannot contact 
any KDC for requested realm
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'spnego' registered
GENSEC backend 'schannel' registered
GENSEC backend 'naclrpc_as_system' registered
GENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'http_negotiate' registered
Starting GENSEC mechanism spnego
gensec_spnego_client_negTokenInit_start: Server claims it's principal name is 
fileserver01$@DOMAIN.LOCAL
Starting GENSEC submechanism gse_krb5
smb_gss_krb5_import_cred ccache[MEMORY:cliconnect] failed with [Unspecified GSS 
failure.  Minor code may provide more information: No credentials cache found] 
-the caller may retry after a kinit.
Failed to start GENSEC client mech gse_krb5: NT_STATUS_INTERNAL_ERROR
Starting GENSEC submechanism ntlmssp
Got challenge flags:
Got NTLMSSP neg_flags=0x60898205
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_TARGET_TYPE_DOMAIN
  NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
  NTLMSSP_NEGOTIATE_TARGET_INFO
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x62088205
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
  NTLMSSP_NEGOTIATE_VERSION
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
session setup ok
signed SMB2 message
tree connect failed: NT_STATUS_ACCESS_DENIED
[root@ops2 BackupPC]#

I have also tried kinit user_name and I receive the following error ( could be 
related):

kinit: KDC has no support for encryption type while getting initial credentials

_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to