I have a Samba server (which is the domain controller), and a Ubuntu 14.04 Client with a logged user who is authenticated by Kerberos (the client joined to domain with Likewise). The user want to access a network share with this command:
smbclient //OPEN/test -U administrator -W OPEN.LOCAL -R host -k -d 5
But the smbclient prints these errors to the console:
Client started (version 4.1.6-Ubuntu). Opening cache file at /var/cache/samba/gencache.tdb tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: No such file or directory Attempt to open gencache.tdb has failed. sitename_fetch: No stored sitename for Opening cache file at /var/cache/samba/gencache.tdb tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: No such file or directory Attempt to open gencache.tdb has failed. no entry for OPEN#20 found. resolve_hosts: Attempting host lookup for name OPEN namecache_store: storing 1 address for OPEN#20: 172.16.0.10 Opening cache file at /var/cache/samba/gencache.tdb tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: No such file or directory Attempt to open gencache.tdb has failed. Coecting to 172.16.0.10 at port 445 session request ok Doing spnego session setup (blob length=96) got OID=1.2.840.48018.1.2.2 got OID=1.2.840.113554.1.2.2 got OID=1.3.6.1.4.1.311.2.2.10 got principal=not_defined_in_RFC4178@please_ignore cli_session_setup_spnego: using target hostname not SPNEGO principal kerberos_get_default_realm_from_ccache: Trying to read krb5 cache: FILE:/tmp/krb5cc_1645740532 cli_session_setup_spnego: guessed server principal=cifs/[email protected] Doing kerberos session setup ads_krb5_mk_req: smb_krb5_get_credentials failed for cifs/[email protected] (Server not found in Kerberos database) cli_session_setup_kerberos: spnego_gen_krb5_negTokenInit failed: Server not found in Kerberos database SPNEGO login failed: Undetermined error session setup failed: NT_STATUS_UNSUCCESSFUL
My domain: OPEN.LOCAL (short name: OPEN) I can resolve open.local and open domains on the server and client.
How can I solve this problem?
برچسب:
نویسنده: استخدام کار