Hi everybody, i wrote this little test program and it works on linux and windows but on solaris it returns 1.3.6.1.6.3.15.1.1.5.0 i found out that means that the password is not correct
here is my little prog var snmp : TSNMPSend; begin snmp := TSNMPSend.Create; snmp.Query.Clear; snmp.Query.Version := 3; snmp.Query.Flags := AuthPriv; snmp.Query.FlagReportable := True; snmp.Query.UserName := 'snmpv3'; snmp.Query.AuthMode := AuthMD5; snmp.Query.Password := 'testtest'; snmp.Query.PrivMode := PrivDES; snmp.Query.PrivPassword := 'testtest'; snmp.TargetHost := '192.168.10.2'; snmp.Query.PDUType := PDUGetRequest; snmp.Query.MIBAdd( '1.3.6.1.2.1.1.5.0', '', asn1util.ASN1_NULL ); if snmp.SendRequest = True then WriteLn( 'Ok : ' + snmp.Reply.MIBByIndex( 0 ).OID + ' - ' + snmp.Reply.MIBByIndex( 0 ).Value ) else WriteLn( 'Fail' ); end. thanks in advance peter ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public