diff options
author | Tarik Gasmi | 2007-10-26 10:41:22 +0200 |
---|---|---|
committer | Tarik Gasmi | 2007-10-26 10:41:22 +0200 |
commit | 310554c02e4b51c5300f8bdf8ad15e3f0520bc53 (patch) | |
tree | 277727e7c13eeaec94fe8089f547f3108b727bcc /ldap-site-mngmt/webinterface/lib/rbs_management_functions.php | |
parent | This should fix a small bug reported by Reiner for SuSE10.3 in stage3. (diff) | |
download | core-310554c02e4b51c5300f8bdf8ad15e3f0520bc53.tar.gz core-310554c02e4b51c5300f8bdf8ad15e3f0520bc53.tar.xz core-310554c02e4b51c5300f8bdf8ad15e3f0520bc53.zip |
LSM Webinterface, new actualized Version
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1401 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'ldap-site-mngmt/webinterface/lib/rbs_management_functions.php')
-rw-r--r-- | ldap-site-mngmt/webinterface/lib/rbs_management_functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap-site-mngmt/webinterface/lib/rbs_management_functions.php b/ldap-site-mngmt/webinterface/lib/rbs_management_functions.php index 71ea576f..2e7d5348 100644 --- a/ldap-site-mngmt/webinterface/lib/rbs_management_functions.php +++ b/ldap-site-mngmt/webinterface/lib/rbs_management_functions.php @@ -200,7 +200,7 @@ function adjust_dhcpnextserver($tftpIP, $rbsDN){ global $ds, $suffix, $ldapError; - if(!($result = uniLdapSearch($ds, "ou=RIPM,".$suffix, "(&(objectclass=Host)(hlprbservice=$rbsDN))", array("dn"), "dn", "sub", 0, 0))) { + if(!($result = uniLdapSearch($ds, "ou=RIPM,".$suffix, "(&(|(objectclass=Host)(objectclass=dhcpPool))(hlprbservice=$rbsDN))", array("dn"), "dn", "sub", 0, 0))) { # redirect(5, "", $ldapError, FALSE); echo "no search"; die; @@ -436,7 +436,7 @@ function add_pxe($pxeDN,$pxecn,$rbsDN,$pxetimerange,$pxeattribs,$filenames,$conf } } } - #print_r($pxeentry); echo "<br>"; + print_r($pxeentry); echo "<br>"; print_r($pxeDN); echo "<br>"; if (ldap_add($ds,$pxeDN,$pxeentry)){ return 1; |