summaryrefslogtreecommitdiff
path: root/examples/LDAP/smbldap-tools/cgi/README
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-08-20 21:52:52 +0000
committerGerald Carter <jerry@samba.org>2003-08-20 21:52:52 +0000
commita750624f4d005e2bc415e86a38947a7fa10d0cb9 (patch)
tree206472fd4bc1af26969b85e2ac19dafe82774eff /examples/LDAP/smbldap-tools/cgi/README
parent8bfe26b62db2e671b143d93a5428f8fb64a9df05 (diff)
downloadsamba-a750624f4d005e2bc415e86a38947a7fa10d0cb9.tar.gz
samba-a750624f4d005e2bc415e86a38947a7fa10d0cb9.tar.bz2
samba-a750624f4d005e2bc415e86a38947a7fa10d0cb9.zip
checlking in initial version of 2.2 scripts so I can start updating them
(This used to be commit 766a5070d58ada7a871a7fab45b5f7e203264952)
Diffstat (limited to 'examples/LDAP/smbldap-tools/cgi/README')
-rw-r--r--examples/LDAP/smbldap-tools/cgi/README27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/LDAP/smbldap-tools/cgi/README b/examples/LDAP/smbldap-tools/cgi/README
new file mode 100644
index 0000000000..7a4fc0c02b
--- /dev/null
+++ b/examples/LDAP/smbldap-tools/cgi/README
@@ -0,0 +1,27 @@
+Description:
+ A cgi to allow users to change their passwords via a web browser.
+
+Installation:
+ Drop this into a cgi-enabled directory on your webserver.
+ Edit it and change the CONFIGURATION section to suit your environment.
+ READ THE NOTES SECTION.
+
+Notes: This script will run as the user who runs your web server. So, to invoke the smbpasswd call, you must implement sudo.
+ Example of /etc/sudoers:
+
+ # Host alias specification
+ # User alias specification
+ User_Alias PASSWD = apache
+ # Cmnd alias specification
+ Cmnd_Alias PASSWD = /usr/bin/smbpasswd
+ # User privilege specification
+ root ALL=(ALL) ALL
+ PASSWD ALL= NOPASSWD: PASSWD
+
+ This concept is probably very insecure and broken. That is why this is a 0.1 release. :)
+
+
+Feel free to drop me suggestions. I am a perl learner so I am always open to suggestions.
+
+Terry Davis
+tdavis@approbation.org