diff options
Diffstat (limited to 'www/web2ldap/files/patch-ad')
-rw-r--r-- | www/web2ldap/files/patch-ad | 64 |
1 files changed, 37 insertions, 27 deletions
diff --git a/www/web2ldap/files/patch-ad b/www/web2ldap/files/patch-ad index be25133e5c52..8816378e7107 100644 --- a/www/web2ldap/files/patch-ad +++ b/www/web2ldap/files/patch-ad @@ -1,32 +1,42 @@ -*** sbin/web2ldap.py.orig Sat Jul 22 02:24:59 2000 ---- sbin/web2ldap.py Sat Jul 22 02:25:26 2000 +*** etc/web2ldap/web2ldapcnf/standalone.py.orig Wed Dec 20 15:09:50 2000 +--- etc/web2ldap/web2ldapcnf/standalone.py Fri Jan 12 00:12:39 2001 *************** -*** 1,4 **** -! #!/usr/bin/python +*** 6,12 **** + """ + + # User account name to setuid after being started as root +! run_username = 'wwwrun' + + # Contact mail address of the server admin when running stand-alone + server_admin = 'admin@web2ldap.de' +--- 6,12 ---- + """ + + # User account name to setuid after being started as root +! run_username = 'nobody' + + # Contact mail address of the server admin when running stand-alone + server_admin = 'admin@web2ldap.de' +*************** +*** 36,45 **** + debug_log = '/var/log/web2ldap/debug_log' + + # Where static documents reside +! document_root = '/usr/lib/web2ldap/htdocs/' + + # Path name of mime.types file +! mime_types = '/etc/mime.types' ######################################################################## - # web2ldap ---- 1,4 ---- -! #!/usr/local/bin/python + # SSL-options for running as stand-alone web server +--- 36,45 ---- + debug_log = '/var/log/web2ldap/debug_log' + + # Where static documents reside +! document_root = '/usr/local/web2ldap/htdocs/' + + # Path name of mime.types file +! mime_types = '/usr/local/web2ldap/etc/mime.types' ######################################################################## - # web2ldap -*************** -*** 10,17 **** - import sys,os - - if os.name == 'posix': -! # For finding web2ldapcnf.py in /etc/web2ldap on Unix systems -! sys.path.append('/etc/web2ldap') - else: - # For finding web2ldapcnf.py in system dirs on Windows systems - for i in ['SystemRoot','windir']: ---- 10,17 ---- - import sys,os - - if os.name == 'posix': -! # For finding web2ldapcnf.py in /usr/local/web2ldap/etc/web2ldap on FreeBSD systems -! sys.path.append('/usr/local/web2ldap/etc/web2ldap') - else: - # For finding web2ldapcnf.py in system dirs on Windows systems - for i in ['SystemRoot','windir']: + # SSL-options for running as stand-alone web server |