Showing posts with label LDAP. Show all posts
Showing posts with label LDAP. Show all posts

Tuesday, February 14, 2012

Intergrate CAS, LDAP with Drupal

Today I and Sis Salina successfully connect cas, ldap with our new drupal 7.
ALHAMDULILLAH :)

Actually this in not the actual objective that we want to do. Our first plan is to integrate cas, ldap with wordpress as per requested by our webmaster. The problem is, the configuration in wordpress are to complicated. Because of that we doing underground project which we intergrate it to drupal 7. Ha.. and then it is working..Hoyeee..

Here is the pros and cons; drupal can easily integrate with cas, ldap and it also have multisite features. While wordpress have problem during integrate with cas and ldap... where the we cannot login to wp-admin. Some more, we also have problem to setup multisite which need complex configuration and manual things... and really make myself headache.. Houuhh.. Hope our Web master do understand on this plan B.

Ok let move to another topic where is problem that we are facing during intergrate Ldap and Cas with ldap.

1. Install Drupal
a. The problem that we are facing here where we cannot see the mysql setting gui.
REMINDER: read the prerequisite so that you will not be crazy because cannot see the setting.
Solution : 1. Drupal 7: MySQL 5.0.15 or higher with PDO, SQLite 3.3.7 or higher
php5-pdo_mysql-5.3.10 (install this then the setting will come out)

2. Configure cas and ldap
a. Password for ldapadmin are wrong. Thanks to Sifu Zaman for his expertise in troubleshoot the password validity.
b. Cas need php-curl (extention)






Wednesday, January 20, 2010

Create LDAP Account

-> putty
login :
password :

$su -l
password :

pm-x-xxx# ll
#cd account-tools
#ll
#ee user0817


"right click" -> paste yang dah copy from notepad

#ll
#perl useraddcsv.pl
input file : user0817 <- guna apa2 (17/08)

create user account -razmi.chik
login account has been successful

#exit

Pastu pi kat server vpn -> cmd prompt
cd..
cd..
c: cd Program files
c: Program files > cd google... (->)
c:Program files >Google App.... > sync-cmd -a -c test.xml
.
.
.
.
.
.......lambat sampai c:Program files >Google App.... >
....pastu exit... DONE