summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_mysql.c
AgeCommit message (Collapse)AuthorFilesLines
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-10r4788: Don't log mysql password at debug level 1.Jelmer Vernooij1-2/+1
(This used to be commit 760455875f78a29c3fedd7de3671d6ae537c1d1a)
2007-10-10r3974: - Fix assignment of a couple of fields in pdb_{mysql,pgsql}Jelmer Vernooij1-5/+5
- 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-501/+23
- 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)
2003-09-20Fix a bug and warn when configuration file values are incorrect. Thanks toJelmer Vernooij1-10/+28
Wilco Baan Hofman <wilco@andoburg.nl> (This used to be commit 2c584efae69f328581d4f863a8f8ef3ff8228423)
2003-09-19Fix pdb_mysql. Jelmer will look into details tonight.Alexander Bokovoy1-3/+5
(This used to be commit b00a81b543a58f46e54ce0e5362ba21bb16fc35f)
2003-09-18The "unknown_5" 32 bit field in the user structs is actually 2 16-bitJeremy Allison1-6/+10
fields, bad_password_count and logon_count. Ensure this is stored/fetched in the various SAMs. As it replaces the unknown_5 field this fits exactly into the tdb SAM without any binary problems. It also is added to the LDAP SAM as two extra attributes. It breaks compatibility with the experimental SAMs xml and mysql. The maintainers of these SAMs must fix them so upgrades like this can be done transparently. I will insist on the "experimental" status until this is solved. Jeremy. (This used to be commit cd7bd8c2daff3293d48f3376a7c5a708a140fd94)
2003-09-06Only set sids when they're retrurned by the MySQL queryJelmer Vernooij1-2/+2
(This used to be commit 9a603f6f077a2e1ddc41849cca3641421ecbaf11)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij1-2/+2
function. Patch by metze with some minor modifications. (This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
2003-04-28Fix number of arguments to asprintf()Jelmer Vernooij1-1/+1
(This used to be commit 42e76c312333c6e5b8feb2d687e3355235b0d4a0)
2003-04-24Don't store UID or GIDJelmer Vernooij1-38/+13
(This used to be commit a986076a743fad31efac664fc16337e2d1165917)
2003-04-24Patch from Stephan Metzmacher to add default arguments to lp_parm() smb.confJelmer Vernooij1-92/+31
parameters. Does not break binary compatibility with older modules. (This used to be commit 147c4d56d873a20a49194c5b036a3694299b1b48)
2003-04-21- Fix modules build of pdb_mysql and pdb_xmlJelmer Vernooij1-4/+1
- Fix typo in script/installswat.sh (This used to be commit 8d2aec7a73d41a9d32c10abd1c8833ebfd41dd77)
2003-04-15Use the new modules system for passdb (merge from HEAD)Jelmer Vernooij1-5/+12
(This used to be commit 1755d5f66221a910863cfc8a197f8d792e6b6e3d)
2002-12-23Finish adding strings to all talloc_init() calls.Jeremy Allison1-2/+1
Jeremy. (This used to be commit aa8439a49ec4b9f433745fefa1e769e45398f4df)
2002-11-11Improve DEBUG output somewhat moreJelmer Vernooij1-2/+5
(This used to be commit 2cc36ce0ee8383aa8a20a8dc5a3218693dc46817)
2002-11-11Add more debug infoJelmer Vernooij1-2/+2
(This used to be commit 065ed9783236cf1e8254655a9a1d4de937b35018)
2002-11-10Print the number of returned rows, not the number of fieldsJelmer Vernooij1-2/+2
(This used to be commit cf74ddc2fcb1e7286441edb432d8906bb722a3d4)
2002-11-07Fix small typoJelmer Vernooij1-1/+1
(This used to be commit 3c39bd9db09c59f149d77e371ed078cd7ec2d1b4)
2002-11-06Add group management support (patch from metze)Jelmer Vernooij1-0/+60
(This used to be commit 090a2015eb9aa4ec68d80e972ae192d19afd536e)
2002-11-06Adapt to latest pdb API changes - only thing left is group supportJelmer Vernooij1-13/+10
(This used to be commit 99a2e7fde1fd4e589035c273f40419ef322e097d)
2002-11-05Move pdb_mysql to source/passdbJelmer Vernooij1-0/+975
(This used to be commit 1d742e14ad18070aee654071d159b8b7410d6f86)