diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-05-04 10:45:50 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-05-04 10:45:50 +0000 |
commit | 03aeb8af5d97c1be6122ea90d53fa386e22c3046 (patch) | |
tree | c1f617743759a2063289ca7eaa7f2bfd704c9aa8 | |
parent | 089c5b2165003c7e668e1529929815871f16dc5a (diff) | |
download | samba-03aeb8af5d97c1be6122ea90d53fa386e22c3046.tar.gz samba-03aeb8af5d97c1be6122ea90d53fa386e22c3046.tar.bz2 samba-03aeb8af5d97c1be6122ea90d53fa386e22c3046.zip |
fix a netgroup bug (innetgr() was being called with the args in the
wrong order!)
(This used to be commit 4419093d336bad30b194b959231fed04cbc8a1cf)
-rw-r--r-- | source3/smbd/password.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 87c1fef94c..863032df87 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -1153,13 +1153,12 @@ static BOOL check_user_equiv(char *user, char *remote, char *equiv_file) BOOL host_ok = False; #ifdef NETGROUP - /* THIS IS UNTESTED!! */ if (is_group) { static char *mydomain = NULL; if (!mydomain) yp_get_default_domain(&mydomain); - if (mydomain && innetgr(remote,file_host,user,mydomain)) + if (mydomain && innetgr(file_host,remote,user,mydomain)) host_ok = True; } #else |