|
Some
MSDN links that might be useful.
more info:
below are just a few of the elements I'm speaking
of. Not just the user flags but also below:
print "$info{'name'}\n";
print "$info{'comment'}\n";
print "$info{'usr_comment'}\n";
print "$info{'full_name'}\n";
print "$info{'password_age'}\n";
print "$info{'priv'}\n";
print "$info{'home_dir'}\n";
print "$info{'flags'}\n";
print "$info{'script_path'}\n";
print "$info{'auth_flags'}\n";
print "$info{'parms'}\n";
print "$info{'workstations'}\n";
print "$info{'last_logon'}\n";
print "$info{'last_logoff'}\n";
print "$info{'acct_expires'}\n";
print "$info{'max_storage'}\n";
print "$info{'units_per_week'}\n";
print "$hours\n";
print "$info{'bad_pw_count'}\n";
print "$info{'num_logons'}\n";
print "$info{'logon_server'}\n";
print "$info{'country_code'}\n";
print "$info{'code_page'}\n";
print "$info{'user_id'}\n";
print "$info{'primary_group_id'}\n";
print "$info{'profile'}\n";
print "$info{'home_dir_drive'}\n";
print "$info{'password_expired'}\n";
Specifically what are the segnificance of some the values returned. (ie. 'password_age' it returns a value like this: 31258881) Here are the values returned from the above query. Name: Administrator Comment: Built-in account for administering the computer/domain usr_comment: Fullname: password age: 31258881 Priveleges: 2 Home Dir: Flags: 66049 Script Path: Auth flags: 0 Parms: m: d workstations: Last Logon: 5126172601026250 Last Logoff: 001931116933640 acct expires: -1 max storage: -1 units/week: 168 Hours: 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 Bad pwd count: 0 num logons: 65535 Logon server: \\* country code: 0 code page: 0 user id: 500 primary group id: 513 profile: home dir drive: password expired: 0 Hope this better defines what I'm looking for. some of the items are intuitive and some just dont make sence. I was hoping I could find a book or a web doc or someones home grown docs that may include this information. Regards, Stephen Nordlund
----- Original Message -----
Sent: Saturday, January 26, 2002 5:46
PM
Subject: RE: Good Lanman
Documentation
Maybe someone can assist here. I'm have
a very difficult time in finding good, complete and detailed information
about the win32-lanman module. I see a view things from looking at
Jan's site in regards to the lanman module but I it does not seem to be
complete.
What I'm looking for...
I would like some verbage. on the specific
functions and how they work and what the flags are(ie
Win32::Lanman::NetUserEnum($PDC, 0, \@users) )
With the above exaple
there is a large amount of data that is stored. I would like to have
a very good understanding on what all the elements
are.
If someone could direct
in the best path I would greatly appreciate
it..
Regards,
Stephen
Nordlund
|