summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-05-14 00:38:58 +0000
committerTim Potter <tpot@samba.org>2003-05-14 00:38:58 +0000
commit3bd3125d5ac75f743ca7e47879f0d1b06b8a812d (patch)
treed91c95ff82425cababf878ddc4e06b9c2763078e /source3/smbd
parenteb776e4fb64a87999aa04895541a8bea5e2772f3 (diff)
downloadsamba-3bd3125d5ac75f743ca7e47879f0d1b06b8a812d.tar.gz
samba-3bd3125d5ac75f743ca7e47879f0d1b06b8a812d.tar.bz2
samba-3bd3125d5ac75f743ca7e47879f0d1b06b8a812d.zip
spelling
(This used to be commit 249a6974702d050644d6d61f33f0034ce2a689ee)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/chgpasswd.c4
-rw-r--r--source3/smbd/service.c2
-rw-r--r--source3/smbd/session.c2
-rw-r--r--source3/smbd/sesssetup.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c
index 3d25f33f45..5c1d9a79a6 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -980,10 +980,10 @@ NTSTATUS change_oem_password(SAM_ACCOUNT *hnd, char *old_passwd, char *new_passw
* the /etc/passwd database first. Return failure if this cannot
* be done.
*
- * This occurs before the oem change, becouse we don't want to
+ * This occurs before the oem change, because we don't want to
* update it if chgpasswd failed.
*
- * Conditional on lp_unix_password_sync() becouse we don't want
+ * Conditional on lp_unix_password_sync() because we don't want
* to touch the unix db unless we have admin permission.
*/
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index cfb5e0e414..c9f5330551 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -792,7 +792,7 @@ connection_struct *make_connection(const char *service_in, DATA_BLOB password,
if(lp_security() != SEC_SHARE) {
DATA_BLOB no_pw = data_blob(NULL, 0);
if (vuser->homes_snum == -1) {
- DEBUG(2, ("[homes] share not available for this user becouse it was not found or created at session setup time\n"));
+ DEBUG(2, ("[homes] share not available for this user because it was not found or created at session setup time\n"));
*status = NT_STATUS_BAD_NETWORK_NAME;
return NULL;
}
diff --git a/source3/smbd/session.c b/source3/smbd/session.c
index 54b7a24b07..07a9504234 100644
--- a/source3/smbd/session.c
+++ b/source3/smbd/session.c
@@ -98,7 +98,7 @@ BOOL session_claim(user_struct *vuser)
}
/* If 'hostname lookup' == yes, then do the DNS lookup. This is
- needed becouse utmp and PAM both expect DNS names
+ needed because utmp and PAM both expect DNS names
client_name() handles this case internally.
*/
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index a9842424a5..fc223ecf37 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -644,7 +644,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,
if (*user) {
if (global_spnego_negotiated) {
- /* This has to be here, becouse this is a perfectly valid behaviour for guest logons :-( */
+ /* This has to be here, because this is a perfectly valid behaviour for guest logons :-( */
DEBUG(0,("reply_sesssetup_and_X: Rejecting attempt at 'normal' session setup after negotiating spnego.\n"));
return ERROR_NT(NT_STATUS_UNSUCCESSFUL);