Linux
How to Integrate LDAP to Drupal
Today I have an urgent duty to integrate LDAP authentication to Drupal. Fortunately, ldap_integration module saved my life. Anyway, in order to make it work under Drupal 4.7.0 beta 6, I have to patch a bit regarding _user_authenticated_id(). This function has been replaced by a constant value DRUPAL_AUTHENTICATED_RID.
Index: ldap_integration.module
sugree's blog
Add new comment
Read more
1739 reads
การลง Tomcat บน CentOS
- zendz's blog
- 1 comment
- Read more
- 6427 reads
Common mistake in squid.conf
Squid is an open-source web proxy cache. It is widely used in enterprise network with high traffic through web service to reduce traffic load and sometimes to prevent access to prohibit web sites. Usually, you might use Squid as just a cache, there is no problem. Whenever you want to block access through outside via access control list in Squid, you have to verify what you have done. For example, you want to prevent end-users to download virus, worm, spyware, malware and other possible unwanted files. As a result, you add below ACL.
acl block-download urlpath_regex -i \.exe$ \.zip$ \.iso$ \.avi$ \.mpeg$ \.wma$ \.vbs$ \.com$ \.vbe$ \.sys$ \.diz$ \.pif$ \.bat$ \.scr$ \.cmd$ \.dat$;
- sugree's blog
- Add new comment
- Read more
- 1513 reads
The CentOS 4.3 has released!!!
The CentOS 4 has released new major version to 4.3. Now availability for i386, x86_64 and ia64 and s390, s390x, alpha, ppc and sparc inprogress build pkgs for announced later.
This's version is upgrade and update some features.
- Including yum-plugin-fastestmirror into released (CentOS-Base.repo)
- Add and support Frysk, InfiniBand Architecture (IBA), and z/VM hypervisor.
- Update security some packages.
The Frysk is analysis tools (RH call execution-analysis technology) some as DTrace project of Sun MicroSystem. But the Dtrace support (solaris,opensolaris) only. If you want to know Frysk or Dtrace please follow link in below.
- zendz's blog
- Add new comment
- Read more
- 1709 reads
How to fix corrupt partition table
Have you ever seen 80 GB free space in 15 GB hard disk drive? I have just seen in my very old hard drive. I would like to install Ubuntu 5.10 into this drive. Unfortunately, the process always hangs during formatting. I also tried to use only first 15 GB with no luck. My thought is there might be something wrong in the partition table and I have to clear them all. Fortunately, Ubuntu comes with lots of hard disk utilities such as fdisk, cfdisk, sfdisk, parted, and hdparm.
First of all, I tried to see its cylinder, head, and sector recognized by BIOS and kernel. hdparm -i and hdparm -I shown that raw information and current information are different. Something wrong here. So I should make partition table with the correct information. parted and fdisk are not useful for this situation. Instead, I have to use cfdisk or sfdisk which allows me to override cylinder, head, and sector by the correct ones.
- sugree's blog
- Add new comment
- Read more
- 925 reads
วิธีง่ายๆ ในการใช้งาน vim syntax color
- zendz's blog
- Add new comment
- Read more
- 2493 reads
Recent comments
2 years 30 weeks ago
2 years 35 weeks ago
2 years 36 weeks ago
2 years 36 weeks ago
2 years 36 weeks ago
2 years 39 weeks ago
2 years 39 weeks ago
2 years 39 weeks ago
2 years 39 weeks ago
2 years 39 weeks ago