Board index » delphi » Wanted: Novell Netware code to determine users

Wanted: Novell Netware code to determine users

Hi,

I am looking for code/units that will return all of the bindery
properties of a Novell Netware 3.12 server.  What I would like to do
is generate a list of all user accounts created on a particular
server.  I have found code to scan the current list of users logged
on.  From that I can get the user names, etc.    However, I don't want
to have to rely on users that are logged on.

Thanks for any help.

Mike McWhinney
elja, Inc.

 

Re:Wanted: Novell Netware code to determine users


You might try the Ralph Brown interrupt list, find it in the web.

Paulo

Re:Wanted: Novell Netware code to determine users


In article <01bd89db$c68833e0$c30916c3@helix>,

Quote
Paulo Raposo <he...@esoterica.pt> wrote:

:You might try the Ralph Brown interrupt list, find it in the web.

That's very generic, but anyway, for whatever they are worth, here
are the "clickables":

 361757 Mar 22 1998 ftp://garbo.uwasa.fi/pc/programming/inter57a.zip
 inter57a.zip x86/MS-DOS Interrupt List, 1/4, Ralf Brown, impressive

 360379 Mar 22 1998 ftp://garbo.uwasa.fi/pc/programming/inter57b.zip
 inter57b.zip x86/MS-DOS Interrupt List, 2/4, Ralf Brown, impressive

 362257 Mar 22 1998 ftp://garbo.uwasa.fi/pc/programming/inter57c.zip
 inter57c.zip x86/MS-DOS Interrupt List, 3/4, Ralf Brown, impressive

 642396 Mar 22 1998 ftp://garbo.uwasa.fi/pc/programming/inter57d.zip
 inter57d.zip x86/MS-DOS Interrupt List, 4/4, Ralf Brown, impressive

 340890 Mar 22 1998 ftp://garbo.uwasa.fi/pc/programming/inter57e.zip
 inter57e.zip Utility programs/source code for interrupt list, R.Brown

 268373 Mar 22 1998 ftp://garbo.uwasa.fi/pc/programming/inter57f.zip
 inter57f.zip WinHelp conversion programs for interrupt list, R.Brown

 318049 Mar 22 1998 ftp://garbo.uwasa.fi/pc/programming/inter57g.zip
 inter57g.zip Hypertext conversion programs for interrupt list, R.Brown

   All the best, Timo

....................................................................
Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
Moderating at ftp:// & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
mailto:t...@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland

Spam foiling in effect.  My email filter autoresponder will return a
required email password to users not yet in the privileges database.

Re:Wanted: Novell Netware code to determine users


Quote
"Paulo Raposo" <he...@esoterica.pt> writes:
> You might try the Ralph Brown interrupt list, find it in the web.

Paulo didn't quote _anything_, and I didn't get the original article,
so I'm not sure if this is desired:

my `nwid.pas' is in rnr, available at
<http://www.worldgate.ca/~rschulz/uucp/rnr.zip>.

pah, it's only 1k:

unit nwid;  {get NetWare(TM) userid}

interface

uses dos;

function getnetwareid: string;

implementation

{$F+}

function getnetwareid: string;

type
  requestbuffer=record
    requestlength: word;
    subfunction: byte;
    connectnum: byte;
  end;

  replybuffer=record
    replylength: word;
    objectid: longint;
    objecttype: word;
    objectname: array[1..48] of byte;
    logintime: array[1..7] of byte;
  end;

var
  regs: registers;
  connectnum: byte;
  request: requestbuffer;
  reply: replybuffer;

  i: integer;

  result: string;

begin
  result := '';

  regs.ah := $dc;
  msdos(regs);
  connectnum := regs.al;

  if connectnum<>0 then
    begin
      request.requestlength := 2;
      request.subfunction := $16;
      request.connectnum := connectnum;

      reply.replylength := 61;

      regs.ah := $e3;

      regs.ds := seg(request);
      regs.si := ofs(request);

      regs.es := seg(reply);
      regs.di := ofs(reply);

      msdos(regs);

      i := 1;
      while i<=48 do
        begin
          if reply.objectname[i]=0 then
            i := 48
          else
            result := result+(chr(reply.objectname[i]));
          inc(i);
        end;
    end;

  getnetwareid := result;
end;

end.
--
Russell_Sch...@locutus.ofB.ORG  Shad 86c

Other Threads