[Samba] Can't connect to my NAS after samba 4 update

Richard llom richard.llom at gmail.com
Wed Dec 11 16:10:12 MST 2013


This is the output with debug lv 10, hth:

[richard at chakra ~]$ smbclient --list linkstation -d10
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = MYGROUP
doing parameter server string = Samba Server
doing parameter printcap name = /etc/printcap
doing parameter load printers = yes
doing parameter log file = /var/log/samba/%m.log
doing parameter max log size = 50
doing parameter security = user
doing parameter dns proxy = no
pm_process() returned Yes
lp_servicenumber: couldn't find homes
added interface wlp0s26f7u2 ip=192.168.22.46 bcast=192.168.22.255 
netmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="CHAKRA"
Client started (version 4.1.1).
Enter richard's password: 
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: Keine Berechtigung
gencache_init: Opening cache file /var/cache/samba/gencache.tdb read-only.
Opening cache file at /var/cache/samba/gencache_notrans.tdb
sitename_fetch: No stored sitename for 
internal_resolve_name: looking up linkstation#20 (sitename (null))
no entry for linkstation#20 found.
resolve_lmhosts: Attempting lmhosts lookup for name linkstation<0x20>
resolve_lmhosts: Attempting lmhosts lookup for name linkstation<0x20>
startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was Datei 
oder Verzeichnis nicht gefunden
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name linkstation<0x20>
remove_duplicate_addrs2: looking for duplicate address/port pairs
namecache_store: storing 1 address for linkstation#20: 192.168.22.2
Adding cache entry with key=[NBT/LINKSTATION#20] and timeout=[Do Dez 12 
00:18:03 2013 CET] (660 seconds ahead)
internal_resolve_name: returning 1 addresses: 192.168.22.2:0 
Connecting to 192.168.22.2 at port 445
Connecting to 192.168.22.2 at port 139
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 = 23400
        SO_RCVBUF = 87380
        SO_SNDLOWAT = 1
        SO_RCVLOWAT = 1
        SO_SNDTIMEO = 0
        SO_RCVTIMEO = 0
        TCP_QUICKACK = 1
        TCP_DEFER_ACCEPT = 0
 session request ok
convert_string_talloc: Conversion error: Incomplete multibyte sequence()
Conversion error: Incomplete multibyte sequence()
protocol negotiation failed: NT_STATUS_INVALID_PARAMETER


Richard llom wrote:
> I updated my system to samba 4:
> [richard at chakra ~]$ uname -a
> Linux chakra 3.10.18-1-CHAKRA #1 SMP PREEMPT Sat Nov 9 20:18:15 UTC 2013
> x86_64 GNU/Linux
> [richard at chakra ~]$ samba --version
> Version 4.1.1
> [richard at chakra ~]$ smbclient --version
> Version 4.1.1
> 
> And now all of sudden I cannot any longer connect to my NAS, this is the
> message I get in console:
> [richard at chakra ~]$ smbclient --list linkstation
> Enter richard's password:
> Conversion error: Incomplete multibyte sequence()
> protocol negotiation failed: NT_STATUS_INVALID_PARAMETER
> 
> Note that I do not need any credentials to connect to my NAS.
> Before it just worked.
> 
> Any help is appreciated, tia.
> richard



More information about the samba mailing list