Lines Matching defs:smbc_ctx
525 copy_smb_file_to_gpo_cache(SMBCCTX *smbc_ctx,
555 file = smbc_getFunctionOpen(smbc_ctx)(smbc_ctx, smb_uri, O_RDONLY, 0755);
571 buflen = smbc_getFunctionRead(smbc_ctx)(smbc_ctx, file, buf, SMB_BUFFER_SIZE);
624 SMBCCTX *smbc_ctx;
628 smbc_ctx = smbc_new_context();
629 if (smbc_ctx == NULL) {
635 smbc_setOptionDebugToStderr(smbc_ctx, 1);
636 smbc_setFunctionAuthData(smbc_ctx, sssd_krb_get_auth_data_fn);
637 smbc_setOptionUseKerberos(smbc_ctx, 1);
640 if (smbc_init_context(smbc_ctx) == NULL) {
647 ret = copy_smb_file_to_gpo_cache(smbc_ctx, smb_server, smb_share, smb_path,
667 ret = copy_smb_file_to_gpo_cache(smbc_ctx, smb_server, smb_share,
680 smbc_free_context(smbc_ctx, 0);