-   Linux - Newbie (
-   -   How to get full access in Samba from windows? (

ibLah 08-16-2007 08:55 PM

How to get full access in Samba from windows?
I've been searching and searching and I'm getting tired of it, so its time to post.

I want to setup samba on my linux machine running Ubuntu Server Edition so that I have complete access to my entire HDD.
Could someone please explain how to do this or give me a link to a well done guide/tutorial.

mistersnorfles 08-16-2007 10:59 PM

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:

mkdir /mnt/windows
Then mount the windows partition onto that directory:

#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. (

For situation (C), check out this site

Setting Up Samba

For situation (D) check this one:
HOWTO: Setup Samba peer-to-peer with Windows

Hope this helps,
Mr. Snorfles

ibLah 08-16-2007 11:24 PM

I'm sorry, I worded it a bit wrong.
Anyway, I got it figured out. I installed Webmin and edited Samba from there.

Thanks for the reply though. :)

All times are GMT -5. The time now is 06:11 AM.