AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Netzwerke Delphi SERVER_INFO_503: Was bedeutet welche Eigenschaft?
Thema durchsuchen
Ansicht
Themen-Optionen

SERVER_INFO_503: Was bedeutet welche Eigenschaft?

Ein Thema von Zacherl · begonnen am 5. Aug 2005 · letzter Beitrag vom 8. Aug 2005
Antwort Antwort
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#1

SERVER_INFO_503: Was bedeutet welche Eigenschaft?

  Alt 5. Aug 2005, 20:21
Hallo,
ich habe hier eine Möglichkeit gefunden, die Domain/Arbeitsgruppe eines Benutzers auszulesen. Dabe wird der Record SERVER_INFO_503 verwendet.

Delphi-Quellcode:
type
  SERVER_INFO_503 = record
    sv503_sessopens : Integer;
    sv503_sessvcs : Integer;
    sv503_opensearch : Integer;
    sv503_sizreqbuf : Integer;
    sv503_initworkitems : Integer;
    sv503_maxworkitems : Integer;
    sv503_rawworkitems : Integer;
    sv503_irpstacksize : Integer;
    sv503_maxrawbuflen : Integer;
    sv503_sessusers : Integer;
    sv503_sessconns : Integer;
    sv503_maxpagedmemoryusage : Integer;
    sv503_maxnonpagedmemoryusage : Integer;
    sv503_enablesoftcompat :BOOL;
    sv503_enableforcedlogoff :BOOL;
    sv503_timesource :BOOL;
    sv503_acceptdownlevelapis :BOOL;
    sv503_lmannounce :BOOL;
    sv503_domain : PWideChar;
    sv503_maxcopyreadlen : Integer;
    sv503_maxcopywritelen : Integer;
    sv503_minkeepsearch : Integer;
    sv503_maxkeepsearch : Integer;
    sv503_minkeepcomplsearch : Integer;
    sv503_maxkeepcomplsearch : Integer;
    sv503_threadcountadd : Integer;
    sv503_numblockthreads : Integer;
    sv503_scavtimeout : Integer;
    sv503_minrcvqueue : Integer;
    sv503_minfreeworkitems : Integer;
    sv503_xactmemsize : Integer;
    sv503_threadpriority : Integer;
    sv503_maxmpxct : Integer;
    sv503_oplockbreakwait : Integer;
    sv503_oplockbreakresponsewait : Integer;
    sv503_enableoplocks : BOOL;
    sv503_enableoplockforceclose : BOOL;
    sv503_enablefcbopens : BOOL;
    sv503_enableraw : BOOL;
    sv503_enablesharednetdrives : BOOL;
    sv503_minfreeconnections : Integer;
    sv503_maxfreeconnections : Integer;
  end;
Was die Eigenschaft DOMAIN bedeutet ist ja klar, aber kennt jemand die Bedeutung der anderen Eigenschaften?

Florian
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
Olli
(Gast)

n/a Beiträge
 
#2

Re: SERVER_INFO_503: Was bedeutet welche Eigenschaft?

  Alt 5. Aug 2005, 20:48
Nachlesen hilft: MSDN-Library durchsuchenSERVER_INFO_503

Direktlink

Das ist übrigens eine Win32-API-Frage!
  Mit Zitat antworten Zitat
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#3

Re: SERVER_INFO_503: Was bedeutet welche Eigenschaft?

  Alt 6. Aug 2005, 18:31
Hallo,
leider geht der Direktlink nicht und die Seiten im Developers Network zeigen einen Fehler an. Könntest du den Textausschnitt hierrein kopieren?

Florian
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#4

Re: SERVER_INFO_503: Was bedeutet welche Eigenschaft?

  Alt 6. Aug 2005, 18:45
Geht wunderbar der Direktlinkt und selbst wenn es nicht funktionieren würde, wie wäre es mit selber nachschlagen im MSDN?
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat
Olli
(Gast)

n/a Beiträge
 
#5

Re: SERVER_INFO_503: Was bedeutet welche Eigenschaft?

  Alt 6. Aug 2005, 19:11
Zitat von Florian Bernd:
leider geht der Direktlink nicht und die Seiten im Developers Network zeigen einen Fehler an. Könntest du den Textausschnitt hierrein kopieren?
Sowohl der Suchlink als auch der Direktlink gehen bei mir problemlos ... zumal der Suchlink nur exakt einen Treffer bringt.

Zitat:
sv503_sessopens
Specifies the number of files that can be open in one session.
sv503_sessvcs
Specifies the maximum number of virtual circuits permitted per client.
sv503_opensearch
Specifies the number of search operations that can be carried out simultaneously.
sv503_sizreqbuf
Specifies the size, in bytes, of each server buffer.
sv503_initworkitems
Specifies the initial number of receive buffers, or work items, used by the server.
sv503_maxworkitems
Specifies the maximum number of receive buffers, or work items, the server can allocate. If this limit is reached, the transport must initiate flow control at a significant performance cost.
sv503_rawworkitems
Specifies the number of special work items the server uses for raw mode I/O. A larger value for this member can increase performance but it requires more memory.
sv503_irpstacksize
Specifies the number of stack locations that the server allocated in I/O request packets (IRPs).
sv503_maxrawbuflen
Specifies the maximum raw mode buffer size, in bytes.
sv503_sessusers
Specifies the maximum number of users that can be logged on to the server using a single virtual circuit.
sv503_sessconns
Specifies the maximum number of tree connections that can be made on the server using a single virtual circuit.
sv503_maxpagedmemoryusage
Specifies the maximum size of pageable memory that the server can allocate at any one time.
sv503_enablesoftcompat
TBD
sv503_enableforcedlogoff
Specifies whether the server should force a client to disconnect, even if the client has open files, once the client's logon time has expired.
sv503_timesource
Specifies whether the server is a reliable time source.
sv503_acceptdownlevelapis
Specifies whether the server accepts function calls from previous-generation LAN Manager clients.
sv503_lmannounce
Specifies whether the server is visible to LAN Manager 2.x clients.
sv503_domain
Pointer to a Unicode character string that specifies the name of the server's domain.
sv503_maxcopyreadlen
TBD
sv503_maxcopywritelen
TBD
sv503_minkeepsearch
TBD
sv503_maxkeepsearch
Specifies the length of time the server retains information about incomplete search operations.
sv503_minkeepcomplsearch
TBD
sv503_maxkeepcomplsearch
TBD
sv503_threadcountadd
TBD
sv503_numblockthreads
TBD
sv503_scavtimeout
Specifies the period of time that the scavenger remains idle before waking up to service requests.
sv503_minrcvqueue
Specifies the minimum number of free receive work items the server requires before it begins to allocate more.
sv503_minfreeworkitems
Specifies the minimum number of available receive work items that the server requires to begin processing a server message block.
sv503_xactmemsize
Specifies the size of the shared memory region used to process server functions.
sv503_threadpriority
Specifies the priority of all server threads in relation to the base priority of the process.
sv503_maxmpxct
Specifies the maximum number of outstanding requests that any one client can send to the server. For example, 10 means you can have 10 unanswered requests at the server. When any single client has 10 requests queued within the server, the client must wait for a server response before sending another request.
sv503_oplockbreakwait
Specifies the period of time to wait before timing out an opportunistic lock break request.
sv503_oplockbreakresponsewait
TBD
sv503_enableoplocks
Specifies whether the server allows clients to use opportunistic locks on files. Opportunistic locks are a significant performance enhancement, but have the potential to cause lost cached data on some networks, particularly wide-area networks.
sv503_enableoplockforceclose
TBD
sv503_enablefcbopens
Specifies whether several MS-DOS File Control Blocks (FCBs) are placed in a single location accessible to the server. If enabled, this can save resources on the server.
sv503_enableraw
Specifies whether the server processes raw Server Message Blocks (SMBs). If enabled, this allows more data to transfer per transaction and also improves performance. However, it is possible that processing raw SMBs can impede performance on certain networks. The server maintains the value of this member.
sv503_enablesharednetdrives
Specifies whether the server allows redirected server drives to be shared.
sv503_minfreeconnections
Specifies the minimum number of free connection blocks maintained per endpoint. The server sets these aside to handle bursts of requests by clients to connect to the server.
sv503_maxfreeconnections
Specifies the maximum number of free connection blocks maintained per endpoint. The server sets these aside to handle bursts of requests by clients to connect to the server.
TBD = To Be Described
  Mit Zitat antworten Zitat
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#6

Re: SERVER_INFO_503: Was bedeutet welche Eigenschaft?

  Alt 8. Aug 2005, 10:12
Dankeschön!
War ein Fehler von mir! Die Seite braucht wohl Cokies oder so auf jeden Fall kam eine Fehlermeldung.

Florian
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
generic

Registriert seit: 24. Mär 2004
Ort: bei Hannover
2.415 Beiträge
 
Delphi XE5 Professional
 
#7

Re: SERVER_INFO_503: Was bedeutet welche Eigenschaft?

  Alt 8. Aug 2005, 13:17
wenn du die sicherheitsgruppen von usern auslesen willst nimm doch einfach meine class.

diese liest die prozesstokens aus (vom angemeldeten user).

Delphi-Quellcode:
  with TAccountInformation.Create do
  begin
    Memo1.lines.add(Username+#9+UserSid);
    Memo1.lines.add('');
    for i:=0 to GroupCount-1 do
    begin
      Memo1.lines.add(GroupName[i]+#9+GroupSid[i]);
    end;
  end;
oder es geht auch von einen beliebigen user aus, wenn du die sid kennst.
mit einfachen änderungen geht das dann sicherlich auch vom namen aus.
Angehängte Dateien
Dateityp: pas u_accountinformation_245.pas (5,0 KB, 9x aufgerufen)
Coding BOTT - Video Tutorials rund um das Programmieren - https://www.youtube.com/@codingbott
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:04 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz