Lifesigns
Last week has been a tough week.. i've been on the rocks..
inspite of everything.. i could say, I will live; i will survive.
Writing
I'm thinking of writing something about "The God I serve and the people I know".
This week I look back about a lot of events in my life and I would say that many of the things
happened to me revolves around the "The God I serve and the people I know".
I'm sure that my future experience will also revolve on this.
Radical Worship
I missed those times... just worshipping God all out.. to the last breathe of the energy He gave me.
Even though, during those times... I struggled with a particular sin at that time, yet I would say
God was pleased in my heart. It was all out... it was like an explosion from within...uncontained passion.
Today, I am no longer such a worshipper... people probably call it.."mature" but
I think its mediocrity in terms of worship.
It started when I begun to think of what people think and look more on how sinful I am... rather than thinking of what God thinks and how merciful God is and how awesome He is.
I need to unlearn this.. get this out from my system.. it would take time but I'm sure it will happen.
Sex and sexuality, and lust
In UP, we talked about sex and sexuality often. I think about it a lot of times... Someone told me that men thinks more about sex more than women. I haven't ask a woman to confirm this but I think men think of sex more often than women. It's probably because men are very visual creatures. I could say it is a weakness of most men - I mean, not weakness for sex but weaknes in the perversion of the sex[lust].
Love and love-making
My friend said that studies show that hotels and inns have more customers during valentines day than any other day. I'm not sure how true this is but i think it makes sense; People are confused between the difference of loving and love-making. People think that just because they love each other... they can now make love. I think.. people should get married before having sex.
No marital seal, no sex.
One person told me that marriage is just a licensed to have sex. She went further on saying that marriage is a licensed prostitution. Do i agree? Well, i think it depends on how you view sex. If you look at sex as just a physical intercourse then those statements above have a good point. But if you look at sex as more spiritual union than physical union then your opinion might change. I heard one prostitute said something like, it's like a part of her is taken everytime she has sex with men. I think, such statement is hint/rumour that there is a part of sex that's spiritual. If having sex is also spiritual then isn't getting married a rightful seal to that pact?
I think God (inventor of sex) intends sex to be is special.
I have read an article that cited studies upon studies that couples who waited to have sex after marriage enjoyed sex more than those who didn't.
When I get married I think I'll write more of this.:)
Sunday, February 26, 2006
Tuesday, February 14, 2006
Play of words
Patient: you know... what... im really nuts..
Patient: if im going to look at myslf... im going to wack myself down..
Patient: still with all the common sense.... it seems that there is no common sense at all.
psychiatrist: why?
psychiatrist: are u going to wack urself?
Patient: no way.... i am nuts but sane enough to know... that it's crazy.
Patient: if im going to look at myslf... im going to wack myself down..
Patient: still with all the common sense.... it seems that there is no common sense at all.
psychiatrist: why?
psychiatrist: are u going to wack urself?
Patient: no way.... i am nuts but sane enough to know... that it's crazy.
Saturday, February 11, 2006
Thr3e

Thr3e by Ted Dekker.
My mind got twisted while reading this book.
Good, bad, and everything in between. :)
Some thoughts:
After reading the book, I thought of people [including myself] who might be like Kevin Parson.
Thursday, February 09, 2006
Failing Forward

Failing Forward by John Maxwell
Some Thoughts:
Before, I view failure as an enemy; I am afraid of failing. But I realized that failure is a good teacher, only if you listen. You can fail backward or fail forward; how to do either of them is determined by us. Today, when I fail [though it often hurts] I feel a since of joy knowing that I am growing and learning. In that way, I can say I fail forward.
Your Best Life Now

I enjoyed this book: Your Best life Now by Joel Osteen.
Some Thoughts: Waiting for God's timing. Waiting is not easy for me. I'm an impatient young man. I want answers and I want it immediately. However, God has an appointed time and God's timing is always the best. I realized that I don't have to be pressured when it seems that things are turning up so slow. Or when things seemed not moving. God has His own timing. We should pray and let God do His thing. Sometimes, I do things to sort of "help God" make my dreams come to pass. But you know, we cannot "help God", because God doesn't need our help. Waiting on God means "confident expectation". We are waiting and we are doing it with great confidence that what God promised will surely come to pass. The Bible says that the vision will happen and it will not be a second late.
Rich dad Poor Dad and Rich Dad's Cash Flow Quadrant

Rich Dad, Poor Dad and Rich Dad's Cash Flow Qudrant by Robert Kiyosaki and Sharon Lecter.
These are the first books I've read concerning Financial education.
Some Thoughts:
- Rich Dad would ask," How can I afford it?" instead of saying "I can't afford it." He doesn't mean buy anything you want but He is pointing out to the mind set.
- Money is a tool. It is not a god. So don't work for money, let your money work for you.
- FEAR and GREED - these drives people.
- Control your emoption, esp when it comes to money.
- Do not be afraid to be disappointed.
Wednesday, February 08, 2006
Links that helped me today: (on LDAP Aunthentication)
http://forum.mamboserver.com/showthread.php?t=55&page=5
Well, I'd bet the answer to the ldap_connect() error shows up in one these google links. Especially the 2nd one. But anyway, I'll cool down now...The error message you're seeing probably means you don't have ldap support enabled for php. If you're on windows, you should:- In php.ini, uncomment the line:extension=php_ldap.dll- Copy the php_ldap.dll file in your winnt\system32 directory- Restart your web server.
http://forums.devshed.com/apache-development-15/apache-mod-auth-ldap-on-w2k-a-solution-151253.html
Apache & mod_auth_ldap on W2k - a solution
Lots of people get headaches from this. At last I found a working config for me. Let me summarize and I hope that it helps out some of you.1. Install e.g. Apache2/win32 from httpd.apache.org2. download mod_auth_ldap.dll for either apache 1 or 2 from :http://www.muquit.com/muquit/softwa...ap_apache2.htmlDo not use the mod_auth_ldap.so from the apache distro... it crashes your server.3. download the iPlanet 5.08 LDAP SDK (see link on the muquit page) from the SUN site.4. copy the mod_auth_ldap.dll file in your modules dir, together with ALL THE .DLL and .LIB FILES FROM THE LDAP SDK ZIP FILE.5. Do not forget to add :LoadModule auth_ldap_module modules/mod_auth_ldap.dllLoadModule ldap_module modules/util_ldap.soto your list of modules to load6. configuration (kinda how it was for me) :
http://www.scit.wlv.ac.uk/~jphb/sst/basics/ldap.html
All forms of Apache authentication will use the .htaccess file, if present in a directory. Here is a .htaccess file for LDAP authentication.
AuthType Basic
AuthName "Access Test"
LDAP_Server ldapserver.wlv.ac.uk
UID_Attr uid
Base_DN "ou=2kusers,dc=unv,dc=wlv,dc=ac,dc=uk"
require valid-user
http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html#req
Install compiled/supplied DLL in Windows MS NT/2000 Download and extract the zip file containing the module (unless you compiled the DLL yourself). The supplied zip file has the following files: mod_auth_ldap_dll/
mod_auth_ldap_dll/mod_auth_ldap.dll - non debug version
mod_auth_ldap_dll/mod_auth_ldap.dll.debug - debug version
mod_auth_ldap_dll/README
The debug version of the module writes debug messages in the server error_log file. So you should use this module first, when you're sure that the module works properly, replace it with the non debug version.
Copy the debug version of the module in the Apache modules directory first, e.g.copy mod_auth_ldap.dll.debug c:/Apache/modules/mod_auth_ldap.dll
Modify the file httpd.conf and put the following lines:
LoadModule ldap_auth_module modules/mod_auth_ldap.dll
Well, I'd bet the answer to the ldap_connect() error shows up in one these google links. Especially the 2nd one. But anyway, I'll cool down now...The error message you're seeing probably means you don't have ldap support enabled for php. If you're on windows, you should:- In php.ini, uncomment the line:extension=php_ldap.dll- Copy the php_ldap.dll file in your winnt\system32 directory- Restart your web server.
http://forums.devshed.com/apache-development-15/apache-mod-auth-ldap-on-w2k-a-solution-151253.html
Apache & mod_auth_ldap on W2k - a solution
Lots of people get headaches from this. At last I found a working config for me. Let me summarize and I hope that it helps out some of you.1. Install e.g. Apache2/win32 from httpd.apache.org2. download mod_auth_ldap.dll for either apache 1 or 2 from :http://www.muquit.com/muquit/softwa...ap_apache2.htmlDo not use the mod_auth_ldap.so from the apache distro... it crashes your server.3. download the iPlanet 5.08 LDAP SDK (see link on the muquit page) from the SUN site.4. copy the mod_auth_ldap.dll file in your modules dir, together with ALL THE .DLL and .LIB FILES FROM THE LDAP SDK ZIP FILE.5. Do not forget to add :LoadModule auth_ldap_module modules/mod_auth_ldap.dllLoadModule ldap_module modules/util_ldap.soto your list of modules to load6. configuration (kinda how it was for me) :
http://www.scit.wlv.ac.uk/~jphb/sst/basics/ldap.html
All forms of Apache authentication will use the .htaccess file, if present in a directory. Here is a .htaccess file for LDAP authentication.
AuthType Basic
AuthName "Access Test"
LDAP_Server ldapserver.wlv.ac.uk
UID_Attr uid
Base_DN "ou=2kusers,dc=unv,dc=wlv,dc=ac,dc=uk"
require valid-user
http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html#req
Install compiled/supplied DLL in Windows MS NT/2000 Download and extract the zip file containing the module (unless you compiled the DLL yourself). The supplied zip file has the following files: mod_auth_ldap_dll/
mod_auth_ldap_dll/mod_auth_ldap.dll - non debug version
mod_auth_ldap_dll/mod_auth_ldap.dll.debug - debug version
mod_auth_ldap_dll/README
The debug version of the module writes debug messages in the server error_log file. So you should use this module first, when you're sure that the module works properly, replace it with the non debug version.
Copy the debug version of the module in the Apache modules directory first, e.g.copy mod_auth_ldap.dll.debug c:/Apache/modules/mod_auth_ldap.dll
Modify the file httpd.conf and put the following lines:
LoadModule ldap_auth_module modules/mod_auth_ldap.dll
Blink

Another Ted Dekker novel called Blink.
Some thoughts:
God is beyond time. He is not subject to time.
Quote: "In a battle of wits, never fight with an unarmed man."
Monday, February 06, 2006

About a week ago, I finished reading, "It's not about me." by Max Lucado.
Some thoughts:
The part of the book that strucked me the most is when Max talk about a tour guide of a museum: What the tour guide usually do is that, the tour guide introduces the painting and the painter then steps back. But some time later, the guide would take the glory of the painter to himself. After the "ohhs" and "ahhs" of the crowd becuase of their amazement, the guide would say, "Thank you"; as if he is the painter. Then the time came where the guide would block the painting and face the crowd with a biiiiig smile, as if he is the center of the amazement of the crowd. When the director of the museum sees this he approach the guide and told him," This is not what I want you to do Joseph!". Ouch! Claiming the glory that's not mine. :) The glory belongs to God and God alone. It's not about us. We, priests of God, should step forward, introduce God and steps backward. The "Ohhhs and ahhhs" are for the Lord and not for the priests. It's not about me. It's about God.
The books is great. Calm, direct, and truthful to the title - It's not about me.
All glory and honor and praise belongs to our God!
Amen:)

I just finished reading Nightmare academy by Frank Peretti.
Some thoughts:
What is right and what is wrong? Who determines one from the other? What could be right for you may not be right for me.
These are common statements in times such as today, where a lot of people adhere to the philosophy of the "Relativity of Truth". Is truth really relative? Is right and wrong relative?
Frank Peretti explored this issues and gave a preview - effect when the line between right and wrong gets blurred. I don't want to elaborate read is for yourself.:)
One philosopher once said," Truth is truth in all possible worlds".
Jesus said, "I am the way, the Truth, and the Life...". Would you believe Him?
Friday, February 03, 2006
Back end - LDAP password authentication
$ldapserver = ldap_connect("ldapserver.wlv.ac.uk");
if(!$ldapserver)
{
print "
connection error";
exit(0);
}
$bind = ldap_bind($ldapserver);
if(!$bind)
{
print "
bind error";
exit(0);
}
$base_dn = "DC=unv,DC=wlv,DC=ac,DC=uk";
$filter = "cn=" . $userid;
$inforequired = array("employeeType",
"department","employeeID","mail","givenName","sn");
$result = ldap_search($ldapserver,$base_dn,$filter,$inforequired);
$info = ldap_get_entries($ldapserver,$result);
if(!$result)
{
print "
anonymous search failed";
exit(0);
}
if($info["count"] == 0)
{
print "
User unknown";
exit(0);
}
if($info["count"] > 1)
{
print "
More than one such user - report to CITS";
exit(0);
}
$user_dn = $info[0]["dn"];
$bind = @ldap_bind($ldapserver,$user_dn,$_POST['password']);
if(!$bind)
{
print "
bind failed";
print "
user not authenticated";
exit(0);
}
ldap_close($ldapserver);
?>
if(!$ldapserver)
{
print "
connection error";
exit(0);
}
$bind = ldap_bind($ldapserver);
if(!$bind)
{
print "
bind error";
exit(0);
}
$base_dn = "DC=unv,DC=wlv,DC=ac,DC=uk";
$filter = "cn=" . $userid;
$inforequired = array("employeeType",
"department","employeeID","mail","givenName","sn");
$result = ldap_search($ldapserver,$base_dn,$filter,$inforequired);
$info = ldap_get_entries($ldapserver,$result);
if(!$result)
{
print "
anonymous search failed";
exit(0);
}
if($info["count"] == 0)
{
print "
User unknown";
exit(0);
}
if($info["count"] > 1)
{
print "
More than one such user - report to CITS";
exit(0);
}
$user_dn = $info[0]["dn"];
$bind = @ldap_bind($ldapserver,$user_dn,$_POST['password']);
if(!$bind)
{
print "
bind failed";
print "
user not authenticated";
exit(0);
}
ldap_close($ldapserver);
?>
Ioah -" You know... whenever I see myself in the future... I shiver. Probably, because of FEAR and EXCITEMENT. Fear - because I might get disappointed but I'm also excited to see my vision materialize."
LDAP Authentication - PHP
http://www.builderau.com.au/webdev/scripting/0,39024692,20271170,00.htm
// LDAP variables
$ldap[‘user’] = ‘uname’;
$ldap[‘pass’] = ‘password’;
$ldap[‘host’] = ‘ldap.example.com’;
$ldap[‘port’] = 389;
$ldap[‘dn’] = ‘cn’.$ldap[‘user’].’,ou=Department,o=Company Name’;
$ldap[‘base’] = ‘’;
// connecting to ldap
$ldap[‘conn’] = ldap_connect( $ldap[‘host’], $ldap[‘port’] )
or die( “Could not connect to server {$ldap[‘host’]} );
// binding to ldap
$ldap[‘bind’] = ldap_bind( $ldap[‘conn’], $ldap[‘dn’], $ldap[‘pass’] );
if( !$ldap[‘bind’] )
{
echo ldap_error( $ldap[‘conn’] );
exit;
}
// search for the user on the ldap server and return all
// the user information
$ldap[‘result’] = ldap_search( $ldap[‘conn’], $ldap[‘base’], ‘uid=’.$ldap[‘user’] );
if( $ldap[‘result’] )
{ // retrieve all the entries from the search result
$ldap[‘info’] = ldap_get_entries( $ldap[‘conn’], $ldap[‘result’] );
}
else
{
echo ldap_error( $ldap[‘conn’] );
exit;
}
if( $ldap[‘info’] )
{
// Add the user’s department name and email address
// to the session
$_SESSION[‘userdept’] = $ldap[‘info’][0][‘department’][0];
$_SESSION[‘usermail’] = $ldap[‘info’][0][‘mail’][0];
}
else
{
echo ldap_error( $ldap[‘conn’] );
exit;
}
// close connection to ldap server
$ldap_close( $ldap[‘conn’] );
?>
// LDAP variables
$ldap[‘user’] = ‘uname’;
$ldap[‘pass’] = ‘password’;
$ldap[‘host’] = ‘ldap.example.com’;
$ldap[‘port’] = 389;
$ldap[‘dn’] = ‘cn’.$ldap[‘user’].’,ou=Department,o=Company Name’;
$ldap[‘base’] = ‘’;
// connecting to ldap
$ldap[‘conn’] = ldap_connect( $ldap[‘host’], $ldap[‘port’] )
or die( “Could not connect to server {$ldap[‘host’]} );
// binding to ldap
$ldap[‘bind’] = ldap_bind( $ldap[‘conn’], $ldap[‘dn’], $ldap[‘pass’] );
if( !$ldap[‘bind’] )
{
echo ldap_error( $ldap[‘conn’] );
exit;
}
// search for the user on the ldap server and return all
// the user information
$ldap[‘result’] = ldap_search( $ldap[‘conn’], $ldap[‘base’], ‘uid=’.$ldap[‘user’] );
if( $ldap[‘result’] )
{ // retrieve all the entries from the search result
$ldap[‘info’] = ldap_get_entries( $ldap[‘conn’], $ldap[‘result’] );
}
else
{
echo ldap_error( $ldap[‘conn’] );
exit;
}
if( $ldap[‘info’] )
{
// Add the user’s department name and email address
// to the session
$_SESSION[‘userdept’] = $ldap[‘info’][0][‘department’][0];
$_SESSION[‘usermail’] = $ldap[‘info’][0][‘mail’][0];
}
else
{
echo ldap_error( $ldap[‘conn’] );
exit;
}
// close connection to ldap server
$ldap_close( $ldap[‘conn’] );
?>
Wednesday, February 01, 2006
Subscribe to:
Posts (Atom)