| die letzten Änderungen * Seitenstruktur * Stichwortsuche :


logo_puschin.jpg

Startseite

Knowledge base



Kontakt

Impressum

Knowledge base - ftp

Knowledge base

11 Benutzer online Druckversion




zurück



ftp
proftpd einrichten mit tls und ldap

Proftpd ist zu beziehen unter : http://www.proftpd.org/

Hier die Konfigurationsdatei proftpd.conf :

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                      "[SERVERNAME] private ftp no anonymous login"
ServerType                      standalone
DefaultServer                   on

# Port 21 is the standard FTP port.
Port                            21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances                    30

# Set the user and group under which the server will run.
User                            ftp
Group                           ftp

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot
<Directory />
  AllowOverwrite                on
</Directory>

# Uncomment this if you would use TLS module:
TLSEngine                               on
TLSLog                                  /var/log/tls.log
TLSProtocol                             SSLv23
TLSOptions                              NoCertRequest
TLSRSACertificateFile                   /opt/proftpd/certs/proftpd.cert.pem
TLSRSACertificateKeyFile                /opt/proftpd/certs/proftpd.key.pem
TLSVerifyClient                         off
TLSRequired                             on

#
# ldap stuff
PersistentPasswd                off

LDAPServer                      "localhost"
LDAPDNInfo                      "[NSS DN]" "[NSS KENNWORT]"
LDAPDoAuth                      on "[SUCHBASIS]"
"(&(uid=%v)(objectclass=posixAccount))"
LDAPAuthBinds                   on

# LDAPDefaultUID                  33
# LDAPDefaultGID                  33
# LDAPDefaultAuthScheme           MD5
# LDAPHomedirOnDemandPrefix       /home
# LDAPHomedirOnDemand             on            0711
# LDAPForceHomeDironDemand        on


zurück



Knowledge base wurde zuletzt bearbeitet am 12.07.13 durch Frank

www.puschin.de
login

<body bgcolor='#FFFFFF' link='#000000' vlink='#000000' alink='#000000' text='#000000'><font face='Verdana' size='2'><strong>www.puschin.de</strong><br>Die Webseite http://www.puschin.de bietet eine interessante Webseite zu vielen Themen aus dem Bereich Linux und Windows. Man findet hier Tipps und Tricks zu cms php apache postfix openxchange tomcat windows linux firewall <br><br><font face='Verdana' size='2'><li><a href='cms.php?print=&aktion=thema_anzeigen&menue_id=191'>Startseite</a><font face='Verdana' size='2'><li><a href='cms.php?print=&aktion=thema_anzeigen&menue_id=63'>Knowledge base</a><font face='Verdana' size='2'><li><a href='cms.php?print=&aktion=thema_anzeigen&menue_id=57'>Kontakt</a><font face='Verdana' size='2'><li><a href='cms.php?print=&aktion=thema_anzeigen&menue_id=9'>Impressum</a></body>