summaryrefslogtreecommitdiff
path: root/source4/libgpo/ads_convenience.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-20Created net gpo and new libgpo for samba 4. This adds the init function ↵Wilco Baan Hofman1-284/+0
which finds a DC and connects to its LDAP. It also can return information on all group policy objects on a DC. Aborted earlier attempt at reconciliation with samba 3. Did not work out due to lack of ldb support in samba 3, also the different registry libraries and different libnet did not help.. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-10-23s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell1-1/+1
This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.
2009-04-20Make the gpo files build for samba 4.Wilco Baan Hofman1-0/+3
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>
2009-04-20Add nt_token_check_sid convenience function. Map NT_USER_TOKEN to struct ↵Wilco Baan Hofman1-0/+25
security_token. Fix build errors. Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Make gpo_ldap.c compatible with samba 4. Add ads_get_ldap_server_name() ↵Wilco Baan Hofman1-19/+27
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>
2009-04-20Add ads convenience functions to samba 4. Move gpo_ldap.c to root libgpo.Wilco Baan Hofman1-0/+248
Signed-off-by: Günther Deschner <gd@samba.org>