I just checked it, If I leave the $server blank, I still get a full domain listing. It think its version time! I'm running: Perl: v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) AdminMisc: Win32-AdminMisc [0.2000.07.08] Opsys: Win2k SP3, bugger all extra patches
as fast as I can > -----Original Message----- > From: VANHERP Wim [mailto:[EMAIL PROTECTED] > Sent: 26 June 2003 12:50 > To: 'Steven Satelle (Service Desk)' > Subject: RE: list of users in a domain > > > strange, > > i get only the users of my own local machine when i fill in > the domain name. > > > Wim Vanherp > tel : 5100 > GSM :0478 88 32 03 > > > > ---------- > > From: Steven Satelle (Service > > Desk)[SMTP:[EMAIL PROTECTED] > > Sent: donderdag 26 juni 2003 12:05 > > To: 'VANHERP Wim'; 'Perl-Win32-Admin (E-mail)' > > Subject: RE: list of users in a domain > > > > instead of entering a machine name (\\server) enter a domain name > > (domain), > > I just did it and it works, see below > > > > if( Win32::AdminMisc::GetUsers( "domain", "", [EMAIL PROTECTED] ) ) > > { > > print "The list of test user accounts are:\n"; > > map { print "\t$_\n";} @users; > > } > > > > > -----Original Message----- > > > From: VANHERP Wim [mailto:[EMAIL PROTECTED] > > > Sent: 26 June 2003 08:23 > > > To: 'Perl-Win32-Admin (E-mail)' > > > Subject: list of users in a domain > > > > > > > > > Hi, > > > > > > > > > I don't see how to retreive users in a domain. The functions > > > in adminmisc > > > are ok to retreive the users of a server, but how do I get > > > the domain-users > > > ? > > > DISCLAIMER: The information contained in this email and in any attachments is confidential and is designated solely for the attention and use of the intended recipient(s). If you are not the intended recipient(s) of this email you must not use, disclose, copy, distribute or retain this message, the attachment(s) or any part thereof. If you believe that you have received this email in error please notify us immediately at the address set out below. Please also delete all copies of this email and any attachment(s) from your computer system. Unless expressly stated this email is not intended to create any contractual relationship. If this email is not sent in the course of the senders employment or fulfilment of his/her duties to Aer Rianta, Aer Rianta accepts no liability whatsoever for the content of this message or any attachment(s). [EMAIL PROTECTED] Aer Rianta, Head Office, Dublin Airport _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
