diff options
author | Sergey Korsak <skif@1plus1.net> | 2011-04-19 18:51:32 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-04-20 20:48:18 +0200 |
commit | 4a7df93a2a1dd0ffd368529da9ed11129dc3af91 (patch) | |
tree | 3664d054584762cdad2c030fa9ec025860645227 | |
parent | 17ba461da17272cf5b1c7dcba9c393069d9974db (diff) | |
download | samba-4a7df93a2a1dd0ffd368529da9ed11129dc3af91.tar.gz samba-4a7df93a2a1dd0ffd368529da9ed11129dc3af91.tar.xz samba-4a7df93a2a1dd0ffd368529da9ed11129dc3af91.zip |
s3: Fix bug 8099 - setpwent() actually does endpwent() on FreeBSD
(cherry picked from commit 2167ac2cd42c9ed5aaae0086dbd27e29d1d77686)
(cherry picked from commit fd387cd0bf186a94b64e8c2085c943992629e5af)
-rw-r--r-- | nsswitch/winbind_nss_freebsd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nsswitch/winbind_nss_freebsd.c b/nsswitch/winbind_nss_freebsd.c index ac230c8a9a4..5fcd55744b3 100644 --- a/nsswitch/winbind_nss_freebsd.c +++ b/nsswitch/winbind_nss_freebsd.c @@ -58,14 +58,14 @@ static ns_mtab methods[] = { { NSDB_GROUP, "getgrnam_r", __nss_compat_getgrnam_r, _nss_winbind_getgrnam_r }, { NSDB_GROUP, "getgrgid_r", __nss_compat_getgrgid_r, _nss_winbind_getgrgid_r }, { NSDB_GROUP, "getgrent_r", __nss_compat_getgrent_r, _nss_winbind_getgrent_r }, -{ NSDB_GROUP, "endgrent", __nss_compat_setgrent, _nss_winbind_setgrent }, -{ NSDB_GROUP, "setgrent", __nss_compat_endgrent, _nss_winbind_endgrent }, +{ NSDB_GROUP, "setgrent", __nss_compat_setgrent, _nss_winbind_setgrent }, +{ NSDB_GROUP, "endgrent", __nss_compat_endgrent, _nss_winbind_endgrent }, { NSDB_PASSWD, "getpwnam_r", __nss_compat_getpwnam_r, _nss_winbind_getpwnam_r }, { NSDB_PASSWD, "getpwuid_r", __nss_compat_getpwuid_r, _nss_winbind_getpwuid_r }, { NSDB_PASSWD, "getpwent_r", __nss_compat_getpwent_r, _nss_winbind_getpwent_r }, -{ NSDB_PASSWD, "endpwent", __nss_compat_setpwent, _nss_winbind_setpwent }, -{ NSDB_PASSWD, "setpwent", __nss_compat_endpwent, _nss_winbind_endpwent }, +{ NSDB_PASSWD, "setpwent", __nss_compat_setpwent, _nss_winbind_setpwent }, +{ NSDB_PASSWD, "endpwent", __nss_compat_endpwent, _nss_winbind_endpwent }, }; |