LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-26-2016, 06:09 AM   #1
paulfoel
Member
 
Registered: Mar 2011
Posts: 43

Rep: Reputation: 0
Samba on oracle linux - cant access from windows.


Strangely I can see the shares but can't access (error is windows cannot access - you do not have permission to access).

Other users cant even see the shares (by going to \\servername) (Error is \\server is not accessible. You might not have permission to use this network resource etc.

As you can see from my smb.conf its relying on guest user to provide access rather than samba users. Wondering if its windows thats causing this or linux?

Heres my smb.conf:-

[global]
workgroup = GCC
netbios name = SVRSHIR401
server string = SVRSHIR401
# hosts allow = 192.168.1. 127.
log file = /var/log/samba/%m.log
max log size = 50
guest account = nobody
security = user
map to guest = Bad User
# encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# remote announce = 192.168.1. 192.168.1.255
local master = no
# os level = 33
# domain master = no
# preferred master = yes
username map = /etc/samba/smbusers
#============================ Share Definitions ==============================
[gapsreports]
comment = gapsreports Folder
path = /u04/gapsreports
public = yes
writable = yes
available = yes
browsable = yes
guest ok = yes
#AJS all files and folders created should be public access on unix
directory mask = 777
create mask = 666
[prw]
path = prw
guest ok = yes
 
  


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
Samba Access problem from Windows XP to Linux RWTH Linux - Networking 8 03-22-2011 12:20 PM
Windows Mobile can't access Linux Samba hobsbawm Linux - Newbie 5 03-16-2009 07:11 AM
Windows Oracle database access from Linux edsalvador Linux - Networking 1 03-16-2008 11:54 AM
Access linux SAMBA share from windows pengu Linux - Software 6 02-17-2007 11:55 AM
Samba Works, Windows can access Linux Side but ............ srikz Red Hat 10 12-02-2003 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration