The Samba-Bugzilla – Bug 13726
Anonymous connection used by certain net rpc commands run with -k
Last modified: 2019-01-31 09:46:14 UTC
A customer states the following command fails when the net command attempts to use anonymous user against AD.
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]
Created attachment 14762 [details]
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.