summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-05-14 00:46:43 +0000
committerTim Potter <tpot@samba.org>2003-05-14 00:46:43 +0000
commit402fbc518a5489b33f1c5eafb8e6acb9ee5addbd (patch)
treec1c2dfa46138bba3ab0a9bb975b54499090ea72b /source3/smbd
parentd956b34997cacbb1178ae22795ab3a9279103e85 (diff)
downloadsamba-402fbc518a5489b33f1c5eafb8e6acb9ee5addbd.tar.gz
samba-402fbc518a5489b33f1c5eafb8e6acb9ee5addbd.tar.bz2
samba-402fbc518a5489b33f1c5eafb8e6acb9ee5addbd.zip
spelling
(This used to be commit 865c11275685c85124b506c9bbd2a8bde2e760b9)
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 0e4c87c7fb..4d515e90f5 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -790,7 +790,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 ac06b9872d..b7f3bc43e7 100644
--- a/source3/smbd/session.c
+++ b/source3/smbd/session.c
@@ -100,7 +100,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);