I couldn't understand exactly what you are trying to do from your post...
Are you
A) Trying to mount a windows drive into Ubuntu (look at your windows files from linux)?
B) Trying to mount your Linux partition from windows (the reverse of the above)?
C) Trying to use Linux to host files and devices (printers, etc) over the network?
D) Trying to access Windows files from a Linux box over the network?
In case you were looking for (A), you will not need Samba. What you need to do is to enable NTFS support in the Filesystems section of your kernel, so that you can access NTFS partitions. Then create a directory to mount the windows partition on:
Then mount the windows partition onto that directory:
Code:
#mount -t ntfs /dev/hdX /mnt/windows
(Where /dev/hdX is the name of your windows partition...)
If you are looking for (B), there is a program called EXT2IFS which can load ext2/ext3 partitions in Windows. (
http://www.fs-driver.org/)
For situation (C), check out this site
Setting Up Samba
https://help.ubuntu.com/community/SettingUpSamba
For situation (D) check this one:
HOWTO: Setup Samba peer-to-peer with Windows
http://ubuntuforums.org/showthread.php?t=202605
Hope this helps,
Mr. Snorfles