libgpo: Remove unused code Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue May 26 11:22:07 UTC 2020 on sn-devel-184
libgpo: apply some const. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Jan 7 18:52:42 CET 2014 on sn-devel-104
libgpo: only use libgpo/gpext/gpext.h where really needed. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
libgpo: allow to pass down a list of deleted GPOs in gpo_process_gpo_list(). Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
libgpo: add gpo_copy(). Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
libgpo: make gpo_get_gp_ext_from_gpo public. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
libgpo: make gpo_process_a_gpo() static to the util code. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
libgpo: remove unused gp_registry_entry2 struct. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
libgpo: remove ads reference from dump calls and make them take const structs. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
libgpo: remove some unnecessary usage of ADS_STATUS. Use NTSTATUS instead. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
libgpo: remove unrequired references to ads_struct. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
libgpo: remove unused loadparm_context from functions. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
build: Remove _SAMBA_BUILD == 4 from libgpo This code has no hope of building against the samba4 libs (it has been disabled for a very long time, and files referenced don't exist etc), and with the common build there simply is no need. Andrew Bartlett
s3:auth Remove NT_USER_TOKEN The all UPPER case typedef is no longer the preferred Samba style and this makes it easier to see that this is the IDL-derivied structure Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
s3: avoid global include of ads.h. Guenther
Adjust samba 3 to the new gpo API. Still untested code. Signed-off-by: Günther Deschner <gd@samba.org>
Make the gpo files build for samba 4. Only gpt.ini remaining. Not suitable for merge yet, samba 3 is currently broken due to some changed public API. Signed-off-by: Günther Deschner <gd@samba.org>
Mark the places where work needs to be done. Signed-off-by: Günther Deschner <gd@samba.org>
Add nt_token_check_sid convenience function. Map NT_USER_TOKEN to struct security_token. Fix build errors. Signed-off-by: Günther Deschner <gd@samba.org>
Make gpo_ldap.c compatible with samba 4. Add ads_get_ldap_server_name() function to samba 3. Move prototypes to root libgpo where appropriate. gpo_ldap.c now compiles for both samba 3 and 4. Signed-off-by: Günther Deschner <gd@samba.org>