Article View: comp.os.ms-windows.networking.windows
Article #53Client/server apps with named pipes
From: Sylvain Beaumont
Date: Tue, 07 Dec 1999 00:00
Date: Tue, 07 Dec 1999 00:00
22 lines
2194 bytes
2194 bytes
I have a problem with my server that uses named pipes to communicate with
clients.
Everything work fine when they're all on the same computer (both server and
clients). But when I try them on different computers of a network
(
1 - The server will be executed from a computer with Admin rights
2- Clients will be executed from other computers with user rights.
)
, client apps can't connect to the server until I reconnect the computer
with admin rights. I also tried running the server on a computer with user
rights (same rights as clients..), and nothing worked.
Someone told me to try the API [ ImpersonateNamedPipeClient(HANDLE hPipe
(created with CreateNamedPipe())) ] before doing the ConnectNamedPipe(...) ,
and nothing worked again.
If you can help me please email me (in french or english) at
sylvainb@geocities.com
thank you
Sylvain B.
Technical Details
Message-ID:
<ud134.4990$63.94148@news.globetrotter.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa2c1,aaee511651e9d7c8,start X-Google-Attributes: gidfa2c1,public X-Google-Thread: 113dfb,aaee511651e9d7c8,start X-Google-Attributes: gid113dfb,public X-Google-Thread: 108304,aaee511651e9d7c8,start X-Google-Attributes: gid108304,public X-Google-Thread: 1053e6,aaee511651e9d7c8,start X-Google-Attributes: gid1053e6,public X-Google-Thread: f8547,aaee511651e9d7c8,start X-Google-Attributes: gidf8547,public X-Google-Thread: fac1c,aaee511651e9d7c8,start X-Google-Attributes: gidfac1c,public From: "Sylvain Beaumont" <beaumonts@globetrotter.net> Subject: Client/server apps with named pipes Date: 1999/12/07 Message-ID: <ud134.4990$63.94148@news.globetrotter.net> X-Deja-AN: 557581262 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@globetrotter.net X-Trace: news.globetrotter.net 944545754 142.169.162.159 (Tue, 07 Dec 1999 00:49:14 EST) Organization: GlobeTrotter X-MSMail-Priority: Normal NNTP-Posting-Date: Tue, 07 Dec 1999 00:49:14 EST Newsgroups: comp.os.ms-windows.networking.windows,comp.os.ms-windows.nt.admin.networking,comp.os.ms-windows.programmer.win32,fr.comp.os.ms-windows.programmation,microsoft.public.win32.programmer.networks,news.groups.os.ms-windows.programmer.win32