U
U
unwrecker2014-11-22 22:11:44
Samba
unwrecker, 2014-11-22 22:11:44

How to connect to samba4 from Windows 2008R2?

There is a Windows 2008r2 server that normally connects to samba3 with security = share without using passwords. You need to connect it to the samba4 server as well. There is no such setting in samba4, they offer map to guest = Never as a replacement, however, when connecting clients to this ball, the password is still asked.
It turns out that there are 2 solutions: either log in without a password (there are no ideas here - everything found on this topic is about samba3), or get confused with a password connection. There is a lot of information on this topic regarding disabling ntlmv2 and encryption just about 2008r2.
To no avail, I tried everything on the links below:
www.opennet.ru/tips/2309_samba_windows.shtml
www.sevenforums.com/network-sharing/322851-unable-...
stackoverflow.com/questions/19625201/one-windows-2...
Windows 7 clients connect fine (but ask for a password). Windows 2008R2 waits for a long time and then issues "System error 53. Network path not found.", and, interestingly, there is nothing about it in the samba logs at all. Played with the firewall. What's left? Sniffer?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
U
unwrecker, 2014-11-26
@unwrecker

None of the proposed actions led to a positive result, but (oddly enough) it helped (oddly enough) accessing the samba server through an external ip. I cannot explain this. firewall checked a thousand times, and other computers from LAN connect to the server normally.
The sniffer also sees a strange picture: 10 seconds after trying to connect, not a single packet arrives from Windows to the samba server, and then an ARP request, and that's it. Despite the fact that it responds normally and tried to disable firewalls ....
Problems arose with other protocols and with other servers. All requests except for pings from this screw server to any Linux virtual machine under KVM do not go through. But this is a topic for a completely different question ... And this question has been removed.

O
O Di, 2014-11-23
@insiki

Try:
guest ok = yes
Actually, here is a great resource:
smb-conf.ru

A
Anatoly, 2014-11-26
@rbobot

/etc/samba/smb.conf

security = user
   guest account = smbguest
   dns proxy = no
   map to guest = Bad User

Run:
groupadd smbguest
useradd -g smbguest -d /dev/null -s /bin/false smbguest
chown -R smbguest:smbguest /home/samba

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question