summaryrefslogtreecommitdiffstats
path: root/source3/passdb/pdb_ads.c
Commit message (Collapse)AuthorAgeFilesLines
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-0/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3: Remove talloc_autofree_context() from pdb_init_ads()Volker Lendecke2010-09-261-1/+1
|
* s3: Replace sid_binstring and sid_guidstring with PIDL-based alternativesAndrew Bartlett2010-09-201-10/+11
| | | | | | | | | This reduces the manual marshalling of these structures by removing the duplication here. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3-passdb: include samr.h where needed.Günther Deschner2010-08-061-0/+1
| | | | Guenther
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3-libads: only include libds flags where needed.Günther Deschner2010-07-011-0/+1
| | | | Guenther
* s3-passdb: Make sure dn is initialized and don't free it.Andreas Schneider2010-06-281-3/+1
| | | | | | dn is just a pointer to a memory which hasn't been duplicated. Found by clang-analyzer.
* s3-passdb: Make sure we don't call free on a garbage pointer.Andreas Schneider2010-06-281-1/+1
| | | | Found by clang-analyzer.
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-28/+28
| | | | | | | | | | This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3-tldap: only include tldap when actually needed.Günther Deschner2010-05-181-0/+2
| | | | Guenther
* s3:passdb: remove the uid_to_rid method - we only need uid_to_sidMichael Adam2009-11-141-7/+0
| | | | Michael
* s3: Remove debug_ctx()Volker Lendecke2009-11-031-28/+28
| | | | | | | | smbd just crashed on me: In a debug message I called a routine preparing a string that itself used debug_ctx. The outer routine also used it after the inner routine had returned. It was still referencing the talloc context that the outer debug_ctx() had given us, which the inner DEBUG had already freed.
* s3-account_policy: add pdb_policy_type enum.Günther Deschner2009-07-141-4/+6
| | | | Guenther
* s3-pdb_ads: set correct pdb field with the value from 'accountExpires' ↵Günther Deschner2009-07-131-1/+1
| | | | | | attribute. Guenther
* libds: merge the UF<->ACB flag mapping functions.Günther Deschner2009-07-131-3/+3
| | | | Guenther
* Return 0 domains from enum_trusteddomsVolker Lendecke2009-07-101-1/+3
|
* Quieten events and tldap debug messagesVolker Lendecke2009-07-101-1/+1
|
* pdb_ads: For cached samu entries, priv is NULLVolker Lendecke2009-07-041-75/+81
| | | | | We have to recreate the priv entry on demand. This needs fixing in passdb... :-)
* Add pdb_ads_get_domain_infoVolker Lendecke2009-07-041-0/+53
|
* pdb_ads: Use tldap_fetch_rootdse in pdb_ads_connectVolker Lendecke2009-07-041-13/+12
|
* pdb_ads: Fetch the domain GUIDVolker Lendecke2009-07-041-1/+7
|
* Add pdb_get_domain_infoVolker Lendecke2009-07-041-0/+7
|
* Make pdb_ads return an additional flagVolker Lendecke2009-07-041-1/+1
|
* s3:pdb_ads: we need to make the fd for tldap/tsocket non-blockingStefan Metzmacher2009-06-291-0/+2
| | | | metze
* Turn the pdb_rid_algorithm into a capabilities call that returns flagsVolker Lendecke2009-06-281-3/+3
|
* Make pdb_ads survive a restart of Samba4Volker Lendecke2009-06-281-106/+225
| | | | | | | The search function retries once, the modifying call that hits a dead smbd returns an error. The next try will reconnect. This was simple to implement and provides a good compromise against Samba4 idling our connection. Most of the modifying calls are quickly after a search (like OpenUser) anyway.
* Only set the password if there is oneVolker Lendecke2009-06-241-4/+8
|
* Prepare control supportVolker Lendecke2009-06-201-10/+11
| | | | | | | | | We will have arrays of controls passed to tldap.c. Follow a mantra from the classic book "Thinking Forth" by Leo Brodie: Favor counts over terminators :-) This makes the parameter lists to tldap pretty long, but everyone will have wrapper routines anyway, see for example tldap_search_fmt. And the OpenLDAP manpages call the non-_ext routines deprecated, probably for a reason.
* Fix setting passwords in pdb_adsVolker Lendecke2009-06-201-6/+7
| | | | | | | | | | | | | | The samba4 password_hash module does not allow changing the password fields via the "delete oldval" -> "add newval" set of modify operations, it requires a single "replace with newval" operation. Andrew, Samba3 by default uses that delete/add pair to detect if between fetching the old value and storing the new one the old value has changed. This is lost by using the "replace" operation. Would it make sense to add this to the password_hash module? Volker
* Activate tldap tracing in pdb_adsVolker Lendecke2009-06-121-0/+34
|
* s3 passdb ads: add missing characterTim Prouty2009-06-111-1/+1
|
* Implement pdb_enum_alias_membershipsVolker Lendecke2009-06-111-3/+88
|
* Implement pdb_ads_set_aliasinfoVolker Lendecke2009-06-101-1/+68
|
* pdb_default_aliasinfo is just fine for pdb_ads right nowVolker Lendecke2009-06-101-8/+1
|
* Implement pdb_ads_lookup_ridsVolker Lendecke2009-06-101-3/+69
|
* Fix a segfault in pdb_ads_delete_user()Volker Lendecke2009-06-101-3/+11
| | | | If a user comes from the passdb cache, priv is NULL
* If there are no mods, don't bother the ldap serverVolker Lendecke2009-06-091-0/+5
|
* Some more fields in pdb_ads_init_ads_from_sam()Volker Lendecke2009-06-091-0/+20
|
* Do not pull samAccountName twiceVolker Lendecke2009-06-091-7/+0
|
* No need to free twice -- thanks gd :-)Volker Lendecke2009-06-091-1/+0
|
* Implement pdb_ads_[add|del]_groupmemVolker Lendecke2009-06-091-11/+69
|
* Implement pdb_ads_delete_dom_groupVolker Lendecke2009-06-091-1/+47
|
* Implement pdb_ads_enum_group_membersVolker Lendecke2009-06-081-3/+57
|
* Fix two 64-bit warningsVolker Lendecke2009-06-081-2/+2
|
* Implement pdb_[add|del]aliasmemVolker Lendecke2009-06-081-2/+99
|
* Do not use a variable format stringVolker Lendecke2009-06-081-1/+1
|
* Implement pdb_ads_enum_aliasmemVolker Lendecke2009-06-081-3/+86
|
* Implement pdb_ads_delete_aliasVolker Lendecke2009-06-081-1/+44
|
* Implement pdb_ads_create_dom_group()Volker Lendecke2009-06-081-1/+69
|
* More pdb_ads stuffVolker Lendecke2009-06-071-6/+108
|