summaryrefslogtreecommitdiff
path: root/source4/libgpo
AgeCommit message (Collapse)AuthorFilesLines
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-20Move some headers around to avoid confusion.Wilco Baan Hofman1-2/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Move some headers around to avoid confusion.Wilco Baan Hofman1-0/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Make the gpo files build for samba 4.Wilco Baan Hofman4-0/+286
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 Hofman2-0/+29
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 Hofman2-20/+60
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 Hofman2-0/+309
Signed-off-by: Günther Deschner <gd@samba.org>