Samba Password: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
[['''Samba Password''']]
This zimlet allows you to change the password of your Samba-PDC setup.<br/>
This zimlet allows you to change the password of your Samba-PDC setup.<br/>
The idea is that you have Zimbra authenticating agains the Samba-LDAP backend, so you can have Single-Sing-On.
The idea is that you have Zimbra authenticating agains the Samba-LDAP backend, so you can have Single-Sing-On.
Line 10: Line 8:
  * You need to install the Samba::LDAP module, you can take my rpms from [http://www.it-linux.cl/pbruna/?p=6]
  * You need to install the Samba::LDAP module, you can take my rpms from [http://www.it-linux.cl/pbruna/?p=6]
  * You need to install smbldap-tools in the server where the cgi script is, and configure the files in /etc/smbldap-tools properly
  * You need to install smbldap-tools in the server where the cgi script is, and configure the files in /etc/smbldap-tools properly
'''The web Server'''
Im using the Apache server that comes with zimbra, i recommend this. You need to edit the httpd.conf of this Apache to let it execute the script. At the end of the /opt/zimbra/conf/httpd.conf file put:
  ScriptAlias /cgi-bin/ "/opt/zimbra/httpd-2.0.54/cgi-bin/"
  <Directory "/opt/zimbra/httpd-2.0.54/cgi-bin">
      AllowOverride None
      Options ExecCGI
      Order allow,deny
      Allow from all
  </Directory>

Revision as of 20:17, 9 November 2006

This zimlet allows you to change the password of your Samba-PDC setup.
The idea is that you have Zimbra authenticating agains the Samba-LDAP backend, so you can have Single-Sing-On.

Requirements

For this to work you need to install a perl-cgi script that i develop in a web server. This script has some requirements to:

* You need to install the Samba::LDAP module, you can take my rpms from [1]
* You need to install smbldap-tools in the server where the cgi script is, and configure the files in /etc/smbldap-tools properly

The web Server

Im using the Apache server that comes with zimbra, i recommend this. You need to edit the httpd.conf of this Apache to let it execute the script. At the end of the /opt/zimbra/conf/httpd.conf file put:

  ScriptAlias /cgi-bin/ "/opt/zimbra/httpd-2.0.54/cgi-bin/"
  <Directory "/opt/zimbra/httpd-2.0.54/cgi-bin">
     AllowOverride None
     Options ExecCGI
     Order allow,deny
     Allow from all
  </Directory>
Jump to: navigation, search