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

19 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
8be3fa5bfa r2473: Convert internal data to UTF-8 before calling libxml2 2007-10-10 10:52:44 -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?
-
Jeremy Allison
cd7bd8c2da The "unknown_5" 32 bit field in the user structs is actually 2 16-bit
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.
-
Jelmer Vernooij
4765e56f92 Fix typo. Found by Aurelien Degremont -
Jelmer Vernooij
2737518b25 Update link to DTD -
Simo Sorce
0e58085978 And finally IDMAP in 3_0
We really need idmap_ldap to have a good solution with ldapsam, porting
it from the prvious code is beeing made, the code is really simple to do
so I am confident it is not a problem to commit this code in.

Not committing it would have been worst.
I really would have been able to finish also the group code, maybe we can
put it into a followin release after 3.0.0 even if it may be an upgrade
problem.

The code has been tested and seem to work right, more testing is needed for
corner cases.

Currently winbind pdc (working only for users and not for groups) is
disabled as I was not able to make a complete group code replacement that
works somewhat in a week (I have a complete patch, but there are bugs)

Simo.
-
Jelmer Vernooij
bc4b51bcb2 Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
-
Jelmer Vernooij
ddd2e65586 Make some more functions static -
Jelmer Vernooij
a986076a74 Don't store UID or GID -
Jelmer Vernooij
147c4d56d8 Patch from Stephan Metzmacher to add default arguments to lp_parm() smb.conf
parameters. Does not break binary compatibility with older modules.
-
Jelmer Vernooij
dfbd2a2e7a Default to "passdb.xml" as default output filename instead of "-" -
Jelmer Vernooij
8d2aec7a73 - Fix modules build of pdb_mysql and pdb_xml
- Fix typo in script/installswat.sh
-
Jelmer Vernooij
1755d5f662 Use the new modules system for passdb (merge from HEAD) -
Jelmer Vernooij
090a2015eb Add group management support (patch from metze) -
Jelmer Vernooij
99a2e7fde1 Adapt to latest pdb API changes - only thing left is group support -
Jelmer Vernooij
c13ed6c866 pdb_get_unknown? -> pdb_get_unknown_? -
Jelmer Vernooij
b68106a79e Move pdb_xml to source/ -