/[LeafOK_CVS]/lbbs/src/net_server.c
ViewVC logotype

Diff of /lbbs/src/net_server.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.113 by sysadm, Thu Dec 25 05:20:09 2025 UTC Revision 1.115 by sysadm, Sat Jan 3 10:27:14 2026 UTC
# Line 3  Line 3 
3   * net_server   * net_server
4   *   - network server with SSH support   *   - network server with SSH support
5   *   *
6   * Copyright (C) 2004-2025  Leaflet <leaflet@leafok.com>   * Copyright (C) 2004-2026  Leaflet <leaflet@leafok.com>
7   */   */
8    
9  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
# Line 124  static int auth_password(ssh_session ses Line 124  static int auth_password(ssh_session ses
124    
125          if (ret == 0)          if (ret == 0)
126          {          {
127                    log_common("User [%s] authenticated successfully", user);
128                  return SSH_AUTH_SUCCESS;                  return SSH_AUTH_SUCCESS;
129          }          }
130    
# Line 132  static int auth_password(ssh_session ses Line 133  static int auth_password(ssh_session ses
133                  sdata->error = 1;                  sdata->error = 1;
134          }          }
135    
136            log_common("User [%s] authentication failed (%d/%d)", user,
137                              sdata->tries, BBS_login_retry_times);
138          return SSH_AUTH_DENIED;          return SSH_AUTH_DENIED;
139  }  }
140    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1