summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-12-31 00:06:51 +0000
committerGerald Carter <jerry@samba.org>2001-12-31 00:06:51 +0000
commit7fdb821ef32459b6cdcdf6f7656d14804d4c94ed (patch)
tree5ffb3cbad140bcbf8f8a4186d1cc20dce7123fdf /source3/include
parent78528b4ec6cb675bfb81a1b8c1b7e62ae19db8ef (diff)
downloadsamba-7fdb821ef32459b6cdcdf6f7656d14804d4c94ed.tar.gz
samba-7fdb821ef32459b6cdcdf6f7656d14804d4c94ed.tar.bz2
samba-7fdb821ef32459b6cdcdf6f7656d14804d4c94ed.zip
some merges from 2.2. Still need to merge in changes from pdb_tdb.c
but it will take more time as I don't want to loose any fixes that are only in HEAD. (This used to be commit efcde5d9d8ce44c0613764504d797be54ba21473)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index a048726fa2..5b57c8318c 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -603,6 +603,7 @@ typedef struct {
(((x)->init_flag & FLAG_SAM_UID) \
&& ((x)->init_flag & FLAG_SAM_GID))
+#define IS_SAM_SET(x, flag) ((x)->init_flag & (flag))
typedef struct sam_passwd
{