I usually use   "Win32::AdminMisc::GetMachines
($PDC,UF_SERVER_TRUST_ACCOUNTS,%hash)"


Cheers,

/LG


                                                                                       
                            
                                                                                       
                            
                                                                 Para:   
"Perl-Win32-Admin \(E-mail\)"             
               "DePriest, Jason R." <[EMAIL PROTECTED]>         
<[EMAIL PROTECTED]>       
               Enviado Por:                                      cc:                   
                            
               [EMAIL PROTECTED]        Assunto:     Can      
                            
               e.com                                             
Win32::AdminMisc::UserGetMiscAttributes be used   
                                                                 to pull Works     
tation/Domain Trust             
                                                                 relationships?        
                            
               25/03/02 15:26 CST                                                      
                            
                                                                                       
                            
                                                                                       
                            



Hello,

I have successfully used Win32::AdminMisc::UserGetAttributes for a long
time
to pull information about user IDs on our domain.  However, I have been
unable to get it to pull the semi-hidden trust accounts between workstation
and domain.  Is there any way to get Win32::AdminMisc::UserGetAttributes to
do this?
What I mean is if I call
Win32::AdminMisc::UserGetAttributes('DOMAIN','USER',\%Hash);
it is successful, but if I try
Win32::AdminMisc::UserGetAttributes('DOMAIN','WORKSTATION$',\%Hash);
it fails where WORKSTATION$ is just a workstation name that I know is a
member of the DOMAIN with a dollar-sign on the end of it.
I can verify that the trust accounts exist by using User Manager for
Domains
in Low Speed connection mode and choosing to view the properties of a known
workstation trust.
The errors that AdminMisc gives are like so:
$! : nothing
$^E: No mapping between account names and security IDs was done

Any suggestions?

Thank you!

Jason R DePriest, GSEC, GCFW
Systems and Applications Security Analyst
E-Business Security, First Tennessee National Corporation
phone (901) 523-5975
fax (901) 523-5714

PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6BC251BD

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~

The views and ideas expressed in this message, while not necessarily the
opinion of the parent organization, are none the less confidential and
intended only for the designated recipient.
If you want to disseminate the information, you must obtain permission from
the originating sender or from the Data Security department of First
Tennessee National Corporation.

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs




_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to