Mount and Win Srv 2003

I had faced a problem with mounting Win Srv 2003 shares to linux box (particularly FC4). The usual way for me to mount was: mount -t smbfs -o username=user,password=pass //host/share /mount/point

This time it was giving me an error: cli_negprot: SMB signing is mandatory and we have disabled it.

After some searches in Google I found out about mount.cifs which solves all the problems. From now on, whenever I need to mount a share from Win Srv 2003 I use a command mount -t cifs -o user=username,pass=password //host/share /mount/point or an entry in /etc/fstab: //host/share /mount/point cifs auto,user=username,pass=password,rw 0 0

Kontact + MS Exchange + MS AD

Many times I had to do this and all the time I need to go and search on how to do it right. This time I decided to post the whole stuff here in order to look in one place, not million of them.

So, how to make Kontact to work with MS Exchange and MS Active directory:

1. Mail setup:

Enable the IMAP on the exchange and just add another account in the KMail part of Kontact. Than create additional identity to correspond to the exchange account (if not there yet) and use it.

I would also recommend to set \”Show only subscribed folder\” options to filter all the rest, other way it will be to much.

2. Contacts:

2.1: Exchange part:

In the KAddressBook part of Kontact add another resource, indicated as \”Addressbook on Exchange server (expiremental)\”. In the settings put webdav[s]://<server name>/exchange/<username> and correct information in username and password fields.

Press \”Update folder list\”, right-click on \”Contacts\” and check \”Enabled\”

2.2: MS Active Directory:

In the KAddressBook part of Kontact add another resource, indicated as \”LDAP\”. In the settings:

User: <username>@<domain>

BindDN: <username>@<domain>

Realm: <domain>

Password: <password>

Host: <AD host, usually PDC or BDC>

Port: 389

LDAP version: 3

Size limit: default

Time limit: default

DN: <domain DN, like dc=example,dc=com>

Filter: (mail=*)

Security: No

Authentication: Simple

Sub-tree query: enabled
I believe that this settings could be adjusted, but these ones are basic and working ones (at least for me)

3. Calendar, Todo…

Basically the setup is similar to setting Contacts in exchange, the only difference is that the additional resource should be added in the KOrganizer part of the Kontact and instead of enabling the \”Contacts\” folder you do it for \”Calendar\”, \”Todo\” and whatever else is in the list.

NOTE:

1. you have to have IMAP enabled on Exchange

2. you have to have WebDAV enabled on Exchange

3. you can not use WebDAV unless you login to Exchange webmail (some bugs with NTLM I think)

New HDD

I have experienced problems with my 40 GB Maxtor HDD for the past months. Although it was working it was making lots of strange noise, some times it failed to initialize and other stuff so I decided to replace it. This time I went with 200GB Samsung SATA drive. New harddrive is almost twice faster (all my old ones are PATA) and provides me with some more additional space :)

Apache misbehavior

I don\’t know what is going on wrong with my Apache server for the past couple of weeks. It is slowly increasing the usage of CPU and ends up with 99% of CPU time making system slow. If I stop it, I can steel see some processes alive and I need to use kill -9 to remove them since even killall is not working. After restart the CPU usage is ok, but slowly increasing and I end up with the same 99% in a day period.

Trying to find what is wrong, but can\’t. Logs seem to be ok.

If anyone has at least an idea – share it in comments because I am too tired of watching and restarting the service all the time.

Blog update

I have updated some parts of the blog as promised but I haven\’t finished all I wanted yet. From the changes made:

– update of WP to 1.5.2
– AdSense-Deluxe plugin installed
– AutoBanReferrer plugin installed
– Gallery2 installed (you should be able to see the link at the top menu)
– Some minor changes to the theme

I would also like to notice that pictures in the gallery are far from the best quality due to the facts that:
– I suck as a photographer
– I use a camera built in my PE910 which is 1.28 megapixels and it is not capable of doing pictures of a very high quiality.
– I do not yet get what settings should I use on my camera to make pictures look better

Anyhow, I believe that these pictures are still having some value so I\’d better have them than nothing :)