[Samba] Problem with Samba as Member to AD

Mr Typo euroregistrar at gmail.com
Sun Jul 18 10:07:45 UTC 2021


Yeah reading attributes from ad, like unixHomeDirectory and loginShell

When i understand it right, i can use
        template homedir = /home/%U

for default values and setting the unixHomeDirectory and loginShell if
i want another value, correct?

currently i play with the below configuration but i just the the
template values for every user. Any ideas?

   [global]
        workgroup = PFW
        realm = PFW.LOCAL
        security = ads
        idmap config * : backend = tdb
        idmap config * : range = 3000-7999
        idmap config PFW:backend = ad
        idmap config PFW:schema_mode = rfc2307
        idmap config PFW:range = 10000-999999
        idmap config PFW:unix_nss_info = yes
        template homedir = /home/%U
        template shell = /bin/bash
#        idmap config PFW : backend = rid
#        idmap config PFW : range = 500-19999999
#        idmap config PFW : rangesize = 1000000
        winbind use default domain = true
        winbind enum users = no
        winbind offline logon = true
        log file = /var/log/samba/log.%m
        max log size = 50
        log level = 3
        load printers = no
        printing = bsd
        printcap name = /dev/null
        disable spoolss = yes

On Sun, Jul 18, 2021 at 11:08 AM Rowland Penny via samba
<samba at lists.samba.org> wrote:
>
> On Sun, 2021-07-18 at 11:00 +0200, Mr Typo wrote:
> > Hey Rowland,
> >
> > seems like i go samba/winbind on every linux system. as you said,
> > easier to maintain.
> >
> > ALl is running now, i just need to play around with some unix
> > attribute mapping.
> >
>
> What Unix attribute mapping ? Are you referring to local Unix users, as
> in users that are in /etc/passwd ? If so, stop, just put them in AD
> instead.
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list