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.

View 1 Replies


ADVERTISEMENT

Ubuntu Installation :: Remove Pure-ftpd Pure Admin - Getting A 530 Authentication Error

Mar 24, 2011

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:

# pure-pw mkdb
# ln -s /etc/pure-ftpd/conf/PureDB /etc/pure-ftpd/auth/PureDB
# gedit /etc/pure-ftpd/conf/PAMAuthentication

[code]....

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?

View 1 Replies View Related

Ubuntu Servers :: Pure-ftpd DontResolve Being Ignored?

Apr 12, 2011

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?

View 2 Replies View Related

Server :: Pure-FTPD - With-uploadscript On Fedora 10

Dec 16, 2009

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.

View 1 Replies View Related

Ubuntu :: Unable To Start Pure-ftpd-mysql?

Jan 8, 2010

I've installed pure-ftpd.mysql V1.0.22.1 on an Ubuntu 9.10 and I'm unable to start. The comand I use to start is:

$ sudo service pure-ftpd-mysql start
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/db/mysql.conf -l puredb:/etc/pure-ftpd/pureftpd.pdb -l pam -O stats:/var/log/pure-ftpd/pureftpdstats.log -E -z -u 2000 -U 000:000 -8 UTF-8 -j -o -S 192.168.1.103,21 -p 58000:59000 -4 -Y 1 -D -P xx.xx.xx.xx -B

[Code].....

View 1 Replies View Related

Red Hat / Fedora :: Change Folder Permission In PURE-FTPD

Aug 11, 2010

I installed pure-ftpd with Mysql in my fedora 12. In have the following value in my pure-ftpd.conf file

# Cage in every user in his home directory
ChrootEveryone yes

It was created the user folders with permission 644. But i need to change this to 775 at the time of creating the folder.

ie,

the folder was created now

-rw-r--r-- 1 peter peter 1131291 Apr 15 22:31 random-file

I need to change [ rw-r--r-- ] to [ drwxrwxr-x ] at the time of creating the folder.

View 3 Replies View Related

Networking :: Pure-ftpd Passive Transfers Not Working?

Jun 4, 2010

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.

[Code]...

View 5 Replies View Related

CentOS 5 Server :: How To Install Pure-ftpd WITHOUT Mysql

Apr 7, 2011

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?

View 2 Replies View Related

Ubuntu :: Pure Ftpd - 530 Authentication Error Access Denied

Mar 25, 2011

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.

View 2 Replies View Related

Server :: Unable To Configure Pure-ftpd With Puredb Database?

Aug 30, 2010

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.

View 2 Replies View Related

Ubuntu Servers :: Unable To Aptitude Install Pure-ftpd-mysql?

Jul 20, 2010

I am having trouble to "aptitude install pure-ftpd-mysql" with my ubuntu server 9 version.

[Code]...

View 9 Replies View Related

Networking :: Connection From FTP Client To PURE FTPd Server Fails At MLSD

May 13, 2010

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)

View 3 Replies View Related

OpenSUSE Install :: Did Install Vsftpd, But Removed It And Install Pure-ftpd Instead?

Jul 18, 2010

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.

View 6 Replies View Related

Debian Configuration :: How To Run Pure Sid

Jun 23, 2011

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.

View 9 Replies View Related

Fedora Servers :: Pure-ftp Welcome Message

Nov 13, 2009

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?

View 4 Replies View Related

Fedora X86/64bit :: Possible To Keep X64 Instalation PURE 64 Bit

Jan 25, 2010

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

View 5 Replies View Related

Ubuntu :: Getting Back To Pure Gnome

Nov 18, 2010

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.

View 2 Replies View Related

Debian :: Transform LMDE Into Pure Squeeze?

Nov 13, 2010

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.

View 6 Replies View Related

Fedora :: Authentication Failure On Pure-ftp Server ?

Apr 16, 2011

OS=FC14 x86_64
DM=Gnome

I've installed pure-ftp, and the firewall is open on port 21, the router has port forwarding.

I can connect to this machine, from my smart-phone and a laptop using its IP Address 77.xx.xx.xxx

I'm getting user OK but its not accepting my password or one I just made on another account

This is whats happening:-

What layer of extra security is stopping this working, as the guy attempting access is trying to send a file to big to attach to an e-mail.

View 1 Replies View Related

General :: Start Up A Net Connection With Pure Terminal?

Mar 26, 2010

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?

View 4 Replies View Related

Software :: Pure Data Installation On Fedora 11 ?

Aug 31, 2009

I've just tried to install PD on fedora 11 by downloading it and following this list:

Quote:

When I start PD by typing "pd" in the terminal I get the following error:

Quote:

View 2 Replies View Related

Programming :: Cannot Edit B800:0000 In Pure Dos

Nov 11, 2010

I write the below sample program named "h1.asm"?

Code:

assume cs:code
code segment
mov ax,0B800H

[code]...

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.

Code:

"Welcome to dosemu 1.4.0.1!"
D:masm>debug h1.exe
-r
AX=0000 BX=0000 CX=000F DX=0000 SP=0000 BP=0000 SI=0000 DI=0000

[code]....

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.

View 5 Replies View Related

Programming :: Write A Module In Pure Assembler?

Jan 16, 2010

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 ?

View 6 Replies View Related

Slackware :: ClutchOS V12.2 A Pure 12.2 Live CD / USB With Persistence

Feb 27, 2010

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.

Heres some of the pkg's Games: Xgalaga sbopkg Graphics: Gimp, Imagemagick Office: Abiword, Gaiksaurus, Xcalc Multimedia: Mplayer, XMMS, Audacious, Alsamixergui, Pulsaudio Alsaplayer, Isomaster Misc: Roxterm,rox-filer, PCMANFM, lxterminal, lxtask, leafpad xarchiver, catfish, lxappearance, nitrogen System: Gparted, ddrescue, testdisk, Gnome net tools, WICD wifi-radar, Gslapt, Network: Firefox, dillo, xchat, gftp, grsync

[Code]...

View 13 Replies View Related

OpenSUSE Install :: Upgrade BIOS For A Pure Machine?

Dec 9, 2010

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.

View 7 Replies View Related

General :: Javascript - Distro With Pure HTML Interface ?

Aug 17, 2010

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.

View 4 Replies View Related

Server :: Configure Pure-ftp In CentOS In Non-anonymous Mode?

Nov 4, 2010

I am trying to configure a ftp server (pure-ftp) where I am using CentOS 5.5.

View 1 Replies View Related

Server :: Pure-ftp / Openssh Failures - Transfer Files

Apr 22, 2010

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.

View 6 Replies View Related

Ubuntu Installation :: Pure LXDE Borked Xsession Autologin?

Nov 28, 2010

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)

View 7 Replies View Related

Ubuntu Multimedia :: Playback Pure 44100 Hz And 48000 Hz Audio Without Resampling?

Mar 10, 2010

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?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved