Setting up Pure ftpd

I am running 6 Suse oes2 servers and one windows 2008r2
for zcm server that I just setup a couple of weeks ago.
These servers are up and in operation now.
Everything seems to be working great except for ftp. I have not
done any configurations on pure ftpd until today.
I am having problems getting pure ftpd to work.
1. I can login to my account but students cant.
When I login I simply use my user name. i.e. jdoe and it works.
when I do the same for students I get
"503 Login Authentication failed"
I have tried "jsmith" and "jsmith.students" same results.
My account is in a admin context and the student in the "students" context.
Faculty are in the "faculty" context.
2 Even When I can login I cant get my user home dir in EDIR.
3. Every time I login successfully or Un-successfully I have to restart
pure ftpd. If I just simply press enter at the login name same thing
happens. I have to restart ftp.
Thanks
Dave.

dmiller wrote:
> This may sound stupid buy my work with oes2 is limited.
No, not stupid at all. Everyone goes through a learning curve on a new
system. Until you have been working with OES for a while, things can
sometimes be a bit overwhelming.
There are some good resources listed in the sticky post. Have a look:
http://forums.novell.com/showthread.php?t=465099
> I've been with NetWare for the last 17 years.
That's good! You should already be familiar with many of the OES
services.
> Is "Pure Ftpd" the same as "Novell Pure Ftpd"?
Sort of...
Pure Ftpd will run on SLES. Novell Pure Ftpd may be tweaked a bit to
work better with OES. Generally speaking, when you see two similar
components and one has the Novell prefix, you want to install the
Novell version on an OES system.
> I looked in System
> Services and see that Pure-ftpd in not enable.
> It doesn't seem to make any differences though. The results are still
> the same.
Take a look at the TID to which I referred you in my previous post:
https://www.novell.com/support/kb/doc.php?id=3503915
> For OES 2 and 11, regardless of support pack:
>
> The first step that is needed (aside from the prerequisites mentions
> above) is to tell Yast's OES configuration to install "Novell FTP".
> Where are the ftp error logs located?
The main log file on a OES/SLES system is /var/log/messages. There lots
of other log files in /var/log and sub-directories. This is always a
good place to begin troubleshooting.
Kevin Boyle - Knowledge Partner
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...

Similar Messages

  • [pure-ftpd] Mysql

    I used pure-ftpd before, but this time it makes me crazy.
    I have set up Pure-ftpd, when I start it WITHOUT the line:
    MySQLConfigFile               /etc/pureftpd-mysql.conf
    It works, it starts up and runs.
    But when I comment out the line above, it fails to start.. I cant really seem to figure what it could be...
    The contents of the pureftp-mysql.conf is this:
    #MYSQLServer     localhost
    #MYSQLPort       3306
    MYSQLSocket     /tmp/mysql.sock
    MYSQLUser       user
    MYSQLPassword pass
    MYSQLDatabase   pureftpd
    MYSQLCrypt      cleartext
    MYSQLGetPW      SELECT Password FROM users WHERE User="L"
    MYSQLGetDir     SELECT Dir FROM users WHERE User="L"
    MYSQLDefaultUID 1000
    MYSQLDefaultGID 1000
    (obviously I filled in the user+pass)
    My database looks like this:
    CREATE TABLE `users` (
      `User` varchar(16) collate latin1_general_ci NOT NULL default '',
      `Password` varchar(64) collate latin1_general_ci NOT NULL default '',
      `Uid` int(11) NOT NULL default '-1',
      `Gid` int(11) NOT NULL default '-1',
      `Dir` varchar(128) collate latin1_general_ci NOT NULL default '',
      PRIMARY KEY  (`User`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
    Anyone that has some ideas, could it be a firewall issue (wich is NOT on my linux box) or is this really something going wrong in a config file?

    Ok, I managed to get the error message:
    421 Unknown authentication method: mysql:/etc/pmysql.conf
    [1] 4158
    [1]   Exit 252                /usr/sbin/pure-ftpd -l mysql:/etc/pmysql.conf
    Is the package capable of using mysql for authentication or is there a package made by someone that is capable of using mysql?

  • Noob question - pure-ftpd

    hi,
    i configured a local anonymous ftp server with pure-ftpd but every time i try to access the server i get this error:
    "421 Unable to set up secure anonymous FTP"
    thanks.
    (sorry for my poor english )
    Last edited by Narmil (2008-07-18 02:37:15)

    in /etc/pure-ftpd/pure-ftpd.conf (or where ever your conf file is stored) set TLS to 0 to turn off Auth over TLS/SSL or set to 1 to allow both plain and TLS/SSL authentication.

  • Manually add/modify users for pure-ftpd ftp server?

    Ave,
    Alright I downloaded, compiled & installed the latest pure-ftpd ftp server from pureftpd.org .. and it seems to have started off ok.
    Since there is no Leopard Compatible PureFTPD Manager out yet, I need to create/modify users manually. Does anyone know how to do that for Pure-FTPD FTP Server? I can't seem to find or see any .conf files or anything at all. How do you manage users for pure-ftpd through command line or configuration?
    Thanks!

    This seems like a good one:
    extra/bftpd 3.8-2
        Small, easy-to-configure FTP server
    From what i have read you can set individual configuration for each user or group:
    http://bftpd.sourceforge.net/doc/en/bft … html#ss3.1

  • [SOLVED] pure-ftpd no longer works after system update

    Hi,
    I made a system update today and since pure-ftpd doesn't want to start it just display "[FAIL]" but I don't have any error message.
    Is it possible to see the the error log of pure-ftpd ?
    Do you have any idea of how getting it working again?
    Thanks
    Last edited by clems45 (2011-04-02 21:41:23)

    I tried to check the version of pure-ftpd: pure-ftpd -V and it replies:
    pure-ftpd: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
    but mysql client is installed properly! I tried to reinstall it but it changed nothing

  • Pure-ftpd no longer works after recent package released (1.0.21-1)

    When I try to do pure-ftpd start I get the following message:
    421 Unable to switch capabilities : Operation not permitted
    Anybody have an idea? Thanks.

    Thanks byte - that was it. That module was not required in the previous release of pure-ftpd. In fact, I've never heard of it before.

  • Pure-ftpd - different permissions for virtual users?

    I seem not to be able to find out how I could declare different permissions for different virtual users. In /etc/pure-ftpd.conf exists one line to declare permissions using
    #umask file:folder
    umask 133:133
    umask matches the numbers to 'UserGroupOthers'.
    Now that virtual ftp users belong to a real existing unix user / group, I wonder who is Users, Group and Others?
    Users = virtual ftp user ?
    Group = virtual ftp group ?
    Others = anonymous visitors?
    How can I tune it, so one virtual user can add files - f.e. to be used by a scan station - while others shall only read, having anonymous disabled?
    This gives me a headache.

    Ok, let me think.  What did I do? 
    I had different users.  User X, Y and Z.
    Then, I had a shared directory above their home directories.
    While in the system, (not in pure-ftpd) I symlinked.
    (Note that doing something in user X's directory, like ln -s ../shared didn't work---I had to do ln -s /usr/home/ftpuser/shared).
    Then, I ~think I played with the permissions on shared and got what I wanted. 
    Then, after a few hours on this, they changed their minds about what they wanted, everyone was allowed to use shared, but different companies had to have their own directories, so I no longer have that config.
    For what it's worth, you can take a quick look at my page
    http://www.scottro.net/qnd/qnd-pureftpd.html
    but I don't think it covers that situation.
    HTH, though I doubt that it did.

  • Pure-ftpd setup (hosts.allow & hosts.deny)

    hello,
    i have installed pure-ftpd. i have it in daemon section in rc.conf and it's working (wisible from outside) althought my /etc/hosts.deny is
    ALL: ALL: DENY
    and in /etc/hosts.allow isn't any notice about pure-ftpd (just sshd).
    isn't that weird?
    thanx for answers.

    If your version of pure-ftpd was build without tcpwrappers, but might explain it.

  • Pure-ftpd-mysql socket error after latest mysql update [SOLVED]

    As we know the socket path in mysql have been moved from /tmp/mysqld.sock to /var/run/mysqld/mysqld.sock.
    The problem now with pure-ftpd-mysql is that it tries to use /tmp/mysqld.sock even though I have:
    MYSQLSocket /var/run/mysqld/mysqld.sock
    Inside of my /etc/pure-ftpd/pure-ftpd-mysql.conf
    I guess that either MYSQLSocket is the wrong keyword or that the path is hard coded into pure-ftpd-mysql.
    Any ideas how to solve this?
    EDIT:
    The path for the mysql conf was changed during last update
    from
    MySQLConfigFile  /etc/pure-ftpd/pure-ftpd-mysql.conf
    to
    MySQLConfigFile /etc/pure-ftpd/auth/mysql.conf
    Last edited by ancide (2009-11-25 10:23:24)

    maksvlad wrote:
    I've edited /etc/rc.d/mysqld file and added "ln -fs /var/run/mysqld/mysqld.sock /tmp/mysql.sock" like this
    echo $(getPID) >/var/run/mysqld/mysqld.pid
    add_daemon mysqld
    ln -fs /var/run/mysqld/mysqld.sock /tmp/mysql.sock
    stat_done
    It isn't  correct solution but it works...
    On other hand you would try something like this http://bbs.archlinux.org/viewtopic.php?id=85441
    Thanks for the reply. The problem is that all my other applications are using the new correct path. But I guess I can just make a symlink like you said for now until pure-ftpd-mysql is fixed.

  • Pure-ftpd and ldap. (solved)

    Hi,
    I'm trying to use pure-ftpd with virtual users on ldap but it don't work.
    Configuration is easy... similar to dovecot, postfix or apache. The question is that I don't know if is bad my confuguration or if the package isn't compiled with ldap support.
    How do I know if it is compiled with ldap support?
    Thanks and sorry for my english.
    Last edited by opotonil (2009-10-20 09:01:19)

    If you look at the SVN entries for pure-ftpd, the PKGBUILD you will see:
    ./configure --prefix=/usr --with-puredb --with-ftpwho --with-altlog --with-tls
    in the build() function. So no, LDAP is not compiled in. You can edit the PKGBUILD and recompile it.

  • Pure-ftpd and mysql

    Hi, is pure-ftpd built with mysql support? Because if I try to run it, i get "421 Unknown authentication method: mysql:/etc/pureftpd-mysql.conf" error. When I try to recompile it using ABS (with --with-mysql switch to configure), it fails.
    if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE=1 -I/usr/local/include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -DCONFDIR=\"/etc\" -march=i686 -O2 -pipe -MT pure-statsdecode.o -MD -MP -MF ".deps/pure-statsdecode.Tpo" -c -o pure-statsdecode.o pure-statsdecode.c; \
    then mv -f ".deps/pure-statsdecode.Tpo" ".deps/pure-statsdecode.Po"; else rm -f ".deps/pure-statsdecode.Tpo"; exit 1; fi
    In file included from ftpd.h:88,
    from pure-statsdecode.c:3:
    /usr/include/arpa/inet.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_addr'
    /usr/include/arpa/inet.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_lnaof'
    /usr/include/arpa/inet.h:42: error: expected ')' before '__net'
    /usr/include/arpa/inet.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_netof'
    /usr/include/arpa/inet.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_network'
    /usr/include/arpa/inet.h:78: error: expected ')' before '__net'
    make[2]: *** [pure-statsdecode.o] Error 1
    make[2]: Leaving directory `/var/abs/local/pure-ftpd/src/pure-ftpd-1.0.21/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/var/abs/local/pure-ftpd/src/pure-ftpd-1.0.21'
    make: *** [all] Error 2

    Sorry jardasmid,
    I didn't read all the post
    Try to specify
    ./configure --with-mysql=/usr/include/mysql
    when compile pure-ftpd
    Stupid question:
    do you have libmysql package?

  • [Solved] Pure-ftpd only virtual users

    Dear arch-users
    I'm using pureftpd from extra. I've created a lot of virtual users for my LAN, everything is working fine.
    But it is possible for system users to log on an see their whole /home/users directory, with their user/pass combo. I've disabled it, by setting the minUID to a very high number, but I think their is a more decent solution for this problem.
    So what is the best solution to only allow virtual-users to log on?
    Last edited by YscO (2007-07-15 10:49:16)

    Solved the case
    # If you want to enable PAM authentication, uncomment the following line
    PAMAuthentication no
    # If you want simple Unix (/etc/passwd) authentication, uncomment this
    UnixAuthentication no

  • Install pure-ftpd after initial installation

    Seems like this should be an easy one, but can't find an explanation.
    I have an OES 11 SP1 server up and running. I didn't install ftp
    during the original OES install. What is the easiest, least disruptive
    way to add it now? Is there a command line method?
    Ken

    On Thu, 14 Mar 2013 21:26:02 GMT, timatmillikin
    <[email protected]> wrote:
    >
    >You can install through Yast.
    >
    >- Start Yast
    >- Select OES install and Configuration
    >- Under OPEN Enterprise Server section, select Novell FTP
    >
    >More info here 'Novell Documentation'
    >(http://www.novell.com/documentation/...a/bn0rvzm.html)
    >
    >Hope this helps.
    Thanks!

  • [solved]-bash: open: command not found

    Hello, I'm following the tutorial here to set up pure-ftpd https://wiki.archlinux.org/index.php/SFTP
    When I get to the step to create a self signed certificate, this happens
    [root@(none) private]# open ssl req -x509 -nodes -newkey rsa:1024 -keyout \
    > /etc/ssl/private/pure-ftpd.pem \
    > -out /etc/ssl/private/pure-ftpd.pem
    -bash: open: command not found
    Which package do I have to install to get the "open" command?
    Last edited by learnerofskills (2012-01-26 06:39:11)

    skunktrader wrote:take out the space between open and ssl
    That worked. I feel really dumb and embarrassed now. Thank you.

  • Having trouble setting up osx 10.5.8 as ftp server

    I would like to set up my macpro to act an ftp server,
    I have activated file sharing via ftp
    What I don;t understand are the accounts.
    My public folder has been listed as a shared folder, file sharing is on (green dot) and in the options bit I have enabled afp ftp and smb
    When I click on my public folder I am listed as read and write and there is another account called everyone listed as read only.
    If I create a new "share account" (to avoid the creation of home folders etc for this account) called "test" with password "test" I give this read and write access access.
    From the same mac (logged in as me) I launch a web bowser and enter ftp://mylogin:[email protected] (my internal ip address)-and I get full access to my mac via transmit (my client).
    If I try the same with ftp://test:[email protected] i get "user test may not use ftp
    I have port forwarded in my router from my external static ip ports 20 & 21 to my macpros internal ip address and I get permissions denied when an ecternal friend tries the test account
    I am very unsure of what else to do

    Sharing account users do not have access to ftp. I know it seems totally counter intuitive, but that's how it is.
    You can create a user account for your friend, and share whatever you want via ftp when they login using their login.
    Also, there are third party ftp options:
    http://www.pureftpd.org/project/pure-ftpd
    I have not tried the above, but it looks promising.

Maybe you are looking for