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.

Similar Messages

  • 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 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.

  • Syncing & Streaming from the same Library? - Noob question

    Good Evening - I have a silly noob question that I can't believe I can't find the answer to on my own: I have been trying to determine if it is possible to sync and stream from the same library simultaneously.
    I purchased the 40GB aTV and it has been syncing just fine with my Windows iTunes. I told it not to sync a few albums I never listen to so I wouldn't have issues with other songs or movies. I am upgrading to a new iMac and I am am going to re-rip many of my existing CD's to get them into a consistent audio quality of 192 AAC or above. This is going to push my library size to well over the 40GB limit in just music, not including any movies or TV shows I choose to pull in.
    The manual does not make it obvious (or I am not reading clearly) what happens to items that don't sync over - I assume they are still playable but will have to stream. Is there anyway to mark "preferred" albums or artists that should get synced and not streamed in case the iTunes library is unavailable for whatever reason?
    Also, when I change libraries is the aTV going to completely re-sync even though the music is must going to be migrated?
    Thanks for taking the time to answer these silly questions.

    That's not quite what I was looking for.
    My question remains, what happens to the items that can't be synced from my main library to my aTV? My library is just a smidge bigger than the available space on the aTV and not everything syncs over. Does that mean I won't be able to play those items not synced from my main library...
    As my library grows I don't want to have to choose what does and doesn't get synced from my library by mood. For example, every year my wife buys new christmas music - right now I could exclude it and everything else gets copied over, but come thanksgiving that stuff better be there for her and I don't want to choose other music or movies to remove.
    I guess I will just have to play to try it out.

  • 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.

  • Another Noobie question - readLine()

    Hi all
    This is another one of the extreme noob questions. I wrote a small program to read form a text file
        String NetworkLine = new String();
        try{
            FileReader inputFile = new FileReader("Test.txt");  //
            BufferedReader in = new BufferedReader(inputFile);
           try{
               while (in.readLine() != null){
                NetworkLine = in.readLine();
                System.out.println(NetworkLine);
           }catch (IOException e){
                System.err.println("Error in reading the file");
        }catch (FileNotFoundException e){
            e.printStackTrace();
        }My Test.txt is
    One
    Two
    Three
    Four
    Five
    Six
    without the *
    The output I get is
    Two
    Four
    Six
    I cannot figure out why only even no. lines are being read. I inserted a breakpoint at the line
              System.out.println(NetworkLine);This shows me that only even no. lines are being read by readLine(). Any help will be appreaciated.
    Thanks
    Ayesha

        String NetworkLine = new String();
        try{
            FileReader inputFile = new FileReader("Test.txt");  //
            BufferedReader in = new BufferedReader(inputFile);
           try{
               while (in.readLine() != null){  // <-- This reads a line, checks it for null ,and drops it
                NetworkLine = in.readLine(); // <-- this reads the next line
                System.out.println(NetworkLine);
           }catch (IOException e){
                System.err.println("Error in reading the file");
        }catch (FileNotFoundException e){
            e.printStackTrace();
        }So the upshot is that you print every other line.
    Corrected:
        String networkLine = new String();
        try{
            FileReader inputFile = new FileReader("Test.txt");  //
            BufferedReader in = new BufferedReader(inputFile);
           try{
               while ((networkLine = in.readLine()) != null){
                System.out.println(networkLine);
           }catch (IOException e){
                System.err.println("Error in reading the file");
        }catch (FileNotFoundException e){
            e.printStackTrace();
        }

  • Noob questions...windows emulation on mac OS 10.4

    getting my ibook later this week and was wondering about windows emulation. i don't have an intel processor in my ibook (obviously), so what's your recommendation for a product that runs windows on a mac? and, total noob question, do i have to buy a copy of windows? i already have windows on my dell laptop.
    thanks in advance for your help.

    Hello,
    so, do the new macbooks have some kind of software
    pre-installed that runs windows? my friends who just
    got a macbook tells me he can run windows programs if
    he needs to.
    The MacBooks have Intel processors in them. So, no emulation is necessary. They can directly install and run Windows if they want.
    The reason you need a program like Virtual PC on an iBook is because it uses a PowerPC processor which Windows cannot communicate with. And, the PowerPC Mac's architecture is completely different.
    So, that means you need a program like Virtual PC to completely emulate an entire PC computer. Basically, it is a program that simulates a real computer and then translates those Intel instructions into PowerPC instructions that your iBook can understand.
    There is a severe performance penalty for all this translation. The iBook G4 will not perform like a regular Windows PC. It will be much slower, and you will need to be more patient. With a G4 iBook, you could reasonably expect your performance to be comparable to a 300 MHz PC running Windows XP.
    With a 1.8 GHz iMac G5 and 2 GB of RAM, I was experiencing performance comparable to a 1.3 GHz Intel Celeron system with 256 MB of RAM (which I happened to have around for comparison).
    But, for more intensive tasks, the performance was more comparable to a 500 MHz system.
    Anyway, back to the Intel Macs. Those machine's only need a free Apple Utility "Boot Camp" to provide the drivers and create a Windows compatible boot partition:
    http://www.apple.com/bootcamp/
    And, then they need Windows XP Home or Pro. That's it.
    With programs like Parallels, they can run Windows inside the Mac OS (or along side it) much like you would with Virtual PC:
    http://www.parallels.com/en/products/workstation/mac/
    i am trying to figure out where this might be useful
    in the first place.
    It is useful if you need to be able to run Windows software, but don't want to buy a PC. It's more convenient to have one machine that can do everything than it is to have a Mac and a separate PC.
    Feel free to ask additional questions if you have them. Or, if you like, hit solved on the post if you feel everything is answered.
    But, do let me know if I can answer any additional questions or need to re-state something clearer.

  • Openbox noob question on menus.

    I really do apologize about this insanely noob question but this is driving me up a wall.
    I've read several several different resources on openbox (particularly trying to find information on the root menu)
    i'm either looking in the wrong place - or I totally saw it and didn't put 2 and 2 together. *shrugs*
    so, here is the dealio -
    I'm trying to edit the root menu (or as I like to call it right clicky drop down thingy)
    I'm running LXDE and from everything I've gathered over the last couple of days trying to tackle this
    with lxde you edit the lxde-rc.xml instead of the menu or rc.xml
    although after reading through it a plethora of times I noticed that it pulls off of the menu.xml as well...
    *basically*
    Which file do I actually edit to add stuff to the root menu?
    and i've seen dozens of actual templates for editing the menu.xml and lxde-rc.xml but whenever *I* try to follow that I get a syntax error on openbox --reconfigure
    and insight or even a swift kick in the ass that will land me on a site that has info that actually works would be ever so appreciated (even if its a search term - I think my problem now is that i've spent so much time looking for this one thing that I might actually be insanely over complicating this and not picking out the right information   )

    stlarch wrote:An easy way is to install obmenu
    I can agree with that even though I'm not sure how to use that program very well. I'd rather learn how to manually edit the stuff, and not have to rely on another program
    the main reason I got away from ubuntu was to be semi/forced to learn everything.
    JackH79 wrote:Have you read this here as well?
    I did glance at that but didn't think that was referring to the root menus...I can decifer through the xml those menu files to some extent...the stuff on freedesktop is straight crypic to me atm...but at least now I know I need to take a much closer look hehe.

  • 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.

  • Noob question use dng converter or let LR convert to dng

    Sorry for the noob question but I'm transitioning over to LR from aperture and I believe DNG is  a good move for me.  Now then, is there any advantage to using the converter over letting LR do it?

    It really is the same integrated tool, yes. All the same preferences are there.
    The only thing I am not aware if Lightroom can do is Extract Embedded Originals. But that's not something I'd ever do to my own RAW files.
    Cheers

  • 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.

  • Noob Question: Flowing Input Dataset Row/Record IDs Through to the Score Model Output

    I've got a noob question that I'm having difficulty finding the answer to:  if my input dataset contains row/record IDs and I want to flow these through to the Score Model module output but *don't* want to include this column in model training (because
    it's just an arbitrary row tag), how do I go about accomplishing this?  
    I am able to Project Columns and eliminate the IDs entirely early in the process but then can't really determine which input row a prediction is associated with because I've lost the IDs.  I'm not quite sure how to accomplish what I'm trying to do via
    the Metadata Editor, either.
    Surely somebody else has dealt with this same question.  If the solution is implemented somewhere in a Gallery experiment that you'd like to point me at, too, that would also be just as good as a written explanation.
    Thanks in advance,
    Kevin

    Hey Kevin!
    Sorry for making this process unclear :( Azure ML has a notion of Feature Columns
    (by default everything is a Feature), that is columns/variables that are intended to be treated as part of the observation vector. You can use the Metadata Editor
    and (after selecting the column(s) you want), mark the column as
    Fields -> Clear Feature. This will have the semantics you desire - data attached to the input data while not being used for training.
    Regards,
    AK

  • Noob Question Re: Encoding to DVD

    This is my first post in the adobe forums , so hello all!
    I've been trolling this, and numerous other sites, hoping to understand the basic process of editing -> CD creation.
    So here it begins...I am working on "work-out" video tape. The footage was shot using a Canon H10 to removable memory card. All files are .MTS, which don't pose too many challenges for my computer (i7 processor w/ 6MB memory) after the most recent PP update. Editing, adding AE, titles, graphics, or using Sound Booth is relatively painless. I have a total of (4) timelines that comprise the total video (Trailer, Intro, Instructions, and Workout). As I edited the video I'd often render what I had testing formats such as avi, MPEG2, FLV/4, Blu-Ray H.264, etc. I was amazed with the clarity and sharpness as I stayed with in the confines of 1980x1020. So I have no problems there. Once the editing, I first created a blank timeline and pulled into it the other timelines to make on timeline called "Video Complete". I dynamic linked that timeline to Encore and found out that amount of data, in that format, created a very unstable Encore - it screamed and hollered about running out of memory, etc. I watched several tutorials and found that dynamic linking the indvidual timelines gave me a much more stable Encore.
    So I had the untranscoded .MTS files in Encore. I created my menu, linking the timelines, etc and built my project using the standard 720x480 (I believe) format. To say the least, I wasn't at all happy with the final product when watched on the television. Very pixalated/jagged around letters, etc.
    I don't mind shopping around for the correct answer or putting my time in on research, I'd just like to know if I am on the right playing field and/or headed in the right direction.
    So basically my questions are:
    1) Is dynamic linking .MTS files to Encore the correct approach as opposed to rendering the .MTS files in PPro to avi or MPEG2 before bringing them into the Encore project? (Based on wanting the best DVD quality possible)
    2) Transcoding settings for individual timelines should remain on automatic or should I adjust them and transcode before clicking on build project?
    3) Since I was able to see MPGE2 renderings (from PPro) on my computer screen as sharp and clear, should I expect the same quality from a DVD product?
    Any information would be helpful - thanks so much.
    Joe

    Re: Noob Question Re: Encoding to DVD
    Hi, great questions:
    I think this is a sound approach. MTS is short for MPEG-2 Transport Stream, so it's already MPEG-2 but will of course have to be re-transcoded for DVD to standard definition. If you want to experiment with high definition, you could try stripping the streams out of the MTS using a third party tool such as what you might find at videohelp.com - or not. Less transcoding is always better, but may not be practical. There's probably little advantage to doing this on the DVD side, but it might be worthwhile for Blu-ray? Or not.
    First, try using Interpret Footage on the asset (the MTS file itself) - set it to SD Widescreen. You may need to Revert to Original if it's already transcoded. Try building another DVD and check the footage.
    For the most part, yes. Of course, they will be standard definition on DVD.
    Message was edited by: jbowden
    Jbowden,
    Thanks for the response. I will check out "Interpret Footage" on the asset of the MTS file and toggle to SD Widescreen. Will do that tonight so I can compare the two for quality.
    Joe

Maybe you are looking for

  • Font Book-marker in Photoshop, Illustrator and Indesign

    I guess we need a book-marker for fonts built-in all adobe softwares, some thing similar to the book markers in chrome or mozilla. Coz every artist working comfortably on adobe tools would not wish to go through all the tons n tons of fonts installed

  • Document  not updated in consolidation(urgent issue)

    Hi all actually we are posted one  document in 2006 at the time its generated accounting document.but its not generated in consolidation document.now any option to generate the    only consolidation document. Thanks&Regards Satish 09892421477

  • Solaris 10 installation probs, stops wen installing SUNWsolnm

    Hi, Am facing probs installing solaris 10 b72, x86 on Proliant systems - DL380G3 and ML580G2, with boot as Smart Array 5i, The installtion just stops showing installing SUNWsolnm, system has 2GB ram and 18GB U-3 Disks, Can anyone help on this, Thanks

  • Numbers file will not open.

    Numbers file created in older version but updated on iMac will not open on MacBook-no reason given.

  • Rollout project

    hi friends, can somebody explain in a rollout project what will happen to entp structure? what will happen to blue print ie as is and to be what will happen to document types will it be all the same whether the same team will be there what are all ma