|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
im new to Solaris (10) and need some help please. Situation: Actually is there a Linux (SLES11) OpenLDAP-Server and authentification of Linux-Maschines works pretty sweet. Now i want to put the SOL10 (Sparc) boxes in.... Problem: User Authentification via OpenLDAP on Sol10 doesnīt work now (SSH-Login Screen comes, but if i enter the password, "Access denied") Works (on Sol10-Ldap-Client):
Logfile (Linux Openldap-Server): slapd[15449]: conn=1461 op=10 SRCH base="dc=example,dc=de" scope=2 deref=3 filter="(&(objectClass=posixAccount)(uid=ldapuser))" [15449]: conn=1461 op=10 SRCH attr=cn uid uidNumber gidNumber gecos description homedirectory loginShell slapd[15449]: conn=1461 op=10 SEARCH RESULT tag=101 err=0 nentries=1 text= slapd[15449]: conn=1473 fd=28 ACCEPT from IP=10.16.0.70:33030 (IP=0.0.0.0:389) slapd[15449]: conn=1473 op=0 BIND dn="" method=128 slapd[15449]: conn=1473 op=0 RESULT tag=97 err=0 text= slapd[15449]: conn=1473 op=1 SRCH base="dc=example,dc=de" scope=1 deref=3 filter="(&(objectClass=shadowAccount)(uid=ldapuser))" slapd[15449]: conn=1473 op=1 SRCH attr=uid userPassword shadowlastchange shadowmin shadowmax shadowwarning shadowinactive shadowexpire shadowFlag slapd[15449]: conn=1473 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= slapd[15449]: conn=1473 op=2 UNBIND slapd[15449]: conn=1473 fd=28 closed slapd[15449]: conn=1461 op=11 SRCH base="dc=example,dc=de" scope=2 deref=3 filter="(&(objectClass=posixAccount)(uid=ldapuser))" slapd[15449]: conn=1461 op=11 SRCH attr=cn uid uidNumber gidNumber gecos description homedirectory loginShell slapd[15449]: conn=1461 op=11 SEARCH RESULT tag=101 err=0 nentries=1 text= slapd[15449]: conn=1474 fd=28 ACCEPT from IP=10.16.0.70:33031 (IP=0.0.0.0:389) slapd[15449]: conn=1474 op=0 BIND dn="" method=128 slapd[15449]: conn=1474 op=0 RESULT tag=97 err=0 text= slapd[15449]: conn=1474 op=1 SRCH base="dc=example,dc=de" scope=1 deref=3 filter="(&(objectClass=shadowAccount)(uid=ldapuser))" slapd[15449]: conn=1474 op=1 SRCH attr=uid userPassword shadowlastchange shadowmin shadowmax shadowwarning shadowinactive shadowexpire shadowFlag slapd[15449]: conn=1474 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= slapd[15449]: conn=1474 op=2 UNBIND slapd[15449]: conn=1474 fd=28 closed slapd[15449]: conn=1461 op=12 SRCH base="dc=example,dc=de" scope=2 deref=3 filter="(&(objectClass=posixAccount)(uid=ldapuser))" slapd[15449]: conn=1461 op=12 SRCH attr=cn uid uidNumber gidNumber gecos description homedirectory loginShell slapd[15449]: conn=1461 op=12 SEARCH RESULT tag=101 err=0 nentries=1 text= Entry on LDAP-Server (Linux): uid: ldapuser cn: ldapuser GB objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount objectClass: top objectClass: shadowAccount userPassword: {CRYPT}GHGf1nI9tpFRE uidNumber: 5000 gidNumber: 1 loginShell: /usr/bin/bash homeDirectory: /export/home/ldapuser Slapd.conf: include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/yast.schema include /etc/openldap/schema/misc.schema include /etc/openldap/schema/sudo.schema include /etc/openldap/schema/ldapns.schema include /etc/openldap/schema/autofs.schema include /etc/openldap/schema/solaris.schema include /etc/openldap/schema/duaconf.schema -------------------------------------------- Any ideas? ![]() |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Not sure it will fix the issue but your ldapuser entry is missing a gecos field.
|
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Hey, thx for the answer. Geco field (Value=ldapuser GB) is still there and and entry for shadowLastChange,shadowMax,shadowWarning, sn, too
I didnīt post it. Srry my fault.---------- Post updated at 01:24 AM ---------- Previous update was at 01:12 AM ---------- Okay, is maybe value for the shadow pw missing ({CRYPT} blablabla)? if i do ldaplist -l passwd ldapuser on Sol10 Client: #ldaplist -l passwd ldapuser Sol10Serv:> dn: uid=ldapuser,ou=People,dc=example,dc=de uid: ldapuser cn: ldapuser GB givenName: ldap user sn: GB objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount objectClass: top objectClass: shadowAccount shadowLastChange: 15622 shadowMax: 168 shadowWarning: 7 loginshell: /usr/bin/bash gidnumber: 1 gecos: ldapuser GB homeDirectory: /export/home/ldapuser uidnumber: 5000 ---------- Post updated at 09:55 AM ---------- Previous update was at 01:24 AM ---------- DAM!! i got some new grey hairs now... not funny It works now!!11! If im really sure, what i did, i will post a howto here for other guys...thx for reading |
|
#4
|
|||
|
|||
|
When it works, please post howto when you have a chance. Thx,
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with Sol10 boot error | bow tie klr | Solaris | 5 | 10-19-2011 10:24 AM |
| machine to learn Sol10 | presul | Solaris | 8 | 07-29-2010 09:25 AM |
| Sol10 on primepower 850 | pupp | Solaris | 1 | 10-25-2008 09:19 AM |
| mysql on sol10 x86 | pupp | UNIX and Linux Applications | 0 | 08-27-2008 05:22 PM |
| stack space in sol10 | robsonde | Solaris | 2 | 12-12-2007 02:35 AM |
|
|