diff options
author | Jean-François Micouleau <jfm@samba.org> | 2001-11-22 16:12:43 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2001-11-22 16:12:43 +0000 |
commit | 2e8ae887857249822b84461fd503105555873508 (patch) | |
tree | 283fa9dbcf0d976922f6fce27eb0cf3d7ccd1901 /source3/rpc_server | |
parent | 1db30a338cf862c4c4e848472551fde9c8a64e41 (diff) | |
download | samba-2e8ae887857249822b84461fd503105555873508.tar.gz samba-2e8ae887857249822b84461fd503105555873508.tar.bz2 samba-2e8ae887857249822b84461fd503105555873508.zip |
add a command to rpcclient: enumprivs
J.F.
(This used to be commit fa63cb78e326040f68d858d593ba98e06c26c92e)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_lsa_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c index ceca254a5d..b114bd2d57 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -580,7 +580,7 @@ NTSTATUS _lsa_priv_get_dispname(pipes_struct *p, LSA_Q_PRIV_GET_DISPNAME *q_u, L DEBUG(0,("_lsa_priv_get_dispname: %s", name_asc)); for (i=1; privs[i].se_priv!=SE_PRIV_ALL; i++) { - if ( strcmp(name_asc, privs[i].priv)) { + if ( !strcmp(name_asc, privs[i].priv)) { fstrcpy(desc_asc, privs[i].description); |