Dave Roth's book Win32 Perl Programming:The Standard Extensions Second Edition addresses many of these items. http://www.roth.net/books/extensions2/ at least the first addition did.
 
 
Some MSDN links that might be useful.
-----Original Message-----
From: Yahoo Mail (nordlundsa) [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 26, 2002 6:05 PM
To: [EMAIL PROTECTED]
Subject: Re: Good Lanman Documentation

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

If you need info on use of the USER_FLAGS see: http://www.roth.net/perl/adminmisc/#USER_FLAGS. Search the LANMAN.PM file for "UF_" to see some of the Lanman usage. The attached HTML file is Lanaman docs that may be helpful.
-----Original Message-----
From: Yahoo Mail (nordlundsa) [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 26, 2002 5:35 PM
To: NTadmin perl list
Subject: 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

Reply via email to