summaryrefslogtreecommitdiff
path: root/source3/sam/interface.c
AgeCommit message (Collapse)AuthorFilesLines
2002-09-26syncing up with HEAD again....Gerald Carter1-3/+2
(This used to be commit e026b84815ad1a5fa981c24fff197fefa73b4928)
2002-09-24enum_domains shouldn't crash when there are no domains availableJelmer Vernooij1-4/+0
(This used to be commit d312e1c2b44905af87c4d550975eee78dbf2edee)
2002-09-24Fix bug in get_methods_by_nameJelmer Vernooij1-10/+9
Fix bug in enum_domains Add samtest commands: - lookup_sid - lookup_name - enum_domains - lookup_domain (This used to be commit 0c01219850e5d9b77b3b2c0b4b87aa3c82e3292b)
2002-09-24- Don't put pointer to sam_domain_handle in sam_methods but single domainsid ↵Jelmer Vernooij1-16/+23
and domainname - Allocate sam_methods, set domain_sid, domain_name and backend_name in make_sam_methods_backend_entry instead of in the backend - Remove sam_context and domain_sid pointers from the sam_init_function - we don't need those arguments anymore since they're available in sam_methods as well (This used to be commit 50d2527eed0eb26c16f2f7e28badbf08d771380e)
2002-09-19Move functionality to check whether entries for lp_workgroup() and "BUILTIN"Jelmer Vernooij1-67/+96
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)
2002-09-19Merge in first command for 'samtest'Jelmer Vernooij1-17/+16
Fix small bug in sam/interface.c Make sam backend to default to a define (This used to be commit 60ab55fedf03a0b505b0b73527e031124a46304e)
2002-09-08Patch from Stefan (metze) Metzmacher with more updates for the SAM subsystemJelmer Vernooij1-170/+387
(This used to be commit 56cb03bfc68727384df46bde6df03950f7cdfcf9)
2002-09-06Fix some missing ; on the end of our SAM_ASSERT()...Andrew Bartlett1-4/+4
(This used to be commit 4d642e1fa4ed454a421a9f219a8cdecddb57fd31)
2002-09-06Get our consts back in line with current norms - only for pointer protection.Andrew Bartlett1-7/+7
Debate about extending this policy welcomed on samba-technical. Andrew Bartlett (This used to be commit 5f59abb410110c22b6fffd7502443b5259d12e5a)
2002-09-06This commit includes part of the patch from metze posted to the list, and a fewAndrew Bartlett1-34/+24
of my own changes. In particular: I've added a SAM_ASSERT macro. This expands to either SMB_ASSERT() (which should help us track down bugs) or a return of NT_STATUS_CHECK_FAIL. Metze's changes are mostly to bring the code into line with current discussions on things like adding users/groups, flags etc. I've adjusted a fair bit of the 'const' in the SAM stuff. Const is currently used only for pointers, not for local variables or non-pointer paramters. The benifits and reasons for extending this further need discussion on samba-technical. Also, some of the 'context' paramters should not be const, to allow backend modules to do fancy caching etc in them. Andrew Bartlett (This used to be commit e13bc432628a6131be082caedc75cd8a3d206e5a)
2002-08-29small fixesJelmer Vernooij1-6/+6
make lp_sam_backend() a list (This used to be commit 06eb3138ab14ff450bbc44f5fa539867ce67a7dd)
2002-08-29Put in patch from metze (Stefan Metzmacher) to:Jelmer Vernooij1-173/+172
- Rename user -> account - Add sam_* functions (api.c) - Several small fixes (This used to be commit eafcc387045f4f265631a952297caf3f6db779d8)
2002-08-28Code style + typo fixesJelmer Vernooij1-0/+1
Added Kai Krüger to copyrightholders of interface.c (This used to be commit 067ae5f81076611a0042eb064afdffa5e37f93e9)
2002-08-28Put in intermediate version of new SAM system. It's not stable yet, codeJelmer Vernooij1-0/+1001
might be ugly, etc - please don't blame me for anything but instead try to fix the code :-). Compiling of the new sam system can be enabled with the configure option --with-sam Removing passdb/passgrp.c as it's unused fix typo in utils/testparm.c (This used to be commit 4b7de5ee236c043e6169f137992baf09a95c6f2c)