[Samba] Could not allocate a RID -- wasted a gid

Marco Berizzi pupilla at hotmail.com
Thu Jun 28 09:34:11 GMT 2007


Hello everybody.
I'm trying to create a local group with
this command and I get this error:

net sam createlocalgroup peocio
[2007/06/28 11:03:16, 0] passdb/pdb_interface.c:pdb_new_rid(1066)
   Trying to allocate a RID when algorithmic RIDs are active
[2007/06/28 11:03:16, 0] groupdb/mapping.c:pdb_default_create_alias(468)
   Could not allocate a RID -- wasted a gid :-(

Am I missing anything?

This is my smb.conf:
[global]
    workgroup = workgroup
    server string = Samba on Slackware Linux
    idmap uid = 10000-20000
    idmap gid = 10000-20000
    winbind enum users = yes
    winbind enum groups = yes
    security = domain
    log file = /var/log/samba/samba.%m
    syslog = 0
    max log size = 50
    password server = hal9000
    socket options = TCP_NODELAY
    wins server = 172.16.1.16
    dns proxy = no
[tmp]
    comment = Temporary file space
    path = /tmp
    read only = no
    public = yes

and this is my /etc/nsswitch.conf

#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
#      nisplus or nis+         Use NIS+ (NIS version 3)
#      nis or yp               Use NIS (NIS version 2), also called YP
#      dns                     Use DNS (Domain Name Service)
#      files                   Use the local files
#      [NOTFOUND=return]       Stop searching if not found so far
#

# passwd:       files nis
# shadow:       files nis
# group:        files nis

passwd:         compat winbind
group:          compat winbind

hosts:          files dns
networks:       files

services:       files
protocols:      files
rpc:            files
ethers:         files
netmasks:       files
netgroup:       files
bootparams:     files

automount:      files
aliases:        files




More information about the samba mailing list