[Samba] Unable to retreive security events from 2008R2 Active Directory

Michael Smith nfuser.smith at gmail.com
Tue Jul 27 00:41:39 MDT 2010


Hi,

I'm trying to use rpcclient (version 3.5.4) to retrieve security
events from 2008R Active Directory servers

When I run the following command,

./rpcclient 192.168.0.1 -U myuser%mypassword -c 'eventlog_readlog
security'

I get the following message

ndr_pull_error(17): not all bytes consumed ofs[260] size[308]
result was NT_STATUS_PORT_MESSAGE_TOO_
LONG

Am I'm running the command correctly ?

Cheers


More information about the samba mailing list