Login issue


 
Thread Tools Search this Thread
Operating Systems Solaris Login issue
# 1  
Old 09-28-2011
Login issue

Hello,
I'm trying to setup my Solaris 10 servers to authenticate from a OpenLDAP server. I can get the Linux servers to authenticate from a OpenLDAP server, but not server the Solaris servers. Below I have posted some output so you can see my issue.
Code:
<terminal output>
-bash-3.00$ id test04
uid=505(test04) gid=501(ldapuser)
-bash-3.00$ id
uid=500(arich) gid=10(staff)
-bash-3.00$ su test04
Password:
su:  Sorry
# id
uid=0(root) gid=0(root)
# su test04
# id
uid=505(test04) gid=501(ldapuser)
# exit
# id
uid=0(root) gid=0(root)
<terminal output end>

There are no errors in the /var/openldap/slapd.log.
I think I need help with the ldapclient command and setting the profile. I feel that i'm really close.

I will post any file you want, please point me in the right direction.

Last edited by bitlord; 09-28-2011 at 02:14 PM.. Reason: Code tags...
# 2  
Old 09-28-2011
test04 =/= testo4
# 3  
Old 09-28-2011
Quote:
-bash-3.00$ su testo4 su: Unknown id: testo4 # id
you have used the letter o in the above instead of the number 0.
# 4  
Old 09-28-2011
Thanks for replying.
OK, I made a typo. Put that is not the issue. As you can see I can id a LDAP account with ether the root account or a normal account. I can su to a LDAP user as root but not as a normal user.

I can only think that issue is on the client server. So ether the PAM file or the ldapclient has not been configured right.

Can someone who has done this give me a hand?
# 5  
Old 09-28-2011
What does it say?
Code:
passwd -s test04

# 6  
Old 09-28-2011
Ok, thanks for your reply Image bartus11
here it is :
Code:
-bash-3.00$ id test04
-bash-3.00$ passwd -s test04 
Permission denied
-bash-3.00$ sudo !! 
-bash-3.00$ sudo passwd -s test04
passwd: User unknown: test04
Permission denied
-bash-3.00$ sudo bash
root$ getent passwd|grep test04 
test04:x:505:501::/export/home/test04:/bin/bash

I know the password, and the account works on all the Linux(RHEL) servers.

Last edited by bitlord; 09-28-2011 at 02:47 PM.. Reason: post layout was messed up
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

SSH login issue

Dear All , recently i have configured sftp for a user for which i have done chroot. but after this , sftp is working fine . but ssh is not working when we connect to the server. When we try to ssh <user>@<server ip> , the below is the error message that we get and not able to login. ... (2 Replies)
Discussion started by: jegaraman
2 Replies

2. Red Hat

linux login issue

Dear all, When ever i login to linux box through putty , it is taking a long time to log in .....approx 2 min Kindly let me know any reason behind this.... (3 Replies)
Discussion started by: jegaraman
3 Replies

3. Shell Programming and Scripting

Issue with form-based login

Hello, I'm trying to build a script which logins to an application and logout, where the user would input URL, credentials, no. of users, iterations etc. The objective is to test max no. of sessions our reverse proxy apache can handle. I'm trying to handle the application login and logout... (1 Reply)
Discussion started by: pdilipm
1 Replies

4. Emergency UNIX and Linux Support

SSH password login issue

Hi All, I am facing issue in setting up passwordless login through ssh on two Solaris-10 boxes. user-id ravrwa from server tsapiq04-zrwdq01 should be able to login to server tsbrit03 as cpsuserq, which is not happening. I am not sure where is the problem, while keys are already all set. Here is... (14 Replies)
Discussion started by: solaris_1977
14 Replies

5. UNIX for Dummies Questions & Answers

sudo login issue

I logged in through ssh, but can't re-login as root. sudo login Arch login: root Password: Login incorrect Arch login: But I am sure my password is right. Why? But on local tty1, this works. (2 Replies)
Discussion started by: vistastar
2 Replies

6. Linux

Login issue

Hi, I have created one normal login id . When they have try to login then, They got error msg the permission denied. Please advice on this. Thanks, Mani (3 Replies)
Discussion started by: Mani_apr08
3 Replies

7. Solaris

login issue in solaris5.6

Hi, I have reset the account on solaris 5.6. After resetting, User unable to login and putty gets closed once enter the password. Please suggest ASAP..... Thanks in Advance (6 Replies)
Discussion started by: bpsunadm
6 Replies

8. Solaris

Login Issue

Hi, I am not able to login in the system as user.It is showing problem login as: User1 User1@10.xxx.xx.xx's password: Could not chdir to home directory /home/User1: No such file or directory Sun Microsystems Inc. SunOS 5.9 Generic May 2002 $ I have created the User1 and Its... (8 Replies)
Discussion started by: smartgupta
8 Replies

9. UNIX for Advanced & Expert Users

Unix Login Issue

Guys .. I got my user ID created in a production system of my organisation. the problem I got is my HOME directory in environment has been mis-spelt. Like: I should be logging into unix using ID: freakegs My home directory should be : /users/freakygs and echo $HOME should also... (1 Reply)
Discussion started by: freakygs
1 Replies

10. UNIX for Dummies Questions & Answers

something simple, but i have no idea: a login issue

Hi all, I have a problem not really dramatic but realyl annoying: i've got a groups of users who logon a sunos 2.3 box via a windows telnet client (KEAI, but this is not the problem). they login as perso1 and password. It takes a very very very long time to get in. If i log on the same box... (2 Replies)
Discussion started by: penguin-friend
2 Replies
Login or Register to Ask a Question