I love Free Software!

Pages

Funny Quotes to Think

When you say "I wrote a program that crashed Windows", people just stare at You blankly and say "Hey, I got those with the system, for free"

-Torvalds, Linus(1995-03-08)-

Saturday, May 29, 2010

Sync your samba password using roundcube password plugin

Why I require this patch ?

Roundcube password plugin does not sync samba password. This patch can sync your samba password using roundcube password plugin

Apply this patch at your own risk . Dont forget to use --dry-run option before running this patch

How  to apply patch ?

  • Download patch file from download link listed below.
  • Copy patch file to directory /usr/share/roundcube/plugins/password/drivers.
  • For a safer side take a backup of your original ldap.php file.

        # cp ldap.php ldap.php.org
  • Now patch your ldap.php file.  


        #  patch -p0 < rcldappasswd.patch  
 
Where can I download this patch ?

I have uploaded the patch in below location.

Download RCLdapPatch

Saturday, May 8, 2010

Configure Modem Dial-in Debian

Install ppp and mgetty

aptitude install ppp pppconfig mgetty

Configure ppp using pppconfig

create users in /etc/ppp/pap-secrets

# client        server  secret                  IP addresses
dial-in              *       dial-in                       *


Configure /etc/mgetty/mgetty.config. if your modem is connected to /dev/ttyS0. Comment below lines

port ttyS0
  debug 3
  data-only y


Configure /etc/mgetty/dialin.config
add below lines at end of file
all

Check following lines are uncommented in /etc/mgetty/login.config
/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap login debug

Add below lines to /etc/inittab
s0:23:respawn:/sbin/mgetty ttyS0

Now dial from your windows machine. For authentication you can use user dial-in