summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-09-24 03:03:26 +0200
committerChristian Ambach <ambi@samba.org>2012-09-27 04:36:52 +0200
commit43606bcbbfe237990ab0b100cf322c0c80e90eb2 (patch)
tree547842a66eda3fd9cf785f6990dd902122d4bab5 /source3/passdb
parentee0012de1af1a3899856bcdb80033d1a82d5b174 (diff)
downloadsamba-43606bcbbfe237990ab0b100cf322c0c80e90eb2.tar.gz
samba-43606bcbbfe237990ab0b100cf322c0c80e90eb2.tar.bz2
samba-43606bcbbfe237990ab0b100cf322c0c80e90eb2.zip
s3:passdb formatting changes
fix some trailing whitespace and a typo
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/machine_sid.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/passdb/machine_sid.c b/source3/passdb/machine_sid.c
index 56edb171cb..cdef1d61c9 100644
--- a/source3/passdb/machine_sid.c
+++ b/source3/passdb/machine_sid.c
@@ -1,4 +1,4 @@
-/*
+/*
Unix SMB/CIFS implementation.
Password and authentication handling
Copyright (C) Jeremy Allison 1996-2002
@@ -180,7 +180,7 @@ static struct dom_sid *pdb_generate_sam_sid(void)
}
return sam_sid;
-}
+}
/* return our global_sam_sid */
struct dom_sid *get_global_sam_sid(void)
@@ -194,7 +194,7 @@ struct dom_sid *get_global_sam_sid(void)
* memory for global_sam_sid is allocated in
* pdb_generate_sam_sid() as needed
*
- * Note: this is garded by a transaction
+ * Note: this is guarded by a transaction
* to prevent races on startup which
* can happen with some dbwrap backends
*/
@@ -220,8 +220,8 @@ struct dom_sid *get_global_sam_sid(void)
return global_sam_sid;
}
-/**
- * Force get_global_sam_sid to requery the backends
+/**
+ * Force get_global_sam_sid to requery the backends
*/
void reset_global_sam_sid(void)
{
@@ -230,7 +230,7 @@ void reset_global_sam_sid(void)
/*****************************************************************
Check if the SID is our sam SID (S-1-5-21-x-y-z).
-*****************************************************************/
+*****************************************************************/
bool sid_check_is_our_sam(const struct dom_sid *sid)
{
@@ -239,7 +239,7 @@ bool sid_check_is_our_sam(const struct dom_sid *sid)
/*****************************************************************
Check if the SID is our domain SID (S-1-5-21-x-y-z).
-*****************************************************************/
+*****************************************************************/
bool sid_check_is_in_our_sam(const struct dom_sid *sid)
{