summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/sids.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/lib/sids.c b/source3/lib/sids.c
index c75168ee56..4b1682afe9 100644
--- a/source3/lib/sids.c
+++ b/source3/lib/sids.c
@@ -596,3 +596,14 @@ BOOL split_domain_name(const char *fullname, char *domain, char *name)
DEBUG(10,("name '%s' split into domain:%s and nt name:%s'\n", fullname, domain, name));
return True;
}
+
+/**************************************************************************
+ enumerates all domains for which the SAM server is responsible
+***************************************************************************/
+BOOL enumdomains(char ***doms, uint32 *num_entries)
+{
+ add_chars_to_array(num_entries, doms, global_sam_name);
+ add_chars_to_array(num_entries, doms, "Builtin");
+
+ return True;
+}