NethServer Version: NethServer release 7.6.1810
Module: Shared Folders / SAMBA 4.x
Dear Forum,
I had a very good experience with Nethserver 6.x and SAMBA 3.x.
It is the second time that I’m trying out Nethserver 7.x but SAMBA results makes me look elsewhere…
I believe I’m not the first one asking for help in this forum. I already read 5 or 6 topics. None helped me.
I’m used to deploy Windows Servers so deploying Nethserver is easy.
The problem is: shared folders!
I have a mix of Windows 10 Home and Linux workstations and I’m getting the same results on both:
I created jose@local.lan belonging to domain_users@local.lan
Name: Share
Owning group: domain_users@local.lan
Allow write permissions to owning group
[ ] Allow read permissions to everyone
Guest access
None
[ ] Read Only
[ ] Read and write
Browseable
Network recycle bin
Keep copies of files with the same name
On Linux authentication fails: smb://v-nethserver-1/share
On Linux: mbclient -d 3 -U jose@local.lan //v-nethserver-1.local.lan/share
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section “[global]”
WARNING: The “syslog” option is deprecated
added interface eno1 ip=192.168.111.XXX bcast=192.168.111.255 netmask=255.255.255.0
Client started (version 4.7.6-Ubuntu).
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied
resolve_hosts: Attempting host lookup for name v-nethserver-1.local.lan<0x20>
Connecting to 192.168.111.XX at port 445
got OID=1.2.840.48018.1.2.2
Enter jose@local.lan’s password:
Kinit for jose@local.lan to access v-nethserver-1.local.lan 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 ‘krb5’ registered
GENSEC backend ‘fake_gssapi_krb5’ registered
Got challenge flags:
Got NTLMSSP neg_flags=0x62898215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x62088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62088215
Try “help” to get a list of possible commands.
smb: >
$ nslookup v-nethserver-1
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: v-nethserver-1.local.lan
Address: 192.168.111.XX
$ nslookup v-nethserver-1.local.lan
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: v-nethserver-1.local.lan
Address: 192.168.111.XX
On Windows authentication fails: \v-nethserver-1\share
net use * /d
There are no entries in the list.
net use z: \v-nethserver-1\share /User:jose@local.lan
System error 85 has occurred.
The local device name is already in use.
nslookup v-nethserver-1
Server: v-nethserver-1.local.lan
Address: 192.168.111.XX
Name: v-nethserver-1.local.lan
Address: 192.168.111.XX
nslookup v-nethserver-1.local.lan
Server: v-nethserver-1.local.lan
Address: 192.168.111.XX
Name: v-nethserver-1.local.lan
Address: 192.168.111.XX
But if I enable guest access:
Name: Share
Owning group: domain_users@local.lan
Allow write permissions to owning group
[ ] Allow read permissions to everyone
Guest access
[ ] None
[ ] Read Only
Read and write
Browseable
Network recycle bin
Keep copies of files with the same name
On both systems I can read and write on share without any authentication! What I can see here is either SAMBA works with computers on the domain or without authentication! I’m looking for workgroup authentication here.
Please, any help?
Thank you in advance.
Kind regards,
J.