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 |
Sounds more like your problem is samba related? can you post your Smb.conf ?
You can navigate to those directories from a shell prompt? |
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 |
#======================= 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) |
btw, yes i can navigate the ntfs from the shell
|
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. |
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 |
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. |
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? |
I'm gonna appologize for myself and scold myself.
It was most definitely a permissions issue :tisk: *scolds self* :tisk: 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! |
All times are GMT -5. The time now is 01:58 AM. |