summaryrefslogtreecommitdiffstats
path: root/source3/passdb/pdb_ads.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-passdb: Remove pdb_adsAndrew Bartlett2012-06-161-2693/+0
| | | | | | | | | | | | | | | pdb_ads was an important module in the development of the combined Samba 4.0, and was the first module to show that standard samba3 tools such as smbpasswd can be made to operate on the sam.ldb. We now have pdb_samba4, which operates directly on the sam.ldb, rather than via ldapi://, which uses transactions and which is supported and tested as part of the official Samba 4.0 release configuration. This module is not as complete (for example, it does not honour the idmap configuration) and requires that the samba binary be running to operate. Andrew Bartlett
* s3:passdb fix a compiler warningChristian Ambach2012-05-031-1/+1
| | | | | | | this one could have caused crashes Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu May 3 23:22:05 CEST 2012 on sn-devel-104
* s3-passdb: Change pdb_sid_to_id() to return struct unixidAndrew Bartlett2012-05-021-6/+11
| | | | | | | | | This will make it easier to consistantly pass a struct unixid all the way up and down the idmap stack, and allow ID_TYPE_BOTH to be handled correctly. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
* s3-pdb: Make ADS-type backends updates secrets.tdb.Simo Sorce2012-01-271-0/+42
| | | | | | | | | | Make the backends that have ADS capability the only ones that can change the SID and GUID in secrets.tdb at initialization time. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Jan 27 19:42:17 CET 2012 on sn-devel-104
* pdb-interface: Do not use unid_t hereSimo Sorce2011-10-181-7/+6
| | | | | | | | This interface needs to be publicly available, unid_t here is not really useful and makes it harder to use it as unid_t is not a public union. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Oct 18 20:57:16 CEST 2011 on sn-devel-104
* s3-group-mapping: Remove fstrings from GROUP_MAP.Simo Sorce2011-10-121-8/+13
| | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 12 19:28:12 CEST 2011 on sn-devel-104
* s3-passdb: add passdb.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-241-3/+2
| | | | | | | | | convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
* Fix compiler warning in debug message.Jeremy Allison2011-03-171-1/+1
|
* s3: Fix a cut&paste error in pdb_ads_connectVolker Lendecke2011-03-161-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 16 08:22:28 CET 2011 on sn-devel-104
* s3: Read uidNumber/gidNumber in pdb_ads_sid_to_idVolker Lendecke2011-03-151-29/+45
| | | | | | | Question: How shall we allocate those? Something like the rid allocator? Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Mar 15 09:59:55 CET 2011 on sn-devel-104
* s3-libds: use already existing ../libds/common/flag_mapping.h header.Günther Deschner2011-03-021-0/+1
| | | | Guenther
* s3: Fix pdb_ads_enum_group_memberships argsVolker Lendecke2011-02-261-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 26 11:37:10 CET 2011 on sn-devel-104
* s3: Fix filtering in pdb_ads_search_usersVolker Lendecke2011-02-221-6/+19
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 22 20:59:07 CET 2011 on sn-devel-104
* s3: Fix pdb_ads_enum_aliasmem for empty aliasesVolker Lendecke2011-02-201-1/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 20 21:40:40 CET 2011 on sn-devel-104
* s3: Support SetGroupInfo in pdb_adsVolker Lendecke2011-02-201-4/+66
|
* s3: Fix a debug messageVolker Lendecke2011-02-201-1/+1
|
* s3: Fix pdb_ads_enum_group_members for empty groupsVolker Lendecke2011-02-201-1/+3
|
* s3: Fix error returns in pdb_ads_mod_groupmemVolker Lendecke2011-02-201-2/+4
|
* s3: Fix return code of pdb_ads_getsamupriv if the user does not existVolker Lendecke2011-02-201-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 20 11:12:01 CET 2011 on sn-devel-104
* s3: Add ACB_NORMAL to workstations, match RPC-SAMRVolker Lendecke2011-02-201-1/+9
|
* s3: Make QueryDispInfo and QueryInfo match for guestVolker Lendecke2011-02-201-6/+19
|
* s3: Pass logonHours through pdb_adsVolker Lendecke2011-02-191-0/+22
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 19 12:22:08 CET 2011 on sn-devel-104
* s3: Let pdb_ads write accountExpiresVolker Lendecke2011-02-191-0/+18
|
* s3: Fix pdb_ads_pull_timeVolker Lendecke2011-02-191-1/+1
|
* s3: Support "codePage" in pdb_adsVolker Lendecke2011-02-151-0/+8
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 15 22:00:27 CET 2011 on sn-devel-104
* s3: Support "country_code" in pdb_adsVolker Lendecke2011-02-151-0/+10
|
* s3: Add userWorkstations and userParameters to pdb_adsVolker Lendecke2011-02-151-0/+20
|
* s3: Add "comment" and "description" to pdb_adsVolker Lendecke2011-02-131-0/+20
| | | | | | | | This is pending a change to samldb_description_check, we might have to modify the description with a TLDAP_MOD_REPLACE operation. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 13 17:56:58 CET 2011 on sn-devel-104
* s3: Make "net sam list [users|workstations]" list only the right thingsVolker Lendecke2011-02-131-1/+20
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 13 12:59:14 CET 2011 on sn-devel-104
* s3: Remove an unneeded protoVolker Lendecke2011-02-131-3/+0
|
* s3: Convert tldap_entry_values args to "array, count"Volker Lendecke2011-02-131-2/+2
|
* s3: Add an explicit counter to tldap_add_mod_[blobs|str]Volker Lendecke2011-02-131-8/+10
|
* s3: Convert tldap_make_mod_fmt args to "array, count"Volker Lendecke2011-02-131-16/+16
|
* s3: Convert tldap_add_mod_blobs args to "array, count"Volker Lendecke2011-02-131-1/+1
|
* s3: Align the args of pdb_ads_update_sam_account to tldap_modifyVolker Lendecke2011-02-131-2/+2
|
* s3: Make "smbpasswd <user>" work with pdb_adsVolker Lendecke2011-02-121-8/+33
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 12 15:17:39 CET 2011 on sn-devel-104
* s3: Align the args in tldap_modifyVolker Lendecke2011-02-101-4/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 10 23:20:05 CET 2011 on sn-devel-104
* s3: Align tldap_add and tldap_add_sendVolker Lendecke2011-02-101-3/+3
|
* s3: Add primary group in pdb_ads_enum_group_membershipsVolker Lendecke2011-02-061-21/+27
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 6 18:41:08 CET 2011 on sn-devel-104
* s3: In pdb_ads, cope with artificial samu structsVolker Lendecke2011-02-061-2/+10
|
* s3: Use strlcpy in pdb_ads_connectVolker Lendecke2011-02-061-2/+2
|
* 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.