[lubuntu] kan niet verbinden met samba share op zfsguru

Pagina: 1
Acties:

  • jerry-c
  • Registratie: April 2012
  • Laatst online: 24-09 20:49
Hoi Tweakers,

Ik probeer met een lubuntu live usb verbinding te maken met mijn zfsguru nas. Onder windows kan ik hiermee prima verbinden. Echter lubuntu blijft vragen om gebruikersnaam + wachtwoord, ik krijg geen feedback dat het foute credentials zijn.

Op internet zijn er verschillende mensen die dit probleem ook hebben, echter worden daar nauwelijks oplossingen geboden, die tevens niet werken. Ook zijn dit vaak al topics van meerdere jaren oud.

Is er iemand die hier ervaring mee heeft?

Acties:
  • 0 Henk 'm!

  • jan99999
  • Registratie: Augustus 2005
  • Laatst online: 15:01
Zoek een op keyring en hoe jij dit ingesteld hebt, want daa wordt dacht ik de wachtwoorden ingesteld.
Zelf heb ik de keyring wachtwoord leeg gelaten, en wachtwoorden worden onthouden.

Zou nog kunnen zijn dat het aan je software die je gebruikt met lubuntu, probeer andere verkenner software.

Acties:
  • 0 Henk 'm!

  • johnkeates
  • Registratie: Februari 2008
  • Laatst online: 04-07 16:30
Waarschijnlijk is er een mismatch tussen domein of geen domein, en anders het SMB protocol level dat ondersteund moet worden.

Acties:
  • 0 Henk 'm!

  • Hero of Time
  • Registratie: Oktober 2004
  • Laatst online: 21:30

Hero of Time

Moderator LNX

There is only one Legend

Het eerste wat je natuurlijk doet, is de logs van de server bekijken om te zien wat er nou mis gaat. Zonder die foutmeldingen ren je als een kip zonder kop rond en ga je natuurlijk nooit een oplossing vinden.

Commandline FTW | Tweakt met mate


Acties:
  • 0 Henk 'm!

  • jerry-c
  • Registratie: April 2012
  • Laatst online: 24-09 20:49
Behoorlijk late reactie maar ik leef nog...

ik heb de foutmeldingen gegoogled maar dit bied weinig resultaat en helaas ook niet de oplossing.

dit is de log van de server:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[2016/03/06 14:23:25.440848,  2] smbd/reply.c:553(reply_special)
  netbios connect: name1=ANANAS         0x20 name2=               0x0
[2016/03/06 14:23:25.441075,  2] smbd/reply.c:573(reply_special)
  netbios connect: local=ananas remote=, name type = 0
[2016/03/06 14:23:31.722402,  2] smbd/reply.c:553(reply_special)
  netbios connect: name1=ANANAS         0x20 name2=               0x0
[2016/03/06 14:23:31.722610,  2] smbd/reply.c:573(reply_special)
  netbios connect: local=ananas remote=, name type = 0
[2016/03/06 14:23:34.689846,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [jeroen] -> [jeroen] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:34.690877,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [share] -> [share] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:34.690962,  2] smbd/service.c:655(create_connection_session_info)
  Invalid username/password for [share]
[2016/03/06 14:23:34.691012,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:37.550479,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [jeroen] -> [jeroen] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:37.551442,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [share] -> [share] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:37.551525,  2] smbd/service.c:655(create_connection_session_info)
  Invalid username/password for [share]
[2016/03/06 14:23:37.551593,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:37.576978,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [jeroen] -> [jeroen] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:37.577942,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [share] -> [share] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:37.578040,  2] smbd/service.c:655(create_connection_session_info)
  Invalid username/password for [share]
[2016/03/06 14:23:37.578090,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:39.163638,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [jeroen] -> [jeroen] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:39.164664,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [share] -> [share] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:39.164749,  2] smbd/service.c:655(create_connection_session_info)
  Invalid username/password for [share]
[2016/03/06 14:23:39.164799,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:39.193885,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [jeroen] -> [jeroen] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:39.194864,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [share] -> [share] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:39.194946,  2] smbd/service.c:655(create_connection_session_info)
  Invalid username/password for [share]
[2016/03/06 14:23:39.194999,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:41.996020,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [share] -> [share] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:41.996152,  2] smbd/service.c:655(create_connection_session_info)
  Invalid username/password for [share]
[2016/03/06 14:23:41.996205,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:42.122583,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [jeroen] -> [jeroen] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:42.123572,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [share] -> [share] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:42.123657,  2] smbd/service.c:655(create_connection_session_info)
  Invalid username/password for [share]
[2016/03/06 14:23:42.123707,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:43.915025,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [share] -> [share] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:43.915196,  2] smbd/service.c:655(create_connection_session_info)
  Invalid username/password for [share]
[2016/03/06 14:23:43.915250,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:45.643980,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [jeroen] -> [jeroen] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:45.644952,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [share] -> [share] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:45.645034,  2] smbd/service.c:655(create_connection_session_info)
  Invalid username/password for [share]
[2016/03/06 14:23:45.645118,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:53.513228,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [share] -> [share] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:53.513402,  2] smbd/service.c:655(create_connection_session_info)
  Invalid username/password for [share]
[2016/03/06 14:23:53.513457,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:53.585770,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [jeroen] -> [jeroen] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:53.586737,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [share] -> [share] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:53.586820,  2] smbd/service.c:655(create_connection_session_info)
  Invalid username/password for [share]
[2016/03/06 14:23:53.586903,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:54.111858,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [share] -> [share] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:23:54.112025,  2] smbd/service.c:655(create_connection_session_info)
  Invalid username/password for [share]
[2016/03/06 14:23:54.112078,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:24:47.639161,  2] auth/auth.c:319(check_ntlm_password)
  check_ntlm_password:  Authentication for user [jeroen] -> [jeroen] FAILED with error NT_STATUS_WRONG_PASSWORD
[2016/03/06 14:24:47.696778,  2] smbd/reply.c:553(reply_special)
  netbios connect: name1=ANANAS         0x20 name2=               0x0
[2016/03/06 14:24:47.696946,  2] smbd/reply.c:573(reply_special)
  netbios connect: local=ananas remote=, name type = 0


dit is het configuratiebestand:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# Please put comments on their own line starting with a # char.
# Do not remove the next line! Doing so will prevent ZFSguru parsing this file
#======================= Global Settings =====================================

[global]
workgroup = WORKGROUP
server string = ZFSguru
netbios name = ananas
security = share
#lanman auth = yes
#client lanman auth = yes
#client ntlmv2 auth = no
passdb backend = tdbsam
load printers = no
log file = /var/log/samba/log.%m
log level = 2
max log size = 50

# regular user account used to store Samba files
guest account = share

# default permissions (can be set in share for share-specific configuration)
create mask = 0660
directory mask = 0770

# this may impact performance; at the time of writing, 
# ZFS is not very optimized with sendfile (double memory copy)
use sendfile = no

# asynchronous I/O (improves performance on multiqueue I/O)
aio read size = 2048
aio write size = 2048
aio write behind = true

# fix free space reporting for ZFS filesystems
dfree command = /usr/local/www/zfsguru/scripts/dfree "%P"

# uncomment the following to enable symbolic links even outside of share path
#follow symlinks = yes
#wide links = yes
#unix extensions = no

# socket options
# try enabling and adapting if you encounter performance problems
#socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536


# please do not remove the next line! Required by ZFSguru
#============================ Share Definitions ==============================

[share]
path = /Data/share
comment = 
guest ok = no
read only = yes
browseable = yes
write list = @share

[Emiel]
path = /Data/Emiel
comment = 
guest ok = no
read only = yes
browseable = yes
write list = emiel
read list = admin
invalid users = jeroen lars sven

[Jeroen]
path = /Data/Jeroen
comment = 
guest ok = no
read only = yes
browseable = yes
write list = jeroen
read list = admin
invalid users = emiel lars sven

[Sven]
path = /Data/Sven
comment = 
guest ok = no
read only = yes
browseable = yes
read list = admin
write list = sven
invalid users = lars emiel jeroen

[Lars]
path = /Data/Lars
comment = 
guest ok = no
read only = yes
browseable = yes
write list = lars
read list = admin
invalid users = emiel jeroen sven


Wanneer ik "smbclient -L ananas" uitvoer en geen password opgeef krijg ik netjes het volgende te zien:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.25]

    Sharename       Type      Comment
    ---------       ----      -------
    share           Disk      
    Emiel           Disk      
    Jeroen          Disk      
    Sven            Disk      
    Lars            Disk      
    IPC$            IPC       IPC Service (ZFSguru)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.25]

    Server               Comment
    ---------            -------
    ANANAS               ZFSguru
    DESKTOP-K9KD5EJ      
    JEROEN-LAPTOP        

    Workgroup            Master
    ---------            -------
    WORKGROUP            ANANAS


Als ik wel mijn wachtwoord invul krijg ik de volgende error message te zien:
code:
1
2
3
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.25]
Server requested LANMAN password (share-level security) but 'client lanman auth = no' or 'client ntlmv2 auth = yes'
tree connect failed: NT_STATUS_ACCESS_DENIED


Tijdens het zoeken naar de LANMAN error kwam ik wat dingen tegen die ik toegevoegd heb aan het config file, echter bied dit ook geen resultaat. En daarbij schijnt het een minder veilig protocol te zijn en gebruik ik dit dus liever niet.

Acties:
  • +1 Henk 'm!

  • Thc_Nbl
  • Registratie: Juli 2001
  • Laatst online: 21-05 22:24
set je :
security = share
naar
security = user

en zet deze erbij
map to guest = Bad User
Deze betekent, logins met foutive wachwoorden worden als guest login gezien en gemapped aan het guest account.

ehhh.. noppes


Acties:
  • +1 Henk 'm!

  • Thralas
  • Registratie: December 2002
  • Laatst online: 30-09 08:10
Is dat wel wat jerry-c wil? Ik zou eens beginnen met enkel security = user en zien of het dan wel werkt (security = share is deprecated in Samba 3, removed in 4).

Blijft een vreemde error, gezien hij volgens de Samba server config lanman auth helemaal niet enabled heeft. Alternatief: expliciet lanman auth = no toevoegen?

Acties:
  • 0 Henk 'm!

  • jerry-c
  • Registratie: April 2012
  • Laatst online: 24-09 20:49
Ontzettend bedankt! Wel bijzonder dat de webinterface van zfsguru hier geen mogelijkheid voor bied.
edit: dat is er dus wel, alleen je moet wel weten wat je doet natuurlijk :) .
Dit verhielp het probleem:
Thc_Nbl schreef op woensdag 09 maart 2016 @ 13:10:
security = share
naar
security = user
Nu kan ik eindelijk via een live usb computers van familie back uppen zonder usb schijf 8)7 . En zelf vaker linux gebruiken natuurlijk :*)

[ Voor 17% gewijzigd door jerry-c op 09-03-2016 21:44 ]

Pagina: 1