a220 Mounting CIFS (SMB over TCP/IP) windows shares; FreeBSD 7.1 - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old September 9th, 2009, 13:49
evaldas evaldas is offline
Junior Member
 
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mounting CIFS (SMB over TCP/IP) windows shares; FreeBSD 7.1

I'm having trouble mounting CIFS (SMB over TCP/IP) shares on FreeBSD system. CIFS shares are provided by Windows XP systems. I guess the problem somehow could be related to the fact that on windows boxes "NetBIOS over TCP/IP" is disabled. I don't know exactly how it's called, some call it "true cifs", "naked cifs" or "smb over tcp/ip", but the only port open on windows boxes is port tcp 445 (135, 137, 139 and others related to netbios are closed). From linux system mounting works perfectly with 'mount -t cifs', but on my FreeBSD 7.1 system commands 'mount -t cifs' and 'mount.cifs' are not supported/available, and 'mount_smbfs' doesn't want to work:

Code:
# uname -r
7.1-RELEASE
# mount_smbfs -I 10.0.1.3 //administrator@10.0.1.3/c$ /mnt/cifs
Password:
mount_smbfs: unable to open connection: syserr = Connection refused
# mount_smbfs -I 10.0.1.3 //administrator@10.0.1.3:445/c$ /mnt/cifs
Password:
mount_smbfs: unable to open connection: syserr = Operation timed out
Reply With Quote
  #2  
Old September 9th, 2009, 15:13
vivek's Avatar
vivek vivek is offline
Member
 
Join Date: Nov 2008
Location: Hyper Space
Posts: 809
Thanks: 3
Thanked 184 Times in 102 Posts
Default

Try
Code:
mount_smbfs -I 10.0.1.3  -W WORKGROUPHERE   "//user@10.0.1.3/c$" /mnt/cifs
__________________
Neither in this world nor elsewhere is there any happiness in store for him who always doubts. If you enjoyed my answer please consider donating some money to FreeBSD foundation @ http://www.freebsdfoundation.org/
Reply With Quote
  #3  
Old September 9th, 2009, 19:38
evaldas evaldas is offline
Junior Member
 
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Specifying WORKGROUP also doesn't help. I guess, because NetBIOS broadcasts are disabled, WORKGROUP names are now irrelevant.

Direct hosting of SMB over TCP/IP
Reply With Quote
Reply

Tags
cifs, mount

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] mounting cifs share in fstab, FreeBSD 7.0 jmpetre Web & Network Services 2 September 4th, 2009 13:39
Install windows on the windows partiton from Freebsd everypot Installing & Upgrading 9 August 31st, 2009 17:38
UTF-8 and samba shares jdawg70 Networking 1 February 9th, 2009 08:07
SMB username and password zerhacke General 2 January 3rd, 2009 00:07
FreeBSD-EN-08:02.tcp admin News & Announcements 0 June 20th, 2008 21:38


All times are GMT +1. The time now is 15:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0