Browse Source

started work on ldap qr code

master
i am da real crt yes 5 months ago
parent
commit
6bb80551ea
  1. 21
      app/gswave/index.php

21
app/gswave/index.php

@ -110,6 +110,27 @@
$xml .= "</Account>";
$xml .= "</AccountConfig>";
$ldapxml = "<?xml version='1.0' encoding='utf-8'?>";
$ldapxml .= "<LdapConfig version='1'>";
$ldapxml .= "<Server>".$_SESSION["ldap"]["qr_server"]["text"])."</Server>";
$ldapxml .= "<Port>".$_SESSION["ldap"]["qr_port"]["text"]."</Port>";
$ldapxml .= "<Path>".$_SESSION["ldap"]["qr_path"]["text"]."</Port>";
$ldapxml .= "<Name>".$_SESSION["ldap"]["qr_username"]["text"])."</Name>";
$ldapxml .= "<Secret>".$_SESSION["ldap"]["qr_password"]["text"]."</Secret>";
$ldapxml .= "<FilterNum>".$_SESSION["ldap"]["qr_filternum"]["text"]."</FilterNum>";
$ldapxml .= "<FilterName>".$_SESSION["ldap"]["qr_filtername"]["text"]."</FilterName>";
$ldapxml .= "<Version>".$_SESSION["ldap"]["qr_ldap_version"]["numeric"]."</Version>";
$ldapxml .= "<NamePro>".$_SESSION["ldap"]["qr_name_attribute"]["text"]."</NamePro>";
$ldapxml .= "<NumPro>".$_SESSION["ldap"]["qr_num_attribute"]["text"]."</NumPro>";
$ldapxml .= "<DisplayName>".$_SESSION["ldap"]["qr_display_name"]["text"]."</DisplayName>";
$ldapxml .= "</LdapConfig>"
}
//yea i will have to go and recycle this aswell to make it generate the ldap code aswell

Loading…
Cancel
Save