* QUERY_DIRECTORY has returned with another buffer. This way we
* guarantee that no asynchronous request is open after this call
* returns an entry, so that other synchronous requests can be issued
- * on the same connection while the directoy listing proceeds.
+ * on the same connection while the directory listing proceeds.
*/
NTSTATUS cli_smb2_list_recv(
struct tevent_req *req,
* for a SMB2_FILE_RENAME_INFORMATION buffer of
* 24 bytes. It returns NT_STATUS_INFO_LENGTH_MISMATCH
* if the length is less. This isn't an alignment
- * issue as Windows client happily 2-byte align
- * for larget target name sizes. Also the Windows 10
+ * issue as Windows client accepts happily 2-byte align
+ * for larger target name sizes. Also the Windows 10
* SMB1 server doesn't have this restriction.
*
* BUG: https://bugzilla.samba.org/show_bug.cgi?id=14403
}
/*
- * Bug#10123 - DFS referal entries can be provided in a random order,
+ * Bug#10123 - DFS referral entries can be provided in a random order,
* so check the connection cache for each item to avoid unnecessary
* reconnections.
*/
pfnum,
&cr);
- /* Try and cope will all varients of "we don't do this call"
+ /* Try and cope will all variants of "we don't do this call"
and fall back to openX. */
if (NT_STATUS_EQUAL(status,NT_STATUS_NOT_IMPLEMENTED) ||
§ors_per_block,
&bytes_per_sector);
- /* Try and cope will all varients of "we don't do this call"
+ /* Try and cope will all variants of "we don't do this call"
and fall back to cli_dskattr. */
if (NT_STATUS_EQUAL(status,NT_STATUS_NOT_IMPLEMENTED) ||
SIVAL(param, 6, resume_key); /* ff_resume_key */
/*
* NB. *DON'T* use continue here. If you do it seems that W2K
- * and bretheren can miss filenames. Use last filename
+ * and brethren can miss filenames. Use last filename
* continue instead. JRA
*/
SSVAL(param, 10, (FLAG_TRANS2_FIND_REQUIRE_RESUME
uint32_t offered_type = flags & (DS_IS_FLAT_NAME|DS_IS_DNS_NAME);
uint32_t query_type = flags & (DS_BACKGROUND_ONLY|DS_FORCE_REDISCOVERY);
- /* FIXME: check for DSGETDC_VALID_FLAGS and check for excluse bits
+ /* FIXME: check for DSGETDC_VALID_FLAGS and check for exclusive bits
* (DS_PDC_REQUIRED, DS_KDC_REQUIRED, DS_GC_SERVER_REQUIRED) */
debug_dsdcinfo_flags(10, flags);
* Check a server for being alive and well.
* returns 0 if the server is in shape. Returns 1 on error
*
- * Also useable outside libsmbclient to enable external cache
+ * Also usable outside libsmbclient to enable external cache
* to do some checks too.
*/
int
* Remove a server from the cached server list it's unused.
* On success, 0 is returned. 1 is returned if the server could not be removed.
*
- * Also useable outside libsmbclient
+ * Also usable outside libsmbclient
*/
int
SMBC_remove_unused_server(SMBCCTX * context,
/*
* We do not have a unique per-thread debug state? For
* now, we'll just leave it up to the user. If any one
- * context spefies debug to stderr then all will be (and
+ * context specifies debug to stderr then all will be (and
* will stay that way, as it is unsafe to flip back if
* stdout is in use for other things)
*/
*
* @param lock_mutex
* Lock a mutex. This function should expect three parameters: plock,
- * lock_type, and location. The mutex aassociated with identifier plock
+ * lock_type, and location. The mutex associated with identifier plock
* should be locked if lock_type is 1, and unlocked if lock_type is 2. The
* location parameter can be used for debugging, as it contains the
* compiler-provided __location__ of the call.
#define IPSTR_LIST_CHAR ','
/**
- * Allocate and initialise an ipstr list using samba_sockaddr ip adresses
+ * Allocate and initialise an ipstr list using samba_sockaddr ip addresses
* passed as arguments.
*
* @param ctx TALLOC_CTX to use
DBG_INFO("name %s#%02X found.\n", name, name_type);
/*
- * Split up the stored value into the list of IP adresses
+ * Split up the stored value into the list of IP addresses
*/
*num_names = ipstr_list_parse(ctx, value, sa_list);
}
/*********************************************************************
- Small wrapper function to get the DC list and sort it if neccessary.
+ Small wrapper function to get the DC list and sort it if necessary.
Returns a samba_sockaddr array.
*********************************************************************/
Compressed names are really weird. The "compression" doubles the
size. The idea is that it also means that compressed names conform
- to the doman name system. See RFC1002.
+ to the domain name system. See RFC1002.
If buf == NULL this is a length calculation.
******************************************************************/
/*
* If the user password must be changed the ntlmssp bind will
* fail the same way as the session setup above did. The
- * difference ist that with a pipe bind we don't get a good
+ * difference is that with a pipe bind we don't get a good
* error message, the result will be that the rpc call below
* will just fail. So we do it anonymously, there's no other
* way.
/*********************************************************
Change the domain password on the PDC.
- Do most of the legwork ourselfs. Caller must have
+ Do most of the legwork ourselves. Caller must have
already setup the connection to the NETLOGON pipe
**********************************************************/