summaryrefslogtreecommitdiffstats
path: root/source/passdb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Split lookup_name() and create a new functiong called"Simo Sorce2008-09-031-93/+78
| | | | This reverts commit 8594edf666c29fd4ddf1780da842683dd81483b6.
* Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-develSimo Sorce2008-09-031-4/+38
|\
| * Fix bug spotted by Simo - don't use legacy if expired entry.Jeremy Allison2008-08-261-4/+4
| | | | | | | | Jeremy.
| * Don't ask winbindd if we got a -ve cache entry.Jeremy Allison2008-08-261-4/+38
| | | | | | | | Jeremy.
* | Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-develSimo Sorce2008-08-261-33/+63
|\|
| * Fix the build :-(. Ask winbindd if we find a negative cache entry (or shouldJeremy Allison2008-08-261-5/+17
| | | | | | | | | | we just call the legacy function ?). Jeremy.
| * Get smbd to look (read-only) into the winbindd cache for uid/gid <--> sid ↵Jeremy Allison2008-08-261-33/+51
| | | | | | | | | | | | mappings. Jeremy.
* | Split lookup_name() and create a new functiong calledSimo Sorce2008-08-171-78/+93
|/ | | | | lookup_domain_name(). This new function accept separated strings for domain and name.
* fixed lots of places that paniced on a failed transaction_commit,Andrew Tridgell2008-08-131-4/+5
| | | | thinking it was a failure of a transaction cancel
* first cut at adding full transactions for ctdb to samba3Andrew Tridgell2008-08-132-3/+3
|
* pdb_interface: Fix typo in debug message.Karolin Seeger2008-07-291-1/+1
| | | | Karolin
* Add casts to uint32_t to match prototype for sid_append_rid().Jeremy Allison2008-07-241-4/+4
| | | | Jeremy.
* Use sys_getgrnam not getgrnam. Pointed out by Herb.Jeremy Allison2008-07-241-1/+1
| | | | Jeremy.
* pdb_ldap: Raise level for debug message to avoid log file flooding.John H Terpstra2008-07-241-1/+1
|
* Use LDAP macros instead of attribute names.Karolin Seeger2008-07-181-20/+19
| | | | Karolin
* Fix typo.Karolin Seeger2008-07-141-1/+1
| | | | | | retieve -> retrieve Karolin
* Revert "Make use of sid_check_is_in_unix_users/groups"Volker Lendecke2008-07-111-16/+11
| | | | This reverts commit cd8e63b2b45402091d6d328b3c6ca593fc19ac92.
* Revert "Don't scream, better explain a bit in comments"Volker Lendecke2008-07-111-8/+10
| | | | This reverts commit dcc39ed00453a075b23daece2844ca4817bfbfaf.
* Revert "Remove an unused variable"Volker Lendecke2008-07-111-0/+1
| | | | This reverts commit 454cb852e06fa3d8bdd0eebb3ebdb24b3d74ecd0.
* Fix some memleaks regarding trustdom passwordsVolker Lendecke2008-07-101-3/+15
|
* Fix some uninitialized variable references via ndr_printVolker Lendecke2008-07-101-1/+3
|
* Give a nice error message if trying to join with a non-privileged userVolker Lendecke2008-07-101-1/+1
|
* Remove an unused variableVolker Lendecke2008-07-031-1/+0
|
* Don't scream, better explain a bit in commentsVolker Lendecke2008-07-031-10/+8
|
* Make use of sid_check_is_in_unix_users/groupsVolker Lendecke2008-07-031-11/+16
| | | | Don't replicate code unnecessarily
* Fix a memleak in secrets_fetch_afs_keyVolker Lendecke2008-06-071-0/+2
| | | | Coverity ID 570
* Fix a memleak in secrets_fetch_trust_account_password_legacyVolker Lendecke2008-06-071-0/+1
| | | | Coverity ID 571
* Fix a memleak in fetch_ldap_pwVolker Lendecke2008-06-071-1/+2
| | | | Fix Coverity ID 572, also fix the error check for secrets_fetch failing
* Remove unused function is_trusted_domain_situation().Michael Adam2008-05-261-6/+0
| | | | | | | This combined check has been replaced by is_dc_trusted_domain_situation() which does not check for lp_allow_trusted_domains(). Michael
* passdb: check for is_dc_trusted_domain_situation() in get_trust_pw_hash().Michael Adam2008-05-261-1/+1
| | | | | | | Before fetching legacy password hash, check for trusted domain situation, but also fail if trusted domain support is not enabled. Michael
* passdb: add comment explaining logic in get_trust_pw_clear().Michael Adam2008-05-261-2/+16
| | | | Michael
* passdb: in get_trust_pw_clear() correctly fail if trusted domains not supportedMichael Adam2008-05-261-1/+5
| | | | | | | | | (but trusted domain situation was found) This completes the fix for bugs #5425 and #5451 by Steven Dannemann, in that now no special cases are left uncovered. Michael
* Add function is_dc_trusted_domain_situation().Michael Adam2008-05-261-3/+7
| | | | | | | This is like is_trusted_domain_situation() except that it does not check for lp_allow_trusted_domains(). Michael
* Manually port Steven Dannenman fix for using the correct machine domain whenGerald W. Carter2008-05-231-3/+3
| | | | | | | | | | | looking up trust credentials in our tdb. commit fd0ae47046d37ec8297396a2733209c4d999ea91 Author: Steven Danneman <sdanneman@isilon.com> Date: Thu May 8 13:34:49 2008 -0700 Use machine account and machine password from our domain when contacting trusted domains.
* Cleanup size_t return values in callers of convert_string_allocateTim Prouty2008-05-202-28/+59
| | | | | This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure.
* Fix a panic in the [ug]id2sid valgrind bug fixVolker Lendecke2008-05-061-4/+6
| | | | Always, always run "make test" before pushing stuff :-)
* Fix a valgrind bug in the new [ug]id2sid cacheVolker Lendecke2008-05-061-6/+6
| | | | | When we're given a SID, it is not always padded with zeros. Only look at the initialized parts in the SID.
* Remove unix_homedir from struct user_structVolker Lendecke2008-05-051-8/+0
| | | | This makes pdb_get_unix_homedir unused. I wonder if that was ever really used...
* pdb_tdb: fix the upgrade code, db_traverse returns the number of records!Stefan Metzmacher2008-04-151-1/+3
| | | | metze
* Convert dbwrap_trans_delete to NTSTATUSVolker Lendecke2008-04-011-1/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Convert dbwrap_trans_store to NTSTATUSVolker Lendecke2008-04-011-3/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* pdb_tdb: use != 0 instead off == -1 for dbwrap functionsStefan Metzmacher2008-04-011-1/+1
| | | | metze
* passdb: guard pdb_generate_sam_sid() with a transactionStefan Metzmacher2008-04-011-2/+24
| | | | | | This prevents possible races with some dbwrap backends metze
* passdb/secrets: add secrets_db_ctx() to get the db_contextStefan Metzmacher2008-04-011-0/+9
| | | | metze
* pdb_tdb: use db_open_trans()Stefan Metzmacher2008-03-271-1/+1
| | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org>
* pdb_tdb: use db_sam->transaction_start(db_sam) != 0 consistentStefan Metzmacher2008-03-271-1/+1
| | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org>
* passdb/secrets: use db_open_trans()Stefan Metzmacher2008-03-271-1/+2
| | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org>
* passdb/secrets: it's enough to use traverse_read() in secrets_trusted_domains()Stefan Metzmacher2008-03-271-1/+1
| | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Coverity fixesMarc VanHeyningen2008-03-172-6/+14
|
* Convert pdb_tdb to use dbwrapVolker Lendecke2008-03-171-318/+316
|