/dports/net/spread/spread-src-3.17.4/ |
H A D | acm.c | 45 char name[MAX_AUTH_NAME]; 52 char name[MAX_AUTH_NAME]; 70 if (!strncmp(Auth_Methods[i].name, auth_name, MAX_AUTH_NAME)) in acm_authname_to_type() 81 if (!strncmp(ACP_Methods[i].name, acp_name, MAX_AUTH_NAME)) in acm_acpname_to_type() 139 while( auth_name[i * MAX_AUTH_NAME] != '\0') in Acm_auth_create_sess_info() 141 type = acm_authname_to_type( &auth_name[i * MAX_AUTH_NAME]); in Acm_auth_create_sess_info() 233 memcpy(Auth_Methods[Num_Auth_Methods].name, name, MAX_AUTH_NAME); in Acm_auth_add_method() 307 memcpy(ACP_Methods[Num_ACP_Methods].name, name, MAX_AUTH_NAME); in Acm_acp_add_method()
|
H A D | acm.h | 43 #define MAX_AUTH_NAME 30 macro 44 #define MAX_AUTH_LIST_LEN (MAX_AUTH_METHODS * MAX_AUTH_NAME)
|
H A D | sp.c | 80 char name[MAX_AUTH_NAME]; 138 char list_str[MAX_AUTH_NAME * MAX_AUTH_METHODS]; in valid_auth_method() 394 if (strlen(auth_name) >= MAX_AUTH_NAME) in SP_set_auth_method() 406 strncpy(Auth_Methods[0].name, auth_name, MAX_AUTH_NAME); in SP_set_auth_method() 432 if (strlen(auth_name[i]) >= MAX_AUTH_NAME) in SP_set_auth_methods() 449 strncpy(Auth_Methods[i].name, auth_name[i], MAX_AUTH_NAME); in SP_set_auth_methods() 483 char auth_list[MAX_AUTH_NAME * MAX_AUTH_METHODS]; in SP_connect_timeout() 664 if ( auth_list_len > (MAX_AUTH_NAME * MAX_AUTH_METHODS) ) in SP_connect_timeout() 696 memset(auth_choice, 0, MAX_AUTH_NAME * MAX_AUTH_METHODS); in SP_connect_timeout() 701 memcpy(&auth_choice[i * MAX_AUTH_NAME], Auth_Methods[i].name, MAX_AUTH_NAME); in SP_connect_timeout() [all …]
|
H A D | session.c | 863 char auth_name[MAX_AUTH_NAME * MAX_AUTH_METHODS]; in Sess_recv_client_auth() 885 ret = recv( mbox, auth_name, MAX_AUTH_NAME * MAX_AUTH_METHODS, 0 ); in Sess_recv_client_auth() 892 if( ret < (MAX_AUTH_NAME * MAX_AUTH_METHODS) ) in Sess_recv_client_auth() 904 while ( auth_name[i * MAX_AUTH_NAME] != '\0') in Sess_recv_client_auth() 906 …"Sess_recv_client_auth: Client requested %s type authentication\n", &auth_name[i * MAX_AUTH_NAME]); in Sess_recv_client_auth() 907 if ( !Acm_auth_query_allowed(&auth_name[i * MAX_AUTH_NAME]) ) in Sess_recv_client_auth() 909 …wed auth method %s, closing session %d on mailbox %d\n", &auth_name[i * MAX_AUTH_NAME], ses, mbox); in Sess_recv_client_auth()
|
/dports/net/spread-j/spread-src-3.17.3/ |
H A D | acm.c | 45 char name[MAX_AUTH_NAME]; 52 char name[MAX_AUTH_NAME]; 70 if (!strncmp(Auth_Methods[i].name, auth_name, MAX_AUTH_NAME)) in acm_authname_to_type() 81 if (!strncmp(ACP_Methods[i].name, acp_name, MAX_AUTH_NAME)) in acm_acpname_to_type() 139 while( auth_name[i * MAX_AUTH_NAME] != '\0') in Acm_auth_create_sess_info() 141 type = acm_authname_to_type( &auth_name[i * MAX_AUTH_NAME]); in Acm_auth_create_sess_info() 233 memcpy(Auth_Methods[Num_Auth_Methods].name, name, MAX_AUTH_NAME); in Acm_auth_add_method() 307 memcpy(ACP_Methods[Num_ACP_Methods].name, name, MAX_AUTH_NAME); in Acm_acp_add_method()
|
H A D | sp.c | 79 char name[MAX_AUTH_NAME]; 127 char list_str[MAX_AUTH_NAME * MAX_AUTH_METHODS]; in valid_auth_method() 381 if (strlen(auth_name) >= MAX_AUTH_NAME) in SP_set_auth_method() 393 strncpy(Auth_Methods[0].name, auth_name, MAX_AUTH_NAME); in SP_set_auth_method() 419 if (strlen(auth_name[i]) >= MAX_AUTH_NAME) in SP_set_auth_methods() 436 strncpy(Auth_Methods[i].name, auth_name[i], MAX_AUTH_NAME); in SP_set_auth_methods() 470 char auth_list[MAX_AUTH_NAME * MAX_AUTH_METHODS]; in SP_connect_timeout() 652 if ( auth_list_len > (MAX_AUTH_NAME * MAX_AUTH_METHODS) ) in SP_connect_timeout() 684 memset(auth_choice, 0, MAX_AUTH_NAME * MAX_AUTH_METHODS); in SP_connect_timeout() 689 memcpy(&auth_choice[i * MAX_AUTH_NAME], Auth_Methods[i].name, MAX_AUTH_NAME); in SP_connect_timeout() [all …]
|
H A D | acm.h | 43 #define MAX_AUTH_NAME 30 macro 44 #define MAX_AUTH_LIST_LEN (MAX_AUTH_METHODS * MAX_AUTH_NAME)
|
H A D | session.c | 863 char auth_name[MAX_AUTH_NAME * MAX_AUTH_METHODS]; in Sess_recv_client_auth() 885 ret = recv( mbox, auth_name, MAX_AUTH_NAME * MAX_AUTH_METHODS, 0 ); in Sess_recv_client_auth() 892 if( ret < (MAX_AUTH_NAME * MAX_AUTH_METHODS) ) in Sess_recv_client_auth() 904 while ( auth_name[i * MAX_AUTH_NAME] != '\0') in Sess_recv_client_auth() 906 …"Sess_recv_client_auth: Client requested %s type authentication\n", &auth_name[i * MAX_AUTH_NAME]); in Sess_recv_client_auth() 907 if ( !Acm_auth_query_allowed(&auth_name[i * MAX_AUTH_NAME]) ) in Sess_recv_client_auth() 909 …wed auth method %s, closing session %d on mailbox %d\n", &auth_name[i * MAX_AUTH_NAME], ses, mbox); in Sess_recv_client_auth()
|
/dports/net/spread4/spread-src-4.2.0/daemon/ |
H A D | acm.c | 46 char name[MAX_AUTH_NAME]; 53 char name[MAX_AUTH_NAME]; 71 if (!strncmp(Auth_Methods[i].name, auth_name, MAX_AUTH_NAME)) in acm_authname_to_type() 82 if (!strncmp(ACP_Methods[i].name, acp_name, MAX_AUTH_NAME)) in acm_acpname_to_type() 140 while( auth_name[i * MAX_AUTH_NAME] != '\0') in Acm_auth_create_sess_info() 142 type = acm_authname_to_type( &auth_name[i * MAX_AUTH_NAME]); in Acm_auth_create_sess_info() 234 memcpy(Auth_Methods[Num_Auth_Methods].name, name, MAX_AUTH_NAME); in Acm_auth_add_method() 308 memcpy(ACP_Methods[Num_ACP_Methods].name, name, MAX_AUTH_NAME); in Acm_acp_add_method()
|
H A D | acm.h | 44 #define MAX_AUTH_NAME 30 macro 45 #define MAX_AUTH_LIST_LEN (MAX_AUTH_METHODS * MAX_AUTH_NAME)
|
H A D | session.c | 872 char auth_name[MAX_AUTH_NAME * MAX_AUTH_METHODS]; in Sess_recv_client_auth() 894 ret = recv( mbox, auth_name, MAX_AUTH_NAME * MAX_AUTH_METHODS, 0 ); in Sess_recv_client_auth() 901 if( ret < (MAX_AUTH_NAME * MAX_AUTH_METHODS) ) in Sess_recv_client_auth() 913 while ( auth_name[i * MAX_AUTH_NAME] != '\0') in Sess_recv_client_auth() 915 …"Sess_recv_client_auth: Client requested %s type authentication\n", &auth_name[i * MAX_AUTH_NAME]); in Sess_recv_client_auth() 916 if ( !Acm_auth_query_allowed(&auth_name[i * MAX_AUTH_NAME]) ) in Sess_recv_client_auth() 918 …wed auth method %s, closing session %d on mailbox %d\n", &auth_name[i * MAX_AUTH_NAME], ses, mbox); in Sess_recv_client_auth()
|
/dports/net/spread4/spread-src-4.2.0/libspread/ |
H A D | sp.c | 103 char name[MAX_AUTH_NAME]; 156 char list_str[MAX_AUTH_NAME * MAX_AUTH_METHODS]; in valid_auth_method() 469 if (strlen(auth_name) >= MAX_AUTH_NAME) in SP_set_auth_method() 481 strncpy(Auth_Methods[0].name, auth_name, MAX_AUTH_NAME); in SP_set_auth_method() 508 if (strlen(auth_name[i]) >= MAX_AUTH_NAME) in SP_set_auth_methods() 525 strncpy(Auth_Methods[i].name, auth_name[i], MAX_AUTH_NAME); in SP_set_auth_methods() 559 char auth_list[MAX_AUTH_NAME * MAX_AUTH_METHODS]; in SP_connect_timeout() 747 if ( auth_list_len > (MAX_AUTH_NAME * MAX_AUTH_METHODS) ) in SP_connect_timeout() 779 memset(auth_choice, 0, MAX_AUTH_NAME * MAX_AUTH_METHODS); in SP_connect_timeout() 784 memcpy(&auth_choice[i * MAX_AUTH_NAME], Auth_Methods[i].name, MAX_AUTH_NAME); in SP_connect_timeout() [all …]
|
/dports/net/spread/spread-src-3.17.4/java/spread/ |
H A D | SpreadConnection.java | 104 private static final int MAX_AUTH_NAME = 30; field in SpreadConnection 504 byte buffer[] = new byte[MAX_AUTH_NAME*MAX_AUTH_METHODS]; in sendAuthMethod() 515 for( ; len < (MAX_AUTH_NAME*MAX_AUTH_METHODS) ; len++ ) in sendAuthMethod() 742 this.authName = authName.substring(0, MAX_AUTH_NAME); in registerAuthentication()
|
/dports/net/spread-j/spread-src-3.17.3/java/spread/ |
H A D | SpreadConnection.java | 104 private static final int MAX_AUTH_NAME = 30; field in SpreadConnection 504 byte buffer[] = new byte[MAX_AUTH_NAME*MAX_AUTH_METHODS]; in sendAuthMethod() 515 for( ; len < (MAX_AUTH_NAME*MAX_AUTH_METHODS) ; len++ ) in sendAuthMethod() 742 this.authName = authName.substring(0, MAX_AUTH_NAME); in registerAuthentication()
|
/dports/net/spread4/spread-src-4.2.0/java/spread/ |
H A D | SpreadConnection.java | 104 private static final int MAX_AUTH_NAME = 30; field in SpreadConnection 547 byte buffer[] = new byte[MAX_AUTH_NAME*MAX_AUTH_METHODS]; in sendAuthMethod() 558 for( ; len < (MAX_AUTH_NAME*MAX_AUTH_METHODS) ; len++ ) in sendAuthMethod() 785 this.authName = authName.substring(0, MAX_AUTH_NAME); in registerAuthentication()
|