JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for MOONSHOT-COMMUNITY Archives


MOONSHOT-COMMUNITY Archives

MOONSHOT-COMMUNITY Archives


MOONSHOT-COMMUNITY@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

MOONSHOT-COMMUNITY Home

MOONSHOT-COMMUNITY Home

MOONSHOT-COMMUNITY  June 2013

MOONSHOT-COMMUNITY June 2013

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Odd behaviour with local users

From:

Stefan Paetow <[log in to unmask]>

Reply-To:

[log in to unmask]

Date:

Thu, 6 Jun 2013 16:02:02 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (138 lines)

-----Original Message-----
From: Paetow, Stefan (DLSLtd,RAL,DIA) 
Sent: 06 June 2013 16:59
To: 'Stuart Rankin'
Subject: RE: Odd behaviour with local users

*hangs head in shame* 

I was trying to figure something out... and broke Sam's fix. I've unbroken it now and it's on Dropbox.

:-/

Stefan

-----Original Message-----
From: Stuart Rankin [mailto:[log in to unmask]]
Sent: 06 June 2013 16:58
To: Paetow, Stefan (DLSLtd,RAL,DIA)
Subject: Re: Odd behaviour with local users

Backtrace:

#0  0x00007f92f968c120 in ssh_gssapi_generic_localname (client=<value optimized out>, localname=
     0x7fff51b43dc0) at gss-serv.c:91
#1  0x00007f92f968b53f in gssapi_set_username (authctxt=0x7f92fa03be30) at auth2-gss.c:280
#2  0x00007f92f968b827 in input_gssapi_mic (type=<value optimized out>,
     plen=<value optimized out>, ctxt=0x7f92fa03be30) at auth2-gss.c:374
#3  0x00007f92f96aeb73 in dispatch_run (mode=0, done=0x7f92fa03be30, ctxt=0x7f92fa03be30)
     at dispatch.c:98
#4  0x00007f92f966b091 in main (ac=<value optimized out>, av=<value optimized out>) at sshd.c:2003

On 06/06/13 16:39, Stuart Rankin wrote:
> Hi Stefan,
>
> FWIW, the segfault is occurring here:
>
> [Switching to Thread 0x7fb92b00c7c0 (LWP 22005)]
> 0x00007fc3e3c36120 in ssh_gssapi_generic_localname (client=<value optimized out>, localname=
>      0x7fffe9ba0e10) at gss-serv.c:91
> 91          *(localname)[lbuffer.length] = '\0';
>
> Best regards
>
> Stuart
>
> On 06/06/13 14:54, Stefan Paetow wrote:
>> Oh, Stuart,
>>
>> Run "touch /var/log/lastlog" if the file does not exist... then restart SSHD.
>>
>> Does that stop the segfault?
>>
>> Stefan
>>
>>
>> -----Original Message-----
>> From: Moonshot community list
>> [mailto:[log in to unmask]] On Behalf Of Stuart Rankin
>> Sent: 06 June 2013 14:50
>> To: [log in to unmask]
>> Subject: Re: Odd behaviour with local users
>>
>> Hi Stefan,
>>
>> In my case, I have two accounts on the server without passwords (i.e. 
>> with the password field disabled), and one account with a password. 
>> When using sshd built from SRPM with your patches (and also when using the binary which you built), each of these accounts is behaving the same way, i.e.
>> doing
>>
>> ssh -l testuser moon-server.vm
>>
>> lets me in if the SAML header in
>> /etc/freeradius/sites-available/default on the IdP contains testuser, 
>> but otherwise fails gssapi-with-mic and proceeds to try password authentication. This seems to be the expected behaviour.
>>
>> However, I'm afraid that if I try
>>
>> ssh -l "" moon-server.vm
>>
>> the sshd segfaults. This is also true with your binary version from 
>> dropbox. I will try to work out where the segfault is occurring.
>>
>> Best regards,
>>
>> Stuart
>>
>>
>> On 06/06/13 13:56, Stefan Paetow wrote:
>>> Right, I'm noticing some odd behaviour with Moonshot SSH and if one 
>>> of the experts could help explain, that'd be grand.
>>>
>>> I have user "steve" and "steve2" on the local box. "steve" has a 
>>> password set, but "steve2" was added with useradd -m. When I attempt 
>>> to use Moonshot authentication, a test that results in "steve" as local-login-user fails to log me in, whereas a test that results in "steve2" works.
>>>
>>> Is there a specific restriction that the password needs to be unset 
>>> for the local user to be able to log in with GSS or something to that effect?
>>>
>>> With Regards
>>>
>>> Stefan Paetow
>>> Software Engineer
>>> +44 1235 778812
>>> Diamond Light Source Ltd.
>>> Diamond House, Harwell Science and Innovation Campus Didcot, 
>>> Oxfordshire, OX11 0DE
>>>
>>>
>>>
>>>
>>
>> --
>> Dr. Stuart Rankin
>>
>> Senior System Administrator
>> High Performance Computing Service
>> University of Cambridge
>> Email: [log in to unmask]
>> Tel: (+)44 1223 763517
>>
>

--
Dr. Stuart Rankin

Senior System Administrator
High Performance Computing Service
University of Cambridge
Email: [log in to unmask]
Tel: (+)44 1223 763517

-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2022
December 2021
October 2021
September 2021
August 2021
June 2021
April 2021
February 2021
January 2021
December 2020
November 2020
October 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
January 2020
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
June 2018
April 2018
November 2017
October 2017
September 2017
August 2017
July 2017
May 2017
April 2017
March 2017
February 2017
November 2016
October 2016
August 2016
July 2016
June 2016
May 2016
March 2016
February 2016
January 2016
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager