summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:winbindd/autorid preallocate well-known SIDsChristian Ambach2012-05-081-0/+42
| | | | | | | | preallocate the list of well-known SIDs that Win2008R2 reports to be groups and that are on the list in KB243330 This will allow for deterministic mapping of these SIDs, even if they are stored in the allocation pool as this is the first thing that autorid will allocate from the pool during module initialization
* krb5samba: Add smb_krb5_make_pac_checksum.Andreas Schneider2012-05-081-0/+1
| | | | | | | Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue May 8 08:30:52 CEST 2012 on sn-devel-104
* krb5samba: Add krb5_free_checksum_contents wrapperSimo Sorce2012-05-081-0/+1
|
* s3-python: Add python bindings for posix ACL layerAndrew Bartlett2012-05-082-0/+209
| | | | | | | This will allow us to check that posix ACLs work in the s4 provision, and avoid --use-s3fs if they do not. Andrew Bartlett
* s3:registry: let reg_values_need_update() return true if the backend does ↵Michael Adam2012-05-071-1/+1
| | | | | | | | | not implement the method Otherwise the value cache might become outdated. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon May 7 16:11:05 CEST 2012 on sn-devel-104
* s3:registry: let reg_subkeys_need_update() return true if the backend does ↵Michael Adam2012-05-071-1/+1
| | | | | | not implement the method Otherwise the subkey cache might become outdated.
* s3:smb2_negprot: add support for PROTOCOL_SMB3_00Stefan Metzmacher2012-05-061-0/+15
| | | | metze
* s3:torture/test_smb2: add support for PROTOCOL_SMB3_00Stefan Metzmacher2012-05-061-7/+10
| | | | metze
* s3:torture: do some query_info and set_info calls in SMB2-SESSION-REAUTHStefan Metzmacher2012-05-061-0/+143
| | | | metze
* s3:libsmb: add smb2cli_set_info*Stefan Metzmacher2012-05-064-0/+214
| | | | metze
* s3:libsmb: add smb2cli_query_info*Stefan Metzmacher2012-05-064-0/+288
| | | | metze
* s3:libsmb: use 'state' instead of 'talloc_tos()' in smb2cli_tcon*Stefan Metzmacher2012-05-061-2/+2
| | | | metze
* s3:libsmb: use 'state' instead of 'talloc_tos()' in smb2cli_ioctl*Stefan Metzmacher2012-05-061-1/+1
| | | | metze
* 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