Revert "s3:smbd: Remove NIS support"
authorSamuel Cabrero <scabrero@samba.org>
Fri, 3 Jun 2022 13:07:18 +0000 (15:07 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 9 Jun 2022 21:45:28 +0000 (21:45 +0000)
commit21796ef8f807d88e01627dc993b757e251788980
tree3e5b39500a7eaa79e0b9496727b1d727fdaf5592
parentf74e284a9d7fa8dc45f22b70dcea27f1aa8bd232
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>
selftest/target/Samba3.pm
source3/auth/user_util.c
source3/script/tests/test_smbclient_s3.sh
source3/smbd/share_access.c
source3/wscript