summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-08-10 19:51:45 +0000
committerJeremy Allison <jra@samba.org>2000-08-10 19:51:45 +0000
commit1e823bc781fdb0738a58f478432c017732b69068 (patch)
tree2e16ea3c32ecdec25787aaf43b908bf3d08a181f /source3/rpcclient
parent1e46bde597eb77ed708649585d6125f8e82dde31 (diff)
downloadsamba-1e823bc781fdb0738a58f478432c017732b69068.tar.gz
samba-1e823bc781fdb0738a58f478432c017732b69068.tar.bz2
samba-1e823bc781fdb0738a58f478432c017732b69068.zip
Tidied up security rights definitions.
Jeremy. (This used to be commit e466c863f5540e13776f4477b6d58e3fbfe7276d)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/display_sec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpcclient/display_sec.c b/source3/rpcclient/display_sec.c
index 44e7e6e8aa..a428a95686 100644
--- a/source3/rpcclient/display_sec.c
+++ b/source3/rpcclient/display_sec.c
@@ -64,10 +64,10 @@ static const char *get_sec_mask_str(uint32 type)
case SEC_RIGHTS_ENUM_SUBKEYS : fstrcat(typestr, "Enum "); break;
case SEC_RIGHTS_NOTIFY : fstrcat(typestr, "Notify "); break;
case SEC_RIGHTS_CREATE_LINK : fstrcat(typestr, "CreateLink "); break;
- case SEC_RIGHTS_DELETE : fstrcat(typestr, "Delete "); break;
- case SEC_RIGHTS_READ_CONTROL : fstrcat(typestr, "ReadControl "); break;
- case SEC_RIGHTS_WRITE_DAC : fstrcat(typestr, "WriteDAC "); break;
- case SEC_RIGHTS_WRITE_OWNER : fstrcat(typestr, "WriteOwner "); break;
+ case DELETE_ACCESS : fstrcat(typestr, "Delete "); break;
+ case READ_CONTROL_ACCESS : fstrcat(typestr, "ReadControl "); break;
+ case WRITE_DAC_ACCESS : fstrcat(typestr, "WriteDAC "); break;
+ case WRITE_OWNER_ACCESS : fstrcat(typestr, "WriteOwner "); break;
}
type &= ~(1 << i);
}