Trouble with pipes II



My server app runs
hPipe = CreateNamedPipe(
TEXT("\\\\.\\pipe\\fppipe"), // pipe name
PIPE_ACCESS_DUPLEX | // read/write access
FILE_FLAG_WRITE_THROUGH, // write through mode
PIPE_TYPE_MESSAGE | // message-type pipe
PIPE_READMODE_MESSAGE | // message-read mode
PIPE_NOWAIT, // non-blocking mode
PIPE_UNLIMITED_INSTANCES,// number of instances
BUFSIZE*sizeof(TCHAR), // output buffer size
BUFSIZE*sizeof(TCHAR), // input buffer size
2000, // client time-out
NULL); // default security attributes

from an XP Pro (non-SP2) PC.
When I try to connect my client XP Pro (non-SP2) PC using

m_hFPPipe = CreateFile(
pipe, // server pipe name
FILE_READ_DATA | // read and write access
FILE_WRITE_DATA,
0, // no sharing
NULL, // default security attributes
OPEN_EXISTING, // opens existing pipe
0, // default attributes
NULL); // no template file

it returns invalid handle and GetLastError returns: "Logon failure: unknown
user name or bad password."

Both PC's are non-domain (WORKGROUP) networked and I can share folders
between them succesfully. They're both setup with one admin account with
blank passwords. Is there a setting somewhere to allow remote access to the
server? Or do I need to modify the parameters to the function calls?

Thanks in advance!

Richard Wilder

.



Relevant Pages

  • Re: XP access administrative share
    ... david carvalho wrote: ... I installed a xp pro, ... But when I try to connect to a regular xp workstation, ... " logon failure: the user has not been granted the requested logon ...
    (microsoft.public.windowsxp.security_admin)
  • Re: New XP Home denies access to XP Pro on laptop
    ... to be able to access the computer from the network. ... The XP pro on laptop> recognizes that the XP pro computer is there,> however when clicked, it comes up with "Computer is not accessible. ... Logon Failure:> the user has not been granted the required logon type at this computer." ...
    (microsoft.public.windowsxp.network_web)
  • Problem networking a Win 2K Pro to a Win Xp Pro
    ... I set up a home network with two computers networked through a netgear ... Both computer can access the internet and both computers can see ... Accessing the shared folder from the Win 2K Pro to the Xp Pro ... Logon Failure: the user has not been granted the requested logon type at ...
    (microsoft.public.windowsxp.network_web)
  • cmd logon failure
    ... i received the message "error: logon failure: unknown user name or bad ... i'm logged in as administrator. ... i'm using xp pro. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Trouble with pipes II
    ... Arkady ... > My server app runs ... > from an XP Pro (non-SP2) PC. ...
    (microsoft.public.win32.programmer.networks)