Re: [SOLVED] Re: OpenSSH public key problem with Solaris 10 and LDAP

This is a discussion on Re: [SOLVED] Re: OpenSSH public key problem with Solaris 10 and LDAP within the OpenSSH Development forums, part of the Networking and Network Related category; Douglas E. Engert <deengert@anl.gov> wrote: > Alexander Skwar wrote: >> Douglas E. Engert <deengert@...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-16-2007
Alexander Skwar
 
Posts: n/a
Default Re: [SOLVED] Re: OpenSSH public key problem with Solaris 10 and LDAP

Douglas E. Engert <deengert@anl.gov> wrote:
> Alexander Skwar wrote:
>> Douglas E. Engert <deengert@anl.gov> wrote:


>>> the getpw.c program I sent yesterday should return (assuming the
>>> username is not also in the local /etc/passwd file):
>>> useranme:x:...
>>> username:crypted-password:...

>>
>> Ah!
>>
>> --($:~/Source/pamtest)-- sudo ./getpw askwar
>> STDC = __STDC__
>> askwar:x:10001:10:Alexander
>> Skwar,alexander.skwar@Exampleauto.com:/export/home/askwar:/opt/csw/bin/bash
>> askwar:cd9--------psA:13503:-1:-1-1:-1:-1:0
>>
>> --($:~/Source/pamtest)-- sudo ./getpw testing
>> STDC = __STDC__
>> testing:x:54321:10:Alexander
>> Skwar,alexander.skwar@Exampleauto.com:/export/home/testing:/opt/csw/bin/bash
>> testing:*NP*:-1:-1:-1-1:-1:-1:0
>>
>> *NP* for testing? Why's that? Why's there a difference?

>
>
> This could be the problem. NP is used for OK to login if you can
> authenticate some other way. *NP* may be considered locked,
> as * is not a valid crypt character.
>
> Try using ldapmodify to change the password to {crypt}NP
>
> See of you can get the phpLdapAdmin to add NP rather then *NP*
> Or set some valid password.


Uhm - I DO have a valid password for the "testing" user. And
as soon as I remove "askwar" from /etc/shadow, I also get *NP* (no
password, I guess?) when I run getpw. Is that not the way you
expect it to be?

Alexander Skwar

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:27 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0