Hello, I have problems trying to login at a unix server using LDAP...

I can login without problems in other unix systems withc clien.login(user, passwd)

But this one has LDAP and I can't log in...

any advice?

thank you!

asked 07 Dec '11, 01:42

lackote's gravatar image

lackote
151
accept rate: 0%

Hello, are you able to log to that server in using any third party client such as PuTTY (SSH Shell) or PSFTP (SFTP)? (Both are available at http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)

(07 Dec '11, 11:21) Lukas Pokorny ♦♦

I don't know if its because of LDAP or because it is an AIX unix system, and befere there was a HPUX Unix and maybe credentials ar

link

answered 08 Dec '11, 18:50

lackote's gravatar image

lackote
151
accept rate: 0%

edited 08 Dec '11, 18:54

Looks like a part of your text is missing. Have you tried connecting with PuTTY, PSFTP or other non-Rebex app?

(09 Dec '11, 16:50) Lukas Pokorny ♦♦

yes, I have no problems connecting with PuTTY

link

answered 09 Dec '11, 19:45

lackote's gravatar image

lackote
151
accept rate: 0%

Please try connecting using "keyboard-interactive" authentication method:

// Create an instance of SshParameters class 
// to specify desired arguments. 
SshParameters par = new SshParameters();

// Force "keyboard-interactive" authentication method.
par.AuthenticationMethods = SshAuthenticationMethod.KeyboardInteractive;

// Create an instance of Ssh object
Ssh client = new Ssh();

// Connect to the server. 
// The third argument refers to the parameters class. 
client.Connect(serverName, 22, par);

// Authenicate.
client.Login(userName, password);

Does this make any difference?

link

answered 12 Dec '11, 15:09

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.4k28
accept rate: 31%

thank you, it works! now I'm having this other problem (http://forum.rebex.net/questions/2224/ssh-the-channel-has-been-closed)

link

answered 12 Dec '11, 17:10

lackote's gravatar image

lackote
151
accept rate: 0%

This is strange, but not the first time we encountered this problem. It looks like there is some bug in "password" authentication method implementation. PuTTY uses "keyboard-interactive" by default and only uses "password" if it's not available, we do it the other way around.

(13 Dec '11, 16:03) Lukas Pokorny ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×44
×9
×4

Asked: 07 Dec '11, 01:42

Seen: 452 times

Last updated: 13 Dec '11, 16:03