OK, since I reinstalled my server (CentOS 5.5 64 bit this time), I created the samba shares through the Mandriva Control Center. The very same problem happened. If I don't unmount the shares before shutting down, the system hangs for about 6 minutes. Fells like forever.