LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-18-2004, 09:51 PM   #1
dataangel
Member
 
Registered: Aug 2004
Posts: 51

Rep: Reputation: 15
Mandrake and win2k smb share


I'm on a network with a Win2K computer sharing a passworded folder. I've setup the computer to be a mount point in the mandrake (10.1) config center, and I can go to /mnt/the2kcomp and view the files there fine. But for some reason it won't let me write to them. I know the Win2K box is setup correctly because other windows computers can write to the share, just mandrake can't.

I turned off the firewall during install so that should be preventing me from writing. In advanced options in the config center I've entered my username and password and the read only box is not checked.

Here's the line from /etc/fstab:

Code:
//dragon/students /mnt/students smbfs credentials=/etc/samba/auth.dragon.k04jg02 0 0
I've never had to mess with this before because SuSe set it up automatically. All the google help is for people running samba servers on mandrake. I did ls -l in /etc and noticed this:

Code:
drwxr-xr-x  1 root root  4096 Oct 18 17:12 students/
Being a linux newbie I tried chmod +777 students but that didn't work.

Ideas? :P
 
Old 10-18-2004, 11:26 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

see ur permissions here

//dragon/students /mnt/students smbfs credentials=/etc/samba/auth.dragon.k04jg02 0 0

set them to 0 0 0

also try mounting by

smbmount '//<ipadressof win machine>/share name' <path of mounting>

the share name is case sensitive
mount ur share in a differnet dir. and see if u can edit the files then

regards
 
Old 10-19-2004, 12:19 AM   #3
dataangel
Member
 
Registered: Aug 2004
Posts: 51

Original Poster
Rep: Reputation: 15
Adding the extra 0 to the end in /etc/fstab didn't work, but I think I might have done something wrong. It highlighted the two previous zeroes as red, but the one I typed in showed up grey (I'm using vi). That mean anything?
 
Old 10-19-2004, 02:20 PM   #4
dataangel
Member
 
Registered: Aug 2004
Posts: 51

Original Poster
Rep: Reputation: 15
smbmount by hand works, and writing as root works, but being able to do this stuff as a normal user like I could in SuSe would be nice :/
 
Old 10-19-2004, 10:50 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

may be u need to check out the permisions or the directories where u r mounting this share,for the permisions for the normal user
or try it mountiug in the a dir. in the home directory of the user

regards
 
Old 10-19-2004, 11:49 PM   #6
sal_paradise42
Member
 
Registered: Jul 2003
Location: Utah
Distribution: Gentoo FreeBSD 5.4
Posts: 150

Rep: Reputation: 16
try this command

smbmount //win2knetbiosname/share /mnt/the2kcomp -o fmask=777,dmask=777

see if that lets you write to it
 
  


Reply



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
smb share rajen_iiit Linux - Networking 4 08-09-2005 02:18 PM
Win2k And Smb shane200_ Linux - Networking 1 01-03-2005 11:29 AM
SMB-->Win2k connection problem soren625 Linux - Networking 2 11-06-2004 12:00 PM
Samba/SMB service works, Win2k doesn't? scorpatron Linux - Networking 2 11-10-2003 07:34 AM
SMB Win2k problem doralsoral Linux - Networking 1 09-08-2003 01:49 PM

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

All times are GMT -5. The time now is 03:13 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