EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Connection to PVA server fails despite server
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>, "Wlodek, Jakub" <jwlodek at bnl.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 10 Nov 2020 22:34:32 +0000
> 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.

-Kay

Replies:
Re: Connection to PVA server fails despite server Kasemir, Kay via Tech-talk
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

Navigate by Date:
Prev: EPICS Integrator for Sweden TEL-EPC-201028 Jef Kong via Tech-talk
Next: Re: Connection to PVA server fails despite server Kasemir, Kay 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Connection to PVA server fails despite server Wlodek, Jakub via Tech-talk
Next: Re: Connection to PVA server fails despite server Kasemir, Kay 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  <20202021  2022  2023  2024 
ANJ, 11 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·