LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-14-2015, 04:44 PM   #1
gglq000
Member
 
Registered: Mar 2012
Posts: 65

Rep: Reputation: Disabled
samba write issues with windows logon


I have done the samba share implementation using following steps:
http://www.cyberciti.biz/faq/unix-sa...hare-writable/

I can access the share from Windows on first day and did write and read.
But starting next day possible after rebooting the samba server which is running on RHEL6.5 write permision is denied ever since. It is pissing the shit out of me.
the writeable = yes flag is set and checked everything but still can not see what is wrong. the testparm return the samba status but it does not include the writeable flag (below). What could be the issue?


[root@localhost sdb1]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Global parameter root found in service section!
WARNING: The "username" option is deprecated
Processing section "[windowapps]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = MYGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
idmap config * : backend = tdb
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
username = samba_guest
printable = Yes
print ok = Yes
browseable = No

[windowapps]
path = /sdb1/window.apps
valid users = samba_guest
read only = No
create mask = 0666
directory mask = 0777
guest ok = Yes
[root@localhost sdb1]#
 
Old 04-15-2015, 07:05 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
You have valid users as well as a guest ok directive. Do you want windowsapps to be a public share?

You also have to verify the /sdb1/window.apps directory permissions and selinux if active are set correctly.

Last edited by michaelk; 04-15-2015 at 07:10 PM.
 
Old 04-15-2015, 07:34 PM   #3
gglq000
Member
 
Registered: Mar 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
You have valid users as well as a guest ok directive. Do you want windowsapps to be a public share?

You also have to verify the /sdb1/window.apps directory permissions and selinux if active are set correctly.
i did chgrp and chown from root to samba_guest on the shared folder. so far so good. not sure if it is temp band-aid or will occur again will see.
 
  


Reply

Tags
samba



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
Logon to Windows network from linux ...not SAMBA! jago25_98 Linux - Networking 1 05-22-2007 07:19 AM
unable to logon to SAMBA from Windows ivor.miller Linux - Networking 6 10-30-2005 07:13 AM
Can't Logon to a samba PDC with Windows XP aussieskier Linux - Networking 5 06-15-2005 04:57 PM
logon issues: win98 - firewall - samba MichaelP Linux - Security 7 03-10-2005 04:29 PM
Samba Pdc & Account Logon Issues TheTrexx Linux - Networking 2 01-06-2003 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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