diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-02 14:14:51 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:12 +1000 |
commit | 382e2b321b6b79cfd0db59ae2c506fcd750a3df6 (patch) | |
tree | 481216db6ced3e09e5901e5531669f073fadaae1 /libcli/security | |
parent | a32cdadb7cbff255b5a0133a3bb54352d0d42f61 (diff) | |
download | samba-382e2b321b6b79cfd0db59ae2c506fcd750a3df6.tar.gz samba-382e2b321b6b79cfd0db59ae2c506fcd750a3df6.tar.bz2 samba-382e2b321b6b79cfd0db59ae2c506fcd750a3df6.zip |
privileges: privilege luids are not all below 64
the ones brought across from s3 have higher values
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli/security')
-rw-r--r-- | libcli/security/privileges.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libcli/security/privileges.c b/libcli/security/privileges.c index f5fa836472..4c288a7f3a 100644 --- a/libcli/security/privileges.c +++ b/libcli/security/privileges.c @@ -346,9 +346,6 @@ const char *sec_privilege_name(enum sec_privilege privilege) const char *sec_privilege_display_name(enum sec_privilege privilege, uint16_t *language) { int i; - if (privilege < 1 || privilege > 64) { - return NULL; - } for (i=0;i<ARRAY_SIZE(privs);i++) { if (privs[i].luid == privilege) { return privs[i].description; |