Re: [Proftpd-user] Mod_radius - proftpd
This is a discussion on Re: [Proftpd-user] Mod_radius - proftpd ; > Below is a log:
>
> Oct 05 20:15:00 r63.co.za proftpd[55730] r63.co.za: ProFTPD 1.3.1
standalone
> mode SHUTDOWN
>
> Oct 05 20:15:02 r63.co.za proftpd[55771] r63.co.za: ProFTPD 1.3.1 (stable)
> (built Mon Sep 22 10:05:43 SAST 2008) standalone mode ...
-
Re: [Proftpd-user] Mod_radius
> Below is a log:
>
> Oct 05 20:15:00 r63.co.za proftpd[55730] r63.co.za: ProFTPD 1.3.1
standalone
> mode SHUTDOWN
>
> Oct 05 20:15:02 r63.co.za proftpd[55771] r63.co.za: ProFTPD 1.3.1 (stable)
> (built Mon Sep 22 10:05:43 SAST 2008) standalone mode STARTUP
>
> Oct 05 20:15:04 r63.co.za proftpd[55772] r63.co.za
> (192.168.12.110[192.168.12.110]): mod_clamav/0.5: warning: No local socket
> was specified.
>
> Oct 05 20:15:04 r63.co.za proftpd[55772] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
>
> Oct 05 20:15:05 r63.co.za proftpd[55772] r63.co.za
> (192.168.12.110[192.168.12.110]): no such user 'martinsf'
>
> Oct 05 20:15:05 r63.co.za proftpd[55772] r63.co.za
> (192.168.12.110[192.168.12.110]): USER martinsf: no such user found from
> 192.168.12.110 [192.168.12.110] to 192.168.239.1:21
>RADIUS by itself usually doesn't provide all of the information that
>proftpd needs, e.g. UID, GID, home directory, etc. The way you have
>proftpd+mod_radius configured, RADIUS is only being used to ask the yes/no
>question of "is this user authenticated?". ProFTPD still needs all of the
>other information about the user to be able to log them in.
This I realized but was unaware of how to do in my situation!
>Now you *can* configure mod_radius so that it provides all of that user
>information. (And since it's OK, in your case, for all users to have the
>same UID/GID, it makes things easier.) For example, you might try:
>
> RadiusEngine on
> RadiusLog /path/to/ftpd/radius.log
> RadiusAuthServer 192.168.239.3:1812 mypasswordhere
> # Replace "uid" and "gid" with the numeric values you wish to use
> # for all of your RADIUS users
> RadiusUserInfo uid gid /var/ftp /bin/false
> RadiusGroupInfo nogroup gid
>
And so I did following...
RadiusAuthServer radiussrviphere:1812 radiusserverpasshere
RadiusEngine on
RadiusLog /var/log/ftpradius.log
RadiusUserInfo 65534 65533 /var/ftp /bin/false
RadiusGroupInfo nogroup 65533
I get...
Starting proftpd.
- Fatal: RadiusGroupInfo: missing arguments on line 42 of
'/usr/local/etc/proftpd.conf'
Line 42 is
RadiusGroupInfo nogroup 65533
>See:
> http://www.proftpd.org/docs/contrib/...RadiusUserInfo
> http://www.proftpd.org/docs/contrib/...adiusGroupInfo
>I have a nascent RADIUS mini-HOWTO for proftpd in progress, but sadly it
>is not yet in a publishable state just yet.
>Hope the above helps,
>TJ
Thank You! Do appreciate the help!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
-
Re: [Proftpd-user] Mod_radius
> And so I did following...
>
> RadiusAuthServer radiussrviphere:1812 radiusserverpasshere
> RadiusEngine on
> RadiusLog /var/log/ftpradius.log
> RadiusUserInfo 65534 65533 /var/ftp /bin/false
> RadiusGroupInfo nogroup 65533
> - Fatal: RadiusGroupInfo: missing arguments on line 42 of
> '/usr/local/etc/proftpd.conf'
Ah, right. The RadiusGroupInfo line should be:
RadiusGroupInfo nogroup nogroup 65533
The redundancy looks odd, I know; the syntax of this directive is more
oriented toward handling group information from the RADIUS server, rather
than being "hardcoded" in the proftpd.conf file.
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
-
Re: [Proftpd-user] Mod_radius
> And so I did following...
>
> RadiusAuthServer radiussrviphere:1812 radiusserverpasshere
> RadiusEngine on
> RadiusLog /var/log/ftpradius.log
> RadiusUserInfo 65534 65533 /var/ftp /bin/false
> RadiusGroupInfo nogroup 65533
> - Fatal: RadiusGroupInfo: missing arguments on line 42 of
> '/usr/local/etc/proftpd.conf'
>Ah, right. The RadiusGroupInfo line should be:
> RadiusGroupInfo nogroup nogroup 65533
That did the trick! Thank You!
>The redundancy looks odd, I know; the syntax of this directive is more
>oriented toward handling group information from the RADIUS server, rather
>than being "hardcoded" in the proftpd.conf file.
Unfortunately whats happening now is that when a user tries to connect it
checks hes user/pass approves, and just times out.
On "Filezilla as ftp client" I now get
"Connection timed out"
"Could not connect to server"
In logs I only have following:
Oct 14 10:49:04 r63.co.za proftpd[89614] r63.co.za
(192.168.12.110[192.168.12.110]): FTP session opened.
Oct 14 10:49:31 r63.co.za proftpd[89617] r63.co.za
(192.168.12.110[192.168.12.110]): FTP session opened.
Oct 14 10:49:57 r63.co.za proftpd[89622] r63.co.za
(192.168.12.110[192.168.12.110]): FTP session opened.
Oct 14 10:50:23 r63.co.za proftpd[89645] r63.co.za
(192.168.12.110[192.168.12.110]): FTP session opened.
Oct 14 10:50:49 r63.co.za proftpd[89662] r63.co.za
(192.168.12.110[192.168.12.110]): FTP session opened.
Oct 14 10:51:07 r63.co.za proftpd[89663] r63.co.za
(192.168.12.110[192.168.12.110]): FTP session opened.
Oct 14 10:51:33 r63.co.za proftpd[89670] r63.co.za
(192.168.12.110[192.168.12.110]): FTP session opened.
Oct 14 10:51:59 r63.co.za proftpd[89710] r63.co.za
(192.168.12.110[192.168.12.110]): FTP session opened.
&
192.168.12.110 UNKNOWN nobody [14/Oct/2008:10:46:16 +0200] "USER thavinci"
331 -
192.168.12.110 UNKNOWN nobody [14/Oct/2008:10:46:42 +0200] "USER thavinci"
331 -
192.168.12.110 UNKNOWN nobody [14/Oct/2008:10:49:05 +0200] "USER thavinci"
331 -
192.168.12.110 UNKNOWN nobody [14/Oct/2008:10:49:31 +0200] "USER thavinci"
331 -
192.168.12.110 UNKNOWN nobody [14/Oct/2008:10:49:57 +0200] "USER thavinci"
331 -
192.168.12.110 UNKNOWN nobody [14/Oct/2008:10:50:23 +0200] "USER thavinci"
331 -
192.168.12.110 UNKNOWN nobody [14/Oct/2008:10:50:50 +0200] "USER thavinci"
331 -
192.168.12.110 UNKNOWN nobody [14/Oct/2008:10:51:07 +0200] "USER martins"
331 -
192.168.12.110 UNKNOWN nobody [14/Oct/2008:10:51:33 +0200] "USER martins"
331 -
192.168.12.110 UNKNOWN nobody [14/Oct/2008:10:51:59 +0200] "USER martins"
331 -
&
Oct 14 10:51:33 mod_radius/0.9[89670]: packet receive succeeded
Oct 14 10:51:33 mod_radius/0.9[89670]: verifying packet
Oct 14 10:51:33 mod_radius/0.9[89670]: authentication successful for user
'martins'
Oct 14 10:51:59 mod_radius/0.9[89710]: notice: no configured
RadiusAcctServers, no accounting
Oct 14 10:51:59 mod_radius/0.9[89710]: sending auth request packet
Oct 14 10:51:59 mod_radius/0.9[89710]: sending packet to 192.168.239.3:1812
Oct 14 10:51:59 mod_radius/0.9[89710]: receiving auth response packet
Oct 14 10:51:59 mod_radius/0.9[89710]: packet receive succeeded
Oct 14 10:51:59 mod_radius/0.9[89710]: verifying packet
Oct 14 10:51:59 mod_radius/0.9[89710]: authentication successful for user
'martins'
Input anyone?
>TJ
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
-
Re: [Proftpd-user] Mod_radius
> In logs I only have following:
>
> Oct 14 10:49:04 r63.co.za proftpd[89614] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:49:31 r63.co.za proftpd[89617] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:49:57 r63.co.za proftpd[89622] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:50:23 r63.co.za proftpd[89645] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:50:49 r63.co.za proftpd[89662] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:51:07 r63.co.za proftpd[89663] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:51:33 r63.co.za proftpd[89670] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:51:59 r63.co.za proftpd[89710] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
You will need to use the SystemLog and DebugLevel directives, preferably
DebugLevel 10; see:
http://www.proftpd.org/docs/howto/Debugging.html
TJ
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A man said to the Universe: "Sir, I exist!"
"However," replied the Universe, "the fact has not created in me a sense of
obligation."
-Stephen Crane
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
-
Re: [Proftpd-user] Mod_radius
> In logs I only have following:
>
> Oct 14 10:49:04 r63.co.za proftpd[89614] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:49:31 r63.co.za proftpd[89617] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:49:57 r63.co.za proftpd[89622] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:50:23 r63.co.za proftpd[89645] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:50:49 r63.co.za proftpd[89662] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:51:07 r63.co.za proftpd[89663] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:51:33 r63.co.za proftpd[89670] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
> Oct 14 10:51:59 r63.co.za proftpd[89710] r63.co.za
> (192.168.12.110[192.168.12.110]): FTP session opened.
>You will need to use the SystemLog and DebugLevel directives, preferably
>DebugLevel 10; see:
Thank You.
Did following:
proftpd -nd10
- mod_tls/2.1.2: using OpenSSL 0.9.8e 23 Feb 2007
- retrieved UID 65534 for user 'nobody'
- retrieved GID 65533 for group 'nogroup'
- : deferring resolution of path
- : ignoring empty context
r63.co.za -
r63.co.za - Config for R63 Public FTP Server:
r63.co.za - Limit
r63.co.za - DenyAll
r63.co.za - DefaultServer
r63.co.za - Umask
r63.co.za - CommandBufferSize
r63.co.za - UserID
r63.co.za - UserName
r63.co.za - GroupID
r63.co.za - GroupName
r63.co.za - AllowOverwrite
r63.co.za - RadiusAuthServer
r63.co.za - RadiusEngine
r63.co.za - RadiusLog
r63.co.za - RadiusUserInfo
r63.co.za - RadiusGroupInfo
r63.co.za - ClamAV
r63.co.za - ClamLocalSocket
r63.co.za - ClamWarn
r63.co.za - TransferLog
r63.co.za - ExtendedLog
r63.co.za - DefaultRoot
r63.co.za - DefaultChdir
r63.co.za - DeleteAbortedStores
r63.co.za - HiddenStores
r63.co.za - RequireValidShell
r63.co.za - RootLogin
r63.co.za - UseFtpUsers
r63.co.za - ROOT PRIVS at mod_delay.c:307
r63.co.za - RELINQUISH PRIVS at mod_delay.c:309
r63.co.za - ROOT PRIVS at mod_ctrls.c:1618
r63.co.za - RELINQUISH PRIVS at mod_ctrls.c:1620
r63.co.za - retrieved group ID: 65534
r63.co.za - setting group ID: 65534
r63.co.za - SETUP PRIVS at main.c:2849
r63.co.za - ROOT PRIVS at main.c:1926
r63.co.za - RELINQUISH PRIVS at main.c:1933
r63.co.za - ROOT PRIVS at main.c:2257
r63.co.za - opening scoreboard '/var/run/proftpd.scoreboard'
r63.co.za - RELINQUISH PRIVS at main.c:2283
r63.co.za - ROOT PRIVS at mod_ctrls_admin.c:1092
r63.co.za - opening scoreboard '/var/run/proftpd.scoreboard'
r63.co.za - RELINQUISH PRIVS at mod_ctrls_admin.c:1094
r63.co.za - ROOT PRIVS at inet.c:250
r63.co.za - RELINQUISH PRIVS at inet.c:267
r63.co.za - ROOT PRIVS at inet.c:343
r63.co.za - RELINQUISH PRIVS at inet.c:406
r63.co.za - ProFTPD 1.3.1 (stable) (built Mon Sep 22 10:05:43 SAST 2008)
standalone mode STARTUP
r63.co.za - ROOT PRIVS at pidfile.c:42
r63.co.za - RELINQUISH PRIVS at pidfile.c:44
r63.co.za - ROOT PRIVS at mod_ctrls.c:1180
r63.co.za - RELINQUISH PRIVS at mod_ctrls.c:1184
r63.co.za - ROOT PRIVS at main.c:1054
r63.co.za - RELINQUISH PRIVS at main.c:1058
r63.co.za - no matching vhost found for 192.168.239.1#21, using
DefaultServer 'R63 Public FTP Server'
r63.co.za (192.168.12.110[192.168.12.110]) - ROOT PRIVS at main.c:903
r63.co.za (192.168.12.110[192.168.12.110]) - SETUP PRIVS at main.c:908
r63.co.za (192.168.12.110[192.168.12.110]) - FTP session requested from
unknown class
r63.co.za (192.168.12.110[192.168.12.110]) - performing module session
initializations
r63.co.za (192.168.12.110[192.168.12.110]) - ROOT PRIVS at mod_clamav.c:122
r63.co.za (192.168.12.110[192.168.12.110]) - RELINQUISH PRIVS at
mod_clamav.c:141
r63.co.za (192.168.12.110[192.168.12.110]) - ROOT PRIVS at mod_radius.c:1725
r63.co.za (192.168.12.110[192.168.12.110]) - RELINQUISH PRIVS at
mod_radius.c:1727
r63.co.za (192.168.12.110[192.168.12.110]) - mod_sql/4.2.2: defaulting to
'mysql' backend
r63.co.za (192.168.12.110[192.168.12.110]) - ROOT PRIVS at mod_delay.c:1232
r63.co.za (192.168.12.110[192.168.12.110]) - RELINQUISH PRIVS at
mod_delay.c:1234
r63.co.za (192.168.12.110[192.168.12.110]) - mod_log: opening ExtendedLog
'/var/log/proftpd.log'
r63.co.za (192.168.12.110[192.168.12.110]) - ROOT PRIVS at mod_log.c:1218
r63.co.za (192.168.12.110[192.168.12.110]) - RELINQUISH PRIVS at
mod_log.c:1220
r63.co.za (192.168.12.110[192.168.12.110]) - ROOT PRIVS at mod_auth.c:151
r63.co.za (192.168.12.110[192.168.12.110]) - opening scoreboard
'/var/run/proftpd.scoreboard'
r63.co.za (192.168.12.110[192.168.12.110]) - RELINQUISH PRIVS at
mod_auth.c:153
r63.co.za (192.168.12.110[192.168.12.110]) - performing ident lookup
r63.co.za (192.168.12.110[192.168.12.110]) - ROOT PRIVS at inet.c:250
r63.co.za (192.168.12.110[192.168.12.110]) - RELINQUISH PRIVS at inet.c:267
r63.co.za (192.168.12.110[192.168.12.110]) - ident lookup returned 'UNKNOWN'
r63.co.za (192.168.12.110[192.168.12.110]) - connected - local :
192.168.239.1:21
r63.co.za (192.168.12.110[192.168.12.110]) - connected - remote :
192.168.12.110:59887
r63.co.za (192.168.12.110[192.168.12.110]) - FTP session opened.
r63.co.za (192.168.12.110[192.168.12.110]) - setting CommandBufferSize to
512
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'USER thavinci' to mod_tls
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'USER thavinci' to mod_rewrite
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'USER thavinci' to mod_core
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'USER thavinci' to mod_core
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'USER thavinci' to mod_delay
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'USER thavinci' to mod_auth
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching CMD command 'USER
thavinci' to mod_ratio
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching CMD command 'USER
thavinci' to mod_auth
r63.co.za (192.168.12.110[192.168.12.110]) - retrieved group IDs: 65533,
65533
r63.co.za (192.168.12.110[192.168.12.110]) - retrieved group names: nogroup,
nogroup
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching POST_CMD command
'USER thavinci' to mod_sql
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching POST_CMD command
'USER thavinci' to mod_delay
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching LOG_CMD command
'USER thavinci' to mod_sql
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching LOG_CMD command
'USER thavinci' to mod_log
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'PASS (hidden)' to mod_tls
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'PASS (hidden)' to mod_rewrite
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'PASS (hidden)' to mod_core
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'PASS (hidden)' to mod_core
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'PASS (hidden)' to mod_ban
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'PASS (hidden)' to mod_radius
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'PASS (hidden)' to mod_wrap2
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'PASS (hidden)' to mod_sql
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'PASS (hidden)' to mod_delay
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching PRE_CMD command
'PASS (hidden)' to mod_auth
r63.co.za (192.168.12.110[192.168.12.110]) - dispatching CMD command 'PASS
(hidden)' to mod_auth
r63.co.za (192.168.12.110[192.168.12.110]) - retrieved group IDs: 65533,
65533, 0
r63.co.za - scrubbing scoreboard
r63.co.za - ROOT PRIVS at scoreboard.c:761
r63.co.za - RELINQUISH PRIVS at scoreboard.c:763
r63.co.za - ROOT PRIVS at scoreboard.c:791
r63.co.za - RELINQUISH PRIVS at scoreboard.c:822
^Cr63.co.za - ProFTPD terminating (signal 2)
r63.co.za - ROOT PRIVS at main.c:1789
r63.co.za - ROOT PRIVS at mod_delay.c:1095
r63.co.za - RELINQUISH PRIVS at mod_delay.c:1097
r63.co.za - ROOT PRIVS at mod_ban.c:1582
r63.co.za - RELINQUISH PRIVS at mod_ban.c:1584
r63.co.za - mod_ban/0.5.1: error removing shm -1: No such file or directory
r63.co.za - RELINQUISH PRIVS at main.c:1811
r63.co.za - ProFTPD 1.3.1 standalone mode SHUTDOWN
r63.co.za - ROOT PRIVS at main.c:1818
r63.co.za - deleting existing scoreboard '/var/run/proftpd.scoreboard'
r63.co.za - RELINQUISH PRIVS at main.c:1820
> http://www.proftpd.org/docs/howto/Debugging.html
>TJ
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
-
[Proftpd-user] problems building 64bit
Hi List,
try my first steps to compile and packaging on opensuse 11 64bit
Did download fresh 1.3.1 sources, and applied this configure:
../configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --with-modules=mod_tls:mod_sql:mod_sql_mysql:mod_quotatab :mod_quotatab_sql:mod_ifsession
--with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql
configure runs successful but make returns an error:
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall
-c mod_sql_mysql.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall
-c mod_quotatab.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall
-c mod_quotatab_sql.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall
-c mod_ifsession.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall
-c mod_cap.c
srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o
mod_auth.o mod_ls.o mod_log.o mod_site.o mod_delay.o mod_tls.o mod_sql.o
mod_sql_mysql.o mod_quotatab.o mod_quotatab_sql.o mod_ifsession.o mod_cap.o
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall
-c module_glue.c
make[1]: Leaving directory `/usr/src/ftp/proftpd-1.3.1/modules'
test -z """" -a -z """" || (cd modules/ && make shared)
make[1]: Entering directory `/usr/src/ftp/proftpd-1.3.1/lib/libcap'
=> making cap_names.c from
gcc -O2 -Wall -L/lib -L/usr/lib/mysql _makenames.c -o _makenames
../_makenames > cap_names.h
gcc -O2 -Wall -c cap_alloc.c -o cap_alloc.o
In file included from cap_alloc.c:12:
libcap.h:57:3: error: #error "Kernel does not match
library"
libcap.h:58:3: error: #error "file "libcap.h" --> fix and recompile libcap"
make[1]: *** [cap_alloc.o] Error 1
make[1]: Leaving directory `/usr/src/ftp/proftpd-1.3.1/lib/libcap'
make: *** [dirs] Error 2
I dont know how to handle this. I tried same with 1.3.2rc2 and there was no
error, but i think a RC is not stable enough to run in Production
Environment?
Thank you
Andre
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
-
Re: [Proftpd-user] problems building 64bit
Hi,
> Hello,
>
> please, if you are writing a new post, send it as new mail and not
> as reply/followup on old mail. It makes people with threading clients
> angry and they can also in such case miss your e-mail.
> Thank you.
sure, my mistake. i read digest-version and forgot to edit subject-line.
sry
Andre
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
-
Re: [Proftpd-user] problems building 64bit
Hi,
> Editing the subject line is not going to help. Copy the list address and
> create a brand new mail. Do not hit reply and edit the subject-line. This
> still leaves the references which will refer to the wrong thread.
very sensible your environment... i will send a complete new one, sorry.
Andre
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html