for renames with the cifs fs client.
about that we retry the lock every 10 seconds instead of waiting
for the standard select timeout.
* BUG 4637: Fix samlogon reply regression that broke domain logons.
+ * Fix rename for Linux cifs fs client.
o Alexander Bokovoy <ab@samba.org>
uninitialized variables.
+o Herb Lewis <herb@samba.org>
+ * Update connection structure definition for tdbtool display
+ output.
+
+
o Derrell Lipman <derrell@samba.org>
* BUG 4601: Fix smbc_getxattr() to properly return the required
size of the buffer needed to contain the extended attributes.
return NT_STATUS_OBJECT_NAME_COLLISION;
}
- status = can_rename(conn,newname,attrs,&sbuf);
+ status = can_rename(conn,fsp->fsp_name,attrs,&sbuf);
if (dest_exists && !NT_STATUS_IS_OK(status)) {
- DEBUG(3,("rename_internals: Error %s rename %s -> %s\n",
+ DEBUG(3,("rename_internals_fsp: Error %s rename %s -> %s\n",
nt_errstr(status), fsp->fsp_name,newname));
if (NT_STATUS_EQUAL(status,NT_STATUS_SHARING_VIOLATION))
status = NT_STATUS_ACCESS_DENIED;
int cnum;
uid_t uid;
gid_t gid;
- char name[24];
+ char servicename[FSTRING_LEN];
char addr[24];
char machine[FSTRING_LEN];
time_t start;
printf( "\ndata %d bytes\n", (int)dbuf.dsize);
printf( "pid =%5d ", ((connections_data*)dbuf.dptr)->pid);
printf( "cnum =%10d ", ((connections_data*)dbuf.dptr)->cnum);
- printf( "name =[%s]\n", ((connections_data*)dbuf.dptr)->name);
+ printf( "name =[%s]\n", ((connections_data*)dbuf.dptr)->servicename);
printf( "uid =%5d ", ((connections_data*)dbuf.dptr)->uid);
printf( "addr =[%s]\n", ((connections_data*)dbuf.dptr)->addr);