Displaying 1 result from an estimated 1 matches for "c44bd9e3".
2007 Aug 21
3
Segment violation during the list of directory with smbc_readdir
Dear samba,
I have a small piece of code that crashes on Samba 3.0.5:
int main()
{
int smbdh;
struct smbc_dirent *smbdi;
char *smb_url = "smb://SERVER/Archive/NOT EMPTY";
if(smbc_init(get_auth, 0) < 0)
{
fprintf(stderr, "error initializing libsmbclient: %s\n",
strerror(errno));
return -1;
}
if((smbdh =