From e4802bfcad0402fce1e942e22d5533b3c14ada80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 1 Apr 2009 17:56:45 +0200 Subject: [PATCH] s3-libnet-samsync: some pure cosmetics. Guenther --- source3/libnet/libnet_samsync_passdb.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/source3/libnet/libnet_samsync_passdb.c b/source3/libnet/libnet_samsync_passdb.c index b12f677e99d..1b88758be21 100644 --- a/source3/libnet/libnet_samsync_passdb.c +++ b/source3/libnet/libnet_samsync_passdb.c @@ -35,6 +35,9 @@ (!(s1) && (s2)) ||\ ((s1) && (s2) && (strcmp((s1), (s2)) != 0)) +/**************************************************************** +****************************************************************/ + static NTSTATUS sam_account_from_delta(struct samu *account, struct netr_DELTA_USER *r) { @@ -223,6 +226,9 @@ static NTSTATUS sam_account_from_delta(struct samu *account, return NT_STATUS_OK; } +/**************************************************************** +****************************************************************/ + static NTSTATUS fetch_account_info(TALLOC_CTX *mem_ctx, uint32_t rid, struct netr_DELTA_USER *r) @@ -350,6 +356,9 @@ static NTSTATUS fetch_account_info(TALLOC_CTX *mem_ctx, return nt_ret; } +/**************************************************************** +****************************************************************/ + static NTSTATUS fetch_group_info(TALLOC_CTX *mem_ctx, uint32_t rid, struct netr_DELTA_GROUP *r) @@ -412,6 +421,9 @@ static NTSTATUS fetch_group_info(TALLOC_CTX *mem_ctx, return NT_STATUS_OK; } +/**************************************************************** +****************************************************************/ + static NTSTATUS fetch_group_mem_info(TALLOC_CTX *mem_ctx, uint32_t rid, struct netr_DELTA_GROUP_MEMBER *r) @@ -535,6 +547,9 @@ static NTSTATUS fetch_group_mem_info(TALLOC_CTX *mem_ctx, return NT_STATUS_OK; } +/**************************************************************** +****************************************************************/ + static NTSTATUS fetch_alias_info(TALLOC_CTX *mem_ctx, uint32_t rid, struct netr_DELTA_ALIAS *r, @@ -594,6 +609,9 @@ static NTSTATUS fetch_alias_info(TALLOC_CTX *mem_ctx, return NT_STATUS_OK; } +/**************************************************************** +****************************************************************/ + static NTSTATUS fetch_alias_mem(TALLOC_CTX *mem_ctx, uint32_t rid, struct netr_DELTA_ALIAS_MEMBER *r, @@ -602,6 +620,9 @@ static NTSTATUS fetch_alias_mem(TALLOC_CTX *mem_ctx, return NT_STATUS_OK; } +/**************************************************************** +****************************************************************/ + static NTSTATUS fetch_domain_info(TALLOC_CTX *mem_ctx, uint32_t rid, struct netr_DELTA_DOMAIN *r) @@ -679,6 +700,9 @@ static NTSTATUS fetch_domain_info(TALLOC_CTX *mem_ctx, return NT_STATUS_OK; } +/**************************************************************** +****************************************************************/ + static NTSTATUS fetch_sam_entry(TALLOC_CTX *mem_ctx, enum netr_SamDatabaseID database_id, struct netr_DELTA_ENUM *r, @@ -774,6 +798,9 @@ static NTSTATUS fetch_sam_entry(TALLOC_CTX *mem_ctx, return NT_STATUS_OK; } +/**************************************************************** +****************************************************************/ + static NTSTATUS fetch_sam_entries(TALLOC_CTX *mem_ctx, enum netr_SamDatabaseID database_id, struct netr_DELTA_ENUM_ARRAY *r, @@ -789,6 +816,9 @@ static NTSTATUS fetch_sam_entries(TALLOC_CTX *mem_ctx, return NT_STATUS_OK; } +/**************************************************************** +****************************************************************/ + const struct samsync_ops libnet_samsync_passdb_ops = { .process_objects = fetch_sam_entries, }; -- 2.11.4.GIT