RHEL7 - Samba

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat RHEL7 - Samba
# 1  
Old 08-15-2017
RHEL7 - Samba

I'm having trouble with a Linux Samba share after migrating a system from RHEL 5 to RHEL 7.

My current configuration is below.

Code:
[global]
workgroup = DOCS
security = share
[data]
comment = Data
path = /export
read only = yes
guest ok = yes
browsable = yes

In RHEL7 the service will fail to start. I can get the service to start if I change it to "security = user", but that's not what I want because it will force users trying to connect for logins. I need this share to be completely open, and Windows users can't be prompted for a username or password whatsoever. Has anyone run into this, or know of a work around?

I see in the new man page that "security = user" is deprecated. However, I must have the share completely wide open to guests.

Thanks
# 2  
Old 09-10-2017
In RedHat 7, the following would be sufficient to open the share data living in path /export to anyone, assuming that the right permissions has been applied.

Code:
[global]
workgroup = DOCS
security = user
map to guest = bad user

[data]
comment = Data
path = /export
read only = Yes
guest ok = Yes
browsable = Yes

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

Looking for equivalent of Solaris containers/zones in RHEL7 Linux

Hi, I come from a legacy Solaris background with lots of experience with Solaris Containers/zones that we use for network and process isolation from each other. Currently we have a RHEL7 Linux VM running on VMWare, but we would like to segment that VM with some form of containers and achieve... (1 Reply)
Discussion started by: ckmehta
1 Replies

2. Red Hat

RHEL7 dos2UNIX return code 13

Hi, upgraded one of the server to RHEL7. A Shell script uses dos2unix to convert EOL characters to Linux format and checks return code. In RHEL6, if conversion fails shell script returns code 1 where as if conversion fails in RHEL7 script returns return code 13. Is it possible to change RHEL7... (6 Replies)
Discussion started by: Satyak
6 Replies

3. Red Hat

Can't boot RHEL7.2 due to "Start Job is Running"

Dear community, as already done tons of times, I prepare the RedHat installation on VMWare, then clone it with clonezilla, and finally restore it on final server. Due to different hrdware, I have to boot from rhel-server-7.4-x86_64-boot.iso cd and rewrite the initramfs that contains the hardware... (3 Replies)
Discussion started by: Lord Spectre
3 Replies

4. Solaris

Instructions for Solaris 10 RedHat RHEL7 IPA for LDAP authentication?

Hi, does anyone have instructions on how to connect a Solaris 10 (Sparc) machine to Redhat RHEL7 IPA server for LDAP authentication, I have gone through the usual search results on Google, but nothing is working so far, but to be fair, not sure which source is the best and have NOT rewound... (3 Replies)
Discussion started by: ckmehta
3 Replies

5. Red Hat

Command for viewing hba cards on rhel7

hi all, I am trying to view the hba cards on a rhel7 server (storage says they are there, but I am not seeing them. I tried lspci -nn | grep -i hba lspci |grep qla I tried looking in /sys/class/fc_host.. but it is empty. I am not sure if I am looking in the right spot... (0 Replies)
Discussion started by: gartie
0 Replies

6. Red Hat

How to sync time with bios in rhel7?

Hi All, I deployed the rhel7 server in the bare metal hardware. I want to configure the rhel7 server to sync time with bios. I tired the below commands. Still it did not sync the time with bios. Thanks, Kalai (3 Replies)
Discussion started by: kalpeer
3 Replies

7. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

8. UNIX for Dummies Questions & Answers

Samba help

Hey. I have a question about adding users and maping theirs dirictorys. Main Folder | -User1 Folder -User2 Folder -User3 Folder ...... How can I add this users to have folders in the Main Folder ? any simple script? And I... (0 Replies)
Discussion started by: net555
0 Replies
Login or Register to Ask a Question