Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor10485231048523 µC/TELNETs Authentication Anchor10468991046899To control the telnet access to the machine the server runs on, your application must implement an authentication mechanism via this callback function: Anchor1046934

Code Block

...

CPU_BOOLEAN TELNETs_AuthUser (CPU_CHAR *user_name,

...

 
							  CPU_CHAR *pw);

...

where user_name is the entered login name and password, the associated password provided by the client. If your application authenticates correctly the user, the function must return DEF_OK. Otherwise, DEF_FAIL must be returned.