Solaris 9 LDAP Client with Apple Mac OS X OpenDirectory / OpenLDAP

| 0 Comments | 0 TrackBacks

Initialize LDAP:

ldapclient manual \ -a credentialLevel=anonymous \ -a authenticationMethod=simple \ -a defaultSearchBase=dc=your,dc=site \ -a serviceSearchDescriptor=passwd:cn=users,dc=your,dc=site \ -a serviceSearchDescriptor=group:cn=groups,dc=your,dc=site \ -a defaultServerList=LDAPSERVER \ -a domainName=yoursite \ -a proxyDN=uid=root,cn=users,dc=your,dc=site \ -a proxyPassword=yoursite 
Add the following entries to /etc/pam.conf for SSH authentication:
# ssh sshd auth requisite pam_authtok_get.so.1 sshd auth required pam_dhkeys.so.1 sshd auth sufficient pam_unix_auth.so.1 sshd auth required pam_ldap.so.1 try_first_pass sshd account required pam_unix_account.so.1 
Don't forget to update /etc/nsswitch.conf to reference the correct databases.

No TrackBacks

TrackBack URL: http://baldwinsung.com/cgi-bin/mt-tb.cgi/64

Leave a comment

Recent Entries

Duplicating Volume & LUNs to Aggregate using Snapmirror
# Gather original volume size and LUN serials vol size /vol/SOURCE_VOL lun show -v /vol/SOURCE_VOL/SOURCE_1_LUN lun show -v /vol/SOURCE_VOL/SOURCE_2_LUN…
Converting VIDEO_TS to ISO on Mac
Do not include the VIDEO_TS folder in the path. Only the parent of the VIDEO_TS folder is needed. hdiutil makehybrid…
Presenting Sun Disks using cfgadm
After creating a new RAID1 volume using raidctl. The disks on the box can be presented to devfs/devices via the…