Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-01-14 | s3:pdb_ldap: restore Samba 3.0.x behavior and use the first "uid" value. | Stefan Metzmacher | 1 | -1/+1 | |
See bug #6157 for more details. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 25806f43ddee7e2653e907eea2c6fcc075960fa1) | |||||
2010-01-12 | s3: Remove a pointless if-statement | Volker Lendecke | 1 | -3/+2 | |
2010-01-07 | s3:pdb_ldap:init_sam_from_ldap: untangle an assignment from the check | Michael Adam | 1 | -3/+3 | |
to enhance readability and denbuggability. Michael | |||||
2009-11-19 | s3:pdb_ldap: fix a comment typo | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-11-19 | s3: shortcut uid_to_sid when "ldapsam:trusted = yes" | Michael Adam | 1 | -0/+75 | |
The normal uid_to_sid behaviour is to call sys_getpwuid() to get the name for the given uid and then call the getsampwnam passdb method for the resulting name. In the ldapsam:trusted case we can reduce the uid_to_sid operation to one simple search for the uidNumber attribute and only get the sambaSID attribute from the correspoinding LDAP object. This reduces the number of ldap roundtrips for this operation. Michael | |||||
2009-11-13 | s3:smbd: also fill the memcache with sid<->id mappings in ldapsam_sid_to_id() | Michael Adam | 1 | -0/+2 | |
not only the persistent idmap cache. Michael | |||||
2009-11-13 | s3:smbd: make idmap cache persistent for "ldapsam:trusted". | Michael Adam | 1 | -0/+4 | |
This stores the mappings found in the idmap cache (which lives inside gencache). This cache is already read in sid_to_Xid() and Xid_to_sid() for ldapsam:trusted, this fills the opposite direction, massively reducing the number of ldap roundtrips across smbd restarts. Michael | |||||
2009-11-13 | Fix large paged search | Volker Lendecke | 1 | -0/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-11-02 | s3:ldap: don't search when no values where found | Björn Jacke | 1 | -1/+1 | |
2009-10-31 | ѕ3:ldap: search for account policies in objectclass sambaDomain, not * | Björn Jacke | 1 | -1/+6 | |
2009-10-20 | s3-pdb_ldap: fix crash bug in ldapsam_set_trusteddom_pw(). | Günther Deschner | 1 | -2/+2 | |
Thanks Volker for the hint. Guenther | |||||
2009-09-02 | s3-pdb_ldap: Fix bug #4296: Clean up group membership while deleting a user. | Günther Deschner | 1 | -0/+46 | |
Note that this only is tried with editposix=yes. Guenther | |||||
2009-08-03 | s3-pdb_ldap: Make ldapsam_alias_memberships behave like the tdbsam equivalent. | Günther Deschner | 1 | -0/+7 | |
This lets samr_GetAliasMembership return with NT_STATUS_OK when called with 0 sids (just what w2k3 does). Guenther | |||||
2009-07-14 | Fix bug 5886 | Volker Lendecke | 1 | -8/+26 | |
Ok, that's a very long-standing one. I finally got around to install a recent OpenLDAP and test the different variants of setting a NULL password etc. Thanks all for your patience! Volker | |||||
2009-07-14 | s3-account_policy: add pdb_policy_type enum. | Günther Deschner | 1 | -19/+21 | |
Guenther | |||||
2009-07-09 | Make escape_ldap_string take a talloc context | Volker Lendecke | 1 | -23/+22 | |
2009-06-30 | Fix bug #6431 - local groups from 3.0 setups no longer found. | Volker Lendecke | 1 | -8/+8 | |
Search for groups without group suffix, group suffix is only used for new entries. | |||||
2009-06-28 | Turn the pdb_rid_algorithm into a capabilities call that returns flags | Volker Lendecke | 1 | -3/+3 | |
2009-06-08 | Pass a talloc_ctx to pdb_enum_aliasmem | Volker Lendecke | 1 | -1/+2 | |
2009-06-07 | s3-samr: fix return code of _samr_LookupRids when run with pdb_ldap. | Günther Deschner | 1 | -0/+5 | |
when _samr_LookupRids is called with no rids, it needs to return NT_STATUS_NONE_MAPPED (not NT_STATUS_NO_MEMORY). Found by RPC-SAMR torture test. Guenther | |||||
2009-05-31 | Fix some nonempty blank lines | Volker Lendecke | 1 | -52/+52 | |
2009-05-12 | Fix the last few format arg missmatches I missed. | Jeremy Allison | 1 | -4/+4 | |
Jeremy. | |||||
2009-05-12 | Fix bug 6157 | Volker Lendecke | 1 | -1/+1 | |
This patch picks the alphabetically smallest one of the multi-value attribute "uid". This fixes a regression against 3.0 and also becomes deterministic. | |||||
2009-05-11 | Fix a bunch of compiler warnings about wrong format types. | Jeremy Allison | 1 | -7/+7 | |
Should make Solaris 10 builds look cleaner. Jeremy. | |||||
2009-05-08 | s3/ldap: also handle DirX return codes | Björn Jacke | 1 | -0/+2 | |
2009-05-05 | s3-ldap: fix more callers of smbldap_dn_talloc() that were passing a NULL ↵ | Günther Deschner | 1 | -1/+1 | |
context. Guenther | |||||
2009-05-05 | s3-ldapsam: Fix Bug #6313: ldapsam_update_sam_account() crashes while doing ↵ | Günther Deschner | 1 | -1/+1 | |
talloc_free on malloced memory. Guenther | |||||
2009-04-14 | Rework Samba3 to use new libcli/auth code (partial) | Andrew Bartlett | 1 | -0/+1 | |
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett | |||||
2009-04-14 | Convert Samba3 to use the common lib/util/charset API | Andrew Bartlett | 1 | -11/+11 | |
This removes calls to push_*_allocate() and pull_*_allocate(), as well as convert_string_allocate, as they are not in the common API To allow transition to a common charcnv in future, provide Samba4-like strupper functions in source3/lib/charcnv.c (the actual implementation remains distinct, but the API is now shared) Andrew Bartlett | |||||
2009-04-06 | s3:smbldap Remove smbldap_get_dn | Andrew Bartlett | 1 | -28/+15 | |
This removes one more caller to pull_utf8_allocate() Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-03-07 | Shape up pdb_search a bit by making it a talloc ctx with a destructor | Volker Lendecke | 1 | -10/+10 | |
2009-02-19 | Fix printf warnings found on systems where time_t <> long int. | Jeremy Allison | 1 | -8/+8 | |
Jeremy. | |||||
2009-01-21 | Memory leaks and other fixes found by Coverity | todd stecher | 1 | -0/+1 | |
2008-12-23 | Fix more ‘asprintf’, declared with attribute warn_unused_result. | Jeremy Allison | 1 | -3/+4 | |
Jeremy. | |||||
2008-12-09 | s3-ldapsam: Fix Bug 5957: do not abort rename process on valid rename script. | Günther Deschner | 1 | -1/+1 | |
Guenther (cherry picked from commit 26139344fd0fac4fdd2a6752628b252fbd9b7450) (cherry picked from commit 866efa63a26f75bbf17cd4bebf639594e2feafba) | |||||
2008-07-24 | pdb_ldap: Raise level for debug message to avoid log file flooding. | John H Terpstra | 1 | -1/+1 | |
(This used to be commit 9b863a10da8762f715c16f147d6cd1e79422d248) | |||||
2008-07-18 | Use LDAP macros instead of attribute names. | Karolin Seeger | 1 | -20/+19 | |
Karolin (This used to be commit 7dae8b04f126d0ac86a452dcf373a690ee687ead) | |||||
2008-07-14 | Fix typo. | Karolin Seeger | 1 | -1/+1 | |
retieve -> retrieve Karolin (This used to be commit 37c64130701ab13b6f34998ac17fec2d128c2e08) | |||||
2008-07-10 | Fix some memleaks regarding trustdom passwords | Volker Lendecke | 1 | -3/+15 | |
(This used to be commit 3d2913d599a4cd773614110ec7b7493aa7adb547) | |||||
2008-07-10 | Fix some uninitialized variable references via ndr_print | Volker Lendecke | 1 | -1/+3 | |
(This used to be commit 26fb3fea812867f8b0dfe6a1be59e4922ed86e45) | |||||
2008-07-10 | Give a nice error message if trying to join with a non-privileged user | Volker Lendecke | 1 | -1/+1 | |
(This used to be commit 347772fc39d9c7a96fcc72c9707696cc6abd89d7) | |||||
2008-05-20 | Cleanup size_t return values in callers of convert_string_allocate | Tim Prouty | 1 | -24/+54 | |
This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d) | |||||
2008-03-17 | Coverity fixes | Marc VanHeyningen | 1 | -4/+10 | |
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363) | |||||
2008-03-14 | Fix bug 4901 | Volker Lendecke | 1 | -3/+8 | |
(This used to be commit 1dd8fa9a521046f1de8173ac00224706c5249665) | |||||
2008-03-05 | Fix a memleak -- Coverity ID 222 | Volker Lendecke | 1 | -1/+2 | |
(cherry picked from commit a40781bafa3a8f0c7737164bca6cf74b0a452e72) (This used to be commit 86cabcad74ac06d888f2a352a2bef3abea1ed85c) | |||||
2008-03-04 | Fix crash bug in pdb_init_ldapsam(). | Günther Deschner | 1 | -2/+2 | |
Karolin, this needs to be in 3-2-stable. Guenther (This used to be commit 0d73bde6de4391e7aec862424762473441fa0905) | |||||
2008-02-19 | Change ldap search filter. This function is also used to search machine ↵ | Karolin Seeger | 1 | -2/+2 | |
accounts which may be located in a different ou. This is an extension to e71a48bb80cee85afcccacbce2884c0d600f4d72. Karolin (This used to be commit e5cc8b683cba3f2f3a84b1636b3d5bee1bfc0dda) | |||||
2008-02-11 | Change ldap search filter. This function is also used to search machine ↵ | Karolin Seeger | 1 | -1/+1 | |
accounts which may be organized in a different ou. Karolin (This used to be commit e71a48bb80cee85afcccacbce2884c0d600f4d72) | |||||
2008-01-09 | Fix memleak in ldapsam_rename_sam_account() found by IBM checker. | Michael Adam | 1 | -1/+1 | |
The check for out of memory was the wrong way round. Michael (This used to be commit d7a7b793203b986823859ac5171d2d4c30e52415) | |||||
2008-01-09 | Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS. | Michael Adam | 1 | -7/+11 | |
Michael (This used to be commit 6b2b9a60ef857ec31da5fea631535205fbdede4a) |