Samba 3 and Winbind (local user + domain user)

M

ma00

Guest
Hi everybody,
I have configured samba and winbind to permit domain user access on different shares, but I have some problems when I try to access to a share with local user (defined inside server).
Is there a configuration that permits the access both for domain users and local users?


I am working on a sles9 server and ADS domain is a windows machine that i can't manage.

Code:
[global]
        workgroup = NETWORK
        realm = NETWORK.MYDOMAIN
        netbios name = server
        server string = FileServer
        dns proxy = no
        log file = /var/log/samba/log.%m
        max log size = 1000
        syslog = 0
        panic action = /usr/share/samba/panic-action %d
        security = ADS
        domain master = no
        idmap uid = 10000-250000
        idmap gid = 10000-20000
        winbind enum groups = no
        winbind enum users = no
        winbind separator = +

Thanks
Bye
 


Dart

Member
Joined
Jan 5, 2022
Messages
53
Reaction score
45
Credits
520
Just in case anyone is interested:

This was from a working samba server. It's fairly well documented as to what it's doing. It's been a few years since I've messed with this. From 2014 - 2019 It was using samba to allow local computers to access file folders on our FTP server.

I'm not sure how much more I can help other then, once you start testing, pay attention to the log files /var/log/samba/. You may need to turn up the verbosity to get to the meat of the problem.

If you get it going, I have a shell script that will list out the connected users, and where they're logged in form.
Good Luck!
 

Attachments

  • export_smb.conf.txt
    5.1 KB · Views: 23
Last edited:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top