[Samba] rid and ad backends differences

Yanni y.goudetsidis at mail.cryst.bbk.ac.uk
Tue May 5 03:55:19 MDT 2015

Hi Marc

Thank you. I now understand the difference.
My plan is to create a samba file server in order to store user profiles 
and also keep things as simple as possible.
I will not have users logging into different servers with different 
shells. , so I think ADS is not the best option in my case.
 From your explanation I'm in favour of RID backend as it seems more 
stable because of the static setup.

Rowland thank you also for your reply.

On 04/05/15 19:23, Marc Muehlfeld wrote:
> Hello Yanni,
> Am 30.04.2015 um 15:52 schrieb Yanni:
>> Can someone please explain what is the difference between the rid and ad
>> backends in smb.conf?
> Rowland already gave some information.
> Just an advantage, that makes me like RFC2307 more than RID backend:
> RFC2307 allows you to define homeDirectory and shells per user central
> in AD. This means you have /bin/ksh, because you like it, your collegue
> has /bin/bash, your boss /bin/csh and all other users /bin/nologin. If
> you use RID backend, then you can only have one shell for users on each
> server (see smb.conf: template shell) and you have to ensure on other
> ways, that e. g. normal users can't login via SSH.
> RFC2307 is a bit more administration work during user creation, but
> makes life more flexible later, while RID backend doesn't require
> anything else than to define it once in your smb.conf, but is more
> static with per server defined values.
> Regards,
> Marc

More information about the samba mailing list