1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-24 04:23:53 +03:00
Commit Graph

8 Commits

Author SHA1 Message Date
Lars Müller
7423895900 r9051: Fix from Fernando Schapachnik <fernando@mecon.gov.ar> to add logon hours
support for the Postgres backend.

Also add these changes from svn rev 7787 to trunk.
2007-10-10 11:00:24 -05:00
Jeremy Allison
dd5d36c95f r7787: Fix from Fernando Schapachnik <fernando@mecon.gov.ar> to add logon hours
support for the Postgres backend.
Jeremy.
2007-10-10 10:57:21 -05:00
Jelmer Vernooij
0a7eabd46d r6635: Fix build of the various sql pdb backends after new talloc. 2007-10-10 10:56:48 -05:00
Jelmer Vernooij
a281148168 r5733: Don't crash when the SID column contains NULL (Fixes #2316)
Patch by Justin Ossevoort
2007-10-10 10:55:58 -05:00
Günther Deschner
6394257cc7 r4847: Hand over a acb_mask to pdb_setsampwent in load_sampwd_entries().
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
2007-10-10 10:53:59 -05:00
Jelmer Vernooij
99dc2f36d1 r3974: - Fix assignment of a couple of fields in pdb_{mysql,pgsql}
- Use new DTD URL in pdb_xml
2007-10-10 10:53:26 -05:00
Jim McDonough
b7706f7e25 Try to remove the last vestiges of unknown_3...
Jelmer, can you look at the sql and xml backends please to verify?
-
Jelmer Vernooij
65ad2c02fd - Put functions for generating SQL queries in pdb_sql.c
- 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
-