summaryrefslogtreecommitdiff
path: root/source3/groupdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/aliasunix.c4
-rw-r--r--source3/groupdb/builtinunix.c4
-rw-r--r--source3/groupdb/groupunix.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/source3/groupdb/aliasunix.c b/source3/groupdb/aliasunix.c
index 715e290643..f9b93bbce4 100644
--- a/source3/groupdb/aliasunix.c
+++ b/source3/groupdb/aliasunix.c
@@ -90,8 +90,8 @@ BOOL get_unixalias_members(struct group *grp,
fstrcpy(name, unix_name);
- if (!lookupsmbgrpnam(name, &gmep) &&
- !lookupsmbpwnam (name, &gmep))
+ if (!lookupsmbpwnam (name, &gmep) &&
+ !lookupsmbgrpnam(name, &gmep))
{
continue;
}
diff --git a/source3/groupdb/builtinunix.c b/source3/groupdb/builtinunix.c
index dc70ffb3dc..3fa28b63ae 100644
--- a/source3/groupdb/builtinunix.c
+++ b/source3/groupdb/builtinunix.c
@@ -91,8 +91,8 @@ BOOL get_unixbuiltin_members(struct group *grp,
fstrcpy(name, unix_name);
- if (!lookupsmbgrpnam(name, &gmep) &&
- !lookupsmbpwnam (name, &gmep))
+ if (!lookupsmbpwnam (name, &gmep) &&
+ !lookupsmbgrpnam(name, &gmep))
{
continue;
}
diff --git a/source3/groupdb/groupunix.c b/source3/groupdb/groupunix.c
index e5ad029e48..685e8146c0 100644
--- a/source3/groupdb/groupunix.c
+++ b/source3/groupdb/groupunix.c
@@ -85,8 +85,8 @@ BOOL get_unixgroup_members(struct group *grp,
{
DOM_NAME_MAP gmep;
- if (!lookupsmbgrpnam(unix_name, &gmep) &&
- !lookupsmbpwnam (unix_name, &gmep))
+ if (!lookupsmbpwnam (unix_name, &gmep) &&
+ !lookupsmbgrpnam(unix_name, &gmep))
{
continue;
}