Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../bin/.././lib/dtrace/smbd.d
Real path: /usr/lib/dtrace/smbd.d
Zurück
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. */ #pragma D depends_on module genunix inline int SMBD_DTPROBE_MSRPC_BIND = 0; #pragma D binding "1.12" SMBD_DTPROBE_MSRPC_BIND inline int SMBD_DTPROBE_LSA_LOOKUP = 1; #pragma D binding "1.12" SMBD_DTPROBE_LSA_LOOKUP inline int SMBD_DTPROBE_AUTH_NTLM = 2; #pragma D binding "1.12" SMBD_DTPROBE_AUTH_NTLM inline int SMBD_DTPROBE_AUTH_KRB = 3; #pragma D binding "1.12" SMBD_DTPROBE_AUTH_KRB inline int SMBD_DTPROBE_DC_FAILOVER = 4; #pragma D binding "1.12" SMBD_DTPROBE_DC_FAILOVER inline int SMBD_DTPROBE_DC_MONITOR = 5; #pragma D binding "1.12" SMBD_DTPROBE_DC_MONITOR inline int SMBD_DTPROBE_DC_DISCOVERY = 6; #pragma D binding "1.12" SMBD_DTPROBE_DC_DISCOVERY inline int SMBD_DTPROBE_DOMAIN_JOIN = 7; #pragma D binding "1.12" SMBD_DTPROBE_DOMAIN_JOIN inline int SMBD_DTPROBE_LOCATE_TRUST_ACCT = 8; #pragma D binding "1.12" SMBD_DTPROBE_LOCATE_TRUST_ACCT inline int SMBD_DTPROBE_SPNEGO = 9; #pragma D binding "1.12" SMBD_DTPROBE_SPNEGO inline string smbd_dtprobe_opname[int op] = op == SMBD_DTPROBE_MSRPC_BIND ? "MSRPC bind" : op == SMBD_DTPROBE_LSA_LOOKUP ? "LSA lookup" : op == SMBD_DTPROBE_AUTH_NTLM ? "NTLM auth" : op == SMBD_DTPROBE_AUTH_KRB ? "Kerberos auth" : op == SMBD_DTPROBE_DC_FAILOVER ? "DC failover" : op == SMBD_DTPROBE_DC_MONITOR ? "DC monitor" : op == SMBD_DTPROBE_DC_DISCOVERY? "DC discovery" : op == SMBD_DTPROBE_DOMAIN_JOIN ? "Domain join" : op == SMBD_DTPROBE_LOCATE_TRUST_ACCT ? "Locate trust account" : op == SMBD_DTPROBE_SPNEGO ? "Negotiate auth mech" : "<unknown>"; #pragma D binding "1.12" smbd_dtprobe_opname /* * This structure must match the definition of same in smbd_provider_impl.h. */ typedef struct smbd_proto { uint32_t smbdp_opcode; /* operation code */ size_t smbdp_result; /* result */ size_t smbdp_server; /* AD server associated with the MSRPC binding */ } smbd_proto_t; typedef struct smbd_info { uint32_t smbdi_opcode; string smbdi_result; string smbdi_server; } smbd_info_t; #pragma D binding "1.12" translator translator smbd_info_t <smbd_proto_t *p> { smbdi_opcode = *(uint32_t *)copyin((uintptr_t)&(p->smbdp_opcode), sizeof(uint32_t)); smbdi_result = copyinstr((uintptr_t)*(size_t*)copyin( (uintptr_t)&(p->smbdp_result), sizeof(size_t))); smbdi_server = copyinstr((uintptr_t)*(size_t*)copyin( (uintptr_t)&(p->smbdp_server), sizeof(size_t))); };