CVS update: samba/source/sam

abartlet at samba.org abartlet at samba.org
Fri Sep 6 22:57:12 EST 2002


Date:	Fri Sep  6 12:57:12 2002
Author:	abartlet

Update of /data/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv25175/sam

Modified Files:
	api.c get_set_account.c get_set_domain.c get_set_group.c 
	interface.c 
Log Message:
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


Revisions:
api.c		1.1 => 1.2
	http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/api.c?r1=1.1&r2=1.2
get_set_account.c		1.1 => 1.2
	http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_account.c?r1=1.1&r2=1.2
get_set_domain.c		1.4 => 1.5
	http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_domain.c?r1=1.4&r2=1.5
get_set_group.c		1.2 => 1.3
	http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_group.c?r1=1.2&r2=1.3
interface.c		1.4 => 1.5
	http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/interface.c?r1=1.4&r2=1.5



More information about the samba-cvs mailing list