samba-tng-alpha-1.1.tar.gz
Michael Glauche
mg at plum.de
Sun Mar 19 17:04:35 GMT 2000
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
More information about the samba-ntdom
mailing list