summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:libsmb: use 'state' instead of 'talloc_tos()' in smb2cli_create*Stefan Metzmacher2012-05-061-2/+2
| | | | metze
* s3:libsmb: remove unused reference to talloc_tos()Stefan Metzmacher2012-05-064-8/+4
| | | | metze
* s3:idmap_cache: change DEBUG message to level 10Stefan Metzmacher2012-05-061-1/+2
| | | | metze
* s3:registry: implement values_need_update and subkeys_need_update in the ↵Michael Adam2012-05-051-0/+11
| | | | | | | | | | smbconf backend It simply calls to the regdb functions. This fixes a caching issue uncovered by recent changes. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat May 5 04:10:43 CEST 2012 on sn-devel-104
* s3:registry: return error when Key does not exist in ↵Michael Adam2012-05-051-0/+3
| | | | regdb_fetch_values_internal()
* s3:smbd: comment the lp_load call in reload_services()Michael Adam2012-05-051-1/+5
|
* s3: Use hex_encode_bufVolker Lendecke2012-05-041-4/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri May 4 20:32:37 CEST 2012 on sn-devel-104
* s3: Use hex_encode_bufVolker Lendecke2012-05-041-3/+1
|
* s3: Remove an unused extern declarationVolker Lendecke2012-05-041-2/+0
|
* s3: Remove an unused parameter from check_parent_access()Volker Lendecke2012-05-041-10/+3
|
* s3: In mkdir_internal, don't retrieve parent_dir from check_parent_accessVolker Lendecke2012-05-041-1/+1
| | | | We have already created that ourselves a few lines above
* krb5samba: Add a smb_krb5_cc_get_lifetime() function.Andreas Schneider2012-05-041-0/+2
| | | | Signed-off-by: Simo Sorce <idra@samba.org>
* krb5samba: Add compat krb5_make_principal for MIT buildSimo Sorce2012-05-041-0/+1
|
* Move kerberos_kinit_keyblock_cc to krb5samba libSimo Sorce2012-05-041-0/+1
| | | | | Make it also work with MIT where krb5_get_in_tkt_with_keyblock is not available.
* s3: remove some unused codeVolker Lendecke2012-05-042-28/+0
|
* s3: Fix a typoVolker Lendecke2012-05-041-1/+1
|
* 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:vfs fix compiler warningChristian Ambach2012-05-031-0/+5
| | | | vfs_default.c:1875:10: warning: no previous prototype for 'vfswrap_audit_file'
* s3:lib fix compiler warningsChristian Ambach2012-05-031-0/+6
| | | | | g_lock.c:182:20: warning: no previous prototype for ‘g_lock_lock_send’ g_lock.c:270:10: warning: no previous prototype for ‘g_lock_lock_recv’
* UTIL_TDB: lowercase name.Jelmer Vernooij2012-05-031-3/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu May 3 20:18:22 CEST 2012 on sn-devel-104
* s3-pypassdb: add wrapper for enum_group_membershipsAndrew Bartlett2012-05-031-1/+57
| | | | | | | | This will be used in samba3upgrade to try and get the group memberships by instead asking for the groups each user is in. This reverse lookup may be more reliable, as this is used at login time. Andrew Bartlett
* s3-pypassdb: remove unused variableAndrew Bartlett2012-05-031-2/+0
|
* s3-passdb: Add extra debug on ID mapping failuresAndrew Bartlett2012-05-021-0/+7
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed May 2 15:34:13 CEST 2012 on sn-devel-104
* s3-idmap: remove (now) unused function idmap_cache_set_sid2both()Andrew Bartlett2012-05-022-25/+0
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-idmap: convert most idmap_cache callers to unixid APIAndrew Bartlett2012-05-024-55/+52
| | | | | | | | | This will eventually allow the struct unixid to be passed all the way up and down the stack. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
* s3-idmap: Rework idmap_cache to store ID_TYPE_BOTH valuesAndrew Bartlett2012-05-022-176/+240
| | | | | | | | | | | | | This required that the lower level cache store a UID/GID and a type, and that we operate on struct unixid rather than just uid/gid. The ID_TYPE_BOTH is then handled as being a positive mapping for both a UID and GID value. Wrapper functions are provided so that callers are not changed in this patch. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
* s3-winbindd: Do not use WBC_ types internally in winbinddAndrew Bartlett2012-05-021-3/+5
| | | | | | Use the types from idmap.idl instead Signed-off-by: Michael Adam <obnox@samba.org>
* s3:passdb: remove a forward declaration of wbcSidToUnixId that has become ↵Michael Adam2012-05-021-1/+0
| | | | unnecessary
* s3:passdb: rename sids_to_unix_ids() --> sids_to_unixids() for consistencyMichael Adam2012-05-023-4/+4
|
* s3-passdb: Use struct unixid in sids_to_unix_idsAndrew Bartlett2012-05-023-24/+39
| | | | | | | | | This avoids the union in the struct wbcUnixId and moves us to using only struct unixid internally. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
* s3-passdb: Rename legacy_sid_to_id -> legacy_sid_to_unixid for clarityAndrew Bartlett2012-05-021-3/+3
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-passdb: Change pdb_sid_to_id() to return struct unixidAndrew Bartlett2012-05-029-161/+147
| | | | | | | | | 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>
* selftest: run more raw.samba3 against secshare simple file serverAndrew Bartlett2012-05-021-1/+1
| | | | | | | | | | This allows these tests to run in an environment where they can pass, as they fail when ACL support is turned on in smbd. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 2 02:51:27 CEST 2012 on sn-devel-104
* selftest: Run smbtorture tests being run against s3dc against plugin_s4_dc ↵Andrew Bartlett2012-05-021-3/+7
| | | | as well
* selftest: attempt to test samba3hide in a different environmentAndrew Bartlett2012-05-021-0/+3
| | | | | | | This should ensure that the samba3hide test is still run and passes, in a non-ACLed environment. Andrew Bartlett
* s3-smbd: Use security_session_user_level() rather than nt_token_check_sid()Andrew Bartlett2012-05-021-13/+1
| | | | | | | | | | This allows the unix.whoami test to pass when configured as part of the AD DC. The struct auth_session_info is slightly different in the AD DC configuration when using auth_samba4. In particular, there is a distinction between Guest and Anonymous logins. Andrew Bartlett
* s3:torture fix flakey testcaseChristian Ambach2012-05-021-6/+20
| | | | | | | | don't put database into /tmp, use lp_private_dir() to put it into the selftest prefix Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed May 2 00:57:05 CEST 2012 on sn-devel-104
* s3:selftest run LOCAL-IDMAP-TDB-COMMON in make testChristian Ambach2012-05-011-0/+1
| | | | | Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Tue May 1 11:07:08 CEST 2012 on sn-devel-104
* s3:torture: add idmap_tdb_common test codeChristian Ambach2012-05-015-3/+1038
|
* s3:winbindd/idmap_tdb: use idmap_tdb_common codeChristian Ambach2012-05-011-558/+18
|
* s3:winbindd/idmap_tdb2: fix logic error in set_mapping_actionChristian Ambach2012-05-011-1/+1
| | | | fix an endless loop
* s3:winbindd/idmap_tdb2: use idmap_tdb_common codeChristian Ambach2012-05-011-357/+91
|
* s3:winbindd/autorid use idmap_tdb_common code in autoridChristian Ambach2012-05-011-86/+227
| | | | | | - use common logic for the allocation pool - add a idmap_tdb style 1on1 mapping for non-domain SIDs like Everyone (S-1-1-0)
* s3:winbindd add idmap_tdb_common file to store common code of TDB idmap backendsChristian Ambach2012-05-014-2/+796
|
* s3:util add sid_check_is_wellknown_builtin()Christian Ambach2012-05-012-0/+28
|
* Fix bug #8873 - self granting privileges in security=ads.Jeremy Allison2012-05-011-4/+12
| | | | | Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 1 01:04:46 CEST 2012 on sn-devel-104
* Fix the loop unrolling inside resolve_ads(). If we don't getJeremy Allison2012-04-301-34/+73
| | | | | | | | | an IP list don't use interpret_string_addr(), as this only returns one address, use interpret_string_addr_internal() instead. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 30 23:21:16 CEST 2012 on sn-devel-104
* Protect all of the name resolution methods from returning null addrs. Ensure ↵Jeremy Allison2012-04-301-9/+19
| | | | all returns go through remove_duplicate_addrs2().
* Fix convert_ss2service() to filter out zero addresses.Jeremy Allison2012-04-301-12/+33
|
* Fix remove_duplicate_addrs2 to do exactly what it says. Previously it could ↵Jeremy Allison2012-04-301-10/+9
| | | | leave zero addresses in the list.