Using samba to create share on mandrake
Hi there
Ive got a network on which Ive got 7 XP boxes and 1 Mandrake 10.0 Linux box, on that Linux box is a fat32 harddrive which contains 30GB of Music and I have it mounted to \home\xxx\Desktop\Music\ . I want to know if there is a way to let the windows users access that file without using a password "Ive already got samba running, but the mentioned file is not shared". Thanks in advance for any help. |
what does your fstab look like? i have a similar setup and even when i have samba setup correctly you must make sure the vfat drive has permissions set correctly.
here are mine as examples.. Code:
/dev/hda6 swap swap defaults 0 0 Code:
workgroup = WORKGROUP all this being said the above configuration should work without logging in, but it is by no means the safest way. i just recently set this up myself on a new server box and just did it fast so it would work, so give those changes a shot and see if it works, then go back and close things down a bit so your files arent so open to everyone-The_Nerd |
actually i did all the things you mentioned
I edited my smb.conf to make the shares public and I used chmod 0000 to make my hda3 and hda5 ( i.e win_c and win_d) like your fstab but the problem still exists thanks for your help but do you have any other ideas >???? |
make sure that you can acess the vfat drives from your regular user. login as someone not root and make sure you can read and write to the drives. also can you post the error message you get if any on the windows pc's your trying to acess the share from. though i've never had to with a vfat share, you may also be able to create a user and then force that users login everytime somemone logs onto the samba share and thus no one has to login. but make sure a non root user can read/write to the drive and post any error messages.
Edit: heres another quick thought. having it mounted within your homedir may be messing things up as well. i dont have too much experience with all this, i just know mine works and i always have mounted my drive as /mnt/hdxx . try mounting it there and changing smb.conf accordingly |
actually I enter as a normal user
then I su and mount the drives etc, and then i access them normally thansk for your help |
hmm well i guess i'm not too sure then ALInux. one last thing to try for the heck of it would be to restart smbd. from what you've said it sounds like samba loads, then you mount your drives after samba has started. i would restart samba after you have mounted the drives, just to see if that picks them up for whatever reason. other than that i'm not sure.-The_Nerd
|
All times are GMT -5. The time now is 11:08 PM. |