Re: crypt() function is not working.????



In article <1162029799.134897.208500@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
sethukr@xxxxxxxxx wrote:

hi,

I'm doing user authendication in my FTP server..

I used crypt() function to encrypt the user password. So that i
can compare with the encripted password in the database.

but, while executing the program, it shows an error as,

UNDEFINED REFERENCE TO CRYPT() FUNCTION.

But i included "unistd.h"..

what can i do???

please help me..

-Sethu

If the error occurs while running, not while compiling, it sounds like a
library linking problem. Check your man page to see if you're required
to link with a specific library to get this function.

--
Barry Margolin, barmar@xxxxxxxxxxxx
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
.



Relevant Pages

  • Re: crypt() function is not working.????
    ... I'm doing user authendication in my FTP server.. ... I used crypt() function to encrypt the user password. ... can compare with the encripted password in the database. ...
    (comp.security.unix)
  • crypt() function is not working.????
    ... I'm doing user authendication in my FTP server.. ... I used crypt() function to encrypt the user password. ... can compare with the encripted password in the database. ...
    (comp.security.unix)
  • crypt() function is not working.????
    ... I'm doing user authendication in my FTP server.. ... I used crypt() function to encrypt the user password. ... can compare with the encripted password in the database. ...
    (comp.unix.programmer)
  • Re: crypt() function is not working.????
    ... I'm doing user authendication in my FTP server.. ... I used crypt() function to encrypt the user password. ... what the parameter types and return type are. ...
    (comp.unix.programmer)
  • Re: crypt() function is not working.????
    ... I used crypt() function to encrypt the user password. ... but, while executing the program, it shows an error as, ... if it is in your SYNOPSIS? ...
    (comp.security.unix)