Displaying 2 results from an estimated 2 matches for "_tsocket_address_bsd_from_sockaddr".
Did you mean:
tsocket_address_bsd_from_sockaddr
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
...elow error
single_terminate: reason[socket_get_remote_addr() failed]
As mentioned by you earlier that it requires "credentials passing via
the getpeereid()
call or SO_PEERCRED"
On investigating it further i found below condition that fails
File :- lib/tsocket/tsocket_bsd.c
Function
int _tsocket_address_bsd_from_sockaddr(TALLOC_CTX *mem_ctx,
const struct sockaddr *sa,
size_t sa_socklen,
struct tsocket_address **_addr,
const char *location)
{
.......
if (*sa_socklen < sizeof(sa->sa_family*)) { *//sa_socklen is zero thus we
are getting above error*
errno = EINVAL;
return -1;
}
.......
}...