]> git.samba.org - ira/wip.git/commit
Found out a good number of NT_STATUS_IS_ERR used the wrong way.
authorSimo Sorce <idra@samba.org>
Sun, 22 Jun 2003 10:09:52 +0000 (10:09 +0000)
committerSimo Sorce <idra@samba.org>
Sun, 22 Jun 2003 10:09:52 +0000 (10:09 +0000)
commitf5974dfaae680d98b78d600cd1f1aaece332a085
treebd24ad803125c21cdb82a27d051e0029cb21ad65
parent4830a878455fe0e525aa3bd2a59e55d1f30bddad
Found out a good number of NT_STATUS_IS_ERR used the wrong way.
As abartlet rememberd me NT_STATUS_IS_ERR != !NT_STATUS_IS_OK

This patch will cure the problem.
Working on this one I found 16 functions where I think NT_STATUS_IS_ERR() is
used correctly, but I'm not 100% sure, coders should check the use of
NT_STATUS_IS_ERR() in samba is ok now.

Simo.
(This used to be commit c501e84d412563eb3f674f76038ec48c2b458687)
22 files changed:
source3/auth/auth_rhosts.c
source3/auth/auth_util.c
source3/modules/vfs_extd_audit.c
source3/modules/vfs_recycle.c
source3/nsswitch/winbindd_group.c
source3/nsswitch/winbindd_passdb.c
source3/nsswitch/winbindd_sid.c
source3/nsswitch/winbindd_user.c
source3/pam_smbpass/pam_smb_passwd.c
source3/pam_smbpass/support.c
source3/passdb/passdb.c
source3/passdb/pdb_interface.c
source3/passdb/pdb_ldap.c
source3/rpc_server/srv_samr_nt.c
source3/rpc_server/srv_util.c
source3/sam/idmap.c
source3/sam/idmap_util.c
source3/smbd/mangle_hash.c
source3/smbd/ntquotas.c
source3/smbd/nttrans.c
source3/smbd/posix_acls.c
source3/utils/pdbedit.c