idmap and samba4

Andrew Bartlett abartlet at samba.org
Wed Sep 10 04:11:24 GMT 2008


On Wed, 2008-09-10 at 00:35 +0400, Matthieu Patou wrote:
> Dear all,
> 
> It seems to me that idmap is at least partial implemented in Samba4, 
> what is the exact status ?
> 
> I tried to get information with the samba4 version of wbinfo but it 
> fails because it looks for a pipe here : /tmp/.winbind (as defined with 
> WINBINDD_SOCKET_DIR  in  nsswitch/winbind_struct_protocol.h).
> 
> After modifying this file and recompiling wbinfo so that it looks for 
> this pipe at /usr/local/samba/var/run/winbindd/pipe, I restarted wbinfo 
> and I saw that it tries to connect to the private socket located here :
> 
> /usr/local/samba/private/smbd.tmp/winbind_pipe/pipe
> This is in function winbind_open_pipe_sock of nsswitch/wb_common.c.
> 
> Unfortunately the server create the private socket here :
> /usr/local/samba/var/lib/winbindd_privileged/pipe

Yeah - that's not good :-)

> As the logic to define this path seems rather complicated I choosed to 
> make a hard link between the expected path of wbinfo and the real path.

I've pushed a patch to fix this.  Now the correct path should be
returned. 

What wbinfo commands were you testing?

Andrew Bartlett
-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20080910/8f05081a/attachment.bin


More information about the samba-technical mailing list