SV_TYPE_* constants?

F

FixerDave

Hi,

anyone willing to point me in the right direction for finding information
on "SV_TYPE_* constants"? The docs for Win32::NetAdmin say "For flags, see
SV_TYPE_* constants," with no other mention of them. I've been running
around is circles trying to figure out what these are.

Actually, all I really want is to check ONE stupid little checkbox in NT's
usermanager for "User must change password at next logon" Everything else
works fine... Oh, I'm trying to avoid using Win32::AdminMisc as I'm on
ActiveState's 5.8.0 build. I'm hoping this flag thing will let me make the
setting I need.

David...
 
T

Tassilo v. Parseval

Also sprach FixerDave:
anyone willing to point me in the right direction for finding information
on "SV_TYPE_* constants"? The docs for Win32::NetAdmin say "For flags, see
SV_TYPE_* constants," with no other mention of them. I've been running
around is circles trying to figure out what these are.

Hmmh, SV_TYPE_* is misleading. My first association was the SVt_*
constants in the perl source used to identify the type of variable.

Those the docs mention however can be found in Win32/NetAdmin.pm. See
the source of this module. Or print them out like this

use Win32::NetAdmin;
print join "\n", grep /^SV_TYPE/, @Win32::NetAdmin::EXPORT;

Tassilo
 
T

Thomas Kratz

FixerDave said:
Hi,

anyone willing to point me in the right direction for finding information
on "SV_TYPE_* constants"? The docs for Win32::NetAdmin say "For flags, see
SV_TYPE_* constants," with no other mention of them. I've been running
around is circles trying to figure out what these are.

Actually, all I really want is to check ONE stupid little checkbox in NT's
usermanager for "User must change password at next logon" Everything else
works fine... Oh, I'm trying to avoid using Win32::AdminMisc as I'm on
ActiveState's 5.8.0 build. I'm hoping this flag thing will let me make the
setting I need.

David...

In addition to what Tassilo told you, I would strongly reccommend using
Win32::Lanman for all win32 related net stuff. It's implementation of the
lanmanager API is AFAIK complete, completely documented and works.

Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,149
Messages
2,570,842
Members
47,388
Latest member
EarthaGilm

Latest Threads

Top