Active directory examples.
[ga4php.git] / example / activedirectory / index.php
diff --git a/example/activedirectory/index.php b/example/activedirectory/index.php
new file mode 100644 (file)
index 0000000..e0d5ea2
--- /dev/null
@@ -0,0 +1,19 @@
+<?php 
+/*
+ * This example shows how you might store user data directly into AD.
+ * AD has several attributes you can use for storing your own data, and
+ * thats what we use
+ */
+
+// set these
+$host = "";
+$binduser = "";
+$bindpass = "";
+$basecn = "";
+
+// this is here so i can keep my atributes somewhere in the tree and not have them float around on git/svn
+if(file_exists("../../../.dontappearingitandsvn.php")) require_once("../../../.dontappearingitandsvn.php");
+
+
+
+?>
\ No newline at end of file