Hello Paul, Actually I am trying to retrieve the information for all the users on my domain and I am running on WIN2000 professional.
And also, I am not sure what error:53 means but definitely "network path not found" with meaning as such does not apply. Because, I have checked it and the path is present. Also I am not sure of the domain, if NT4 domain means NT domain then I am not using WINNT but running on Win2000 professional and I use Active directory to check the completeness of the file I fetch. Hope I have answered all your queries. And would like to try new improved things. Thanks and Regards, Shailja Agrawal -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Sobey Sent: Thursday, May 19, 2005 2:29 PM To: [email protected] Subject: RE: win32::Lanman Error > Hello Rob, > > Actually, I initially thought that because of the volume of > the data (it > fetches around 60k records so) I had an impression that it might take > some time, but your statement has raised an alarm to me. > > Also, last night the job failed again but this time I have > captured the > error successfully (hopefully). > > if(!Win32::Lanman::NetUserEnum("$PDC", &FILTER_NORMAL_ACCOUNT, > [EMAIL PROTECTED])) > { > print "Sorry, something went wrong; error: "; > # get the error code > print Win32::Lanman::GetLastError(); > } > > Result: > "Sorry, something went wrong; error: 53" net helpmsg 53 shows 'The network path was not found.'. Not sure if this helps - it can be displayed for a variety of reasons including authentication problems. Out of interestm why are you using Lanman? All those old NT4 calls are a bit legacy. You may well get better results with ADSI, particularly if on an Active Directory, but also with an NT4 domain. I can probably find you sample code if you let me know whether you want an AD or NT4 domain... Cheers, Paul ***************************************************************** Gloucester Research Limited believes the information provided herein is reliable. While every care has been taken to ensure accuracy, the information is furnished to the recipients with no warranty as to the completeness and accuracy of its contents and on condition that any errors or omissions shall not be made the basis for any claim, demand or cause for action. ***************************************************************** _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
