Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
def get_sid(self, xid, id_type):
"""Retrive SID associated with a particular id and type.
- :param xid: UID or GID to retrive SID for.
+ :param xid: UID or GID to retrieve SID for.
:param id_type: Type of id specified - 'UID' or 'GID'
"""
data = self.db.get("%s %s\0" % (id_type, str(xid)))
unsigned char smbpwd[16];
unsigned char smbntpwd[16];
- /* retrive-once info */
+ /* retrieve-once info */
const char *smbpasswd_file;
};
nt_status = gensec_session_info(state->gensec_state, mem_ctx, &session_info);
if (!NT_STATUS_IS_OK(nt_status)) {
- reply_code = "BH Failed to retrive session info";
+ reply_code = "BH Failed to retrieve session info";
reply_arg = nt_errstr(nt_status);
DEBUG(1, ("GENSEC failed to retrieve the session info: %s\n", nt_errstr(nt_status)));
} else {