passdb: Use getline(3) to read our old machine sid
commit6f2aa43a3fe722b93eb68a5bb9ae6d4253a352df
authorVolker Lendecke <vl@samba.org>
Wed, 10 Apr 2024 12:45:56 +0000 (10 14:45 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 30 Apr 2024 22:44:32 +0000 (30 22:44 +0000)
tree4ff4f701e4da57ffc26ce0fb5f30dd4c16f1931f
parent30b7cf9b3c0c0968166811313aa48b1eedcad67a
passdb: Use getline(3) to read our old machine sid

Don't read the whole file.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/passdb/machine_sid.c