New: [Samba] difficulties in rid mappings in 3.0.25

Gianluca Culot gianlucaculot at dmsware.com
Wed May 30 08:26:36 GMT 2007


> -----Messaggio originale-----
> Da: samba-bounces+gianlucaculot=dmsware.com at lists.samba.org
> [mailto:samba-bounces+gianlucaculot=dmsware.com at lists.samba.org]Pe
> r conto di Stefanos Karasavvidis
> Inviato: mercoledi 30 maggio 2007 9.37
> A: samba at samba.org
> Oggetto: [Samba] difficulties in rid mappings in 3.0.25
>
>
> I use the sernet samba packages on debian sarge and have problems after
> upgrading to 3.0.25 with rid mappings.
>
> My rid configuration for 3.0.24 looks like this
>
> 	idmap backend = rid:ISC=500-100000000
> 	idmap uid = 500-100000000
> 	idmap gid = 500-100000000
>
> after updating to 3.0.25 I get a core dump of winbind (log at the end of
> the post) with these settings.
>
> I tried to use the new configuration options, and indeed winbind doesn't
> have any problems, but I have difficulties in specifying the options to
> get the same mappings as before. I tried the following
> 	idmap domains = ISC
> 	idmap config ISC:default = yes
> 	idmap config ISC:backend = rid
> 	idmap config ISC:base_rid = 1000
> 	idmap config ISC:range = 500 - 100000000
>
> But these result in different mappings
>
> For example in 3.0.24 (and the old configuration) maps SID
> S-1-5-21-2054584426-1363897300-1555891258-9296 to uid 9796 (I used
> wbinfo -S)
>
> In 3.0.25 and the new style configuration, maps the same SID to 8796
>
> So the question:
> what are the correct parameters to get the same mappings as before?
>
> Thanks in advance for any help
>
> Stefanos Karasavvidis
>
> winbind.log
>
> [2007/05/29 14:18:19, 0] lib/fault.c:fault_report(41)
>    ===============================================================
> [2007/05/29 14:18:19, 0] lib/fault.c:fault_report(42)
>    INTERNAL ERROR: Signal 6 in pid 4092 (3.0.25-SerNet-Debian)
>    Please read the Trouble-Shooting section of the Samba3-HOWTO
> [2007/05/29 14:18:19, 0] lib/fault.c:fault_report(44)
>
>    From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
> [2007/05/29 14:18:19, 0] lib/fault.c:fault_report(45)
>    ===============================================================
> [2007/05/29 14:18:19, 0] lib/util.c:smb_panic(1632)
>    PANIC (pid 4092): internal error
> [2007/05/29 14:18:19, 0] lib/util.c:log_stack_trace(1736)
>    BACKTRACE: 14 stack frames:
>     #0 /usr/sbin/winbindd(log_stack_trace+0x2e) [0x81147de]
>     #1 /usr/sbin/winbindd(smb_panic+0x5b) [0x811464b]
>     #2 /usr/sbin/winbindd [0x80ff08f]
>     #3 [0xffffe420]
>     #4 /lib/tls/i686/cmov/libc.so.6(abort+0xe9) [0xb7ca82b9]
>     #5 /usr/sbin/winbindd [0x80f9ad3]
>     #6 /usr/sbin/winbindd(talloc_check_name+0x2e) [0x80f9b0e]
>     #7 /usr/sbin/winbindd(talloc_check_name_abort+0x2c) [0x811717c]
>     #8 /usr/sbin/winbindd [0x80ad598]
>     #9 /usr/sbin/winbindd [0x80818a9]
>     #10 /usr/sbin/winbindd [0x8082bea]
>     #11 /usr/sbin/winbindd(main+0x4d5) [0x8083135]
>     #12 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7c92ea2]
>     #13 /usr/sbin/winbindd [0x8080ed1]
> [2007/05/29 14:18:19, 0] lib/util.c:smb_panic(1637)
>    smb_panic(): calling panic action [/usr/share/samba/panic-action 4092]
> [2007/05/29 14:18:19, 0] lib/util.c:smb_panic(1645)
>    smb_panic(): action returned status 0
> [2007/05/29 14:18:19, 0] lib/fault.c:dump_core(181)
>    dumping core in /var/log/samba/cores/winbindd
> --
> ======================================================================
> Stefanos Karasavvidis
> Electronic & Computer Engineer, M.Sc.
> e-mail : sk at isc.tuc.gr
>
> Technical University of Crete, Campus
> Information Systems Center
> Address: Akrotiri, Chania, 73100
> Tel.: Main Buildings - next to Library (G1)
>        (+30) 28210 37352, (+30) 28210 37355, (+30) 28210 37376
>        Environmental Engineering Buildings (K2)
>        (+30) 28210 37766
> Fax:  (+30) 28210 37571
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
Hello list
I have a similar problem with 3.0.24

after upgrading configuration all rids in database looks like mismatched
with the new mapping

and I wasn't able to clear the DB nor to reset rids mapping

Yet I have no error and no panic from samba or winbind.

        security = ADS
        passdb backend = tdbsam
        passwd program = /usr/bin/passwd %u
        preferred master = No
        winbind enum users = Yes
        winbind enum groups = Yes
        winbind use default domain = Yes
        winbind nss info = rfc2307
        idmap backend = idmap_rid:DMSWARE=500-100000000
        idmap uid = 10000-50000
        idmap gid = 10000-50000




More information about the samba mailing list