[Samba] rid and ad backends differences

Marc Muehlfeld mmuehlfeld at samba.org
Mon May 4 12:23:10 MDT 2015

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.


More information about the samba mailing list