[Samba] Login with domain account on dc

Rowland Penny rowlandpenny at googlemail.com
Sat Feb 21 14:09:09 MST 2015


On 21/02/15 20:10, Tim wrote:
> Hi,
>
> on my member server it is no problem to login with a domain account because I have set winbind use default domain = yes.
This setting just removes the domain name i.e. DOMAIN\username becomes 
username

>
> But how to do this on a DC? It doesn't matter if winbind use default domain = yes is set. So can I do this? E.g. by using su command?

You need to set /etc/nsswitch.conf to use winbind and you may also have 
to install extra packages and set up PAM to use them.

>
> The reason for my question is to run cronjobs by dedicated service accounts.

Why not set cron to use a local user e.g. root

Rowland

> Thanks in advance
> Tim



More information about the samba mailing list