Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Samba server removes a share when adding a second share

Posted on 2009-04-02
8
Medium Priority
?
310 Views
Last Modified: 2013-12-02
I'm new to red hat and samba so this may be a basic question. I recently changed a root password, afterward there were issues with folders shared with Samba. I managed to fix this to a degree but basically we need 2 shares, let's call them data1 and data2. Data1 is sharing fine with no problems at all but as soon as i add data2 as a share in samba users can no longer access data1. Can anyone let me know how to fix this so I can have both folders sharing without issue. thanks
0
Comment
Question by:Brontide
  • 4
  • 4
8 Comments
 
LVL 29

Expert Comment

by:fosiul01
ID: 24057520
Ok

what kind of security you put in those share ?? userlevel or Share level ??

0
 

Author Comment

by:Brontide
ID: 24057577
they're on share level
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24057601
Ok you saying Data1 is sharing file,

but when you are adding data2 in samba.conf file, user cant access any share ...

Ok, have you tryed using Different share name ( dont use data2, user some thing like data3)  ??

ok have you checked log in /var/log/samb/related_log_file.log ?? what error do you see ??
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 

Author Comment

by:Brontide
ID: 24057632
yes data1 is fine, when i add data2, data1 stops sharing but data2 becomes available.

I have tried changing the share name and i've moved the data2 folder to a new directory with same results.

I haven't checked those logs but should be able to do that today.
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24057652
can you copy and past the smb.conf file here ?? just to see if there is anything odd ..

also check logs ..


also you are not implemeting smbpasswd , is that right ???

0
 

Author Comment

by:Brontide
ID: 24057682
I'll get the smb.conf posted later in the day when I'm onsite. i'll also check the logs.

At the moment there are no passwords.

0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24057687
Ok sent the logs and smb.conf, then will take it from their..
0
 

Accepted Solution

by:
Brontide earned 0 total points
ID: 24393539
Solved by moving shares to a windows server, linux box is soon to be removed from network.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Introduction People like FTP.  It's a solid, stable, robust protocol for quickly transferring files between two hosts using TCP/IP.  In most cases it's much faster than SMB or CIFS, and certainly much easier to set up between organizations.  This…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question