search for: origpath

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

Did you mean: orig_path
2000 May 10
0
patche for samba-2.0.7/source/smbd/conn.c
...use = i; + } + } + + + conn->cnum = i; + cth.Connections[i] = conn; + cth.num_open++; + + string_set(&conn->user,""); + string_set(&conn->dirpath,""); + string_set(&conn->connectpath,""); + string_set(&conn->origpath,""); + - ZERO_STRUCTP(conn); - conn->cnum = i; - - bitmap_set(bmap, i); - - num_open++; - - string_set(&conn->user,""); - string_set(&conn->dirpath,""); - string_set(&conn->connectpath,""); - string_set(&conn->origpath,&qu...
2001 Apr 14
4
Code to hide inaccessible files/directories
...nt l = strlen(n)+1; /* If it's a vetoed file, pretend it doesn't even exist */ if (use_veto && conn && IS_VETO_PATH(conn, n)) continue; /* hack to hide files that the user doesn't have read perms to */ snprintf(fullPath,2048,"%s/%s/%s",conn->origpath,name,n); if (access(fullPath,R_OK) ) continue; if (used + l > dirp->mallocsize) { int s = MAX(used+l,used+2000); char *r; r = (char *)Realloc(dirp->data,s); if (!r) { DEBUG(0,("Out of memory in OpenDir\n")); break; } dir...