"net rpc user rename" is always failed by "access denied". ----- samba32a# /usr/local/samba/bin/net -s /dev/null -S 192.168.135.139 -U administrator%password rpc user rename rpc01 rpc01m Failed to rename user from rpc01 to rpc01m - Access is denied -----
Created attachment 4257 [details] Level10 log Level 10 log. against Windows 2000 Professional.
I tested against Windows Server 2008 DC / Windows XP Professional SP3 / Windows 2000 Professional SP4 and all are failed.
Hmmm. Any OS/2 people willing to provide a sniff of OS/2 doing the user rename against a Windows domain? If not, I would tend to not spend too much effort on this, "net rap" is pretty much deprecated. Volker
Ok, this looks like a client samr access bit problem in libnetapi.
Ooops, I had read "net rap user rename".... Sorry :-) Volker
Ok, this is fixed in master now with http://git.samba.org/?p=samba.git;a=commitdiff;h=29b8e08b83eeb0ab7d33bf46981cdbad8c35dc9b
Created attachment 4294 [details] patch for master and 3.4
Comment on attachment 4294 [details] patch for master and 3.4 Tested. Fixes the problem.
before I forget, patch also needs to go into 3.3
Patch has been pushed to v3-4-test and v3-3-test. Will be included in the next releases. Closing out bug report. Thanks for reporting!