search for: libsmbclinet

Displaying 2 results from an estimated 2 matches for "libsmbclinet".

Did you mean: libsmbclient
2004 Apr 09
0
why do occur seg-fault at uicode_to_unix_char() - using remote_change_password function???
...[1024]; int ret; memset( &err, '\0', sizeof(err)); ret = remote_password_change(remotehost, username, smboldpassword, password, err, sizeof(err)); if( *err) fprintf(stderr, err); return ret; } and compiling with follow option gcc -o testsamba testsamba.c -lsmbclinet /usr/lib/libsmbclinet.a -g and run using gdb gdb ./testsamba gdb> run Program received signal SIGSEGV, Segmentation fault, 0x080850dc in unicode_to_unix_char() gdb) where #0 0x08085dc in unicode_to_unix_char() #1 0x08069a27 in clistr_pull() #2 0x08060a7b in cli_negprot() ... ... why does this problem occur?????...
2007 May 10
2
programming libsmbclient
hi all, I have a strange problem using the libsmbclient api.. retrieving or stating files named with percents in is for some of them impossible. Example: a file located at "smb://test/test/%7C2.txt" cannot be retrieved with my code, smbc_open fails with the code NT_STATUS_OBJECT_NAME_INVALID. I am not sure but, url encoding/decoding that would escape strings with "percent"