samba-tng-alpha-1.1.tar.gz

Greg Dickie greg at discreet.com
Sun Mar 19 18:08:28 GMT 2000


I believe I am having a problem related to this right now. Still trying to
track it down but it looks like this...

Greg

On Mon, 20 Mar 2000, Michael Glauche wrote:

> Date: Mon, 20 Mar 2000 04:00:49 +1100
> From: Michael Glauche <mg at plum.de>
> To: Multiple recipients of list SAMBA-NTDOM <samba-ntdom at samba.org>
> Subject: Re: samba-tng-alpha-1.1.tar.gz
> 
> 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
> 

---------------------------------------------------------------------
Greg Dickie
Just A Guy
greg at discreet.com



More information about the samba-ntdom mailing list