LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-08-2005, 10:42 AM   #1
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Rep: Reputation: 15
vsftpd with PAM... errors in builddefs.h


i want to run vsftpd simply because i need a nice ftp server on the linux side. initially i installed this program without any additional switches set, but i guess because of that, i can only login locally. (annoying as hell). i read somewhere that it might be a good idea to install PAM. so i uninstalled vsftpd. and wanted to reinstall it this time with PAM. i understand you have edit the builddefs.h file before you 'make' so i uncommented the line where pam is. but when i 'make' after that i get an error. first view my builddefs.h file:

#ifndef VSF_BUILDDEFS_H
#define VSF_BUILDDEFS_H

#undef VSF_BUILD_TCPWRAPPERS
define VSF_BUILD_PAM
#undef VSF_BUILD_SSL

#endif /* VSF_BUILDDEFS_H */

now the error when make is put in:

builddefs.h:5: error: parse error before "VSF_BUILD_PAM"
In file included from tcpwrap.c:12:
utility.h:4: error: syntax error before "struct"
make: *** [tcpwrap.o] Error 1 .

ive even tried uncommenting the whole builddefs file, and i pretty much get the same error. ive read the docs over and over again, and i must be missing something. any help here would be greatly appreciated.

thanks for your time guys
 
Old 04-25-2005, 04:28 AM   #2
linuxvn
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
Hi all!
utility.h--------------------------------
#ifndef VSF_UTILITY_H
#define VSF_UTILITY_H
struct mystr;
........

It's simple, you must disable command
"struct mystr;" ------> "// struc mystr;"
Because I don't understand the use of "struct mystr;" and I think It's not in use.

Now, my VSFTPD is OK!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd pam authentication mikeseal Linux - Networking 5 03-14-2010 05:33 PM
VSFTPD virtual users pam problem Cmdr_K00n Linux - Networking 2 10-19-2007 01:44 AM
vsftpd + pam + virtual users - Pam cannot load database file. mdkelly069 Linux - Networking 3 09-22-2004 11:07 PM
Vsftpd and PAM ispnepal Linux - Networking 0 06-11-2004 06:48 AM
VSFTPD virtual user login using pam.d problem exalik Linux - Networking 3 11-07-2003 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration