LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   samba file sharing windows partition (https://www.linuxquestions.org/questions/linux-newbie-8/samba-file-sharing-windows-partition-253318/)

ganja_guru 11-10-2004 02:06 PM

samba file sharing windows partition
 
an old demon has returned to haunt me....

why is it im never able to share my windows partitions thru samba? i can see my linux partitions and access them when i use my brothers computer, but i cannot access my windows partitons thru my brothers computer...ill explain

My box:
athlon xp 2600
2 reiser partitions, 1 fat32 partition on /dev/hda
1 fat32 partition on /dev/hdb

my borther's box
1 windows partion on /dev/hda


so basically im able to access the rieser partitions from my brothers box, but not the windows partitions..

ive already tried 'chmod'ing the windws partitions..

help!

Matir 11-10-2004 02:26 PM

are they set up to be shares in samba?

linux_terror 11-10-2004 05:06 PM

add something like this to smb.conf's share section and restart samba

[windows_share]
comment = windows_share
path = /path/to/the/windows/partitions/mountpoint
read only = no
public = yes

linux_terror

ganja_guru 11-10-2004 09:41 PM

thanx for the replies...yes i have added the win shares to the smb.conf file.....

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/08/25 21:51:38

# Global parameters
[global]
workgroup = WORKGROUP
server string = Watha
security = SHARE
map to guest = Bad Password
log file = /var/log/samba.%m
max log size = 50
preferred master = Yes
domain master = Yes
message command = /usr/local/bin/LinPopUp "%f" "%m" %s; rm %s

[SHARE]
path = /home/Share
guest ok = Yes

[BACKUP]
path = /backup
guest ok = Yes

[VOBZ]
path = /c/Vobz/
comment = windoze
guest ok = Yes
read only = no
public = yes


note: /c is my mount point for the fat 32 drive

NiallC 11-10-2004 10:46 PM

This may help:

http://portal.suse.com/sdb/en/2003/03/fhassel_smb.html

N

ganja_guru 11-11-2004 05:47 AM

no NiallC, didnt help...
the problem is i need to access the windows partition on my boxfrom another WINDOWS ONLY computer...

Matir 11-11-2004 10:42 AM

Do the partitions not show up, or is it an access issue?

ganja_guru 11-11-2004 01:58 PM

its an access issue...i can see the partitions ...but i get some "the network resoure is inaccessible ..bla blah...contact system administrator..blah blah' when i try to access my windows partition from my brothers box..

ganja_guru 11-13-2004 02:28 PM

ok guys...ive tried everything...ive added
guest account = nobody
encrypt passwords = yes

still no luck...

do i have to have security set to share and then create a user name and password for my brother if i am to access fat 32 shares on my machine from his?

linux_terror 11-13-2004 03:31 PM

if you are using non-public then yes, you'd have to add the user with
Code:

smbpasswd -a username
then restart samba.

linux_terror

ganja_guru 11-13-2004 07:53 PM

Failed to initialise SAM_ACCOUNT for user X
Failed to modify password entry for user X


???????????

ganja_guru 11-28-2004 09:46 AM

the answer !!!!!!!!!

http://www.linuxquestions.org/questi...=&pagenumber=2


All times are GMT -5. The time now is 04:53 PM.