[Samba] could not get methods for backend rid

Marco Berizzi pupilla at hotmail.com
Fri Jun 29 14:19:14 GMT 2007


simo wrote:

> On Fri, 2007-06-29 at 15:33 +0200, Marco Berizzi wrote:
>
> >   winbind enum users = no
> >   winbind enum groups = no
> >   idmap alloc backend = rid
> >   idmap alloc config:range = 10000 - 50000
>
> You cannot use the rid backend as an alloc backend.
> So far the only 2 usable backends for alloc are tdb and ldap.

Thanks Simo,

but I get this error if I switch to tdb:

[2007/06/29 16:13:53, 0] passdb/pdb_interface.c:pdb_new_rid(1066)
  Trying to allocate a RID when algorithmic RIDs are active
[2007/06/29 16:13:53, 0] groupdb/mapping.c:pdb_default_create_alias(468)
  Could not allocate a RID -- wasted a gid :-(
[2007/06/29 16:13:53, 10] intl/lang_tdb.c:lang_tdb_init(138)
  lang_tdb_init: /usr/lib/samba/en_US.msg: No such file or directory
Creating ciccio failed with NT_STATUS_ACCESS_DENIED
[2007/06/29 16:13:53, 2] utils/net.c:main(1032)
  return code = -1

Here is the relevant smb.conf part:

  idmap alloc backend = tdb
  idmap alloc config:range = 10000 - 50000
  idmap domains = domain trusted-domain CALIMERO
  idmap config domain:backend      = tdb
  idmap config domain:range        = 10000 - 24999
  idmap config trusted-domain:backend  = tdb
  idmap config trusted-domain:range    = 25000 - 39999
  idmap config CALIMERO:backend  = tdb
  idmap config CALIMERO:range    = 40000 - 49999




More information about the samba mailing list