I try to use regshell on 4.0.0tp1 against a Windows 2003 Server Host via rcp but i observed that all types of key are setted to 'Unknown'. With gdb i determined that the error is in the file reg_backend_rpc.c. I've done a patch that fixed this problem. I hope that it will be useful because this problem is propagated until tp5 and current branch version.
Created attachment 2771 [details] This is the patch file containing my fix.
Jelmer, Can you comment on the patch attached to this bug?
I think this bug is now obsolete due the rewrite of the registry backend. The mentioned file isn't disponible anymore. Thoughts?
This was fixed in svn, though slightly different. Doesn't appear to work against Samba itself yet though as the server is returning WERR_MORE_DATA.
This is in no way critical, just a bug like any other.
Comment on attachment 2771 [details] This is the patch file containing my fix. I mark the patch as "obsolete" because it isn't applicable anymore.
Created attachment 3456 [details] A small patch which corrects an error message
Created attachment 3457 [details] An enhanced patch which corrects the "ck" command too and doesn't append every time a "(null)" when the key isn't changed.
At the moment I'm trouble using "regshell" and "regtree". When using the "-R" option e.g. "-R ncacn_np:127.0.0.1", I get "Unable to open remote registry at ncacn_np:127.0.0.1:WERR_NOMEM".
Comment on attachment 3457 [details] An enhanced patch which corrects the "ck" command too and doesn't append every time a "(null)" when the key isn't changed. This should be fixed when my registry patches are merged into the main branch.
Fixed with registry branch merge.