LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-07-2002, 08:42 PM   #1
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
Windows Unable to write to a network share??? Please help!


Dear All,
I have two networking questions thaty invlolve SAMBA.

NOTE: OS is SuSE Linux 7.3 Professional (complete install)

1.) I have managed to set up Samba in such a way that Windows XP / Windows 2000 can both see and open shares! Here's the challenge: I cannot give write/delete access to windows! For example, I cannot create a folder or copy a file onto such a samba share! Below are two sections of my smb.conf file for your reference. Note that the security is set to SHARE level to protect individual shares, and the share "share" is set up to full read/write/execute privelages/permissions!

[global]
workgroup = PearlJamRox
os level = 2
kernel oplocks = No

security = share
encrypt passwords = Yes
guest account = Nobody
map to guest = Bad User

[shared]
comment = Linux Shared Resource
path=/netshare
create mode=777
read only = no
browsable=yes
public=yes


2.) So yes, We can have windows see the shares just fine. Here's a problem: Linux Can't! If I try to access a share from another Linux machine, it fails to even see the share under LinNeighbourhood! The SAME SHARE on the same machine is accessed just fine in windows!
NOTE: I think this has to do with "encrypted" paswords. Any ideas anyone?

Can Anyone help???
Thanx

NOTE: I cannot post the entire smb.conf file here. I tried to use copy/paste but it didn't work under linux. Homestead and geocities do not allow Linux or a .conf file extension. Sorry!

Last edited by shassouneh; 03-07-2002 at 08:43 PM.
 
Old 03-09-2002, 10:54 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
There is small pasword problem with different Windows version. For some of them encrypt passwords =no should be set. But I'd also look for permissions for the directory /netshare. It may be set only to "read".
 
Old 03-09-2002, 06:11 PM   #3
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
The Directory /netshare is given full read/write/execute privelages to everyone! (permission set to 777 or rwxrwxrwx), so ANYONE can access it! As for the windows version, I am running a mixed network of Windows 2000 and Windows XP (NO WINDOWS 9x/ME), so the best of my knowledge encrypt passwords should be set to YES.

Thanx for yourt reply though!

Can anyone help?
 
Old 03-10-2002, 06:33 AM   #4
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Rep: Reputation: 15
Try sucerity = user
 
Old 03-10-2002, 05:02 PM   #5
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
cool but...

Actually security=share worked just fine, LOL. I have managed to give windows write privelages by performing chmod 777 /netshare. Now i can't get LINUX machines to connect to this SMB share. Any ideas?
 
  


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
Can't write to Samba share from Windows Needlotsahelp Linux - Newbie 3 07-30-2005 08:32 PM
Unable to write to Samba Share sephiro499 Linux - Newbie 8 11-30-2004 12:05 PM
write access to share on windows machine Delphinusnz Mandriva 0 11-16-2004 02:24 AM
mounted network share gets write-protected! Falafel Linux - Networking 1 10-23-2003 07:45 AM
cannot write to windows share as user keirobyn Linux - Networking 3 01-23-2003 09:20 AM

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

All times are GMT -5. The time now is 09:04 PM.

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