Solved

Samba server removes a share when adding a second share

Posted on 2009-04-02
8
305 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IPA - change main server? 3 174
IPA and Samba (and NFS and Samba....) 1 145
ON RDS SERVER 2012 CREATING A C DRIVE FOR EACH USER 3 127
centos7 firewalld udp ports 33 81
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

740 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