summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_ads.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-16s3-passdb: Remove pdb_adsAndrew Bartlett1-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
2012-05-03s3:passdb fix a compiler warningChristian Ambach1-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
2012-05-02s3-passdb: Change pdb_sid_to_id() to return struct unixidAndrew Bartlett1-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>
2012-01-27s3-pdb: Make ADS-type backends updates secrets.tdb.Simo Sorce1-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
2011-10-18pdb-interface: Do not use unid_t hereSimo Sorce1-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
2011-10-12s3-group-mapping: Remove fstrings from GROUP_MAP.Simo Sorce1-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
2011-03-30s3-passdb: add passdb.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell1-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
2011-03-17Fix compiler warning in debug message.Jeremy Allison1-1/+1
2011-03-16s3: Fix a cut&paste error in pdb_ads_connectVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 16 08:22:28 CET 2011 on sn-devel-104
2011-03-15s3: Read uidNumber/gidNumber in pdb_ads_sid_to_idVolker Lendecke1-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
2011-03-02s3-libds: use already existing ../libds/common/flag_mapping.h header.Günther Deschner1-0/+1
Guenther
2011-02-26s3: Fix pdb_ads_enum_group_memberships argsVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 26 11:37:10 CET 2011 on sn-devel-104
2011-02-22s3: Fix filtering in pdb_ads_search_usersVolker Lendecke1-6/+19
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 22 20:59:07 CET 2011 on sn-devel-104
2011-02-20s3: Fix pdb_ads_enum_aliasmem for empty aliasesVolker Lendecke1-1/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 20 21:40:40 CET 2011 on sn-devel-104
2011-02-20s3: Support SetGroupInfo in pdb_adsVolker Lendecke1-4/+66
2011-02-20s3: Fix a debug messageVolker Lendecke1-1/+1
2011-02-20s3: Fix pdb_ads_enum_group_members for empty groupsVolker Lendecke1-1/+3
2011-02-20s3: Fix error returns in pdb_ads_mod_groupmemVolker Lendecke1-2/+4
2011-02-20s3: Fix return code of pdb_ads_getsamupriv if the user does not existVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 20 11:12:01 CET 2011 on sn-devel-104
2011-02-20s3: Add ACB_NORMAL to workstations, match RPC-SAMRVolker Lendecke1-1/+9
2011-02-20s3: Make QueryDispInfo and QueryInfo match for guestVolker Lendecke1-6/+19
2011-02-19s3: Pass logonHours through pdb_adsVolker Lendecke1-0/+22
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 19 12:22:08 CET 2011 on sn-devel-104
2011-02-19s3: Let pdb_ads write accountExpiresVolker Lendecke1-0/+18
2011-02-19s3: Fix pdb_ads_pull_timeVolker Lendecke1-1/+1
2011-02-15s3: Support "codePage" in pdb_adsVolker Lendecke1-0/+8
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 15 22:00:27 CET 2011 on sn-devel-104
2011-02-15s3: Support "country_code" in pdb_adsVolker Lendecke1-0/+10
2011-02-15s3: Add userWorkstations and userParameters to pdb_adsVolker Lendecke1-0/+20
2011-02-13s3: Add "comment" and "description" to pdb_adsVolker Lendecke1-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
2011-02-13s3: Make "net sam list [users|workstations]" list only the right thingsVolker Lendecke1-1/+20
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 13 12:59:14 CET 2011 on sn-devel-104
2011-02-13s3: Remove an unneeded protoVolker Lendecke1-3/+0
2011-02-13s3: Convert tldap_entry_values args to "array, count"Volker Lendecke1-2/+2
2011-02-13s3: Add an explicit counter to tldap_add_mod_[blobs|str]Volker Lendecke1-8/+10
2011-02-13s3: Convert tldap_make_mod_fmt args to "array, count"Volker Lendecke1-16/+16
2011-02-13s3: Convert tldap_add_mod_blobs args to "array, count"Volker Lendecke1-1/+1
2011-02-13s3: Align the args of pdb_ads_update_sam_account to tldap_modifyVolker Lendecke1-2/+2
2011-02-12s3: Make "smbpasswd <user>" work with pdb_adsVolker Lendecke1-8/+33
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 12 15:17:39 CET 2011 on sn-devel-104
2011-02-10s3: Align the args in tldap_modifyVolker Lendecke1-4/+4
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 10 23:20:05 CET 2011 on sn-devel-104
2011-02-10s3: Align tldap_add and tldap_add_sendVolker Lendecke1-3/+3
2011-02-06s3: Add primary group in pdb_ads_enum_group_membershipsVolker Lendecke1-21/+27
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 6 18:41:08 CET 2011 on sn-devel-104
2011-02-06s3: In pdb_ads, cope with artificial samu structsVolker Lendecke1-2/+10
2011-02-06s3: Use strlcpy in pdb_ads_connectVolker Lendecke1-2/+2
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-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
2010-09-26s3: Remove talloc_autofree_context() from pdb_init_ads()Volker Lendecke1-1/+1
2010-09-20s3: Replace sid_binstring and sid_guidstring with PIDL-based alternativesAndrew Bartlett1-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>
2010-08-06s3-passdb: include samr.h where needed.Günther Deschner1-0/+1
Guenther
2010-08-05s3-secrets: only include secrets.h when needed.Günther Deschner1-0/+1
Guenther
2010-07-01s3-libads: only include libds flags where needed.Günther Deschner1-0/+1
Guenther
2010-06-28s3-passdb: Make sure dn is initialized and don't free it.Andreas Schneider1-3/+1
dn is just a pointer to a memory which hasn't been duplicated. Found by clang-analyzer.
2010-06-28s3-passdb: Make sure we don't call free on a garbage pointer.Andreas Schneider1-1/+1
Found by clang-analyzer.