A customer states the following command fails when the net command attempts to use anonymous user against AD. #kinit <username> Password for <username>@<DOMAINNAME>: #net -d 1 -k -S HOSTNAME.FQDN RPC GETSID Cannot connect to server (anonymously). the flag NET_FLAGS_ANONYMOUS is set in 'net rpc getsid' and 'net rpc changetrustpw' code even if -k is used.
Created attachment 14761 [details] master
Created attachment 14762 [details] v4.9 backport
Karolin, please add the patch to the next 4.9 release. Thanks!
(In reply to Andreas Schneider from comment #3) Pushed to autobuild-v4-9-test.
Pushed to v4-9-test. Closing out bug report. Thanks!