Unix Tools and Applications

A number of tools and servers / daemons run on various flavors of Unix, Linux and BSD. Since the following hints are independent from the operating system, they are listed on this common page.

Samba

One of the most cumbersome tasks with Samba is setting the correct charset. Everything works fine as long as only Windows clients connect, partly due to the fact that Windows uses UTF-8 by default (and Samba does the same since version 3).

Server

The parameter unix charset sets the charset which the Unix system Samba runs on uses.

Clients


CIFS (Common Internet File System)

openSUSE 10.2 finally dropped smbfs support, forcing users to switch to cifs. The lack of documentation (not just a man page) along with features like the "unix extensions" make it a pain to configure

To set file access rights via file_mode and dir_mode, the Unix extensions have to be switched off on the Samba server:
Set unix extensions = no in the smb.conf file on the server.

Sample for mounting a remote Samba share:
//gate/samba /gate cifs user=wimmer,uid=wimmer,gid=users,file_mode=0777,dir_mode=0777,rw,iocharset=iso8859-15 0 0


Fax Server

To be done.


Sendmail (local delivery) -> postfix

To be done.


Tivoli

wlssrc show event sources
wrb manages rule bases
logger -p local1.err -t sec CRITICAL gruppe=smu Blafasel send event to Tivoli logfile adapter

Solaris

Mount CD-ROM

mount -F hsfs -o ro /dev/sr0 /cdrom
where /cdrom is the mount point.

Recursive directories under /net

Occasionally, recursive directories appear under /net (e.g./net/localhost/net/localhost/), which is the standard directory for the automounter. Killing (and disabling, if possible) the automounter followed by a reboot should remedy this problem.