LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-07-2003, 11:52 PM   #1
hizroyalhajpaj
LQ Newbie
 
Registered: Dec 2003
Distribution: RHL 9.0
Posts: 8

Rep: Reputation: 0
samba with ntfs


Doesn't look like this has been covered before.

I have samba working on the linux hard drive.

Added 120 gig as hdb

updated the kernel for ntfs read support... that worked

however, i cannot get to it from my windows xp pro box

i can get to the shares that i set up that are on the linux partition

it asks for my username and password, but gives "the drive could not be mapped because no network was found"

is this because it's an ntfs partition?

or something else?

tyia


RHL 9.0 (2.4.20-6)
sabama-2.2.7a-6

Last edited by hizroyalhajpaj; 12-08-2003 at 12:19 AM.
 
Old 12-08-2003, 12:50 AM   #2
locutus233
Member
 
Registered: Aug 2003
Location: South Surrey, BC
Distribution: Redhat, Gentoo
Posts: 47

Rep: Reputation: 15
Sounds more like your problem is samba related? can you post your Smb.conf ?

You can navigate to those directories from a shell prompt?
 
Old 12-08-2003, 01:09 AM   #3
hizroyalhajpaj
LQ Newbie
 
Registered: Dec 2003
Distribution: RHL 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
i'll get my smb.conf up in a second

but first i thought that i'd mention that when i type: net view tux
(tux is my linux box)

it shows the shares...

[snip]

C:\Documents and Settings\Administrator>net view tux
Shared resources at tux

linux_share

Share name Type Used as Comment

-------------------------------------------------------------------------------
hajpaj Disk Home Directories
hajpaj-1 Disk Upload New Simpsons Here
Overflown Disk Overflown40gb
The command completed successfully.

[/snip]

the hajpaj shares are on the linux formated drive
the overflown is the ntfs



ALSO i read somewhere that to get ntfs working w/ samba i needed to do something with SMBFS

but there was nothing more than the mention




back in a bit w/ the smb.conf
 
Old 12-08-2003, 01:14 AM   #4
hizroyalhajpaj
LQ Newbie
 
Registered: Dec 2003
Distribution: RHL 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
#======================= Global Settings =====================================
[global]
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
load printers = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
obey pam restrictions = yes
username map = /etc/samba/smbusers
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
dns proxy = no
server string = linux_share
printing = cups
unix password sync = Yes
workgroup = ithrees
os level = 20
printcap name = /etc/printcap
max log size = 0
pam password change = yes

[homes]
comment = Home Directories
browseable = no
writeable = yes
valid users = %S
create mode = 0664
directory mode = 0775

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
printable = yes

[hajpaj-1]
path = /home/hajpaj
comment = Upload New Simpsons Here
writeable = yes

[Overflown]
comment = Overflown40gb
path = /mnt/overflown/Overflown




+++++++++++++++++++=
interesting how it only shows the hajpaj-1 share in linux, but still shows both hajpaj and hajpaj-1 (see previous post w/ the net view output snip)
 
Old 12-08-2003, 01:15 AM   #5
hizroyalhajpaj
LQ Newbie
 
Registered: Dec 2003
Distribution: RHL 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
btw, yes i can navigate the ntfs from the shell
 
Old 12-08-2003, 11:22 AM   #6
dubman
Member
 
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
I assume you can have mounted and can browse the newly added HD on the lunix system? I also assume you can ping the linux system from the windows system? can you map to the drive using the IP address instead of freindly name? Can you wack wack the drive? (from the windows system...GOTO>>START>>RUN, type \\"linux system IP"\"sharename")

I remember having an issue similar to this before...If I remember correctly there was a seperate NTFS RPM I needed to install that RH didn't include...because of M$ licensing.
 
Old 12-08-2003, 05:22 PM   #7
hizroyalhajpaj
LQ Newbie
 
Registered: Dec 2003
Distribution: RHL 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
thanks for the reply,

your assumptions are correct...

i got my RPM from: http://linux-ntfs.sourceforge.net/
followed all the steps... flawless

i can then read fine from the ntfs drive on the linux machine.
on the windows side it's different

if i ping i get response
when i try to conect through mapping a network drive or the start>run i get a dialog box for my samba user access... i'm using only one samba user... and the same password and username for the other share i set up (on the ext3 partition).

start>run \\hostname\share gave an error to the likes of "no network provider accepted the given path"

mapping the drive gives the error: "the drive could not be mapped because no network was found"

if i do a 'net view hostname' from the cmd prompt i can see the ntfs share in the list




i'm going to upgade my samba version (probably where the problem lies)
i'll report back after that

thanks for any help
-chris
 
Old 12-08-2003, 11:29 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It is likely to be related to the /etc/fstab file. The way your mounting the ntfs drive is going to determine if it works with samba.

You did say you can open your home folder or linux drive shares from this xp machine right.
 
Old 12-08-2003, 11:57 PM   #9
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
hold on, i think im confused, is the HDB formatted as ext2 -j or as NTFS?
Also, is HDB in your mtab and fstab?
Are your permissions correct for those shares?
Does Samba show up in your network neighborhood?
Are you resolving via dhcp?
Might samba default as local master/preferred master and conflict with xp unless specified?
 
Old 12-09-2003, 11:20 PM   #10
hizroyalhajpaj
LQ Newbie
 
Registered: Dec 2003
Distribution: RHL 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
I'm gonna appologize for myself and scold myself.

It was most definitely a permissions issue



*scolds self*


Now i've got a totally new issue.

I cannot mount a fat32 filesystem ... getting generic error (hoping the drive hasn't crapped the bed)

but that is another issue for another place on linuxquestions.org

thanks for all the brainstorming!
 
  


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
Samba and NTFS phatboyz Linux - Networking 4 12-21-2004 10:38 AM
Samba and NTFS hanmanius Linux - Networking 5 05-06-2004 10:08 AM
accessing ntfs share through samba GraemeK Linux - Software 2 01-26-2004 09:15 AM
NTFS, Samba, RHL 8 ganeshbic Linux - Networking 1 04-16-2003 04:47 AM
samba mounting into NTFS? n3wb1e Linux - Software 3 03-24-2003 05:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration