search for: unixdom_get_peer_addr

Displaying 2 results from an estimated 2 matches for "unixdom_get_peer_addr".

2017 Jun 15
2
Joining a Windows Server 2008 / 2008 R2 DC to a Samba AD - ISSUE - The RPC server is unavailable
On Wed, 2017-06-14 at 11:01 +0100, Rowland Penny via samba wrote: > On Wed, 14 Jun 2017 15:13:13 +0530 > Arjit Gupta <arjitk.gupta at gmail.com> wrote: > > > Thanks for the response. > > > > Is this xattr causing this RPC server is unavailable issue ? > > > > Arjit Kumar > > > > > > Lets be perfectly honest here, the lack of
2017 Sep 06
0
Joining a Windows Server 2008 / 2008 R2 DC to a Samba AD - ISSUE - The RPC server is unavailable
...char *location) { ....... if (*sa_socklen < sizeof(sa->sa_family*)) { *//sa_socklen is zero thus we are getting above error* errno = EINVAL; return -1; } ....... } The reason of sa_socklen in zero is below:- File:- source4/lib/socket_socket_unix.c Function :- static struct socket_address *unixdom_get_peer_addr(struct socket_context *sock, TALLOC_CTX *mem_ctx) { ............ ret = getpeername(sock->fd, peer->sockaddr, &len); *//getpeername return success but not modify **peer->sockaddr and len * ............ } *Reason for above behavior:-* getpeername() of HP-UX doesnt fill sockaddr structur...