Samba share assess w/no authentication


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Samba share assess w/no authentication
# 1  
Old 07-17-2015
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
Code:
[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.

Code:
[global]
    workgroup = DEVENG
    server string = %h Samba File Server %v
    bind interfaces only = yes
    interfaces = 127.0.0.1 10.128.34.63 
    hosts allow = 127. 10.128. 172.
    smb ports = 139 445
#---- Domain Members Options ---
    security = domain 
    passdb backend = tdbsam
    password server = *
    username map = /etc/samba/username.map
    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 = 10.xxx.xxx.xx, 172.xxx.xxx.xxx
    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 =========

[app_repo]
    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

[neteng]
    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 to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Mounting a samba share

Hi, I need to mount a directory from a Windows server to a CentOS box. The Windows server used is Windows Server 2003, and the path to the directory that I want to mount on CentOS is C:\Tomcat6\webapps\NASApp\logs. I am not sure of the correct way to mount this on CentOS, as most of the... (2 Replies)
Discussion started by: anaigini45
2 Replies

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

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

4. UNIX for Dummies Questions & Answers

Samba share Windows problem

I have a problem with a Samba share (Debian) on Windows. My config http://pastebin.com/18ncwngr With smbclient -U ftp //xxx.xxx.xxx.xxx/daten I can connect with another Linux Server. Only with Windows it does not work. Deactivate firewall also but I can not connect me. ... (0 Replies)
Discussion started by: PAfreakFlorian
0 Replies

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

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

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

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

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

10. 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
Login or Register to Ask a Question