Differences in OS/2 LAN Server Corresponding API

Some fields of data structures are not supported by the user level security functions for DLS although they are supported by OS/2 LAN Server. They are:

┌──────────────────────────────────────────────────────────────────────────────┐
│ Table 4. Structure user_info_1: │
├───────────────────────────────────────┬──────────────────────────────────────┤
│ MEMBER NAME │ DIFFERENCES IN OS/2 LAN SERVER DEFI- │
│ │ NITION │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ char FAR *usri1_homedir │ The value must be NULL. DOS Peer │
│ │ does not prepare home directory │
│ │ function. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ ushort usri1_flags │ The bit of UF_SCRIPT(0x01, logon │
│ │ script bit) and │
│ │ UF_HOMEDIR_REQUIRED(0X08) must be │
│ │ zero. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ char FAR *usri1_script_path │ Must be NULL. │
└───────────────────────────────────────┴──────────────────────────────────────┘

┌──────────────────────────────────────────────────────────────────────────────┐
│ Table 5. Structure user_info_2: │
├───────────────────────────────────────┬──────────────────────────────────────┤
│ MEMBER NAME │ DIFFERENCES IN OS/2 LAN SERVER DEFI- │
│ │ NITION │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ char FAR *usri2_parms │ Must be zero. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ long usri2_last_logon │ A value of 0 is always set. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ long usri2_last_logoff │ A value of 0 is always set. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ ulong usri2_max_storage │ DLS does not use this field. Upon │
│ │ return, a value of -1 is set. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ ushort usri2_units_per_week │ DLS does not use this field. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ uchar FAR *usri2_logon_hours │ Must be NULL. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ ushort usri2_bad_pw_count │ The value 0xFFFF is always returned. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ ushort usri2_num_logons │ The value 0xFFFF is always returned. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ char FAR *usri2_logon_server │ Must be NULL. │
└───────────────────────────────────────┴──────────────────────────────────────┘


[Back: DOS Considerations]
[Next: User Account Data Structures]