Revision
377
Author
misc
Date
2010-11-22 03:04:04 +0100 (Mon, 22 Nov 2010)

Log Message

- add nssldap password handling

Modified Paths

Modified: puppet/modules/pam/manifests/init.pp
===================================================================
--- puppet/modules/pam/manifests/init.pp	2010-11-22 02:04:03 UTC (rev 376)
+++ puppet/modules/pam/manifests/init.pp	2010-11-22 02:04:04 UTC (rev 377)
@@ -20,6 +20,9 @@
          mode => 644,
          content => template("pam/nsswitch.conf")
       }
+
+      $nssldap_password = extlookup("nssldap_password")
+ 
       file { "ldap.conf":
          path => "/etc/ldap.conf",
          owner => root,

Modified: puppet/modules/pam/templates/ldap.conf
===================================================================
--- puppet/modules/pam/templates/ldap.conf	2010-11-22 02:04:03 UTC (rev 376)
+++ puppet/modules/pam/templates/ldap.conf	2010-11-22 02:04:04 UTC (rev 377)
@@ -1,4 +1,5 @@
-
+binddn uid=nssldap,ou=System Accounts,<%= dc_suffix %>
+bindpw <%= nssldap_password %>
 uri ldaps://ldap.<%= domain %>
 base <%= dc_suffix %>
 pam_lookup_policy no