Hi,
first try the following command to verify you can potentially access your server: ldapsearch -x -b "dc=ldap268" "(objectclass=*)"
If you see some output, i.e. your directory-objects the client to server connection is ok. What concerns me more is you pam.conf file. Does it really look like this or are that only the first two lines? You have to edit it in any case if you want to login:
* forget pam.conf, there hasn't to be anything in it
* your pam_ldap.conf should at least consist of these lines:
host [YOUR SERVERS IP]
base dc=ldap268
uri ldap://[YOUR SERVERS IP]/
ldap_version 3
scope sub
timelimit 30
pam_login_attribute uid
pam_member_attribute memberUid
pam_password exop
sslno
more information about that syntax at
www.padl.com
To successfully login edit the files in /etc/pam.d (example passwd) like this
password sufficient pam_ldap.so obscure min=4
password required pam_unix.so nullok obscure min=4
you should now be able to login at the console.
If you don't know how to create passwords by hand:
perl -e 'print crypt('YOUR_PASS','TWO_CHARACTER_SALT'),"\n"'
cut and paste it like {crypt}YOUR_PASS_HASH into your ldif.