Communauté Informatique NDFR.net : Serveur FTP - Unix/Linux Client
 
Serveur FTP
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 10-12-2003, 09:58
Magi-X's Avatar
Magi-X Magi-X is offline
Modérateur
1 Highscore
 
Join Date: 31-10-2002
Location: Bruxelles
Age: 41
Posts: 816
Send a message via MSN to Magi-X
Re: Serveur FTP

Hello, bon j'ai pris comme serveur ftp "proftp" ! Mais j'ai quelque probleme !

Mais j'ai un probleme ! Donc le but de lexercices est de creer un ptit serveur ftp pour un compte donc user + pass ! et un anonymous !

Pour le compte avec le user+pass ca fonctionne ! C'est pour le anonymous que j'ai des bleme !

Voici lerreur dans mon ftp (gftp):

Quote:
220 ProFTPD 1.2.9 Server (ProFTPD Default Installation) [magixport.lan]
USER anonymous

331 Anonymous login ok, send your complete email address as your password.
PASS xxxx
530-Unable to set anonymous privileges.
530 Login incorrect.
Disconnecting from site localhost
Et voica la config de mon proftpd.conf

Quote:
# 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 "ProFTPD Default Installation"
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 magix
Group ti

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>

# Our "basic" anonymous configuration, including a single
# upload directory ("uploads")
<Anonymous ~ftp>

# Allow logins if they are disabled above.
<Limit LOGIN>
AllowAll
</Limit>

# Maximum clients with message
MaxClients 5 "Sorry, max %m users -- try again later"

User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>

# An upload directory that allows storing files but not retrieving
# or creating directories.
<Directory uploads/*>
<Limit READ>
DenyAll
</Limit>

<Limit STOR>
AllowAll
</Limit>
</Directory>
</Anonymous>
Si quelqu'un a une idee !

Merci
Reply With Quote
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 6 "Votre serveur a mis fin à la connexion de manière inattendue" Djibril Windows NT4/2000/XP Client 2 26-05-2004 11:55
Partage Internet serveur Mandrake 91 + clients XP Pro = lent !!! taaroa Unix/Linux Client 2 22-04-2004 08:58
Comment bien configurer un serveur ? Arnaud Internet, Réseaux et Sécurité 8 14-04-2004 17:23
probleme entre mon serveur ftp et mon routeur sebounet1 Internet, Réseaux et Sécurité 3 22-02-2003 17:20
Plz les difference entre Win 2000 Serveur , adv serveur , data center ... Dhryll Windows NT4/2000/XP Client 5 15-01-2003 14:25

All times are GMT +2. The time now is 13:56.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.