After upgrading net/samba33 port, which was obsolete and removed, to net/samba35, I found that multifuntional office devices (like canon IR2270, IR2020i, IR1020i) cannot connect to smb shares anymore, while Windows PC's have no such problems. T I was also able to connect from Windows using login/password combination used by office machines. Hovewer none of them could connect itself, and smbd logs says: [2010/11/02 13:30:49.862220, 0] smbd/sesssetup.c:1703(reply_sesssetup_and_X) reply_sesssetup_and_X: Attempted encrypted session setup without negprot denied! Playing with smb.conf options and google doesn't help, it seems that only some Mac OS X's have similiar problems with latest samba releases. From IR2270 Panel I was able to browse network neighbourhood and FreeBSD based Samba server was visible and accesible. Any try to write scanned file to share ends with error. Fix: While investigating possible causes, I found that removing patch 'patch-source3__smbd__negprot.c', rebuildig and reinstalling port fix this issue. None side effects of patch removal has been seen for now. So I guess that patch brakes protocol negotiations in some cases, and it's possible that it isn't needed at all. How-To-Repeat: #portinstall net/samba35 then connect from some non-windows device, office equipment talking to SMB preferably.
Responsible Changed From-To: freebsd-ports-bugs->timur Over to maintainer (via the GNATS Auto Assign Tool)
Hi, I had a similar issue with samba35 - please see: = <http://lists.freebsd.org/pipermail/freebsd-ports/2010-October/064273.html= > Removing the patch file "patch-source3__smbd__negprot.c" and rebuilding = samba35 as indicated by Bartosz Stec, resolved also my issue with = samba35. By the way, there is another recent report about this issue here: = <http://lists.freebsd.org/pipermail/freebsd-questions/2010-October/223346.= html> Bartosz, many thanks for pointing me to the solution! Best regards Rolf Jansen
Windows 98 is not able to connect either.
timur 2010-11-15 13:14:19 UTC FreeBSD ports repository Modified files: net/samba35 Makefile net/samba35/files patch-source3__smbd__negprot.c Added files: net/samba35/files patch-lib__replace__libreplace_macros.m4 Log: Fix patch for negprot.c to address problems with Windows XP authentication. Fixed prototype recognition in the configure script. PR: 151887 Revision Changes Path 1.4 +5 -4 ports/net/samba35/Makefile 1.1 +18 -0 ports/net/samba35/files/patch-lib__replace__libreplace_macros.m4 (new) 1.2 +6 -30 ports/net/samba35/files/patch-source3__smbd__negprot.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fixed, thanks!