1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
Andrew Bartlett
68defac58d This commit includes part of the patch from metze posted to the list, and a few
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 e13bc43262)
2002-09-06 12:57:12 +00:00
Jelmer Vernooij
558297b703 small fixes
make lp_sam_backend() a list
(This used to be commit 06eb3138ab)
2002-08-29 09:20:49 +00:00
Jelmer Vernooij
fe518a828b Put in patch from metze (Stefan Metzmacher) to:
- Rename user -> account
- Add sam_* functions (api.c)
- Several small fixes
(This used to be commit eafcc38704)
2002-08-29 07:19:05 +00:00
Jelmer Vernooij
bbbf21310f Code style + typo fixes
Added Kai Krger to copyrightholders of interface.c
(This used to be commit 067ae5f810)
2002-08-28 05:55:08 +00:00
Jelmer Vernooij
2b2b0f7119 Put in intermediate version of new SAM system. It's not stable yet, code
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 4b7de5ee23)
2002-08-28 04:54:43 +00:00