Ximian’s RedCarpet is an automated package update system for Linux.
Download and install from here:
http://www.novell.com/products/desktop/update.html
Articles, notes and random thoughts on Software Development and Technology
Ximian’s RedCarpet is an automated package update system for Linux.
Download and install from here:
http://www.novell.com/products/desktop/update.html
Samba allows Windows machines to access shared areas of a Linux filesystem.
These notes are for configuration on a RedHat 9.0 linux installation and assume that the SMB services are already installed.
The two SMB daemons are /usr/sbin/smbd and /usr/sbin/nmbd. These are started from init.d.
Check if the smb service is already setup to run automatically from init.d with:
chkconfig --list
Look for SMB in this list for the level that you intend it to run at (eg 3= multiuser text mode)
If it is not in the list, add it with:
chkconfig --add smb
Configure the service to start with:
chkconfig smb on
To startup the services now (only have to do this once), use:
./etc/init.d/smb start
Configuration is via the /etc/smb.conf file. Here is a sample basic config:
<code> [global] ; Uncomment this if you want a guest account ; guest account = nobody log file = /var/log/samba-log.%m lock directory = /var/lock/samba share modes = yes encrypt passwords = yes smb passwd file = /etc/smbpasswd [homes] comment = Home Directories browseable = no read only = no create mode = 0750 [tmp] comment = Temporary file space path = /tmp read only = no public = yes </code>
Test the config using:
testparm
– this validates that the file is correct.
Ensure ports 137, 138 and 139 are open on the Linux server. On my RedHat machine I config the firewall using Lokkit. Run this and to the list of open ports.
Further References:
Add the following line to you sendmail.mc file use SpamCop’s email blacklist filter on your sendmail email server:
FEATURE(`dnsbl', `bl.spamcop.net', `"Spam blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}')dnl
Regenerate your sendmail config with:
m4 sendmail.mc > sendmail.cf
then restart your sendmail server with
. /etc/init.d/sendmail restart
To block individual domains:
<code> ... exmapledomain1.com REJECT exampledomain2.com REJECT ...
<code> makemap hash /etc/mail/access.db < /etc/mail/access </code>
<code> # /etc/init.d/sendmail restart </code>
If you are getting local email (to local users, eg root) bounced back with errors stating ‘mail loops back to self’, ensure that the hostname
and domainname
map to localhost and localdomain respectively:
<code> hostname localhost domainname localdomain </code>
If you set these to be a hostname or domainname that you have for your MX DNS entry, this seems to give the error ‘mail loops back to self’