Stefanos Karasavvidis
2007-May-30 07:37 UTC
[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@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
> -----Messaggio originale----- > Da: samba-bounces+gianlucaculot=dmsware.com@lists.samba.org > [mailto:samba-bounces+gianlucaculot=dmsware.com@lists.samba.org]Pe > r conto di Stefanos Karasavvidis > Inviato: mercoledi 30 maggio 2007 9.37 > A: samba@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@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
Gerald (Jerry) Carter
2007-May-30 12:26 UTC
[Samba] difficulties in rid mappings in 3.0.25
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stefanos Karasavvidis wrote:> 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.Known issue: https://bugzilla.samba.org/show_bug.cgi?id=4624 cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGXWz/IR7qMdg1EfYRAtY+AJ9ZBEvNHJuSltkR05KTvIzhEpRVOgCg1Ss/ jaYCzzUv2FUQF6PNQl3BH4s=fSM5 -----END PGP SIGNATURE-----
Stefanos Karasavvidis
2007-May-30 13:22 UTC
[Samba] difficulties in rid mappings in 3.0.25
Gerald (Jerry) Carter wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Stefanos Karasavvidis wrote: >> 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. > > Known issue: > https://bugzilla.samba.org/show_bug.cgi?id=4624 > > >Thanks Gerald. It seems I have to wait for 3.0.25b. Though the bug report has a more complex mapping definition (parameter with builtin domain), so I hope we are talking about the same issue. Stefanos
Stefanos Karasavvidis
2007-Jun-05 19:54 UTC
[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@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