summaryrefslogtreecommitdiff
path: root/source3/sam/api.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-09-19 17:40:55 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-09-19 17:40:55 +0000
commit8322448c40ed7191b0669f885fde39d4ca89d341 (patch)
tree0161a239c9231e1e481fb3fc90eed9df72756e9d /source3/sam/api.c
parent0ce509e2f5f291cc1ef7c4ec610f4c9f379898d9 (diff)
downloadsamba-8322448c40ed7191b0669f885fde39d4ca89d341.tar.gz
samba-8322448c40ed7191b0669f885fde39d4ca89d341.tar.bz2
samba-8322448c40ed7191b0669f885fde39d4ca89d341.zip
Move functionality to check whether entries for lp_workgroup() and "BUILTIN"
exist and add them if necessary from check_correct_backend_entries into sam_context_check_default_backends. The reason for this is that we don't always want to have BUILTIN and lp_workgroup() in a sam_context, for example when doing sam2sam. check_correct_backend_entries has been renamed to 'check_duplicate_backend_entries' since that's what it currently does. The sam_context_check_default_backends() function is only called by sam_get_static_context(BOOL reload) currently currently. (This used to be commit 2fe72652ee468bf5e1f8f151215f45b10f4c8a28)
Diffstat (limited to 'source3/sam/api.c')
-rw-r--r--source3/sam/api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/sam/api.c b/source3/sam/api.c
index 5d850becce..fb2f015e95 100644
--- a/source3/sam/api.c
+++ b/source3/sam/api.c
@@ -1,7 +1,7 @@
/*
Unix SMB/CIFS implementation.
SAM interface API.
-
+
Copyright (C) Stefan (metze) Metzmacher 2002
This program is free software; you can redistribute it and/or modify
@@ -24,7 +24,7 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_SAM
-/* this function should be used by the rest of SAMBA --metze */
+/* these functions should be used by the rest of SAMBA --metze */
/* General API */