Samba share assess w/no authentication

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 1  
Samba share assess w/no authentication

RH 6.4 Samba 3.5.10. Joined a Windows AD (net rpc)
I'm trying to create a public read-only share but regardless of the options I've tried users get prompted for a user/password.
Can someone tell me whats wrong with my setup? I'm trying to make a whole filesystem that will contain installation media available to anyone to get/execute for installs.

I've setup SeLinux option
[root@arc ~]# ls -ldZ /fs_apprepo
drwxrwxrwx. root root system_u:object_r:samba_share_t:s0 /fs_apprepo

Below is my smb.conf.
Note I also have other restricted shares and well and they work as intended.

    workgroup = DEVENG
    server string = %h Samba File Server %v
    bind interfaces only = yes
    interfaces = 
    hosts allow = 127. 10.128. 172.
    smb ports = 139 445
#---- Domain Members Options ---
    security = domain 
    passdb backend = tdbsam
    password server = *
    username map = /etc/samba/
    auth methods = guest sam winbind
    guest account = nobody
    usershare allow guests = yes
#   map to guest = Bad User
    client use spnego = no
    acl allow execute always = true

    wins server =,
    dns proxy = no
    deadtime = 10
#  Browser Control Options ----------------------------
    domain master = no 
    local master = no
    preferred master = no
    os level = 33

#  Filesystem Options ---------------------------
    oplocks = no
    level2 oplocks = no
    kernel oplocks = no
    strict locking = no    
    posix locking = no
    case sensitive = no
    preserve case = yes
    map archive = no
    map hidden = no
#  map read only = no
    map system = no
    store dos attributes = yes
    hide dot files = no
    follow symlinks = yes
    host msdfs = no
    create mask = 0775
    directory mask = 0755
#===== Share Definitions =========

    comment = Application Media Repository
    path = /fs_apprepo
    browseable = yes
    public = yes
    guest ok = yes
#   read only = nobody
    write list = dignarn
    guest account = nobody
    guest only = yes

    comment = Network Engineering Share
    path = /fs_neteng
    browseable = yes
    writable = yes
#    valid users = @neteng
    valid users = angel gosse forb ramar roger smart sulli

Moderator's Comments:
Mod Comment Please use CODE tags for all code, input, and output samples.

Last edited by Don Cragun; 07-17-2015 at 05:25 PM.. Reason: Add CODE tags.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. Ubuntu

Samba share on software raid1

Hello! i am having a ubuntu server with two empty disks and connected software raid1 to it. I am having /mnt/raid folder which i created to mount it. SO should i now make a share folder inside that or what? I ama bit confused when a raid is present. (27 Replies)
Discussion started by: tomislav91
27 Replies

2. Red Hat

Samba share - currently not working

Long running samba share. Never have any problems, Suddenly started asking windows users for password - which doesnt work. Tried to manually reset smb password and manually map - still wrong password. Restart samba? (2 Replies)
Discussion started by: psychocandy
2 Replies

3. Red Hat

How to Map AD groups to Samba share?

I am setup a samba share server which is authenticating from Active Directory. I am able to access the share with AD user but not able to access when group defined in "valid users" parameters. below are the steps i performed. In smb.conf workgroup = QASLABS password server =... (3 Replies)
Discussion started by: sunnysthakur
3 Replies

4. 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

5. UNIX for Advanced & Expert Users

Problems between a HP UX 11.31 Samba share and Windows 7...

Hi I have an issue with a client. He was able to use his mounted Samba share for a long time. However, a couple of days ago, he wasn't able to access all of his files all of a sudden. He still see's the share and majority of the files, but not some that he needs. I checked with Secure CRT on... (1 Reply)
Discussion started by: zixzix01
1 Replies

6. Debian

webdav share per user ldap authentication

hi all, i have configured Apache with WEBDAV & my aim is sharing outlook calendars because we don't use M$ ExChange. From outlook i did a simple test & am able to share a calendar. I want to create share for each user & then authenticate against LDAP before they can publish their... (0 Replies)
Discussion started by: coolatt
0 Replies

7. Linux

Samba share script

Hi everyone! I'm trying to run a script when a folder is shared and when it stop being shared. Is there something like .start_share or .stop_share scripts in Samba where I could run some commands?:confused: edit: maybe with a wrapper in smbmount but I share folders via nautilus. Any ideas? (0 Replies)
Discussion started by: funyotros
0 Replies

8. Red Hat

samba authentication

Hi friends, I have a requirement is to authenticate samba users seperately. 1. Linux samba server 2. Linux Client 3. Need to mount samba share on linux client permanently without providing credentials. 4. when user is accessing that mount point need to be prompted for credentials. ... (1 Reply)
Discussion started by: arumon
1 Replies

9. Linux

Facing problem in Samba share

Hi, I am facing problem while accessing samba share on Linux 5.1 from windows, though I have done the same configuration on Linux 4 (Update 2), on Red Hat 4.0 it is working but while on Linux 5.1 these configuration are not working, I have disabled the firewall also. Kindly suggest me... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

10. Solaris

Samba: share subfolder as read only.

Hi, Currently I have a Samba shared configured as follows: comment = Public fileshare path = /u02/pub guest ok = Yes writeable = Yes There is a subfolder under /u02/pub called /u02/pub/expenses/hardware that I need to make read only. How do I do this? I am new to using Samba. ... (2 Replies)
Discussion started by: sparcman
2 Replies

Featured Tech Videos