summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-libads Use NTLMSSP via auth_generic/gensecAndrew Bartlett2012-01-061-90/+79
| | | | | | | | | This allows us to use the shared gensec_wrap() implementation already used by the smb sealing code, as well as making this code more generic. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb Make auth_ntlmssp client more genericAndrew Bartlett2012-01-065-55/+81
| | | | | | | | | As well as renaming, this allows us to start the mech by DCE/RPC auth type or OID. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb Use gensec_settings to set s3 ntlmssp client backendAndrew Bartlett2012-01-061-2/+10
| | | | | | This prepares us for making the code generic to multiple mechansims Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth Rename make_auth_ntlmssp() -> make_auth_gensec()Andrew Bartlett2012-01-061-5/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Fix compile when TDB_TRACE is enabled.Ira Cooper2012-01-061-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jan 6 04:16:41 CET 2012 on sn-devel-104
* Add a sys_get_number_of_cores() function that calls sysconf or sysctlJeremy Allison2012-01-065-4/+66
| | | | and tunes the aio threads.
* samba-tool:dns: Check through all the DNS records for a matchAmitay Isaacs2012-01-061-16/+16
| | | | | | | There can be multiple dns records for a specified record type. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Jan 6 02:41:22 CET 2012 on sn-devel-104
* s4-rpc:dnsserver: Do not replace @ with zone_name in update operationAmitay Isaacs2012-01-061-1/+6
| | | | This fixes the problem when updating DNS record for '@' or domain name.
* Fix bug #8687 - net memberships usage info is wrongJeremy Allison2012-01-061-1/+1
| | | | | | | Typo in usage. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jan 6 00:30:20 CET 2012 on sn-devel-104
* Fix the local-memcache test for 64-bitVolker Lendecke2012-01-052-2/+1
| | | | | | | | | The memcache test walks the purge functionality. The maximum memcache size also takes all memcache internal headers into account. Those headers contain pointers, so on 64-bit they take more space... Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jan 5 22:01:00 CET 2012 on sn-devel-104
* s3: Run the CLEANUP2 testVolker Lendecke2012-01-051-0/+1
|
* s3: Add a test for proper brlock cleanupVolker Lendecke2012-01-053-0/+89
| | | | | | | | We need to improve the server here. Maybe we should validate the brlock entry whenever we detect a read/write being blocked from locking? This is not our hot code path anyway, and it would gain us significant robustness. The code might become quite a bit simpler as well.
* s3: Clarify what CLEANUP1 doesVolker Lendecke2012-01-051-1/+2
|
* Add some debug to vfs_aio_pthread so I can see when jobs start and stop.Jeremy Allison2012-01-051-0/+16
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 5 20:28:00 CET 2012 on sn-devel-104
* s3-auth remove outdated commentAndrew Bartlett2012-01-051-3/+0
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 5 18:51:47 CET 2012 on sn-devel-104
* s3-librpc remove unused headersAndrew Bartlett2012-01-051-2/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth Remove more unused headersAndrew Bartlett2012-01-051-3/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth remove unused ntlmssp.hAndrew Bartlett2012-01-052-2/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth Remove ntlmssp_wrap.h which is no longer requiredAndrew Bartlett2012-01-059-10/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth use gensec directly rather than via auth_generic_stateAndrew Bartlett2012-01-0512-144/+112
| | | | | | | | | This is possible because the s3 gensec modules are started as normal gensec modules, so we do not need a wrapper any more. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth Set remote address for both AD and s3 gensec modesAndrew Bartlett2012-01-051-2/+0
|
* s3-auth re-create the auth context in the s3 ntlmssp server moduleAndrew Bartlett2012-01-055-70/+8
| | | | | | | | This removes the abstraction violation in auth_generic.c. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth Add TALLOC_CTX * to auth_generic_prepare()Andrew Bartlett2012-01-057-20/+15
| | | | | | | | | This makes the long term owner of this memory more clear. So far only the clear cases have been moved from NULL however. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth supply s3 ntlmssp module via gensec_settingsAndrew Bartlett2012-01-051-24/+11
| | | | | | | | | This will allow the supply of multiple modules in future without duplicating the module selection logic. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-selftest: Add test for rpcclient, including kerberos authenticationAndrew Bartlett2012-01-053-1/+38
| | | | | | | | Some knownfail entries are added for things the currently fail. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:gse: MIT krb5 1.8.1 has a bug in gss_wrap_iov()Stefan Metzmacher2012-01-051-1/+1
| | | | | | gss_krb5int_make_seal_token_v3_iov() doesn't set '*conf_state'. metze
* s3-librpc store the sign/seal flags we got in the gssapi clientAndrew Bartlett2012-01-051-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libads Factor out a new routine ↵Andrew Bartlett2012-01-054-48/+69
| | | | | | | | | | | | kerberos_get_principal_from_service_hostname() This is now used in the GSE GSSAPI client, so that when we connect to a target server at the CIFS level, we use the same name to connect at the DCE/RPC level. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-librpc Use gsskrb5_get_subkey() where available to get the session keyAndrew Bartlett2012-01-052-0/+16
| | | | | | | | This allows gse_get_session_key() to work against Heimdal. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Remove some redundant codeVolker Lendecke2012-01-051-5/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jan 5 17:16:45 CET 2012 on sn-devel-104
* s3: Run the CLEANUP1 testVolker Lendecke2012-01-051-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jan 5 14:42:43 CET 2012 on sn-devel-104
* s3: Add a test excercising the share mode cleanup routineVolker Lendecke2012-01-055-0/+73
|
* libcli/smb: Add smbXcli_conn_samba_suicideVolker Lendecke2012-01-052-0/+105
| | | | This is a pure test tool against Samba servers
* s3: Move basic SMB checking to a much earlier pointVolker Lendecke2012-01-051-19/+19
|
* s3: Add a suicide mode to smbdVolker Lendecke2012-01-051-0/+11
| | | | | To test our cleanup code paths properly, we need a way to make smbd exit hard without cleaning up
* s3: Fix some nonempty blank linesVolker Lendecke2012-01-051-3/+3
|
* s4:repl_meta_data LDB module - set "isRecycled" time correctlyMatthias Dieter Wallnöfer2012-01-051-9/+8
| | | | | | | | | | "unix_to_nt_time()" which is based on "time_t" behaves differently for literals > 32 bit on 32 and 64 bit platforms. Reviewed-by: ekacnet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Jan 5 11:59:20 CET 2012 on sn-devel-104
* Add S3 vfs_aio_pthread module to replace broken glibc aio code.Jeremy Allison2012-01-055-0/+659
| | | | | | | Compiles but not yet tested. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 5 01:43:51 CET 2012 on sn-devel-104
* waf: Use git repository.Jelmer Vernooij2012-01-051-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Jan 5 00:10:24 CET 2012 on sn-devel-104
* Include waf as an extracted source directory, rather than as a one-in-a-file ↵Jelmer Vernooij2012-01-0479-17/+18127
| | | | script.
* s4:pyrpc: add 'user_session_key' getter to the connection objectStefan Metzmacher2012-01-042-1/+45
| | | | | | | | | This gets the session key from gensec for usage in DRSUAPI. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 4 22:31:52 CET 2012 on sn-devel-104
* s4:pygensec/tests: check that the client and server have the same session keyStefan Metzmacher2012-01-041-1/+4
| | | | metze
* s4:pygensec: add session_key() methodStefan Metzmacher2012-01-041-0/+29
| | | | metze
* LDAP-CLDAP: demonstrate that pdc name is not an unc pathStefan Metzmacher2012-01-041-0/+9
| | | | | | | | | | | | | For LOGON_SAM_LOGON_RESPONSE_EX and LOGON_SAM_LOGON_USER_UNKNOWN_EX, pdc name is not in unc path form. [MS-ADTS] 7.3.1.* uses UnicodeLogonServer, which seems to be in unc form, while NetbiosComputerName is not in unc form. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 4 20:06:14 CET 2012 on sn-devel-104
* s4:torture/nbt/dgram.c - NBT samlogon requests don't return the PDC name as ↵Matthias Dieter Wallnöfer2012-01-041-0/+5
| | | | | | UNC path Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:cldap_server/netlogon.c: it is wrong to specify "\\" in front of the hostnameStefan Metzmacher2012-01-041-2/+6
| | | | | | | | | | | | For LOGON_SAM_LOGON_RESPONSE_EX and LOGON_SAM_LOGON_USER_UNKNOWN_EX, pdc name is not in unc path form. [MS-ADTS] 7.3.1.* uses UnicodeLogonServer, which seems to be in unc form, while NetbiosComputerName is not in unc form. Bases on a patch from Matthias Dieter Wallnöfer <mdw@samba.org>. metze
* s3-winbind: Fix segfault if we can't map the last user.Andreas Schneider2012-01-041-0/+18
| | | | | | | | | This fixes bug #8678. The issue is caused by bug #8608. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Jan 4 18:30:53 CET 2012 on sn-devel-104
* s3-winbind: Move finding the domain to it's own function.Andreas Schneider2012-01-041-11/+21
| | | | This the first part to fix bug #8678.
* s3-perfcount: fix incorrect array length calculationsDavid Disseldorp2012-01-041-9/+17
| | | | | | | | | | | As reported by Ismail Doenmez (idonmez@suse.com), sizeof() is incorrectly used by _reg_perfcount_init_data_block() in an attempt to determine the length of a talloced array. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 4 16:54:37 CET 2012 on sn-devel-104
* s3-perfcount: fix build for example perfcount daemonDavid Disseldorp2012-01-041-1/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>