dauphin ocean | 9 Mar 2009 16:46
Picon
Favicon

[Proftpd-user] Proftpd and Microsoft AD authentication


Hello
I would like to know if someone has been able to implement Proftpd with Microsoft AD authentication?
If yes what are the requirements to put in place that solution?
In advance thank to your help provided,

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Ray Van Dolson | 9 Mar 2009 18:40
Favicon

Re: [Proftpd-user] Proftpd and Microsoft AD authentication

On Mon, Mar 09, 2009 at 08:46:25AM -0700, dauphin ocean wrote:
> 
> Hello
> I would like to know if someone has been able to implement Proftpd
> with Microsoft AD authentication?  If yes what are the requirements
> to put in place that solution?  In advance thank to your help
> provided,

mod_ldap[1] would probably be the way to go.

Ray

  [1]: http://www.castaglia.org/proftpd/doc/README.LDAP.html

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Jorge Bastos | 9 Mar 2009 21:40
Picon

[Proftpd-user] Option

TJ,

There’s an option to when a file is being uploaded, it is called “.in.filefomething”.

I don’t remember it’s name even looking at documentation, can you remember me it’s name?

 

Thanks,

Jorge

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
carlos.maiolino | 9 Mar 2009 21:43
Picon
Favicon

[Proftpd-user] Vacation reply

Hi there,

I'm transfering my e-mail account to Gmail. So, your message has not been forwarded automatically to my new account "cybersonic0 <at> gmail.com" (My e-mail at Gmail).

Please, send again your message to my new e-mail address.

Please, update my contacts in your address book and change my e-mail and my msn messenger to "cybersonic0 <at> gmail.com".

Thank you !!!

---------------------------------------------------------------------------------------------------------------------------------------------

Olá,

Estou migrando minha conta de e-mail para o Gmail. Sua mensagem NÃO será encaminhada automaticamente para minha nova conta "cybersonic0 <at> gmail.com".

Por favor, encaminhe sua mensagem novamente para o meu novo endereço de e-mail.

Peço por favor que atualize os meus contatos em seu catálogo de endereços e altere meu e-mail e msn para "cybersonic0 <at> gmail.com"

Obrigado !!!


Carlos Eduardo Maiolino

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
TJ Saunders | 9 Mar 2009 21:47

Re: [Proftpd-user] Option


> There's an option to when a file is being uploaded, it is called
> ".in.filefomething".
> 
> I don't remember it's name even looking at documentation, can you remember
> me it's name?

HiddenStores on|off

Cheers,
TJ

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   No day in which something is learned is ever wasted.

     -TJ Saunders

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Jorge Bastos | 9 Mar 2009 23:50
Picon

Re: [Proftpd-user] Option

Merci TJ,

Jorge,

> -----Original Message-----
> From: TJ Saunders [mailto:tj <at> castaglia.org]
> Sent: segunda-feira, 9 de Março de 2009 20:47
> To: proftp-user <at> lists.sourceforge.net
> Subject: Re: [Proftpd-user] Option
> 
> 
> > There's an option to when a file is being uploaded, it is called
> > ".in.filefomething".
> >
> > I don't remember it's name even looking at documentation, can you
> remember
> > me it's name?
> 
> HiddenStores on|off
> 
> Cheers,
> TJ
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~
> 
>    No day in which something is learned is ever wasted.
> 
>      -TJ Saunders
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~
> 
> 
> -----------------------------------------------------------------------
> -------
> Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> ProFTPD Users List   <proftpd-users <at> proftpd.org>
> Unsubscribe problems?
> http://www.proftpd.org/list-unsub.html

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Hans Vallden | 10 Mar 2009 14:49
Favicon

[Proftpd-user] Home directory paths

Hi,

maybe a silly question, but is it possible to have accounts defaulted  
and chrooted to different home directories on different servers?

I have two FTP servers sharing the same LDAP users (OS X). The users  
have their home directories specified in the LDAP directory. When they  
login to FTP server1, they are defaulted and chrooted to their  
respective home directories in /Volumes/Volume1/FTP/.

In my FTP server2 I'd like to default and chroot them to directories  
in /Volumes/Volume2/FTP2/ (hence, different directory path, same home  
directory name). How can I accomplish this?

--
Hans Vallden
hans <at> vallden.com
skype: hans.vallden

------------------------------------------------------------------------------
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

TJ Saunders | 10 Mar 2009 18:59

Re: [Proftpd-user] Home directory paths


> maybe a silly question, but is it possible to have accounts defaulted  
> and chrooted to different home directories on different servers?
> 
> I have two FTP servers sharing the same LDAP users (OS X). The users  
> have their home directories specified in the LDAP directory. When they  
> login to FTP server1, they are defaulted and chrooted to their  
> respective home directories in /Volumes/Volume1/FTP/.
> 
> In my FTP server2 I'd like to default and chroot them to directories  
> in /Volumes/Volume2/FTP2/ (hence, different directory path, same home  
> directory name). How can I accomplish this?

If you are willing to run the proftpd code from CVS, and use the 
mod_rewrite module, then you can make use of the new RewriteHome feature:

  http://bugs.proftpd.org/show_bug.cgi?id=3167

Using this, on one (or both) of your FTP servers, you can use RewriteHome 
and the mod_rewrite module to change the home directory (retrieved via 
mod_ldap) using regular expressions.

Hope this helps,
TJ

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   The moon is up, and yet it is not night;
   Sunset divides the sky with her; a sea
   Of glory streams along the Alpine height
   Of blue Friuli's mountains; Heaven is free
   From clouds, but of all colours seems to be - 
   Melted to one vast Iris of the West - 
   Where the day joins the past Eternity.

   	-Lord Byron

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------------
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

TJ Saunders | 10 Mar 2009 19:35

[Proftpd-user] SQL reconnections and long-lived FTP sessions


When mod_sql is used, mod_sql creates a new database connection for each 
FTP session.  (Connection pooling can be done by using a third-party 
application such as sqlrelay.)  And if, during the lifetime of that FTP 
session, the underlying database is stopped/started, the database 
connection held by the FTP session process becomes invalid.  The next SQL 
operation attempted by mod_sql will result in something like:

 Mar 10 10:29:13 mod_sql/4.2.2[25873]: message: 'Can't connect to local
 MySQL server through socket '/tmp/mysql.sock' (2)'

For short-lived FTP sessions and/or for smarter FTP clients, the client 
will reconnect to the FTP server, get a new server process, which gets a 
new database connection to the (hopefully restored) database, and all 
should be well.

However, longer-lived FTP sessions (or dumber FTP clients) are affected by 
this.

My question for all you mod_sql users out there is: how big of a problem 
is this?  Should the SQL modules (mod_sql_mysql, mod_sql_postgres, et al) 
try to automatically reconnect to the database when their database 
connection is lost (for a given number of retries)?  Note that, depending 
on the database client library, attempting to reconnect may require 
re-reading the client config file, which is impossible if that FTP session 
has been chrooted; this is something that can be investigated.  But first 
I'd like to know whether this is something that would address pains that 
proftpd users are actually seeing in the wild...

Cheers,
TJ

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   Truth is within ourselves.

   	-Robert Browning

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------------
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Leutnant Steiner | 10 Mar 2009 20:49
Picon

Re: [Proftpd-user] SQL reconnections and long-lived FTP sessions

hi TJ

one thing which comes in my mind ( if i got it right):

if the db is used for logging transfers, the information is lost when the db-connection get's invalid.

maybee there should be some kind of a "backup_log_file" which holds the information that could not be sent to the db. ( it could contain the "sql" ( in case of mod_mysql ) so one could update the db easy if the info is needed. if i think further... if such a file exist's it would be nice if proftpd "auto-updates" the db when it comes back up......

so basicly somethin like:

db-failover-log /path/to/log    ( defaults to old behaviour )
db-failover-log-processing = yes


on the other side, if the information is so valueable one should implement some kinf of failover / redundancy of the db.

hope this helps in your considerations...

cu
chris


2009/3/10 TJ Saunders <tj <at> castaglia.org>

When mod_sql is used, mod_sql creates a new database connection for each
FTP session.  (Connection pooling can be done by using a third-party
application such as sqlrelay.)  And if, during the lifetime of that FTP
session, the underlying database is stopped/started, the database
connection held by the FTP session process becomes invalid.  The next SQL
operation attempted by mod_sql will result in something like:

 Mar 10 10:29:13 mod_sql/4.2.2[25873]: message: 'Can't connect to local
 MySQL server through socket '/tmp/mysql.sock' (2)'

For short-lived FTP sessions and/or for smarter FTP clients, the client
will reconnect to the FTP server, get a new server process, which gets a
new database connection to the (hopefully restored) database, and all
should be well.

However, longer-lived FTP sessions (or dumber FTP clients) are affected by
this.

My question for all you mod_sql users out there is: how big of a problem
is this?  Should the SQL modules (mod_sql_mysql, mod_sql_postgres, et al)
try to automatically reconnect to the database when their database
connection is lost (for a given number of retries)?  Note that, depending
on the database client library, attempting to reconnect may require
re-reading the client config file, which is impossible if that FTP session
has been chrooted; this is something that can be investigated.  But first
I'd like to know whether this is something that would address pains that
proftpd users are actually seeing in the wild...

Cheers,
TJ

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  Truth is within ourselves.

       -Robert Browning

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





------------------------------------------------------------------------------
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

------------------------------------------------------------------------------
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Gmane