cannot access a directory with samba

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat cannot access a directory with samba
# 1  
Old 10-10-2012
cannot access a directory with samba

Code:
[opt]
        path = /opt
        writeable = yes
;       browseable = yes
#       guest ok = no
        valid users = oracle

[Reports_8000]
        path = /opt/TEST8000/oracle/apps/apps_st/appl/ffcl/12.0.0/reports/US
        writeable = yes
;       browseable = yes
        valid users = oracle


[Reports_8001]
        path = /opt/TEST8001/oracle/apps/apps_st/appl/ffcl/12.0.0/reports/US
        writeable = yes
;       browseable = yes
        valid users = oracle

[opm]
        #path = /home/oracle/pfl_opm
        path = /home/opm/pfl_opm
        writeable = yes
;       browseable = yes
        valid users = opm


i am unable to access opm directory via samba . Other directories i can access.

---------- Post updated at 06:21 PM ---------- Previous update was at 06:01 PM ----------

one thing more i want to ask

if we change permission for /home/user does this have any effect on other directories shared by this user ?

---------- Post updated at 06:28 PM ---------- Previous update was at 06:21 PM ----------

i am also getting this error while i connect with samba :

Code:
Multiple connections to a server or shared resource by the same user,  
using more than one user name, not allowed.

Moderator's Comments:
Mod Comment Use code tags, please. <- Click Me!


---------- Post updated 10-10-12 at 09:10 AM ---------- Previous update was 10-09-12 at 06:28 PM ----------

i am able to access opt folder


i cannot access opm folder.

please guide me,

---------- Post updated at 10:35 AM ---------- Previous update was at 09:10 AM ----------

i posted contents of my smb.conf file above.

i can access opt folder and oracle is given rights to access this folder.


i cannot access opm folder and opm user has rights on this folder.

Where is bottle neck for this ??

---------- Post updated at 10:42 AM ---------- Previous update was at 10:35 AM ----------

i apologise for any forums law violation.

i need guidance and help of all experts .

Last edited by Scott; 10-09-2012 at 11:22 AM.. Reason: Code tags
# 2  
Old 10-10-2012
Yes, the permissions of the folders being shared have a great effect on whether people can access them. Their users and groups also matter.

This does not mean you should jam 777 on everything! There's a reason it's not working, figure out what their permissions are and what your users can access and what permissions they actually need.

What are the permissions and ownership of the dir that can't be accessed?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. UNIX for Beginners Questions & Answers

Samba Share access from windows

Hello, I want to connect to two samba shares both on the same Linux box but each with a different username from a windows server 2008. I created 2 gpos to connect and I can connect to the shares individually via net use command, but once I entered credentials for one of the shares, it seems I... (1 Reply)
Discussion started by: zaineyma
1 Replies

3. Proxy Server

Unable to access Samba share with Ubuntu on Win7

I have an issue with my Samba share - I am unable to write to it, edit a file or rename a folder etc within Windows. I am using Windows 7 and Ubuntu 12.04 and this is my Samba config. I can connect to the /sylius directory no problem (no password required), but I cannot save to it. Is... (3 Replies)
Discussion started by: crmpicco
3 Replies

4. Solaris

samba read write access to owner and no access to other users

Hi All, I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration. Regards, Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies

5. Red Hat

Winbind and pam - restrict all services except for samba access

Hi, I have recently taken control of a number of RHEL5.3 servers that have samba shares setup on them and are authenticating using pam and winbind. My issue is that any user that has an active directory account can currently log in to the linux boxes using their ad credentials. I need to... (0 Replies)
Discussion started by: klyne
0 Replies

6. Windows & DOS: Issues & Discussions

samba with public access

Hello friends .. I have configured "smb" in debian machine . Created a share named "share_one" with public access and started samba service . I am able to access the share "share_one" directly without any difficulty on linux machines. But when it comes to windows it asks for username... (1 Reply)
Discussion started by: pradeepreddy
1 Replies

7. IP Networking

Access samba over wan

How do I access a samba server over a wan with routers used as the gateways between the lans (1 Reply)
Discussion started by: ogah
1 Replies

8. UNIX for Advanced & Expert Users

Unix directory permissions for Samba

Hi, I've installed Samba on an AIX machine and configured smb.conf to have a bunch of shares available to Windows. I can see the shares, but I couldn't access them. After about 30 minutes of chmod'ding if finally got access by doing the following to the directories I shared: chmod -R... (2 Replies)
Discussion started by: szahir1
2 Replies
Login or Register to Ask a Question