summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2012-01-06 17:49:31 +0100
committerGünther Deschner <gd@samba.org>2012-01-09 10:34:06 +0100
commitab269deb5e9db1f216ec410ef26e671c5fcb28cd (patch)
tree6c8847e7f8a7b60a292263a6a5aa9a49482f761a /source3
parent3583419b98826066e7ba9a31ad1b692d3837542b (diff)
downloadsamba-ab269deb5e9db1f216ec410ef26e671c5fcb28cd.tar.gz
samba-ab269deb5e9db1f216ec410ef26e671c5fcb28cd.tar.bz2
samba-ab269deb5e9db1f216ec410ef26e671c5fcb28cd.zip
s3-passdb: remove a forward declaration.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/include/passdb.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index 598036438c..2a3844d932 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -48,6 +48,12 @@ typedef struct _GROUP_MAP {
char *comment;
} GROUP_MAP;
+struct acct_info {
+ char *acct_name; /* account name */
+ char *acct_desc; /* account name */
+ uint32_t rid; /* domain-relative RID */
+};
+
/* The following definitions come from groupdb/mapping.c */
NTSTATUS add_initial_entry(gid_t gid, const char *sid, enum lsa_SidType sid_name_use, const char *nt_name, const char *comment);
@@ -79,7 +85,6 @@ NTSTATUS pdb_default_create_alias(struct pdb_methods *methods,
const char *name, uint32_t *rid);
NTSTATUS pdb_default_delete_alias(struct pdb_methods *methods,
const struct dom_sid *sid);
-struct acct_info;
NTSTATUS pdb_default_get_aliasinfo(struct pdb_methods *methods,
const struct dom_sid *sid,
struct acct_info *info);
@@ -312,12 +317,6 @@ struct samu {
struct passwd *unix_pw;
};
-struct acct_info {
- char *acct_name; /* account name */
- char *acct_desc; /* account name */
- uint32_t rid; /* domain-relative RID */
-};
-
struct samr_displayentry {
uint32_t idx;
uint32_t rid;