...making Linux just a little more fun!


This month's answers created by:

[ Amit Kumar Saha, Ben Okopnik, Kapil Hari Paranjape, René Pfeiffer, Paul Sephton, Steve Brown, Thomas Adam ]
...and you, our readers!

Still Searching

Samba access problem from winXP

J. Bakshi [j.bakshi at unlimitedmail.org]

Fri, 17 Jul 2009 00:51:53 +0530

Hello list,

I have configured a samba server which is a standalone file and printer sharing samba. I have no problem to use it from Linux. but strange problem from WinXP box. First of all the XP machine wait long to reach the share and though a mapdrive is possible to create for the share; it is immediately Disconnected after a reboot of the XP. More over a connected mapdrive lost its share path after approx 2 hrs. I am really very confused to see these strange problem in XP box.

Here is my config file I am using for samba ( collected from an online doc )

local master = no
admin users = adminsam
unix password sync = yes
force create mode =0774
utmp = no
smb ports = 139
domain logons = no
domain master = yes
os level = 55
passwd program = /usr/sbin/userpasswd %u
passwd chat = password: %n\n password: %n\n successfully.
   netbios name = ClarkConnect
   workgroup = Enterprise
   server string = ClarkConnect 
bind interfaces only = yes
interfaces = lo eth0 eth1
use client driver = yes
printcap name = /etc/printcap
load printers = yes
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
force create mode =0777
force directory mode =0777
force user = apache
deadtime = 10
#### modification, changing 2 to 1 to minimise log writing ###
debug level = 1
syslog = false
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
utmp = yes
#keep alive = 10
#deadtime = 5
max xmit = 4096
oplocks = yes
read raw = yes
write raw = yes
getwd cache = yes
# ----------
wins support = yes
wins server =
# Authconfig adds these
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u
#======== Share Definitions =====
#printing = cups
path = /tmp
browseable = yes
printable = yes
public = yes
guest ok = yes
comment = Public Shared Folder
path = /home/shared
browseable = yes
guest only = yes
writable = yes
public = yes
#### for www folder with RW access ########
comment = WWW
path = /var/www/html
browseable = yes
guest only = no
writable = yes
public = no
force create mode =0777
force directory mode =0777
force user = apache
deadtime = 10
####### end #######

Here is some test. the samba server IP is

[ ... ]

[ Thread continues here (1 message/4.40kB) ]

Our Mailbag

wallpaper support in idesk

J. Bakshi [j.bakshi at unlimitedmail.org]

Sat, 18 Jul 2009 21:32:02 +0530


Is there anyone using icewm+idesk combination ? I have seen that wallpaper support is already there in idesk; more over changing the wall paper from a source folder is also possible. But is it all theory ? I can't get the wallpaper working in box. I am using idesk 0.7.5-4.

Any success from anyone ?

Please CC to me

[ Thread continues here (10 messages/12.22kB) ]

More GSoC

Jimmy O'Regan [joregan at gmail.com]

Fri, 10 Jul 2009 21:34:43 +0100

I wrote back in March, excited that Apertium had been chosen as one of the organisations in this year's GSoC (http://linuxgazette.net/161/lg_mail.html :)

It's been an interesting experience. We're at the midterm evaluations now, and 8 of our 9 students look like they'll pass - I know I gave my student a glowing review, which is no less than he deserves. The student who looks like likely to fail leaves a bit of a bad taste in our mouths, because he not only was a member of our community beforehand, but a few of us specifically talked him into it, and heck, we got drunk with him at a workshop in Dublin. Barring the (frankly, unlikely) scenario that he has actually been busily working away in some remote location without 'net access, I hope he'll do the honourable thing and bow out gracefully - I don't think any of us particularly like being in the position of having to choose between either feeling like we've betrayed this guy in some way or that we've helped him to steal money from Google.

But, all in all, it's been an interesting experience so far, and one that I'd recommend to anyone.

(Oh, and it might interest Rick a little to know that we have two 'Viking' projects - Nynorsk-Bokmål and Swedish-Danish :)

how to set domain name in debian ?

J. Bakshi [j.bakshi at unlimitedmail.org]

Sun, 26 Jul 2009 23:30:18 +0530

Dear list,

I have become confused about the domain name handling in debian. I have a suse box too. It is very easy to set the domain name in suse box " domainname <example.com> ". Similarly to set FQDN in suse " hostname <hostname>.<example.com>"

How to achieve this in debian ? No domainname command is there in debian (lenny). There are /etc/hosts and /etc/hostname but where can I save domain name ? and where to save FQDN ? I am really confused here. Please enlighten me. Thanks.

PS: Kindly CC me

[ Thread continues here (5 messages/6.25kB) ]

ffmpeg and libmp3lame issue in debain

J. Bakshi [j.bakshi at unlimitedmail.org]

Sun, 5 Jul 2009 11:52:38 +0530

Hello list,

I have upgraded my box to debian squeeze. And discover ffmpeg stops converting to .mp3 . I have libmp3lame installed ; more over it was running well before up-gradation. After doing some google serach I have found that libmp3lame support has been disabled in official debian package. Then I have found multimedia.debia.org repo where the ffmpeg is distributed with less strict license policy. but again vlc now broken after adding that repo in my sources.lst and updating due to library collision.

Is there any repo which provides the ffmpeg with mp3 support and still maintain the official debian naming scheme ? then I can use both vlc as well as ffmpeg.


Kindly cc to me

[ Thread continues here (3 messages/3.31kB) ]

Chris DiBona on the (Computational) Value of Sharing

Ben Okopnik [ben at linuxgazette.net]

Mon, 27 Jul 2009 08:57:18 -0500

This is a part of an interesting series at the Good/blog about the (X) value of sharing, with X being political, financial, artistic, etc. - by people who know those fields. E.g.:


* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *

Procmail help

terry tung [home2001inc at hotmail.com]

Tue, 30 Jun 2009 13:26:19 -0700

Dear Mr. James T. Dennis,

I read of your article on the web "The Answer Guy" and I think you can help me with my application.

I need help to write a program to sort out of some of my e-mail and auto response to buttons " accept" or "decline". I am not a dot generation and it will require too much efforts to start from the beginning. I am asking some one will write the application for me for a fee(appreciation). Can you help? Or, can you assign someone else to help? I use the regular hotmail in the window environment.


Terry Tung

[ Thread continues here (5 messages/5.25kB) ]

Linuxgazette article

Peter Clark [clarkp at mtmary.edu]

Tue, 30 Jun 2009 19:27:27 -0500

René Pfeiffer wrote:

>>> These attributes are used by the quota management system, which I didn't
>>> describe in the article. It is basically a web-based GUI where
>>> administrators can change these values. Some scripts read the quota
>>> values from the LDAP directory and write it to the Cyrus server by using
>>> the Cyrus Perl API. mailSizeMax isn't used in the setup, but again it
>>> was supposed to be.
>> Is the management system based off your "cyrus_syncboxes.pl"? Could you 
>> describe the system you used?
> The management system consists of a couple of Perl scripts.
> cyrus_syncboxes.pl only synchronises the mail quota settings from the
> LDAP tree with the settings on the Cyrus server. The other scripts are
> CGIs and part of a web management UI. Admins can create, delete and
> modify accounts. A rough overview over the functionality can be found
> here:
> http://web.luchs.at/information/docs/mailadmin_prozesse.pdf
> I am trying to publish the scripts as soon as I got the time to review
> the code and remove everything specific to the servers they manage.

Did you ever get around to publishing the scripts mentioned above?

What web management UI are you using? Was it something like phpldapadmin or some custom job?

What webmail system are you using with this setup?

Cheers, Peter.

[ Thread continues here (3 messages/8.39kB) ]

Erratically dying 'pppd'

Amit Saha [amitsaha.in at gmail.com]

Thu, 9 Jul 2009 14:07:47 +0530


I use PPP to use a GPRS and/or CDMA modem. The 'pppd' often dies abruptly, blurting out "modem has hung up".

I am not suspecting a network issue as it doesn't happen on Windows. Any idea how can I find out the reason and may be then correct it ?



Journal: http://amitksaha.wordpress.com,
Micro-blog: http://twitter.com/amitsaha
Freenode: cornucopic in #scheme, #lisp, #math,#linux, #python

[ Thread continues here (14 messages/20.95kB) ]

Talkback: Discuss this article with The Answer Gang

Copyright © 2009, . Released under the Open Publication License unless otherwise noted in the body of the article. Linux Gazette is not produced, sponsored, or endorsed by its prior host, SSC, Inc.

Published in Issue 165 of Linux Gazette, August 2009