I've upgraded my system at Samba 3.0.20 (SLES 8) bacause of some errors on winbind and Windows 2003. Now, usrmgr.exe doesn't work anymore. It reports: ?procedure number is out of range - Do you want to administrate another domain?? USRMGR has been working for 3 years; I've made all upgrades on Windows 2000, but the results it's the same. Any Idea? uz.
On Wed, Aug 31, 2005 at 03:49:13PM +0200, Umberto Zanatta wrote:> I've upgraded my system at Samba 3.0.20 (SLES 8) bacause of some errors > on winbind and Windows 2003. > Now, usrmgr.exe doesn't work anymore. > > It reports: ?procedure number is out of range - Do you want to > administrate another domain?? > USRMGR has been working for 3 years; I've made all upgrades on Windows > 2000, but the results it's the same. > > Any Idea?Samba user/system database content loss during the upgrade. Cheers Geert Stappers
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Umberto Zanatta wrote: | I've upgraded my system at Samba 3.0.20 (SLES 8) bacause | of some errors on winbind and Windows 2003. | Now, usrmgr.exe doesn't work anymore. | | It reports: ?procedure number is out of range - Do you want to | administrate another domain?? | USRMGR has been working for 3 years; I've made all upgrades | on Windows 2000, but the results it's the same. You're going to have to check the Samba logs for exactly what failed. This was working last time I checked (in the recent weeks). cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDFcnZIR7qMdg1EfYRAvkxAJ9znDVYbW2M6MoeS6AUzoxh46Ee4gCgpm+M o9SeC1oeXMQgvRGHNV6e9H0=Afvk -----END PGP SIGNATURE-----
Hi, I've got the same problem ( http://lists.samba.org/archive/samba/2005-August/109895.html ). It seems this has been laying around since RC1/2 ( http://lists.samba.org/archive/samba/2005-August/109465.html ) I've already supplied a level 10 log to G?nther Deschner, If you wish I may forward it to you. Best Regards, Bruno Guerreiro>-----Original Message----- >From: Gerald (Jerry) Carter [mailto:jerry@samba.org] >Sent: quarta-feira, 31 de Agosto de 2005 17:45 >To: Umberto Zanatta >Cc: samba@lists.samba.org >Subject: Re: [Samba] USRMGR.EXE doesn't work anymore. > > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Umberto Zanatta wrote: >| This is the log about usrmgr. >| >| >| Aug 31 18:26:55 provtvlp smbd[17237]: [2005/08/31 18:26:55, 0, >| effective(0, 512), real(0, 0)] rpc_parse/parse_prs.c:prs_mem_get(533) >| Aug 31 18:26:55 provtvlp smbd[17237]: prs_mem_get: reading data of >| size 4 would overrun buffer. >| Aug 31 18:26:55 provtvlp smbd[17237]: [2005/08/31 18:26:55, 0, >| effective(0, 512), real(0, 0)] rpc_server/srv_pipe.c:api_rpcTNP(1572) >| Aug 31 18:26:55 provtvlp smbd[17237]: api_rpcTNP: winreg: >| REG_CREATE_KEY_EX failed. >| >| Thank you. > >Seriously? ok. I'll fix that up. Might be later >this week. I'll post a patch once I'm done. > > > > > >cheers, jerry >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.0 (GNU/Linux) >Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > >iD8DBQFDFd6PIR7qMdg1EfYRAl+JAJ9TEpPUHW26rm0/gBHSw/NvqMzhQwCfT8qy >dTvq/Hxm6iTM3m7jeRWFD5k>=G0R0 >-----END PGP SIGNATURE----- >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/listinfo/samba >
Where goes. The log.vmxp is for the client running usrmgr Best regards, Bruno Guerreiro>-----Original Message----- >From: Gerald (Jerry) Carter [mailto:jerry@samba.org] >Sent: quinta-feira, 1 de Setembro de 2005 11:56 >To: Bruno Guerreiro >Cc: 'samba@lists.samba.org' >Subject: Re: [Samba] USRMGR.EXE doesn't work anymore. > > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Bruno Guerreiro wrote: >| Hi, >| I've got the same problem ( >| http://lists.samba.org/archive/samba/2005-August/109895.html ). >| It seems this has been laying around since RC1/2 ( >| http://lists.samba.org/archive/samba/2005-August/109465.html ) >| I've already supplied a level 10 log to G?nther Deschner, >| If you wish I may forward it to you. > >Please do. If it's just the REG_CREATE_KEY issue, then >I might be able to fix that today. > > > > > >cheers, jerry > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.0 (GNU/Linux) >Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > >iD8DBQFDFt5CIR7qMdg1EfYRAnTiAKDUD4YQ5ay4SKCAD+Gkrt+XWCxWUwCfZQdT >II0cpiE9vLCnSKuRksD2rTY>=SltA >-----END PGP SIGNATURE----- >
Hi, I started by getting to the point where users and local groups were listed. Then a "Stub received bad data" message appeared. Tried net rpc groupmap list and net rpc group It worked. Tried usermanager again, no errors Tried using usermanager to modify user/groups. It worked. Restarted samba and Ldap. Usermanager still works. Restarted windows client. Usermanager still works. So, i guessed you smashed the right bug. :-) The weird thing is the REG_CREATE_KEY_EX still gives an error: [2005/08/31 18:26:56, 7] rpc_server/srv_reg_nt.c:open_registry_key(133) open_registry_key: name = [HKLM][System\CurrentControlSet\Control\Terminal Server\DefaultUserConfiguration] [2005/08/31 18:26:56, 10] registry/reg_cachehook.c:reghook_cache_find(95) reghook_cache_find: Searching for keyname [/HKLM/System/CurrentControlSet/Control/Terminal Server/DefaultUserConfiguration] [2005/08/31 18:26:56, 10] lib/adt_tree.c:pathtree_find(388) pathtree_find: Enter [/HKLM/System/CurrentControlSet/Control/Terminal Server/DefaultUserConfiguration] [2005/08/31 18:26:56, 10] lib/adt_tree.c:pathtree_find(460) pathtree_find: Exit [2005/08/31 18:26:56, 5] registry/reg_db.c:regdb_fetch_keys(382) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\System\CurrentControlSet\Control\Terminal Server\DefaultUserConfiguration] [2005/08/31 18:26:56, 7] rpc_server/srv_reg_nt.c:open_registry_key(200) open_registry_key: exit <snip> [2005/08/31 18:26:56, 5] rpc_server/srv_pipe.c:api_pipe_request(1509) Requested \PIPE\winreg [2005/08/31 18:26:56, 4] rpc_server/srv_pipe.c:api_rpcTNP(1543) api_rpcTNP: winreg op 0x6 - api_rpcTNP: rpc command: REG_CREATE_KEY_EX [2005/08/31 18:26:56, 6] rpc_server/srv_pipe.c:api_rpcTNP(1569) api_rpc_cmds[15].fn == 0xb7df43e0 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_debug(82) 000000 reg_io_q_create_key_ex [2005/08/31 18:26:56, 6] rpc_parse/parse_prs.c:prs_debug(82) 000000 smb_io_pol_hnd [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint32(669) 0000 data1: 00000000 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint32(669) 0004 data2: 00000047 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint16(640) 0008 data3: 0000 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint16(640) 000a data4: 0000 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint8s(756) 000c data5: 60 e8 15 43 de 42 00 00 [2005/08/31 18:26:56, 6] rpc_parse/parse_prs.c:prs_debug(82) 000014 prs_unistr4 name [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint16(640) 0014 length: 0094 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint16(640) 0016 size: 0094 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint32(669) 0018 ptr: 76bc3bc0 [2005/08/31 18:26:56, 7] rpc_parse/parse_prs.c:prs_debug(82) 00001c smb_io_unistr2 name [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint32(669) 001c uni_max_len: 0000004a [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint32(669) 0020 offset : 00000000 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint32(669) 0024 uni_str_len: 0000004a [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:dbg_rw_punival(841) 0028 buffer : S.y.s.t.e.m.\.C.u.r.r.e.n.t.C.o.n.t.r.o.l.S.e.t.\.C.o.n.t.r.o.l.\.T.e.r.m.i. n.a.l. .S.e.r.v.e.r.\.D.e.f.a.u.l.t.U.s.e.r.C.o.n. f.i.g.u.r.a.t.i.o.n... [2005/08/31 18:26:56, 6] rpc_parse/parse_prs.c:prs_debug(82) 0000bc prs_unistr4 key_class [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint16(640) 00bc length: 0000 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint16(640) 00be size: 0000 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint32(669) 00c0 ptr: 00000000 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint32(669) 00c4 options: 00000000 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint32(669) 00c8 access: 000f003f [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint32(669) 00cc ptr: 00000000 [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint32(669) 00d0 ptr: 0006e1fc [2005/08/31 18:26:56, 5] rpc_parse/parse_prs.c:prs_uint32(669) 00d4 disposition: 0006ee54 [2005/08/31 18:26:56, 4] rpc_server/srv_lsa_hnd.c:find_policy_by_hnd_internal(162) Found policy hnd[0] [000] 00 00 00 00 47 00 00 00 00 00 00 00 60 E8 15 43 ....G... ....`..C [010] DE 42 00 00 .B.. [2005/08/31 18:26:56, 7] rpc_server/srv_reg_nt.c:open_registry_key(133) open_registry_key: name = [HKLM][System\CurrentControlSet\Control\Terminal Server] [2005/08/31 18:26:56, 10] registry/reg_cachehook.c:reghook_cache_find(95) reghook_cache_find: Searching for keyname [/HKLM/System/CurrentControlSet/Control/Terminal Server] [2005/08/31 18:26:56, 10] lib/adt_tree.c:pathtree_find(388) pathtree_find: Enter [/HKLM/System/CurrentControlSet/Control/Terminal Server] [2005/08/31 18:26:56, 10] lib/adt_tree.c:pathtree_find(460) pathtree_find: Exit [2005/08/31 18:26:56, 5] registry/reg_db.c:regdb_fetch_keys(382) regdb_fetch_keys: tdb lookup failed to locate key [HKLM\System\CurrentControlSet\Control\Terminal Server] [2005/08/31 18:26:56, 7] rpc_server/srv_reg_nt.c:open_registry_key(200) open_registry_key: exit Best Regards, Bruno Guerreiro>-----Original Message----- >From: Gerald (Jerry) Carter [mailto:jerry@samba.org] >Sent: quinta-feira, 1 de Setembro de 2005 14:18 >To: Bruno Guerreiro; gasch@eva.mpg.de; uzanatta@gmail.com >Cc: 'samba@lists.samba.org' >Subject: Re: [Samba] USRMGR.EXE doesn't work anymore. > > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Gerald (Jerry) Carter wrote: >| ok Folks.... >| >| I've tried but cannot reproduce this. The REG_CREATE_EX >| failure is during a domain logon from Windows XP. The >| client is trying to create >| >| [System\CurrentControlSet\Control\Terminal Server\ >| DefaultUserConfiguration] >| >| I can fix this, but it appears to have nothing to do >| with user manager. Until I get those logs or a faw >| network sniff of the connection failure, I'm stuck. > >ok. Can you folks try out the patch at > >http://samba.org/~jerry/patches/regcreatekey_v1.patch > >and let me know if that fixes the usrmgr.exe failures >you are seeing? It should at least fix the REG_CREATE_KEY_EX >failures in the logs. > > > > > > >cheer,s jerry >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.0 (GNU/Linux) >Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > >iD8DBQFDFv99IR7qMdg1EfYRAjEQAKDSu2KW1wglAXbMkWePCXQNAc0RoQCfV1Hk >hdNoTno8WFF8iFDRzdmGPSg>=+K+E >-----END PGP SIGNATURE----- >
Hi, Just a little side note. Not really a good idea to be testing patches in production servers... Best Regards, Bruno Guerreiro -----Original Message----- From: Umberto Zanatta [mailto:uzanatta@gmail.com] Sent: sexta-feira, 2 de Setembro de 2005 10:05 To: Gerald (Jerry) Carter Cc: Bruno Guerreiro; gasch@eva.mpg.de; 'samba@lists.samba.org' Subject: Re: [Samba] USRMGR.EXE doesn't work anymore. I have not tested yet because the server is a PDC Server (over 400 people log on Samba everyday). I'm going to install the patch on the weekend. Thanks a lot. Cheers, uz I do hope the problem is not on SLES 8 Il giorno gio, 01/09/2005 alle 14.09 -0500, Gerald (Jerry) Carter ha scritto: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Umberto Zanatta wrote: | Hi, | | my test system is a w2k server. my server is a SLES8 with Samba 3.0.20 | (I get it from ftp.sernet.de). | | I've tried to start srvmgr: same result! | | it says: ?Il servizio Server non ? avviato? - I can translate in: ?The | service Server is not start?. | | There are some strange randoms errors on smbd (but not when usrmgr e | srvmgr starts): | | Sep 1 20:44:41 provtvlp smbd[7699]: Failed to setup RT_SIGNAL_LEASE | handler | Sep 1 20:44:41 provtvlp smbd[7699]: [2005/09/01 20:44:41, 0, | effective(0, 0), real(0, 0)] | smbd/notify_kernel.c:kernel_notify_init(224) | | On other way samba is working better than old one. So I'm confused. What is not working in 3.0.20 after applying the patches at http://www.samba.org/samba/patches/ ? cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDF1H/IR7qMdg1EfYRAvxqAKCDe/LbKWHsLNLOk9q+sok4hk3TfACffTSM SQZC1Yb/ducNZ3YIs18y6uY=xK/A -----END PGP SIGNATURE-----
Hi, After applying the patches available today, all the problems i've mentioned have disappeared. Testing an older one, it still exists. If I add a user to more than 60 or 70 groups, that usermanager can no longer manage that user. It gives: "The remote procedure call failed The user properties cannot be edited or viewed at this time" I then have to refresh user/group list or else every user will fail That user also can't access resources which permissions are group based. In the samba log's the following lines appear: *** glibc detected *** double free or corruption (!prev): 0xb879cc10 *** Best Regards, Bruno Guerreiro>-----Original Message----- >From: Gerald (Jerry) Carter [mailto:jerry@samba.org] >Sent: quinta-feira, 1 de Setembro de 2005 20:10 >To: Umberto Zanatta >Cc: Bruno Guerreiro; gasch@eva.mpg.de; 'samba@lists.samba.org' >Subject: Re: [Samba] USRMGR.EXE doesn't work anymore. > > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Umberto Zanatta wrote: >| Hi, >| >| my test system is a w2k server. my server is a SLES8 with >Samba 3.0.20 >| (I get it from ftp.sernet.de). >| >| I've tried to start srvmgr: same result! >| >| it says: ?Il servizio Server non ? avviato? - I can >translate in: ?The >| service Server is not start?. >| >| There are some strange randoms errors on smbd (but not when usrmgr e >| srvmgr starts): >| >| Sep 1 20:44:41 provtvlp smbd[7699]: Failed to setup >RT_SIGNAL_LEASE >| handler >| Sep 1 20:44:41 provtvlp smbd[7699]: [2005/09/01 20:44:41, 0, >| effective(0, 0), real(0, 0)] >| smbd/notify_kernel.c:kernel_notify_init(224) >| >| On other way samba is working better than old one. > >So I'm confused. What is not working in 3.0.20 after >applying the patches at http://www.samba.org/samba/patches/ ? > > > > >cheers, jerry >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.0 (GNU/Linux) >Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > >iD8DBQFDF1H/IR7qMdg1EfYRAvxqAKCDe/LbKWHsLNLOk9q+sok4hk3TfACffTSM >SQZC1Yb/ducNZ3YIs18y6uY>=xK/A >-----END PGP SIGNATURE----- >