Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0007076: Cannot mount CIFs share on Windows if share name has a space in it

$
0
0
Centos 6.5:<br /> 2.6.32-431.11.2.el6.x86_64<br /> <br /> I had CIFS server running on Centos and i was trying to mount a directory on WinPE.<br /> My config was as follows:<br /> <br /> [global]<br /> ; workgroup = WORKGROUP<br /> ; server string = PXE<br /> ; security = user<br /> <br /> ; hosts allow = 192.168.1. 192.168.2. 127.<br /> <br /> ; load printers = yes<br /> ; printcap name = /etc/printcap<br /> ; printcap name = lpstat<br /> ; printing = cups<br /> <br /> log file = /var/log/samba/%m.log<br /> max log size = 50<br /> dns proxy = no<br /> <br /> #======= Share Definitions ========<br /> [CIFs Share]<br /> path = /CIFS<br /> browseable = yes<br /> writable = yes<br /> public = yes<br /> create mask = 0777<br /> <br /> <br /> It wasn't working i got error:<br /> <br /> System error 67 has occurred.<br /> <br /> The network name cannot be found.<br /> <br /> Centos had no problem locally mounting the drive<br /> MacOS had no problem remotely mounting the drive<br /> Windows 7 came up with error 67<br /> Windows PE came up with error 67<br /> <br /> <br /> All i had to do to fix this issue was change my share definition to have no spaces:<br /> <br /> [global]<br /> ; workgroup = WORKGROUP<br /> ; server string = PXE<br /> ; security = user<br /> <br /> ; hosts allow = 192.168.1. 192.168.2. 127.<br /> <br /> ; load printers = yes<br /> ; printcap name = /etc/printcap<br /> ; printcap name = lpstat<br /> ; printing = cups<br /> <br /> log file = /var/log/samba/%m.log<br /> max log size = 50<br /> dns proxy = no<br /> <br /> #======= Share Definitions ========<br /> [CIFs]<br /> path = /CIFS<br /> browseable = yes<br /> writable = yes<br /> public = yes<br /> create mask = 0777

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>