[Samba] RPC Server is unavailable

Rowland Penny rpenny at samba.org
Mon Jun 5 13:31:25 UTC 2017


On Mon, 05 Jun 2017 15:06:05 +0200
Supporter via samba <samba at lists.samba.org> wrote:

> On Thu, 01 Jun 2017 14:55:40 +0200
> Supporter via samba <samba at lists.samba.org> wrote:
> 
> This is my nsswitch file:
> 
> 
> passwd:         files ldap compat winbind
> group:          files ldap compat winbind
> shadow:         files ldap compat

Do you have anything that needs to connect via LDAP ?
If you have what it is it ?
I would remove 'ldap'

'files' and 'compat' basically mean the same thing, so I would remove
'compat'

> 
> 
> When i use wbinfo i see names and groups.

'wbinfo' show windows users and groups, just because windows users and
groups are shown doesn't mean the Unix OS knows who they are. This is
where Samba comes in.
 
> > 
> >> 
> >>          idmap config * : unix_primary_group = yes
> > 
> > I think you can only use the above line with the 'ad' backend.
> 
> When i set backet to 'ad' i can't start winbindd
> 
> Output: "main: FATAL: Invalid idmap backend ad configured as the
> default backend!"

Yes, I missed that, focussed on 'idmap config' and
'unix_primary_group', what I meant was you can only use
'unix_primary_group' with 'idmap config DOMAIN' and the 'ad' backend,
so you should have removed it. Your 'idmap config block should look
something like this:

    idmap config * : backend = tdb
    idmap config * : range = 2000-9999
    idmap config SAMDOM : backend = rid
    idmap config SAMDOM : range = 10000-999999

Rowland



More information about the samba mailing list