Software :: Pure-authd Not Passing Variables To Pure-ftpd
Feb 9, 2011
I have set up pure-authd and pure-ftpd. They are both running, I have created the socket etc.
In my authentication module (a php script) for testing purposes I have done a vardump in to a file, and have realised that pure-authd is not passing on any variables (username, password of the current person trying to log in via ftp) to the PHP script.
I am sure the authentication module is working (have tested it vigorously on the command line), but after 10 hours wondering why it wouldnt work and messing about with the script, I have realised that the variables were never even getting in to the script in the first place!
I am running the processes such as this:
Everything seems as if it is working other than this. For instance, when testing the setup with a very basic auth module which doesnt require a username or password (the basic module just passes "auth_ok:1" to pure-ftpd and the user is then logged in), I can log in to the FTP server fine.
But like I say, a vardump ($argv) on my proper PHP authentication script would suggest that no username or password are being passed to it.
I am having problems troubleshooting my pure-ftpd setup. I am always getting a 530 authentication error. I attempted to correct the problem by doing the following:
This create a new error. 421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb I am getting a feeling this is getting from bad to worse. I attempted to remove pure-ftpd and pureadmin to start over again. However, it appears I cannot remove everything. I attempted the following:
apt-get remove pure-ftpd pureadmin I am not sure what this really does because I can still see the folder /etc/pure-ftpd and I cannot remove it. I could not use rm /etc/pure-ftpd because the system said it was not empty. I also tried sudo aptitude remove pure-ftpd pureadmin . Again I cannot completely remove the folder. How do I completely remove pure-ftpd and pure admin and all databases, files and folders so I have a fresh system ready to start the install again?
I'm really confused with this one. Yesterday our FTP cluster went down, i havent yet tracked the reason but i suspect a security update killed it as automatic updates are enabled (i will be turning those off now!).
Anyway, FTP connections were receiving a 425 Sorry, Unable to resovle error message, i sound the solution to be to disable dns lookups with the DontResolve > yes option.
but for some unknown reason this is only working on my failover box! when i restart pure-ftpd on the primary box the command switch -H is missing?
i've done the same thing on both boxes by creating a file in /etc/pure-ftpd/conf called DontResolve and editing it to just read the word 'yes', been over it and checked for spelling mistakes and i cant find any reason why its ignoring the option?
I am running an FTP server using Pure-FTPD which was a migration from an OS-X workstation to Fedora 10 - VMware esxi.
This was done for various reasons but the reason for choosing the Pure-FTPD app was due to an easier migration.
The system has been migrated for about a month and works very well. I installed it on the server using yum install pure-ftpd, configured it and imported all the accounts [about 150 accounts] so this is all fab. however we now want to see if we can get an upload notification.
This has lead me to look at the uploadscript option in pure-ftpd. we use virtual users and the pure-pw file.
The Problem:
When we set the directive
Code:
The ftp server hangs, I cant seem to see how to get this to work, from my investigation I think the issue is that the yum install is not building the app " --with-uploadscript " i have tried to do a hand install on a test Fedora 10 VM, I downloaded pure-ftpd-1.0.27.tar.gz and unpacked it, did a ./configure --with uploadscript then a make and make install, nothing reports any errors but it doesnt seem to install anything. I can start the server from a command line but there are no config directories ? and even after creating a new user and a passwd-mkdb i cant log in to the server. but that most likely as i dont have a full configuration. but i can t find where to put the configuration files.
I have a dns-323 linux device that's running pure-ftpd with SSL/TLS authentication. Pure-ftpd is sitting behind a linksys router with IP 192.168.1.51. Pure-ftpd is configured for port 8021 and passive port range 55562-55663. The linksys router is configure to forward port 8021 and the passive port range to 192.168.1.51.
From outside my network I can connect to the ftp server using the WAN address of the router. I'm using filezilla 2.2.32 as my client and I choose FTP w/ explicit TLS (no other option will connect). The client will authenticate successfully with pure-ftpd but once it sets up the passive data connection and tries to do a LIST of the root directory, there's a timeout. I'm assuming this is because the passive data connection is not working. In pure-ftpd, I tried changing the passive address that it reports, to be the WAN address of the router, but it did not make a difference. I included the log from filezilla below.
I'm trying to install Pure-FTPd. I'm going to use it via the internal file-based userlist.The problem is, when I yum install pure-ftpd from rpmforge or CentOS.Karan.Org, I also get mysql, perl-DBI and postgresql-libs as dependencies.Since I'm not intrested in DB-based authentication, I'd strongly prefer to skip these packages.Why are these listed as dependencies, since AFAIK, they are not really dependencies? Can I force yum to skip them somehow?
I am having difficulties with Pure-FTPD. I had it working at one time. I recently had to reinstall Ubuntu 10.10 because pure-ftpd stopped working for some reason and now I have a fresh install but pure-ftpd still does not work. This is what I did to install it.
Sudo apt-get install pure-ftpd
Using the Ubuntu Spftware Center I installed PureAdmin. I then create a virtual user. Then in the terminal entered the following:
[code]...
I read somewhere that this could be a filezilla issue and to fix it I need to use active mode and use the filezilla external address [URL]... Of course I did this and the filezilla solution did not work this time. I am fairly sure it is a server issue this time.
I am trying to configure Pure-ftpd with authenticated users But after configuring its giving the following error"pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Invalid argument]"
Ftp is not configured using xinetd services.kindly find the configuration file /etc/pure-ftpd/pure-ftpd.conf as the attachment dont know what mistake i am doing but unable to restart the server.
I have a "friend" who hosts a couple of websites that I maintain. I have always used filezilla client to connect and update the files on the website.I lost access for a little while and he said that "The profiles had accidentally been dropped".He reinstated everything but now I cannot complete a log on session. I maintain several other websites which have the same PURE FTPd server at their end and I can connect to these OK.The delicacy of the matter is that, with no changes at my end, and my other sites working, logic suggests that something has changed at his end. I have very patiently worked through all his suggestions but to no avail.I can't suggest that he is at fault when he claims expertise in the field and I am a complete lamer when it comes to FTP.
I wonder if anyone would be kind enough to review the log on result below and see if they can throw some light on the situation for me.(I have anonymised the IP address and other information for security reasons)
In /var/log/warn I can see :Code:Jul 18 19:29:41 Linux1 SuSEfirewall2: Warning: config 'vsftpd' not available I did install vsftpd, but I removed it and install pure-ftpd instead.
I am a long time aptosid user which asked to many question in there forum. Everyone interested: [URL] Anyway eat shit and die is not quite the answer I was looking for. I want to stay with a Debian and a rolling release, so I was wondering if some of you could share some info's on howto best setup and run pure sid.
I am having problems with the welcome message regarding pure-ftp, this is on Fedora 10. Pure FTP just doesnt show any ability to change the default message, its rubbish at its default gives out some details of what I am running (security risk in itself). Is there any means of being able to make a custom message?
I'm very new to Fedora ( i want to install it again on my PC ) but i have a small question before i proceed.Is it possible to keep a x64 instalation PURE 64 bit ?I mean here, will fedore try to install a 32 bit library ?? or ONLY if i need them ?Because for example openSuSe will install 32 bit libraries right from the start
EDIT: The way the ubuntu forums formatted it made it easier to understand, and I installed the misisng packages. So I installed kubuntu plasma desktop, so that I could try KDE, and decided I didn't like it. So I followed the psycho cat tutorial here on [URL] "Getting back to pure gnome on Ubuntu" I copy and paste the code there, and it starts uninstalling, but then I get this:
Code: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following packages have unmet dependencies:
libaccess-bridge-java : Depends: default-jre but it is not going to be installed or openjdk-6-jre but it is not going to be installed or sun-java6-jre but it is not going to be installed E: Broken packages I have absolutely no idea what to do. I know it has something to do with missing dependencies (anyone could, if they read the code) but I don't know what to do.
I am having some good time with Linux Mint Debian Edition, but I want to transform it into Debian Squeeze. In my installation, I've just 7 minty packages, the rest are from debian repo. have a detailed look here [URL] and suggest me debian replacements of those 7 minty packages.
I type in ifconfig eth0 up, it says Device not found.
Sys: Fedora12, ethnet, laptop.
When I can get in X, I can manage my network with network-management, or with gnome-terminal. In X, I can start a net with "ifconfig eth0 up", when I type in "ip link", It shows like
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether 00:26:22:de:c0:94 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN qlen 1000 link/ether 00:26:c6:4f:79:2a brd ff:ff:ff:ff:ff:ff
BUT right now, I get problems with X and can't get in it. I want to start a net connection in pure terminal and work with it. However, it replys "Device not found" to "ifconfig eth0 up". Answer to "ip link" was lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 and no more. Where is my eth0 then? How can I start a net with it?
1. In Windows platform +MASM 5.0, run "command" and use "debug.exe" to see what would happen. As step by step check, I see B800:000 is not modified as expected.
2. In Ubuntu 10.04 + dosemu 1.4.0.1, run the program in two ways:
a. If exec dosemu in command line as "$dosemu -dumb", yes, it's in shell mode. and then use debug to check, "B800:0000" can be modified as expected.
b. If exec dosemu in command line as "$dosemu", and run the program again, the symptom is as same as 1.(pls see attachment picture).
3. In Windows, I replace "mov ax,0B800H" to "mov ax,2000H" and try again, it would be edited well. So I wonder if it is coursed by "B800" segment address.
I need to write a module in pure assembler.Now the linker needs symbols out of the kernel library to link to ( module_init, module_exit, printk).Does anybody know the kernel library name, or are these symbols only in the compressed kernel image (vmlinuz) ?And if, how can I link to a compressed kernel image ?
why another slackish distro? Mine (will be) better than most Please try it before you criticize it It is quite unique in many ways I really did it to show how easily one can make their own 12.2 install into a live distro So, it is a proof-of-concept thing Desktop: My own JWM creation heavily based off Vector's JWM Display manager: Slim from Slackbuilds Packages: All pkg's are 12.2 slack, sbopkg's, and slapt-get/gslapt from Slacky, some others converted from absolute/salixos/source. I custom built the JWM desktop, systray-volume-control, and many from-scratch scripts.
I'm attempting to upgrade the BIOS in an ASUS 1005HA netbook. The netbook runs SuSE 11.3, and no other OS. All the BIOS utilities on from ASUS are Windows or DOS based. ASUS has a utility titled afudos that apparently flashes the programmable ROM. Running afudos using the dosemu utility suggests that one needs to create a DOS boot drive, execute afudos during a reboot with the new ROM image located on the drive.
How does one accomplish said task on a netbook without a floppy disc drive? Do I create a bootable DOS USB flash drive that contains just afudos and the new bios flash rom upgrade? And if so, how does one do this? As a side issue, it looks like all the major motherboard vendors do not support Linux. That is, all the motherboard drivers require Windows or DOS.
I'm looking for an existing linux distro with a pure HTML(5) client interface. Sort of like m0n0wall, but then featuring all functionality a modern OS includes, implemented in HTML/Javascript/CSS. Kind of a Skylight clone, but then using only free and OSS software.
I need by searching this site so I haven't had a need to sign up since I can't really help anyone as of yet. With that said here is my problem: I'm running a VPS with CentOS RHEL 5 host-in-a-box, I just did a rebuild of the server and after a day or two pure-ftpd and sshd unexpectedly close out any incoming connections. I am the only one that uses ssh and ftp so I'm not sure what the problem could be. I checked the logs and there is nothing to do with not being able to bind on the address.
I tried connecting through ssh in verbose mode and it connects to the server just fine, but drops the connection before it asks me for my key pass phrase. If I enable password access it will drop before it asks me for it's password. I've tried restarting sshd and ftpd. I've tried rebooting the machine. I've tried google, but this problem seems to need a little more specific trouble shooting. I can get in through console access, but that doesn't help me much when I need to transfer files.
Installed 10.10 Ubuntu and found the Dell D820 did not digest Gnome that easily. I tried adding Lubuntu from repos after adding PPA. Seemed unstable to use, so I followed Psychocat direction for Pure LXDE and removed Ubuntu. Now login is giving error "xsession:unable to launc "openbox-gnome" X Session --- "openbox-gnome" not found; falling back to defaultsession." Where do I correct the xsession login to allow auto login. (I know the chances for autologin, and still choose to use it)
This is 16 bit / 44100 Hz sample. Try to plyback this sample in your favorite music player, and after that try to use command "play SB_test.wav". You see, second part of this file sounds very differently. This is because all your 44100 Hz audio resampled 48000 Hz. It's ok if you watch DVD's (48000 Hz audio), but nasty if you listen CD-Audio (44100 Hz), DVD-Audio or Blu-ray (24 bit / 96000 Hz and 192000 Hz). My question is: how to playback audio with different characteristics without resampling?