What you will need to do is contact the PDC (or another DC should work, but
not member servers or workstations for most Domain enumeration functions),
and once you have the list of users, run it for each DC and keep the latest
one.

-----Original Message-----
From: VANHERP Wim [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 5:01 AM
To: '[EMAIL PROTECTED]'
Subject: RE: user info with win32::lanman



When i read the documentation of the user functions of lanman I find this
and when i trie to use
a DC and not the PDC I don't get the list of the domain users.


"
In this section, you cannot specify a domain name for the server parameter.
Instead to affect domain accounts, obtain the PDC, using NetGetDCName, and
then make the calls against this server."


The version of perl is 5.8.0.805 and the version of lanman =1.0.10


Wim Vanherp
tel : 5100
GSM :0478 88 32 03


> ----------
> From:         Bullock, Howard A.[SMTP:[EMAIL PROTECTED]
> Sent:         maandag 30 juni 2003 13:35
> To:   'VANHERP Wim'; '[EMAIL PROTECTED]'
> Subject:      RE: user info with win32::lanman
> 
> What makes you say this function only works on the PDC? It works on PDC,
> BDC, Member server, and workstations for me. What version of Lanman are
> you
> using?
> 
> 
> -----Original Message-----
> From: VANHERP Wim [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 30, 2003 5:41 AM
> To: '[EMAIL PROTECTED]'
> Subject: FW: user info with win32::lanman
> 
> The problem is that you have to fill in the PDC to get the userlist of a
> domain,
> if  you fill in another server or domaincontroller you don't get the info
> of
> the users  
> Win32::Lanman::NetUserEnum($PDC,[EMAIL PROTECTED]) works only with the PDC 
> 
> 
> Wim Vanherp
> tel : 5100
> GSM :0478 88 32 03
> 
> 
> 
> 
*** Disclaimer ***
Deze e-mail, met eventuele bijlagen, is alleen bestemd voor de persoon of
organisatie aan wie hij gericht is en, in voorkomend geval, alleen voor het
daarin opgegeven doel of gebruik.  Hij kan vertrouwelijke informatie
bevatten en/of persoonlijke standpunten die niet noodzakelijk met die van de
VRT stroken.  Elk gebruik van deze informatie (zoals bewerken, doorsturen,
geheel of gedeeltelijk reproduceren of verspreiden in welke vorm ook) door
anderen dan de geadresseerde, is verboden.  Hebt U deze e-mail per
vergissing ontvangen, meld dat dan a.u.b. aan de VRT en wis de e-mail.
_______________________________________________
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