[Samba] squid + samba error - Samba

This is a discussion on [Samba] squid + samba error - Samba ; Hello to all. I┤m using squid + samba to authenticate my users with active directory. The error occour only in the first time i authenticate an user. All works fine, but i have this is my logs: ==> /var/log/samba/log.winbindd [2008/05/21 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [Samba] squid + samba error

  1. [Samba] squid + samba error

    Hello to all.

    I┤m using squid + samba to authenticate my users with active directory.

    The error occour only in the first time i authenticate an user.

    All works fine, but i have this is my logs:

    ==> /var/log/samba/log.winbindd <==
    [2008/05/21 00:32:36, 2] nsswitch/winbindd_util.c:add_trusted_domain(171)
    Added domain BUILTIN S-1-5-32
    [2008/05/21 00:32:37, 2] libsmb/cliconnect.c:cli_session_setup_kerberos(615)
    Doing kerberos session setup
    [2008/05/21 00:35:56, 1] nsswitch/winbindd_sid.c:winbindd_sid_to_gid(312)
    Could not get convert sid from string
    [2008/05/21 00:47:01, 1] nsswitch/winbindd_sid.c:winbindd_sid_to_gid(312)
    Could not get convert sid from string
    [2008/05/21 00:48:57, 1] nsswitch/winbindd_sid.c:winbindd_sid_to_gid(312)
    Could not get convert sid from string

    ==> /var/log/samba/log.winbindd-idmap <==
    [2008/05/21 00:47:01, 2] nsswitch/idmap.c:idmap_new_mapping(957)
    gid allocation failed! Can't create mapping
    [2008/05/21 00:47:01, 1] nsswitch/idmap_tdb.c:idmap_tdb_allocate_id(470)
    Fatal Error: GID range full!! (max: 20000)
    [2008/05/21 00:47:01, 2] nsswitch/idmap.c:idmap_new_mapping(957)
    gid allocation failed! Can't create mapping
    [2008/05/21 00:47:01, 1] nsswitch/idmap_tdb.c:idmap_tdb_allocate_id(470)
    Fatal Error: GID range full!! (max: 20000)
    [2008/05/21 00:47:01, 2] nsswitch/idmap.c:idmap_new_mapping(957)
    gid allocation failed! Can't create mapping

    my smb.conf

    workgroup = DIGITALSTORAGESD
    password server = SERVER2003
    realm = DIGITALSTORAGESD.LOCAL
    security = ADS
    netbios name = netserver

    # Defini├žs do winbind
    bind interfaces only = yes
    winbind separator = /
    winbind uid = 10000-20000
    winbind gid = 10000-20000
    winbind enum users = yes
    winbind enum groups = yes
    winbind enum groups = yes
    winbind use default domain = yes

    log file = /var/log/samba/log.%m
    log level = 2
    max log size = 1000

    my samba version: samba-3.0.28a-0

    What i can to solve that error?

    Thanks,
    Wilson Galafassi

    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba


  2. RE: [Samba] squid + samba error

    How many users do you have? It says you reached your max for mapping.
    Try changing

    winbind uid = 10000-20000
    winbind gid = 10000-20000

    To

    winbind uid = 10000-30000
    winbind gid = 10000-30000

    Jason Waters


    -----Original Message-----
    From: samba-bounces+jwaters=h2os.com@lists.samba.org
    [mailto:samba-bounces+jwaters=h2os.com@lists.samba.org] On Behalf Of
    Wilson A. Galafassi Jr.
    Sent: Tuesday, May 20, 2008 11:58 PM
    To: samba@lists.samba.org
    Subject: [Samba] squid + samba error

    Hello to all.

    I┤m using squid + samba to authenticate my users with active directory.

    The error occour only in the first time i authenticate an user.

    All works fine, but i have this is my logs:

    ==> /var/log/samba/log.winbindd <==
    [2008/05/21 00:32:36, 2] nsswitch/winbindd_util.c:add_trusted_domain(171)
    Added domain BUILTIN S-1-5-32
    [2008/05/21 00:32:37, 2]
    libsmb/cliconnect.c:cli_session_setup_kerberos(615)
    Doing kerberos session setup
    [2008/05/21 00:35:56, 1] nsswitch/winbindd_sid.c:winbindd_sid_to_gid(312)
    Could not get convert sid from string
    [2008/05/21 00:47:01, 1] nsswitch/winbindd_sid.c:winbindd_sid_to_gid(312)
    Could not get convert sid from string
    [2008/05/21 00:48:57, 1] nsswitch/winbindd_sid.c:winbindd_sid_to_gid(312)
    Could not get convert sid from string

    ==> /var/log/samba/log.winbindd-idmap <==
    [2008/05/21 00:47:01, 2] nsswitch/idmap.c:idmap_new_mapping(957)
    gid allocation failed! Can't create mapping
    [2008/05/21 00:47:01, 1] nsswitch/idmap_tdb.c:idmap_tdb_allocate_id(470)
    Fatal Error: GID range full!! (max: 20000)
    [2008/05/21 00:47:01, 2] nsswitch/idmap.c:idmap_new_mapping(957)
    gid allocation failed! Can't create mapping
    [2008/05/21 00:47:01, 1] nsswitch/idmap_tdb.c:idmap_tdb_allocate_id(470)
    Fatal Error: GID range full!! (max: 20000)
    [2008/05/21 00:47:01, 2] nsswitch/idmap.c:idmap_new_mapping(957)
    gid allocation failed! Can't create mapping

    my smb.conf

    workgroup = DIGITALSTORAGESD
    password server = SERVER2003
    realm = DIGITALSTORAGESD.LOCAL
    security = ADS
    netbios name = netserver

    # Defini├žs do winbind
    bind interfaces only = yes
    winbind separator = /
    winbind uid = 10000-20000
    winbind gid = 10000-20000
    winbind enum users = yes
    winbind enum groups = yes
    winbind enum groups = yes
    winbind use default domain = yes

    log file = /var/log/samba/log.%m
    log level = 2
    max log size = 1000

    my samba version: samba-3.0.28a-0

    What i can to solve that error?

    Thanks,
    Wilson Galafassi

    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba


+ Reply to Thread