diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_ads.c | 2 | ||||
-rw-r--r-- | source3/utils/pdbedit.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index 1a50f9d270..626db96994 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -159,7 +159,7 @@ retry: * extract the realm and convert to upper case. * This is only used to establish the connection. */ - if (cp = strchr(ads->auth.user_name, '@')) { + if ((cp = strchr(ads->auth.user_name, '@'))!=0) { *cp++ = '\0'; ads->auth.realm = smb_xstrdup(cp); strupper(ads->auth.realm); diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index 13f35e8880..9a45049bc5 100644 --- a/source3/utils/pdbedit.c +++ b/source3/utils/pdbedit.c @@ -112,7 +112,6 @@ static int export_groups (struct pdb_context *in, struct pdb_context *out) { static int print_sam_info (SAM_ACCOUNT *sam_pwent, BOOL verbosity, BOOL smbpwdstyle) { uid_t uid; - gid_t gid; time_t tmp; /* TODO: chaeck if entry is a user or a workstation */ |