<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.asyd.net/home/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.asyd.net/home/feed.php">
        <title>asyd.net docs:system</title>
        <description></description>
        <link>http://www.asyd.net/home/</link>
        <image rdf:resource="http://www.asyd.net/home/lib/images/favicon.ico" />
       <dc:date>2011-06-19T04:49:06+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.asyd.net/home/docs/system/apache"/>
                <rdf:li rdf:resource="http://www.asyd.net/home/docs/system/cfengine"/>
                <rdf:li rdf:resource="http://www.asyd.net/home/docs/system/ntp"/>
                <rdf:li rdf:resource="http://www.asyd.net/home/docs/system/postfix"/>
                <rdf:li rdf:resource="http://www.asyd.net/home/docs/system/samba"/>
                <rdf:li rdf:resource="http://www.asyd.net/home/docs/system/sendmail"/>
                <rdf:li rdf:resource="http://www.asyd.net/home/docs/system/squid"/>
                <rdf:li rdf:resource="http://www.asyd.net/home/docs/system/sudo"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.asyd.net/home/lib/images/favicon.ico">
        <title>asyd.net</title>
        <link>http://www.asyd.net/home/</link>
        <url>http://www.asyd.net/home/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.asyd.net/home/docs/system/apache">
        <dc:format>text/html</dc:format>
        <dc:date>2008-10-03T08:25:38+02:00</dc:date>
        <title>docs:system:apache</title>
        <link>http://www.asyd.net/home/docs/system/apache</link>
        <description>Some configuration sample

	*  mod_eaccess</description>
    </item>
    <item rdf:about="http://www.asyd.net/home/docs/system/cfengine">
        <dc:format>text/html</dc:format>
        <dc:date>2008-10-03T08:25:38+02:00</dc:date>
        <title>docs:system:cfengine</title>
        <link>http://www.asyd.net/home/docs/system/cfengine</link>
        <description>Cfengine is a GNU tool to help sysadmin's tasks. 

FIXME</description>
    </item>
    <item rdf:about="http://www.asyd.net/home/docs/system/ntp">
        <dc:format>text/html</dc:format>
        <dc:date>2008-10-03T08:25:38+02:00</dc:date>
        <title>docs:system:ntp</title>
        <link>http://www.asyd.net/home/docs/system/ntp</link>
        <description>Network Time Protocol

Multicast


My cisco (router or switch) send the current date via NTP multicast message, I use the
following configuration :


!
ntp peer 192.168.34.3
ntp source Vlan34
ntp authentication-key 1 mdr MY-SECRET-KEY
!
interface vlan34
  ntp multicast key 1
!</description>
    </item>
    <item rdf:about="http://www.asyd.net/home/docs/system/postfix">
        <dc:format>text/html</dc:format>
        <dc:date>2006-08-26T13:11:26+02:00</dc:date>
        <title>docs:system:postfix</title>
        <link>http://www.asyd.net/home/docs/system/postfix</link>
        <description>Sécurité

	*  Authentification par certificats

Postfix et les MDA évolués

	*  courier+dspam
	*  cyrus+dspam

Tips

	*  Configuration de base
	*  Blacklist DNS
	*  Tests des en-têtes
	*  Greylisting avec postgrey

Documentation associée

	*  Principe de SASL (Décembre 2003)
	*  SASL + LDAP sur FreeBSD (Décembre 2003)</description>
    </item>
    <item rdf:about="http://www.asyd.net/home/docs/system/samba">
        <dc:format>text/html</dc:format>
        <dc:date>2008-10-03T08:25:38+02:00</dc:date>
        <title>docs:system:samba</title>
        <link>http://www.asyd.net/home/docs/system/samba</link>
        <description>Unix users from ActiveDirectory



Install the following packages :

$ apt-get install winbind samba

Join the domain :

$ net rpc join -u Administrator -S &quot;server&quot;

Fetch the correct (Windows) domain name :

$ wbinfo -u

If you see the list of users, it's ok. Verify if there is winbind entry in /etc/nsswitch.conf

Put it in the /etc/samba/smb.conf config file

You can use the following PAM resources files :

auth required pam_winbind.so
account required pam_winbind.so
auth required pam_securett…</description>
    </item>
    <item rdf:about="http://www.asyd.net/home/docs/system/sendmail">
        <dc:format>text/html</dc:format>
        <dc:date>2008-10-03T08:25:38+02:00</dc:date>
        <title>docs:system:sendmail</title>
        <link>http://www.asyd.net/home/docs/system/sendmail</link>
        <description>Sample Makefile (written for Solaris)


CF_DIR=/usr/lib/mail/
M4=m4

sendmail.cf: sendmail.mc
        ${M4} -D_CF_DIR_=${CF_DIR} ${CF_DIR}m4/cf.m4 sendmail.mc &gt; sendmail.cf


Very simple sendmail.mc (Solaris again)


dnl vim: set syntax=m4 :

divert(0)

OSTYPE(solaris2)

define(`SMART_HOST', `mail.asyd.net')

MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl</description>
    </item>
    <item rdf:about="http://www.asyd.net/home/docs/system/squid">
        <dc:format>text/html</dc:format>
        <dc:date>2008-10-03T08:25:38+02:00</dc:date>
        <title>docs:system:squid</title>
        <link>http://www.asyd.net/home/docs/system/squid</link>
        <description>Install
OSCommandDebianapt-get install squidFreeBSDpkg_add -r squidOpenBSDcd /usr/ports/www/squid; make install clean
ACL


acl wifi_net src 10.69.0.0/255.255.0.0
http_access allow wifi_net


SNMP


 snmp_port 3401
 snmp_access allow squidsnmp
 acl squidsnmp snmp_community squidsnmp</description>
    </item>
    <item rdf:about="http://www.asyd.net/home/docs/system/sudo">
        <dc:format>text/html</dc:format>
        <dc:date>2008-10-03T08:25:38+02:00</dc:date>
        <title>docs:system:sudo</title>
        <link>http://www.asyd.net/home/docs/system/sudo</link>
        <description>Intro


For a (short) while now, sudo have a LDAP support, which allow to store a global sudoers in a LDAP Directory.

Note : The LDAP support doesn't require usage of *_Alias

Build


Just add the 

--with-ldap

 option to configure

Config


Edit the file /etc/ldap.conf (default) to have something looks like :</description>
    </item>
</rdf:RDF>
