⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Rudder
All Projects
Rudder
Overview
Activity
Roadmap
Issues
Repository
Download (321 Bytes)
Bug #3523
» node-extract.sh
Matthieu CERDA, 2013-04-24 19:16
#!/bin/sh
PASSWORD
=
$(
grep
RUDDER_OPENLDAP_BIND_PASSWORD /opt/rudder/etc/rudder-passwords.conf|sed
"s/RUDDER_OPENLDAP_BIND_PASSWORD:
\(
.*
\)
/
\1
/"
)
/opt/rudder/bin/ldapsearch
-x
-D
"cn=Manager,cn=rudder-configuration"
-w
${
PASSWORD
}
-s
one
-b
"ou=Nodes,ou=Accepted Inventories,ou=Inventories,cn=rudder-configuration"
nodeId
« Previous
1
2
Next »
(2-2/2)
Loading...