diff options
author | Luke Leighton <lkcl@samba.org> | 1999-12-01 18:47:29 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-12-01 18:47:29 +0000 |
commit | d9cc4c39504534da0f4cd2569c724de4909ebd79 (patch) | |
tree | eea6f3546c9862fe53434a7120bff7a5356d2070 /source3/include/smb_macros.h | |
parent | 106fe88be01f7ac7d1369e97a6468dcd80c0a813 (diff) | |
download | samba-d9cc4c39504534da0f4cd2569c724de4909ebd79.tar.gz samba-d9cc4c39504534da0f4cd2569c724de4909ebd79.tar.bz2 samba-d9cc4c39504534da0f4cd2569c724de4909ebd79.zip |
improving createuser account command to be able to add workstations
and then set a default random password.
(This used to be commit 7846818432a93295651c8c67445a2d6a0f3b21d8)
Diffstat (limited to 'source3/include/smb_macros.h')
-rw-r--r-- | source3/include/smb_macros.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index 6a2d18ce83..979aec1d2c 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -2,10 +2,10 @@ Unix SMB/Netbios implementation. Version 1.9. SMB parameters and setup - Copyright (C) Andrew Tridgell 1992-1998 - Copyright (C) John H Terpstra 1996-1998 - Copyright (C) Luke Kenneth Casson Leighton 1996-1998 - Copyright (C) Paul Ashton 1998 + Copyright (C) Andrew Tridgell 1992-1999 + Copyright (C) John H Terpstra 1996-1999 + Copyright (C) Luke Kenneth Casson Leighton 1996-1999 + Copyright (C) Paul Ashton 1998 - 1999 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ #define IS_BITS_SET_ALL(var,bit) (((var)&(bit))==(bit)) #define IS_BITS_SET_SOME(var,bit) (((var)&(bit))!=0) #define IS_BITS_CLR_ALL(var,bit) (((var)&(bit))==0) +#define IS_BITS_CLR_SOME(var,bit) (((var)&(bit))!=(bit)) /* for readability... */ #define IS_DOS_READONLY(test_mode) (((test_mode) & aRONLY) != 0) |