Commit bcfd808942581cdbe91c5df0f850f77a5791e298

Authored by Benjamin Renard
1 parent 8caa7e83
Exists in master and in 1 other branch ubuntu

Change USERCASHLEN to 300

src/DDClientLibC/INCLUDE/DD_Access.h
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 #define USRLENGTH 21 /* Length of UserName: + \0 */ 11 #define USRLENGTH 21 /* Length of UserName: + \0 */
12 #define TICKETLENGTH 9 /* Length of passwd: 8 + \0 */ 12 #define TICKETLENGTH 9 /* Length of passwd: 8 + \0 */
13 #define HOSTNAMELENGTH 120 /* Length of the user host name */ 13 #define HOSTNAMELENGTH 120 /* Length of the user host name */
14 -#define USERCASHLEN 100 /* Size of user_ticket.nc file must be 300 */ 14 +#define USERCASHLEN 300 /* Size of user_ticket.nc file must be 300 */
15 #define NONAME "no_name\0" /* Name of user in case of non-WEB connection */ 15 #define NONAME "no_name\0" /* Name of user in case of non-WEB connection */
16 #define ACCINSTR "iball:acc:all" /* Instrument which watch the access */ 16 #define ACCINSTR "iball:acc:all" /* Instrument which watch the access */
17 #define TICKET_PATH "/ACC/user_ticket.nc" 17 #define TICKET_PATH "/ACC/user_ticket.nc"
src/DDClientLibCpp/INCLUDE/DD_Access.hh
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 #define USRLENGTH 21 /* Length of UserName: + \0 */ 11 #define USRLENGTH 21 /* Length of UserName: + \0 */
12 #define TICKETLENGTH 9 /* Length of passwd: 8 + \0 */ 12 #define TICKETLENGTH 9 /* Length of passwd: 8 + \0 */
13 #define HOSTNAMELENGTH 120 /* Length of the user host name */ 13 #define HOSTNAMELENGTH 120 /* Length of the user host name */
14 -#define USERCASHLEN 100 /* Size of user_ticket.nc file must be 300 */ 14 +#define USERCASHLEN 300 /* Size of user_ticket.nc file must be 300 */
15 #define NONAME "no_name\0" /* Name of user in case of non-WEB connection */ 15 #define NONAME "no_name\0" /* Name of user in case of non-WEB connection */
16 #define ACCINSTR "iball:acc:all" /* Instrument which watch the access */ 16 #define ACCINSTR "iball:acc:all" /* Instrument which watch the access */
17 #define TICKET_PATH "/ACC/user_ticket.nc" 17 #define TICKET_PATH "/ACC/user_ticket.nc"