summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_pgsql.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r6635: Fix build of the various sql pdb backends after new talloc.Jelmer Vernooij1-13/+13
(This used to be commit 0a7eabd46d40ddbd9dfbb7602653b28fd84dcf6f)
2007-10-10r5733: Don't crash when the SID column contains NULL (Fixes #2316)Jelmer Vernooij1-5/+10
Patch by Justin Ossevoort (This used to be commit a281148168624dcab24e12f1cc7b0f6c7caf0185)
2007-10-10r4847: Hand over a acb_mask to pdb_setsampwent in load_sampwd_entries().Günther Deschner1-1/+1
This allows the ldap-backend to search much more effeciently. Machines will be searched in the ldap_machine_suffix and users in the ldap_users_suffix. (Note that we already use the ldap_group_suffix in ldapsam_setsamgrent for quite some time). Using the specific ldap-bases becomes notably important in large domains: On my testmachine "net rpc trustdom list" has to search through 40k accounts just to list 3 interdomain-trust-accounts, similiar effects show up the non-user query_dispinfo-calls, etc. Also renamed all_machines to only_machines in load_sampwd_entries() since that reflects better what is really meant. Guenther (This used to be commit 6394257cc721ca739bda0e320375f04506913533)
2007-10-10r3974: - Fix assignment of a couple of fields in pdb_{mysql,pgsql}Jelmer Vernooij1-2/+3
- Use new DTD URL in pdb_xml (This used to be commit 99dc2f36d1f637906d47e98dbd4d5eb1f1cc4357)
2004-02-12Try to remove the last vestiges of unknown_3...Jim McDonough1-1/+0
Jelmer, can you look at the sql and xml backends please to verify? (This used to be commit b7706f7e258516d83646aca8c367508bc1c8f0dd)
2004-01-04- Put functions for generating SQL queries in pdb_sql.cJelmer Vernooij1-0/+489
- Add pgSQL backend (based on patch by Hamish Friedlander) - Use query generate functions from pdb_mysql and pdb_pgsql - Only pdb_pgsql.c needs to be changed whenever the fields in SAM_ACCOUNT change (This used to be commit 65ad2c02fd2bf36d535c279ad290ab81e39f6816)