Samba server removes a share when adding a second share

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
BrontideAsked:
Who is Participating?
 
BrontideConnect With a Mentor Author Commented:
Solved by moving shares to a windows server, linux box is soon to be removed from network.
0
 
fosiul01Commented:
Ok

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

0
 
BrontideAuthor Commented:
they're on share level
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
fosiul01Commented:
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
 
BrontideAuthor Commented:
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
 
fosiul01Commented:
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
 
BrontideAuthor Commented:
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
 
fosiul01Commented:
Ok sent the logs and smb.conf, then will take it from their..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.