A
A
Anton Pashchenko2021-09-15 15:49:56
Debian
Anton Pashchenko, 2021-09-15 15:49:56

How can I downgrade my Samba protocol version to SMBv1?

Actually, to record from old D-Link cameras to the linux Samba server, you need to downgrade the protocol to the SMBv1 version
. the server is in another city and I have access only via SSH (((
OS version SMP Debian 11 5.10.46-4 (2021-08-03)
Samba version (Version 4.13.5-Debian)
max protocol = NT1
does not work((

Or, as an option, tell me, how can you see what's the matter in the samba logs in more detail (log level = 10 is already set), now in the log there is only this:

[2021/09/14 16:22:02.458556,  3, pid=124220, effective(0, 0), real(0, 0)] ../../lib/util/access.c:369(allow_access)
  Allowed connection from 12.77.0.183 (12.77.0.183)
[2021/09/14 16:22:02.458589, 10, pid=124220, effective(0, 0), real(0, 0)] ../../source3/smbd/process.c:3897(smbd_add_connection)
  Connection allowed from ipv4:12.77.0.183:4001 to ipv4:12.77.0.31:445
[2021/09/14 16:22:02.458681,  5, pid=124220, effective(0, 0), real(0, 0)] ../../lib/util/debug.c:811(debug_dump_status)


smb.conf:
[global]
workgroup = WORKGROUP
security = user
map to guest = bad user
wins support = no
dns proxy = no
log level = 10
max log size = 20480
client min protocol = NT1
client max protocol = NT1
server min protocol = NT1
server max protocol = NT1
#max protocol = LANMAN1

[183]
path = /home/cams/captures/183
valid users = cams, 183
guest ok = yes
browsable = yes
writable = yes
read only = no
create mask = 0777
directory mask = 0777

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Pashchenko, 2021-09-16
@sevnet

RESOLVED!!!
1. Downgraded samba version to 4.5.6.
2. Found by successive refinement of requests on the Internet zo0mik 10.08.17 16:06:53:

"Well, that's why you can't write about it in all the manuals, that if you don't write just this one line, then in some cases even break your head on the keyboard, it may not work at all?!!! In general, it is desirable: client min protocol = NT1 client max protocol = SMB3 ntlm auth = yes create mask = 0664 directory mask = 0775 acl allow execute always = True and be sure to check if the directory exists in the local file system and the rights to it!"

Such a beating devil came out of me when I saw:
4dmcN9E.png
3 days of torment !!!
As soon as the neighbors did not call the fool))))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question