ldaptool_path2fileurl
int ldaptool_path2fileurl( char *path, char **urlp );
if ( ldaptool_path2fileurl( tmpfname, &url ) !=