Solved

Samba server removes a share when adding a second share

Posted on 2009-04-02
8
300 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
 

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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Goal:  To set up a secure SSH server for your home computer to make it accessible anywhere AND to use it as a port forwarding proxy. Steps 1.  WinSSHD version 5 is free for personal use.  So download and install it.  You can download it from the…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now