The FreeBSD Diary |
(TM) | Providing practical examples since 1998If you buy from Amazon USA, please support us by using this link. |
Sharity-Light - connecting Microsoft to FreeBSD
3 November 1998
|
The main page for Sharity-Light is http://www.obdev.at/Products/shlight.html. You might also want to see the NFS article. NOTE: If you want to access FreeBSD file systems from your Microsoft box, you want Samba. |
3 November
|
Today I wanted to try accessing my NT box from my FreeBSD box. So I installed the Sharity-Light port. |
Installing Sharity-Light
|
If you need to know how to install a port, here is a section from the FreeBSD Handbook. Here's what I did. Note that I had CD#3 from FreeBSD 2.2.7 in my CD drive.
The Sharity-Light files are installed in /usr/local/sbin. |
Sharing an MS File system
|
This section deals with sharing an MS file system. I've done this from within
Windows NT. But the process for Windows 95/98 should be similar. In this
example, I'll be sharing c:\temp and allowing only the user Barny to
access it. The following steps are performed on the MS system.
This should now allow the directory to be shared. The next section describes how to access this share from FreeBSD. |
Accessing an MS file system
|
In the previous section, we published, or created, a share. In this section, we
will access that share from our FreeBSD box. The NT box from which we issued that
share is named NT1. So we will mount that share under /nt1.mkdir /nt1 cd /usr/local/sbin ./shlight //NT1/TEMP /nt1 -U barny -P password where...
|
Accessing an MS file system
|
To unmount the file system, issue the following command:./unshlight /nt1 |
Documentation
|
The best online documentation I've found is the following:
|
Limitations
|
You will find that dates and times are not correct on the files from NT4 file systems. For more information, please refer to the documentation mentioned in the previous section. |