diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-08-15 14:07:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:38 -0500 |
commit | 761cbd52f0cff6b864c506ec03c94039b6101ef9 (patch) | |
tree | 77fe532f935890da39684050cb6bbf59494dc196 /source/utils/net_sam.c | |
parent | 4a7b06860cd2907eb0e0deb466a613529121b8b7 (diff) | |
download | samba-761cbd52f0cff6b864c506ec03c94039b6101ef9.tar.gz samba-761cbd52f0cff6b864c506ec03c94039b6101ef9.tar.xz samba-761cbd52f0cff6b864c506ec03c94039b6101ef9.zip |
r17554: Cleanup
Diffstat (limited to 'source/utils/net_sam.c')
-rw-r--r-- | source/utils/net_sam.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/utils/net_sam.c b/source/utils/net_sam.c index 16f7b1b25b0..654c9ec5b2a 100644 --- a/source/utils/net_sam.c +++ b/source/utils/net_sam.c @@ -330,7 +330,7 @@ static int net_sam_set_comment(int argc, const char **argv) return -1; } - if (!NT_STATUS_IS_OK(pdb_getgrsid(&map, &sid))) { + if (!pdb_getgrsid(&map, sid)) { d_fprintf(stderr, "Could not load group %s\n", argv[0]); return -1; } @@ -882,7 +882,7 @@ static int net_sam_provision(int argc, const char **argv) sid_compose(&gsid, get_global_sam_sid(), DOMAIN_GROUP_RID_USERS); - if (!NT_STATUS_IS_OK(pdb_getgrsid(&gmap, &gsid))) { + if (!pdb_getgrsid(&gmap, gsid)) { LDAPMod **mods = NULL; char *dn; char *uname; @@ -935,7 +935,7 @@ domu_done: sid_compose(&gsid, get_global_sam_sid(), DOMAIN_GROUP_RID_ADMINS); - if (!NT_STATUS_IS_OK(pdb_getgrsid(&gmap, &gsid))) { + if (!pdb_getgrsid(&gmap, gsid)) { LDAPMod **mods = NULL; char *dn; char *uname; @@ -1153,7 +1153,7 @@ doma_done: goto done; } - if (!NT_STATUS_IS_OK(pdb_getgrgid(&gmap, pwd->pw_gid))) { + if (!pdb_getgrgid(&gmap, pwd->pw_gid)) { LDAPMod **mods = NULL; char *dn; char *uname; |