The Samba-Bugzilla – Bug 2413
net rpc info fails against win2000 and win2003 domains
Last modified: 2006-04-09 12:02:13 UTC
net rpc info gets STATUS_ACCESS_DENIED during the SamrConnect2 request.
access mask is set to MAXIMUM_ALLLOWED
Created attachment 1005 [details]
ethereal capture of net rpc info command
I believe that this properly returns ACCESS_DENIED for native mode domains. If
you have a mixed mode 2k3/2k3 domain it will return successfully, but I think
native mode domains don't allow this call. In fact, I have scripts that check
for native mode vs. mixed mode, and it does a if ! net rpc info to see if the
domain is native.
If this is a bug in net, I'd like to know, and change my scripts accordingly.
more than likely, this is due to the anonymous connection
used by 'net rpc info'. This could probably be fixed fairly
Fixed with r15011.