?
Solved

Samba server removes a share when adding a second share

Posted on 2009-04-02
8
Medium Priority
?
309 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
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…

719 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