search for: smboldpassword

Displaying 1 result from an estimated 1 matches for "smboldpassword".

2004 Apr 09
0
why do occur seg-fault at uicode_to_unix_char() - using remote_change_password function???
Hello everyone. I am writing some program which change password of smb users. so i use remote_change_password function and try it but seg-fault whenever call unicode_to_unix_char() function. blow my code int setsambapassword( const char *remotehost, char *username, const char *smboldpassword, char *password) { char err[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 test...