summaryrefslogtreecommitdiff
path: root/libcli/netlogon
AgeCommit message (Collapse)AuthorFilesLines
2024-11-11lib: Add a few required includesVolker Lendecke1-0/+6
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-04-16lib: Give lib/util/util_file.c its own header fileVolker Lendecke1-0/+1
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <mschwenke@ddn.com>
2022-05-14libcli: Covscan: unchecked return value for file_save()Pavel Filipenský1-2/+2
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2022-05-14libcli: Fix trailing whitespace in netlogon.cPavel Filipenský1-2/+2
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2021-11-09CVE-2020-25717: Add FreeIPA domain controller roleAlexander Bokovoy1-1/+1
As we want to reduce use of 'classic domain controller' role but FreeIPA relies on it internally, add a separate role to mark FreeIPA domain controller role. It means that role won't result in ROLE_STANDALONE. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801 BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Alexander Bokovoy <ab@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-07-16libcls/netlogon: clang: Fix 'initialization value is never read'Noel Power1-2/+6
Fixes: libcli/netlogon/netlogon.c:183:11: warning: Value stored to 'status' during its initialization is never read <--[clang] NTSTATUS status = NT_STATUS_INVALID_NETWORK_RESPONSE; ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcli/netlogon/netlogon.c:224:11: warning: Value stored to 'status' during its initialization is never read <--[clang] NTSTATUS status = NT_STATUS_INVALID_NETWORK_RESPONSE; ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. Note: although use of default seems unecessary but gcc (with --picky-developer) detects the possibiliy still that status may be undefined (presumably by a non enum value leaking into the switch) Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
2015-01-05libcli/netlogon: We need to handle a bug in FreeIPA (at least <= 4.1.2).Stefan Metzmacher1-3/+12
They include the ip address information without setting NETLOGON_NT_VERSION_5EX_WITH_IP, while using ndr_push_NETLOGON_SAM_LOGON_RESPONSE_EX instead of ndr_push_NETLOGON_SAM_LOGON_RESPONSE_EX_with_flags. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2011-11-03waf: convert NDR_NBT into shared library.Günther Deschner1-1/+1
Guenther
2011-11-03nbt: move netlogon_samlogon_response into librpc/ndr/ndr_nbt.h.Günther Deschner1-11/+0
Guenther
2011-11-03nbt: merge in LIBCLI_NDR_NETLOGON helper into NDR_NBT.Günther Deschner4-241/+1
Guenther
2011-11-03librpc: remove nbt dependency to svcctl.Günther Deschner1-1/+0
Guenther
2011-11-03librpc: remove nbt dependency to samr.Günther Deschner2-3/+2
Guenther
2011-07-05build: Add missing depencency on NDR_NBTAndrew Bartlett1-1/+1
2011-01-07netlogon: move netlogon helpers to ../libcli/netlogon.Günther Deschner6-0/+600
Guenther