samba-tng-alpha-1.1.tar.gz
Luke Kenneth Casson Leighton
lkcl at samba.org
Sun Mar 19 19:11:14 GMT 2000
hi michael,
the "agent" code is a redirector which i haven't written for the dce/rpc
pipes, yet.
i _have_ written them for nmb UDP 137 traffic (not 138) and smb TCP
139/445 traffic.
so, for now, please ignore "agent connect" errors.
thx,
luke
On Sun, 19 Mar 2000, Michael Glauche wrote:
> Luke Kenneth Casson Leighton wrote:
> >
>
> Luke, this looks quite suspicios to me:
> static int get_agent_sock(char *pipe_name)
> {
> fstring path;
> fstring dir;
>
> slprintf(dir, sizeof(dir)-1, "/tmp/.msrpc/.%s", pipe_name);
> slprintf(path, sizeof(path)-1, "%s/agent", dir);
>
> return create_pipe_socket(dir, S_IRUSR|S_IWUSR|S_IXUSR, path,
> 0);
> }
>
>
> so .. the get_agent_sock is hardcoded, but the single daemons create
> their socket
> acording $PREFIX ?
>
> Esp. when you look in msrpc-client.c line 157:
> slprintf(path, sizeof(path) - 1, "%s/.msrpc/%s", LOCKDIR, pname);
> then again at line 263:
> slprintf(path, sizeof(path) - 1, "/tmp/.msrpc/.%s/agent", pipe_name);
>
> is that correct ???
>
> regards,
> Michael
>
<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton </a>
<a href=" http://cb1.com/~lkcl" > Samba and Network Development </a>
<a href=" http://samba.org" > Samba Web site </a>
<a href=" http://mcp.com" > Macmillan Technical Publishing </a>
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals
More information about the samba-ntdom
mailing list