On 11/10/20 2:34 PM, Kasemir, Kay wrote:
>> I have no name!@xf17bm-ioc2:/$
>> Ultimately, I added ..the softioc user
>> If you don't mind me asking, why is seemingly only
>> PVA affected by the no-name user issue, but not CA?
>
> The PVA client is trying to send the user name to the server.
> I think it's using this code in modules/pvAccess/src/remote/security.cpp:
>
> if(osiGetUserName(&buffer[0], buffer.size()) != osiGetUserNameSuccess)
> throw std::runtime_error("Unable to determine user account name");
>
> At first glance I would expect that it throws the exception, but maybe it ends up with an empty user name, and that then results in follow-up problems. In any case it makes some sense that it doesn't "work" when the user is not defined.
If an exception were thrown, I think it would be caught here.
Where it is only printed at debug log level. (my doing it seems)
Running with EPICS_PVA_DEBUG=1 set should show this.
- Replies:
- Re: Connection to PVA server fails despite server Michael Davidsaver via Tech-talk
- References:
- Connection to PVA server fails despite server Wlodek, Jakub via Tech-talk
- Re: Connection to PVA server fails despite server Michael Davidsaver via Tech-talk
- Re: Connection to PVA server fails despite server Wlodek, Jakub via Tech-talk
- Re: Connection to PVA server fails despite server Kasemir, Kay via Tech-talk
- Navigate by Date:
- Prev:
Re: Connection to PVA server fails despite server Kasemir, Kay via Tech-talk
- Next:
Re: Connection to PVA server fails despite server Michael Davidsaver via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Connection to PVA server fails despite server Kasemir, Kay via Tech-talk
- Next:
Re: Connection to PVA server fails despite server Michael Davidsaver via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
|