Featured Post

How to create multiple Flat Rate shipping in Oscommerce?

If  there is a requirement where you want to create multiple shipping categories in Oscommerce that a user can select like No Shipping :  $0.00 Flat Rate Manhattan: $25.00 Flat Rate Overnight Manhattan: $30.00 Then just follow the steps given below: Create copy of “flat.php” Ex: flat2.php,flat3.php in catalog\includes\modules\shipping and catalog\includes\languages\english\modules\shipping. Open catalog\includes\languages\english\modules\shipping\flat2.php and replace lines with the following. [...]

Read more →

LDAP-Drual Integration

Posted by admin | Posted in Open source technology | Posted on 01-08-2009

Tags: , , , ,

0

LDAP Integration Module (ldap_integration-5.x)  is a set of three modules:

  • ldapauth
    It implements basic LDAP integration and sets up the environment for the other optional modules.
  • ldapgroups
    Extends the basic functionality and integrates LDAP Groups into Drupal Roles
  • ldapdata
    Extends the basic functionality and allows for the management of LDAP Attributes from within Drupal.

Enable ldap_inetgration in Administer >> Site building >> Modules.

Configure LDAP Server at Administer >> Site Configuration >> LDAP Integration

Enter LDAP server,port, base dn,user and mail attribute, save the configuration). So next time when user loggs in drupal will check users in LDAP.

Configure LDAP Data at Administer >> Site Configuration >> LDAP Data

Map LDAP to user profile attribute.

Configure LDAP Data at Administer >> Site Configuration >> LDAP Groups

Select “Groups exist as LDAP entries where a multivalued attribute contains the members’ Cns” and inside “Nodes containing groups (one per line):” type the name of the node where drupal groups are stored. In “Attribute holding group members: “ type “memberUid”. Save Configuration.

Configure LDAP Data at Administer >> Site Configuration >> LDAP Registration

Type server name and base-dn of the users in LDAP.

Recomplie PHP with LDAP support

Posted by admin | Posted in Linux solutions | Posted on 01-08-2009

0

Step1
apt-get update

Step2
sudo apt-get install php5-ldap

Step3
sudo apache2ctl restart

Step4
sudo a2enmod authnz_ldap

One step installation of apache,php,mysql,phpmyadmin

Posted by admin | Posted in Linux solutions | Posted on 01-08-2009

Tags: , , ,

0

Step1.

sudo apt-get install apache2 php5 mysql-client-5.0 mysql-server-5.0 phpmyadmin libapache2-mod-php5 libapache2-mod-auth-mysql php5-mysql

Step2

sudo /etc/init.d/apache2 start

* Works in Ubuntu