Revert "s3:smbd: Remove NIS support"
commit87f5949434512562e51fec1ff4fb84182ace7f0c
authorSamuel Cabrero <scabrero@samba.org>
Fri, 3 Jun 2022 13:07:18 +0000 (3 15:07 +0200)
committerJule Anger <janger@samba.org>
Sun, 12 Jun 2022 09:19:16 +0000 (12 09:19 +0000)
treef41f4d1bcab228b2d9f34b8ac21264adae1fa95e
parentcdbd540b7cbcc62930945c712bd6e384cec4ffcd
Revert "s3:smbd: Remove NIS support"

This partly reverts commit edda7a329e5bed442418de9782cec9f567092aae.

Revert the chunks related to netgroups and skip NIS support related ones.
Use getdomainname() from glibc instead of yp_get_default_domain() from
libnsl to get the NIS domain name.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15087

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 21796ef8f807d88e01627dc993b757e251788980)
selftest/target/Samba3.pm
source3/auth/user_util.c
source3/script/tests/test_smbclient_s3.sh
source3/smbd/share_access.c
source3/wscript