<para>The <command>vfs_crossrename</command> VFS module allows
server side rename operations even if source and target are on
- differen physical devices. A "move" in Explorer is usually a
+ different physical devices. A "move" in Explorer is usually a
rename operation if it is inside of a single share or device.
Usually such a rename operation returns
NT_STATUS_NOT_SAME_DEVICE and the client has to move the file by
if (getsockname(fd, (struct sockaddr *)&sa, &length) < 0) {
int level = (errno == ENOTCONN) ? 2 : 0;
- DEBUG(level, ("getpeername failed. Error was %s\n",
+ DEBUG(level, ("getsockname failed. Error was %s\n",
strerror(errno)));
return -1;
}
start = smb_fname->base_name;
/*
- * If we're providing case insentive semantics or
+ * If we're providing case insensitive semantics or
* the underlying filesystem is case insensitive,
* then a case-normalized hit in the stat-cache is
* authoratitive. JRA.
/*
* Make sure "dirpath" is an allocated string, we use this for
- * building the directories with asprintf and free it.
+ * building the directories with talloc_asprintf and free it.
*/
if ((dirpath == NULL) && (!(dirpath = talloc_strdup(ctx,"")))) {
/*
* A special case - if we don't have any wildcards or mangling chars and are case
- * sensitive or the underlying filesystem is case insentive then searching
+ * sensitive or the underlying filesystem is case insensitive then searching
* won't help.
*/
status = NT_STATUS_OBJECT_PATH_NOT_FOUND;
}
- DEBUG(3,("check_reduce_named: "
+ DEBUG(3,("check_reduce_name: "
"couldn't get realpath for "
"%s (%s)\n",
fname,
size_t num_domains = 0;
int i;
- /* If the domain SID hash talbe has been initialized, assume
+ /* If the domain SID hash table has been initialized, assume
that we completed this function previously */
if ( hashed_domains ) {