NetGroupGetUsers() occasional failures
- From: "Dave Lowther" <davel@xxxxxxxxx>
- Date: Wed, 16 Nov 2005 11:53:31 -0000
I've written a program which periodically (every 10 seconds for now) calls
NetGroupGetUsers() and NetLocalGroupGetMembers() for a small number of
groups, 3 local and 1 global.
On my PC (XP Pro fully up to date with all updates except the MS adware
detector which isn't installed), these calls normally work but fail,
reliably, once every 12 minutes 22 seconds (+/- 1 second) and all four calls
always fail.
NetGroupGetUsers() fails with error code 0x35, which I think means "Network
path not found", and NetLocalGroupGetMembers() fails with 0x6BA, which I
think means "The RPC server is unavailable".
There are no corresponding entries in the event log.
Exactly the same code running on another PC on the same LAN and talking to
the same domain controller never fails.
I'm thinking that it might be something that's running on my PC that's
causing this. I've tried shutting down quite a few things with no luck as
yet.
Has anyone else experienced this kind of problem or know what might be
causing it ?
I've got Ethereal traces of the successful / failing cases but I'm
completely new to the protocols being used: CLDAP, SMB, DCERPC, SAMR, LSA.
Can anyone suggest an on-line, free, tutorial or reference that explains how
these protocols are used to communicate between a PC that is a domain member
and the domain controller ? The RFCs alone, if they exist, may help a
little, but real examples with commentary would be better.
TIA
Dave.
.
- Follow-Ups:
- Re: NetGroupGetUsers() occasional failures
- From: Eugene Gershnik
- Re: NetGroupGetUsers() occasional failures
- Prev by Date: Re: Finding the shares on a computer using the WinAPI
- Next by Date: Closing all connections to server?
- Previous by thread: Rpc program
- Next by thread: Re: NetGroupGetUsers() occasional failures
- Index(es):
Relevant Pages
|