LDAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesLDAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 6th, 2004, 05:20 PM
papajohns's Avatar
papajohns papajohns is offline
perl virgin
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Seattle, WA
Posts: 455 papajohns User rank is Corporal (100 - 500 Reputation Level)papajohns User rank is Corporal (100 - 500 Reputation Level)papajohns User rank is Corporal (100 - 500 Reputation Level)papajohns User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 14 h 18 m
Reputation Power: 13
your usual ldap/pam_ldap authentication mess in solaris 8

so i'm trying to get solaris 8 to authenticate via ldap..

ldap works, i added a user test, can bind with the user, can do searches on the ldap with it...yet i cant logon with him...so im figuring the problem lies somewhere in pam...

any insights or directions that i should be going would be appreciated.


thanx

===================
my nsswitch.conf.

passwd: files ldap [NOTFOUND=return]
group: files ldap [NOTFOUND=return]

#passwd: files
#group: files

# You must also set up the /etc/resolv.conf file for DNS name
# server lookup. See resolv.conf(4).
hosts: files dns
ipnodes: files
# Uncomment the following line and comment out the above to resolve
# both IPv4 and IPv6 addresses from the ipnodes databases. Note that
# IPv4 addresses are searched in all of the ipnodes databases before
# searching the hosts databases. Before turning this option on, consult
# the Network Administration Guide for more details on using IPv6.
#ipnodes: files dns

networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
sendmailvars: files
printers: user files

auth_attr: files
prof_attr: files
project: files

=======================
my pam.conf

other auth sufficient pam_unix.so.1
other auth required /opt/pam_ldap/current/lib/security/pam_ldap.so.1

other account sufficient pam_unix.so.1
other account required /opt/pam_ldap/current/lib/security/pam_ldap.so.1

other session required /opt/pam_ldap/current/lib/security/pam_ldap.so.1

other password required pam_unix.so.1
other password required /opt/pam_ldap/current/lib/security/pam_ldap.so.1

==================
my user schema

dn: uid=test,ou=People,dc=foobar,dc=com
objectclass: account
objectclass: posixAccount
objectclass: shadowAccount
objectclass: inetLocalMailRecipient
cn: Test User
uid: test
userPassword: {MD5}ooY25P8292KnU:12402
loginShell: /bin/tcsh
uidnumber: 5500
gidnumber: 100
homeDirectory: /
mailLocalAddress: test@foobar.com
host: ldap.foobar.com
gecos: Test User

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > your usual ldap/pam_ldap authentication mess in solaris 8

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap