Changeset 454 for trunk/server/source3/libsmb
- Timestamp:
- Jun 4, 2010, 3:11:43 PM (15 years ago)
- Location:
- trunk/server/source3/libsmb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/libsmb/clientgen.c
r429 r454 567 567 bool mandatory_signing = false; 568 568 569 #ifndef __OS2__ 569 570 /* Check the effective uid - make sure we are not setuid */ 570 571 if (is_setuid_root()) { … … 572 573 return NULL; 573 574 } 575 #endif 574 576 575 577 cli = TALLOC_ZERO_P(NULL, struct cli_state); -
trunk/server/source3/libsmb/clifile.c
r414 r454 4360 4360 &setup, 1, 0, /* setup, length, max */ 4361 4361 param, param_len, 10, /* param, length, max */ 4362 #ifdef __OS2__ 4363 NULL, data_len, CLI_BUFFER_SIZE /* data, length, max */ 4364 #else 4362 4365 NULL, data_len, cli->max_xmit /* data, length, max */ 4366 #endif 4363 4367 )) { 4364 4368 return False; … … 4502 4506 memset(param, 0, 6); 4503 4507 SSVAL(param,0,fnum); 4508 #ifndef __OS2__ 4504 4509 SSVAL(param,2,SMB_INFO_SET_EA); 4510 #else 4511 SSVAL(param,2,SMB_INFO_QUERY_ALL_EAS); 4512 #endif 4505 4513 4506 4514 return cli_get_ea_list(cli, setup, param, 6, ctx, pnum_eas, pea_list);
Note:
See TracChangeset
for help on using the changeset viewer.