LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 08-07-2006, 01:24 AM   #31
capricorn80
Member
 
Registered: Jun 2006
Distribution: CentOS
Posts: 154

Original Poster
Rep: Reputation: 15

u figured out wats the problem ?
i mean its really getting worst as i took so much time .
 
Old 08-07-2006, 01:47 AM   #32
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I just wrote what the problem is, or at least part of this, the accounts you try to use do not exist on the directory, or are invalid, or are incomplete.

Try logging with the james account, and post the DS logs.
 
Old 08-07-2006, 02:05 AM   #33
capricorn80
Member
 
Registered: Jun 2006
Distribution: CentOS
Posts: 154

Original Poster
Rep: Reputation: 15
I have just tried to login from james n the logs is given below . but i m surprised as james user in not the the Directory Server user list. help me jlliagre as i m lost with this.

[07/Aug/2006:11:41:42 +0500] conn=206 op=1 msgId=2 - SRCH base="ou=people,dc=rndsun1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=posixaccount)(uid=james))" attrs=ALL
[07/Aug/2006:11:41:42 +0500] conn=206 op=1 msgId=2 - RESULT err=0 tag=101 nentries=1 etime=0
[07/Aug/2006:11:41:42 +0500] conn=206 op=2 msgId=3 - UNBIND
[07/Aug/2006:11:41:42 +0500] conn=206 op=2 msgId=-1 - closing - U1
[07/Aug/2006:11:41:43 +0500] conn=206 op=-1 msgId=-1 - closed.
[07/Aug/2006:11:41:55 +0500] conn=207 op=-1 msgId=-1 - fd=54 slot=54 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:11:41:55 +0500] conn=207 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=rndsun1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:11:41:55 +0500] conn=207 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=rndsun1,dc=sunlab,dc=ciit"
[07/Aug/2006:11:41:55 +0500] conn=207 op=1 msgId=2 - SRCH base="ou=people,dc=rndsun1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=posixaccount)(uid=test))" attrs=ALL
[07/Aug/2006:11:41:55 +0500] conn=207 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:11:41:55 +0500] conn=207 op=2 msgId=3 - UNBIND
[07/Aug/2006:11:41:55 +0500] conn=207 op=2 msgId=-1 - closing - U1
[07/Aug/2006:11:41:56 +0500] conn=207 op=-1 msgId=-1 - closed.
 
Old 08-07-2006, 05:20 AM   #34
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Please use correct English.

James is certainly in the Directory Server, as its entry is found.

Did you manage to logging in with this account ?

Last edited by jlliagre; 08-07-2006 at 06:25 AM.
 
Old 08-07-2006, 07:57 AM   #35
capricorn80
Member
 
Registered: Jun 2006
Distribution: CentOS
Posts: 154

Original Poster
Rep: Reputation: 15
listen i was playing with different things and now su is working . i have created a new user test2 within the profile i have created and i have also use the option Encrypt password when creating a profile . Now when i try to su test on ldap client its working . when i first try to su test2 it was giving me error
su test2
No Shell
the i did shell setting (/usr/bin/bash) and execute the command given below and then su started working.
bash-2.05# ldaplist -vl passwd test2
+++ database=passwd
+++ filter=(&(objectclass=posixaccount)(uid=test2))
+++ template for merging SSD filter=(&(%s)(uid=test2))
dn: uid=test2,ou=people,dc=sunrnd1,dc=sunlab,dc=ciit
givenName: test2
sn: tes
gidNumber: 1
uidNumber: 156
mail: test2@sunrnd1.sunlab.ciit
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
objectClass: posixAccount
uid: test2
cn: test2 tes
homeDirectory: /home/test2
userPassword: {crypt}Jsa4PvP1bSQ8.
loginShell: /usr/bin/bash
preferredLanguage: en

bash-2.05# su test2
bash-2.05$ id
uid=156(test2) gid=1(other)

but now when i try to login its not working and home directory is not mounting.

This is access log
[07/Aug/2006:17:35:07 +0500] conn=124 op=-1 msgId=-1 - fd=45 slot=45 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:07 +0500] conn=123 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:07 +0500] conn=124 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:07 +0500] conn=124 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:07 +0500] conn=124 op=1 msgId=2 - SRCH base="automountmapname=auto_home,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=automount)(automountKey=\2a))" attrs=ALL
[07/Aug/2006:17:35:07 +0500] conn=124 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:07 +0500] conn=124 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:07 +0500] conn=124 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:07 +0500] conn=125 op=-1 msgId=-1 - fd=44 slot=44 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:07 +0500] conn=124 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:07 +0500] conn=125 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:07 +0500] conn=125 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:07 +0500] conn=125 op=1 msgId=2 - SRCH base="automountmapname=auto_home,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=automount)(automountKey=test2))" attrs=ALL
[07/Aug/2006:17:35:07 +0500] conn=125 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:07 +0500] conn=125 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:07 +0500] conn=125 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:07 +0500] conn=126 op=-1 msgId=-1 - fd=45 slot=45 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:07 +0500] conn=125 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:07 +0500] conn=126 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:07 +0500] conn=126 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:07 +0500] conn=126 op=1 msgId=2 - SRCH base="automountmapname=auto_home,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=automount)(automountKey=\2a))" attrs=ALL
[07/Aug/2006:17:35:07 +0500] conn=126 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:07 +0500] conn=126 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:07 +0500] conn=126 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:08 +0500] conn=126 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:10 +0500] conn=127 op=-1 msgId=-1 - fd=44 slot=44 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:10 +0500] conn=127 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:10 +0500] conn=127 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:10 +0500] conn=127 op=1 msgId=2 - SRCH base="ou=people,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=posixAccount)(uid=test2))" attrs="cn uid uidNumber gidNumber gecos description homeDirectory loginShell"
[07/Aug/2006:17:35:10 +0500] conn=127 op=1 msgId=2 - RESULT err=0 tag=101 nentries=1 etime=0
[07/Aug/2006:17:35:10 +0500] conn=127 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:10 +0500] conn=127 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:10 +0500] conn=128 op=-1 msgId=-1 - fd=45 slot=45 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:10 +0500] conn=127 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:10 +0500] conn=128 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:10 +0500] conn=128 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:10 +0500] conn=128 op=1 msgId=2 - SRCH base="ou=people,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=shadowAccount)(uid=test2))" attrs="uid userPassword shadowFlag"
[07/Aug/2006:17:35:10 +0500] conn=128 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:10 +0500] conn=128 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:10 +0500] conn=128 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:10 +0500] conn=129 op=-1 msgId=-1 - fd=44 slot=44 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:10 +0500] conn=128 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:10 +0500] conn=129 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:10 +0500] conn=129 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:10 +0500] conn=129 op=1 msgId=2 - SRCH base="ou=people,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=posixAccount)(uid=test2))" attrs="cn uid uidNumber gidNumber gecos description homeDirectory loginShell"
[07/Aug/2006:17:35:10 +0500] conn=129 op=1 msgId=2 - RESULT err=0 tag=101 nentries=1 etime=0
[07/Aug/2006:17:35:10 +0500] conn=129 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:10 +0500] conn=129 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:10 +0500] conn=130 op=-1 msgId=-1 - fd=45 slot=45 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:10 +0500] conn=129 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:10 +0500] conn=130 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:10 +0500] conn=130 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:10 +0500] conn=130 op=1 msgId=2 - SRCH base="ou=people,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=shadowAccount)(uid=test2))" attrs="uid userPassword shadowFlag"
[07/Aug/2006:17:35:10 +0500] conn=130 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:10 +0500] conn=130 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:10 +0500] conn=130 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:11 +0500] conn=130 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:15 +0500] conn=131 op=-1 msgId=-1 - fd=44 slot=44 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:15 +0500] conn=131 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:15 +0500] conn=131 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:15 +0500] conn=131 op=1 msgId=2 - SRCH base="ou=people,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=shadowAccount)(uid=test2))" attrs="uid userPassword shadowFlag"
[07/Aug/2006:17:35:15 +0500] conn=131 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:15 +0500] conn=131 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:15 +0500] conn=131 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:15 +0500] conn=132 op=-1 msgId=-1 - fd=45 slot=45 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:15 +0500] conn=131 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:15 +0500] conn=132 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:15 +0500] conn=132 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:15 +0500] conn=132 op=1 msgId=2 - SRCH base="ou=group,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=posixGroup)(memberUid=test2))" attrs="cn gidNumber userPassword memberUid"
[07/Aug/2006:17:35:15 +0500] conn=132 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:15 +0500] conn=132 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:15 +0500] conn=132 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:15 +0500] conn=133 op=-1 msgId=-1 - fd=44 slot=44 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:15 +0500] conn=132 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:15 +0500] conn=133 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:15 +0500] conn=133 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:15 +0500] conn=133 op=1 msgId=2 - SRCH base="automountmapname=auto_home,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=automount)(automountKey=test2))" attrs=ALL
[07/Aug/2006:17:35:15 +0500] conn=133 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:15 +0500] conn=133 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:15 +0500] conn=133 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:15 +0500] conn=134 op=-1 msgId=-1 - fd=45 slot=45 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:15 +0500] conn=133 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:15 +0500] conn=134 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:15 +0500] conn=134 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:15 +0500] conn=134 op=1 msgId=2 - SRCH base="automountmapname=auto_home,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=automount)(automountKey=\2a))" attrs=ALL
[07/Aug/2006:17:35:15 +0500] conn=134 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:15 +0500] conn=134 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:15 +0500] conn=134 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:15 +0500] conn=135 op=-1 msgId=-1 - fd=44 slot=44 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:15 +0500] conn=134 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:15 +0500] conn=135 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:15 +0500] conn=135 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:15 +0500] conn=135 op=1 msgId=2 - SRCH base="automountmapname=auto_home,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=automount)(automountKey=test2))" attrs=ALL
[07/Aug/2006:17:35:15 +0500] conn=135 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:15 +0500] conn=135 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:15 +0500] conn=135 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:15 +0500] conn=136 op=-1 msgId=-1 - fd=45 slot=45 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:15 +0500] conn=135 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:15 +0500] conn=136 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:15 +0500] conn=136 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:15 +0500] conn=136 op=1 msgId=2 - SRCH base="automountmapname=auto_home,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=automount)(automountKey=\2a))" attrs=ALL
[07/Aug/2006:17:35:15 +0500] conn=136 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:15 +0500] conn=136 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:15 +0500] conn=136 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:16 +0500] conn=136 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:17 +0500] conn=137 op=-1 msgId=-1 - fd=44 slot=44 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:17 +0500] conn=137 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:17 +0500] conn=137 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:17 +0500] conn=137 op=1 msgId=2 - SRCH base="ou=people,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=posixAccount)(uid=test2))" attrs="cn uid uidNumber gidNumber gecos description homeDirectory loginShell"
[07/Aug/2006:17:35:17 +0500] conn=137 op=1 msgId=2 - RESULT err=0 tag=101 nentries=1 etime=0
[07/Aug/2006:17:35:17 +0500] conn=137 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:17 +0500] conn=137 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:17 +0500] conn=138 op=-1 msgId=-1 - fd=45 slot=45 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:17 +0500] conn=137 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:17 +0500] conn=138 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:17 +0500] conn=138 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:17 +0500] conn=138 op=1 msgId=2 - SRCH base="ou=people,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=shadowAccount)(uid=test2))" attrs="uid userPassword shadowFlag"
[07/Aug/2006:17:35:17 +0500] conn=138 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:17 +0500] conn=138 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:17 +0500] conn=138 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:17 +0500] conn=139 op=-1 msgId=-1 - fd=44 slot=44 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:17 +0500] conn=138 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:17 +0500] conn=139 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:17 +0500] conn=139 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:17 +0500] conn=139 op=1 msgId=2 - SRCH base="ou=people,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=posixAccount)(uid=test2))" attrs="cn uid uidNumber gidNumber gecos description homeDirectory loginShell"
[07/Aug/2006:17:35:17 +0500] conn=139 op=1 msgId=2 - RESULT err=0 tag=101 nentries=1 etime=0
[07/Aug/2006:17:35:17 +0500] conn=139 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:17 +0500] conn=139 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:17 +0500] conn=140 op=-1 msgId=-1 - fd=45 slot=45 LDAP connection from 172.16.4.78 to 172.16.4.80
[07/Aug/2006:17:35:17 +0500] conn=139 op=-1 msgId=-1 - closed.
[07/Aug/2006:17:35:17 +0500] conn=140 op=0 msgId=1 - BIND dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit" method=128 version=3
[07/Aug/2006:17:35:17 +0500] conn=140 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sunrnd1,dc=sunlab,dc=ciit"
[07/Aug/2006:17:35:17 +0500] conn=140 op=1 msgId=2 - SRCH base="ou=people,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=shadowAccount)(uid=test2))" attrs="uid userPassword shadowFlag"
[07/Aug/2006:17:35:17 +0500] conn=140 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
[07/Aug/2006:17:35:17 +0500] conn=140 op=2 msgId=3 - UNBIND
[07/Aug/2006:17:35:17 +0500] conn=140 op=2 msgId=-1 - closing - U1
[07/Aug/2006:17:35:18 +0500] conn=140 op=-1 msgId=-1 - closed.
 
Old 08-07-2006, 09:14 AM   #36
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
test2 directory entry is incomplete, compare it with the ones working to figure it out.

Concerning automounts, this is another story. Are the automount settings correct on the ldap, as they are picked from the directory too ? Is even a NFS home directory server configured somewhere ?
 
Old 08-07-2006, 12:09 PM   #37
capricorn80
Member
 
Registered: Jun 2006
Distribution: CentOS
Posts: 154

Original Poster
Rep: Reputation: 15
(test2 directory entry is incomplete, compare it with the ones working to figure it out.)
only test2 is working with su but not login .. dont think there is any other entry that can i compare with.
test2 directory entry is incomplete ??? .. wat else is left can u define me .
Well no NFS is configured well i will do it later. but can u tell me wat should be the problem that login with test2 is not working.
 
Old 08-07-2006, 12:19 PM   #38
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
It would help if you focus on one user entry and have it working, instead of creating more and more test entries.

It would help too if you clearly answer the questions I asked to you, and in readable English please.

Test2 is lacking some attributes that the original test user, james, was having. Do a side by side comparison, and you'll find by yourself what is missing.
 
Old 08-07-2006, 01:45 PM   #39
capricorn80
Member
 
Registered: Jun 2006
Distribution: CentOS
Posts: 154

Original Poster
Rep: Reputation: 15
ok i will try it.

Last edited by capricorn80; 08-07-2006 at 01:47 PM.
 
Old 08-07-2006, 03:07 PM   #40
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Great, here is a hint extracted from the logs you posted:
Code:
[07/Aug/2006:17:35:10 +0500] conn=128 op=1 msgId=2 - SRCH base="ou=people,dc=sunrnd1,dc=sunlab,dc=ciit" scope=1 filter="(&(objectClass=shadowAccount)(uid=test2))" attrs="uid userPassword shadowFlag"
[07/Aug/2006:17:35:10 +0500] conn=128 op=1 msgId=2 - RESULT err=0 tag=101 nentries=0 etime=0
The first line tells a search was made looking for an entry with the field objectClass=shadowAccount and uid=test2, the second one shows no entries were found for this search.
 
Old 08-08-2006, 01:49 AM   #41
capricorn80
Member
 
Registered: Jun 2006
Distribution: CentOS
Posts: 154

Original Poster
Rep: Reputation: 15
hi !
yea i got it i have added attribute in the object class i.e shadowAccount n its working fine now.
I have also test with another user and user authentication is working fine.
Now the next phase i.e How to mount home Directory (/export/home/test2) ?
 
Old 08-08-2006, 07:22 AM   #42
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Just to be sure, you have an existing NFS server with all the user's home directories already created, and you want to have these home directories mounted on every machine as the user's homedir for every user authenticated with LDAP on that target machine.

Is that what you want ?
 
Old 08-08-2006, 10:09 AM   #43
capricorn80
Member
 
Registered: Jun 2006
Distribution: CentOS
Posts: 154

Original Poster
Rep: Reputation: 15
Yes all i want is that user files and folders should store on LDAP server in user home folder
like /home/test2 on LDAP Server. And when user connect from remote system there
home folder mounts from LDAP Server.
can u forward me some docs or links related to that.
 
Old 08-08-2006, 10:15 AM   #44
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Your last posting is quite confusing. Users file and folders cannot be stored on a LDAP server.

Did you understand my question ?

Can you clearly answer to it ?
 
Old 08-08-2006, 11:47 AM   #45
capricorn80
Member
 
Registered: Jun 2006
Distribution: CentOS
Posts: 154

Original Poster
Rep: Reputation: 15
Suppose we have user test2 and its home directory is /home/test2 on LDAP Server
and user test2 save its files in his home directory which is /home/test2 located
on LDAP Server ..
is this confusing ?
 
  


Reply



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure LDAP yongsp Linux - Software 3 04-15-2006 02:54 AM
pam + ldap client paul_mat Linux - Networking 0 10-25-2005 10:55 PM
LDAP client configuration help omart Linux - Software 1 11-22-2004 02:06 AM
suse 9.1 as ldap client egyptian Linux - Networking 0 07-19-2004 02:41 AM
Configure LDAP rockwell_001 Linux - Software 0 07-07-2004 10:47 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration