home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sun4nl!dutrun!dutiws!winfrvk
- From: winfrvk@dutiws.tudelft.nl (R.v.Kampen)
- Newsgroups: comp.sys.novell
- Subject: Re: Bindery last-login info
- Message-ID: <2095@dutiws.tudelft.nl>
- Date: 11 Sep 92 13:29:16 GMT
- References: <1992Sep4.173748.648@csc.canterbury.ac.nz>
- Organization: Delft University of Technology
- Lines: 45
-
- In article <1992Sep4.173748.648@csc.canterbury.ac.nz> engf002@csc.canterbury.ac.nz writes:
- >A (tricky?) Novell technical question :
- >
- >With SYSCON, under the "User Information" option, you can select
- >the "additional information" option. Amongst other things it
- >gives you the last login time/date of the selected user. This is
- >well and good.
- >
- >What I want to know is how do you get this very information
- >(last login date) using the Bindery Services - i.e.
- >the INT 21H calls with the E3 function codes, esp. 3D (Read
- >Property Value). I am very familiar with these calls and have got
- >a lot of information from the bindery, but this last-login-time
- >eludes me. One would expect the relevant property (say
- >"LAST_LOGIN", or similar) to appear on the nice table on page
- >3-13 of the Bindery Services manual (Netware System Interface
- >Technical Overview) but there is nothing there remotely like it.
- >I have tried several combinations of potential strings in the
- >vain attempt of succeeding, but with no luck.
-
- it is stored in the LOGIN_CONTROL property
- format :
- offset 00-02 : account expiration date (format YYMMDD), 000000 if none
- 03 : ff= account disabled
- 04-06 : password expiration date YYMMDD, 000000 if none
- 07 : grace logins remaining, ff=no limit
- 08 : ????
- 09 : days between forced password change
- 0a : grace logins allowed, ff=no limit
- 0b : minimum password length
- 0c : ??
- 0d : maximum # concurrent connections (ff=no maximum)
- 0e - 37 : timerestrictions (bitmap)
- 38 - 3d : last login (YYMMDDHHMMSS)
- 3e : bit0 : user not allowed to change password
- 3f - 49 ??
- 4a - 55 : last intruder address (4:6:2 bytes)
-
- the rest I haven't figured out yet, if any body else got more
- info on other properties please let me know
-
- willem (winfrvk@dutiws.tudelft.nl or willem@dutikos.tudelft.nl)
-
-
-
-