mount_smbfs problem after upgrade Samba 3.4 -> 3.5

Per olof Ljungmark peo at
Wed Nov 3 06:47:44 UTC 2010

On 11/03/10 00:04, Bartosz Stec wrote:
>> Hi,
> Hello!
>> I'm doing a major overhaul of our Samba servers including an upgrade to
>> the latest port version, 3.5.6. I'm getting most things in place but a
>> remaining problem is that I cannot any longer use mount_smbfs:
>> mount_smbfs -I //peo at mars 
>> <>/inter
>> /home/mnt
>> Password:
>> mount_smbfs: unable to open connection: syserr = Authentication error
>> Samba server log says:
>> mbd/sesssetup.c:1703(reply_sesssetup_and_X)
>>     reply_sesssetup_and_X:  Attempted encrypted session setup without
>> negprot denied!
>> smbclient works fine and so does connecting to the shares from Windows
>> and Konqerour like "smb://".  <smb://>
>> Anybody on the list with enough knowledge of Samba that could take a
>> shot at this? Apparently something changed between version 3.4 and 3.5
>> of Samba.
> My knowledge about Samba is limited at best, but it seems that I found
> possible couse and working override (solution?). Check this PR:
> If this fixes your problem too, please submit followup - more
> information port maintainer gets, less time he's gonna need to fix this.

Yes, it fixed my problem. Submitting followup, thanks.

More information about the freebsd-questions mailing list