LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-10-2004, 02:06 PM   #1
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
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!
 
Old 11-10-2004, 02:26 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
are they set up to be shares in samba?
 
Old 11-10-2004, 05:06 PM   #3
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
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
 
Old 11-10-2004, 09:41 PM   #4
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Original Poster
Rep: Reputation: 30
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
 
Old 11-10-2004, 10:46 PM   #5
NiallC
Member
 
Registered: Feb 2003
Distribution: Suse 8.1
Posts: 102

Rep: Reputation: 15
This may help:

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

N
 
Old 11-11-2004, 05:47 AM   #6
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Original Poster
Rep: Reputation: 30
no NiallC, didnt help...
the problem is i need to access the windows partition on my boxfrom another WINDOWS ONLY computer...
 
Old 11-11-2004, 10:42 AM   #7
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Do the partitions not show up, or is it an access issue?
 
Old 11-11-2004, 01:58 PM   #8
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Original Poster
Rep: Reputation: 30
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..
 
Old 11-13-2004, 02:28 PM   #9
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Original Poster
Rep: Reputation: 30
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?
 
Old 11-13-2004, 03:31 PM   #10
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
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
 
Old 11-13-2004, 07:53 PM   #11
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Original Poster
Rep: Reputation: 30
Failed to initialise SAM_ACCOUNT for user X
Failed to modify password entry for user X


???????????
 
Old 11-28-2004, 09:46 AM   #12
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Original Poster
Rep: Reputation: 30
the answer !!!!!!!!!

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing Windows Partition with Samba crash_bash Linux - Networking 9 06-26-2005 09:38 AM
file sharing with windows other than samba bruse Linux - Networking 7 05-09-2005 05:54 AM
Samba and Windows XP file sharing rattiane Linux - Networking 1 03-23-2005 09:47 AM
samba redhat-windows file sharing rigolo Linux - Networking 7 08-05-2003 08:47 AM
Sharing a FAT32 partition through Samba raypen Linux - Networking 5 05-24-2003 11:27 AM


All times are GMT -5. The time now is 12:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration