[Samba] guess account

jacek burghardt jaceksburghardt at gmail.com
Fri Nov 28 13:30:20 MST 2014

I had setup samba that I wan to use domain controller. I setup some shares
on it and now I am struggling to allow guest access to shares. I have other
samba server that is joined to server 2012 domain controller and I can
share folder with guest no problem. How do I add guest user to samba domain
        workgroup = hebe
        realm = hebe.us
        netbios name = zafire
        server string = %h ArchLinux Host
        security = ads
        encrypt passwords = yes
        password server = zafire.hebe.us
        guest account = guest
        map to guest = Bad Uid
        idmap config * : backend = rid
        idmap config * : range = 10000-20000
        idmap config SHORTDOMAINNAME:backend = ad
        idmap config SHORTDOMAINNAME:schema_mode = rfc2307
        idmap config SHORTDOMAINNAME:range = 500-40000

        winbind use default domain = Yes
        winbind enum users = Yes
        winbind enum groups = Yes
        winbind nested groups = Yes
        winbind separator = +
        winbind refresh tickets = yes
        winbind nss info = rfc2307

        template shell = /bin/bash
        template homedir = /home/%D/%U
        domain master = yes
        preferred master = yes
        domain logons = yes
        dns proxy = no
        wins server = zafire.hebe.us
        wins proxy = no

        inherit acls = Yes
        map acl inherit = Yes
        acl group control = yes

        load printers = no

More information about the samba mailing list