summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:files: reorder file_free() a bitMichael Adam2012-06-151-16/+18
| | | | | Pair-Programmed-With: Volker Lendecke <vl@samba.org> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:smbd: refactor fsp_new() out of file_new()Michael Adam2012-06-152-34/+57
| | | | | Pair-Programmed-With: Volker Lendecke <vl@samba.org> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* waf: Update to newer upstream snapshot.Jelmer Vernooij2012-06-151-9/+11
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Fri Jun 15 03:12:35 CEST 2012 on sn-devel-104
* update-waf.sh: make mktemp happy by including anything Xes.Jelmer Vernooij2012-06-151-1/+1
|
* lib/util: Fix typo in comment.Jelmer Vernooij2012-06-151-1/+1
|
* make librpc/build_idl.sh more portableBjörn Jacke2012-06-141-1/+2
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 14 23:57:40 CEST 2012 on sn-devel-104
* s3:smbd: use fsp_persistent_id() as persistent_file_id part for SMB2 (bug #8995)Stefan Metzmacher2012-06-143-6/+9
| | | | | | | | | | | | | | | It seems to be important to have unique persistent file ids, because windows clients seem to index files by server_guid + persistent_file_id. Which may break, if we just have a 16-bit range per connection and the client connects multiple times. Based on code from Ira Cooper. Use fsp->fh->gen_id as the persistent fileid in SMB2. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 14 22:04:13 CEST 2012 on sn-devel-104
* s3:smbd: add a fsp_persistent_id() functionStefan Metzmacher2012-06-142-0/+25
| | | | | | | | | | | | | | | | This calculates a 64-bit value that most likely uniquely identifies the files_struct globally to the server. * 32-bit random gen_id * 16-bit truncated open_time * 16-bit fnum (valatile_id) Based on code from Ira Cooper. Use fsp->fh->gen_id as the persistent fileid in SMB2. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* s3:smbd: only set fsp->fh->gen_id for a client connectionStefan Metzmacher2012-06-141-1/+2
| | | | | | For faked connections, like dfs and printing, we leave it as 0. metze
* s3:smbd: try to make fsp->fh->gen_id as globally unique as possibleStefan Metzmacher2012-06-141-1/+19
| | | | | | | | | | | | | | | | | This makes sure the value is never 0, it's between 1 and UINT32_MAX. While fsp->fh->gen_id is 'unsigned long' currently (which might by 8 bytes), there's some oplock code which truncates it to uint32_t (using IVAL()). Which means we could reuse fsp->fh->gen_id as persistent file id until we have a final fix, which uses database. See bug #8995 for more details. Based on code from Ira Cooper. Ensure fsp->fh->gen_id starts from a random point. We will use this as the SMB2 persistent_id. metze
* s3: Simplify tdb_data_is_cstr a bitVolker Lendecke2012-06-141-1/+1
| | | | | | | | | | | | The original code contained rawmemchr for performance reasons. I would expect the very common strlen routine to be not much worse performance-wise than rawmemchr. On top, for me this patch simplifies the expression a bit. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Jun 14 16:55:58 CEST 2012 on sn-devel-104
* tdb2: remove unused debug_fprintf() macro that breaks the buildStefan Metzmacher2012-06-141-2/+0
| | | | | | | | | The IRIX compiler doesn't support '...' in a macro. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 14 11:26:15 CEST 2012 on sn-devel-104
* tdb: remove unused debug_fprintf() macro that breaks the buildStefan Metzmacher2012-06-141-2/+0
| | | | | | The IRIX compiler doesn't support '...' in a macro. metze
* lib/replace: define HAVE_WORKING_STRPTIME instead of REPLACE_STRPTIMEStefan Metzmacher2012-06-143-10/+16
| | | | | | That makes the logic in 'wscript' simpler. metze
* lib/replace: execute strptime.c testsStefan Metzmacher2012-06-141-0/+1
| | | | | | They need runtime verification. metze
* Revert "replace: use replace for non 'samba' compliant strptime"Stefan Metzmacher2012-06-141-19/+0
| | | | | | | | This reverts commit 4ea7d4694a8353fc55ecd12cb09b9c91ffde7b3f. A better fix will follow. metze
* lib/replace: add more condition to add snprintf.cStefan Metzmacher2012-06-141-1/+3
| | | | metze
* Revert "lib/replace: Fix snprintf() override for systems with a broken ↵Stefan Metzmacher2012-06-141-1/+1
| | | | | | | | | | snprintf()" This reverts commit bbc1b0c9853322da10483f72c020fe0dd83b28fa. A more generic fix will follow. metze
* lib/replace: s/execute=1/execute=TrueStefan Metzmacher2012-06-141-1/+1
| | | | metze
* s3: Fix a commentVolker Lendecke2012-06-141-15/+13
| | | | | | | | | The fd count is implicit Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jun 14 01:53:17 CEST 2012 on sn-devel-104
* replace: fix unused variable warningBjörn Jacke2012-06-131-3/+6
| | | | | | | e2747fc62c2acbab143c4971469e0a4fc36d8789 fixed ... Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Jun 13 23:57:58 CEST 2012 on sn-devel-104
* Revert "replace: fix unused variable warning"Björn Jacke2012-06-131-5/+4
| | | | | | This reverts commit e2747fc62c2acbab143c4971469e0a4fc36d8789. one line slipped into a wrong ifndef ...
* s3: fix build without ads supportBjörn Jacke2012-06-131-3/+4
| | | | | | | | when we have no ads support we don't have the ads_get_sid_token symbol used in this unused code :-) Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Jun 13 21:20:15 CEST 2012 on sn-devel-104
* replace: fix unused variable warningBjörn Jacke2012-06-131-4/+5
| | | | found by the IRIX compiler
* doc: fix typo uniq → uniqueBjörn Jacke2012-06-131-1/+1
|
* s4:ntvfs: add '_fn' suffix to all ntvfs_ops function pointersStefan Metzmacher2012-06-1312-439/+439
| | | | | | | | | | | This hopefully fixes the build on systems where _LARGE_FILES triggers defines of syscalls e.g. '#define lseek lseek64' on AIX. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Jun 13 11:03:15 CEST 2012 on sn-devel-104
* s3: Use talloc_tos() in more places in dbwrap_utilVolker Lendecke2012-06-121-6/+10
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Jun 12 15:37:16 CEST 2012 on sn-devel-104
* s3: Make --pw-nt-hash useable in smbclientVolker Lendecke2012-06-121-0/+3
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jun 12 12:41:10 CEST 2012 on sn-devel-104
* s3: Add --pw-nt-hash to popt_common_credentialsVolker Lendecke2012-06-121-0/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Add cli_state->pw_nt_hashVolker Lendecke2012-06-123-1/+10
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Add user_auth_info->use_pw_nt_hashVolker Lendecke2012-06-122-0/+17
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmbclient: change vnum to 0.2.0Stefan Metzmacher2012-06-122-1/+173
| | | | metze
* s3-libsmbclient: Add OptionUseNTHashVolker Lendecke2012-06-124-0/+34
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Add CLI_FULL_CONNECTION_USE_NT_HASHVolker Lendecke2012-06-121-0/+1
| | | | | | ... as an indicator that the password supplied is the NT hash Signed-off-by: Stefan Metzmacher <metze@samba.org>
* S3: Add ntlmssp_set_password_hashVolker Lendecke2012-06-122-0/+24
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmbclient: Make SMBC_call_auth_fn staticVolker Lendecke2012-06-122-10/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:smbd: fix typosMichael Adam2012-06-122-3/+3
| | | | | Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Jun 12 09:21:15 CEST 2012 on sn-devel-104
* s4:kerberos: fix typos in kerberos-notes.txtMichael Adam2012-06-121-2/+2
|
* s4:gensec: fix a comment typoMichael Adam2012-06-121-1/+1
|
* s4:torture: fix use of non-existent word (existant)Michael Adam2012-06-128-15/+15
|
* s4:tests: fix use of a non-existent word (existant)Michael Adam2012-06-123-4/+4
|
* s4:provision: fix use of non-existent word (existant)Michael Adam2012-06-121-1/+1
|
* s4:registry:testsuite: fix use of non-existent word (existant)Michael Adam2012-06-121-3/+3
|
* s4:heimdal: fix use of a non-existent word (existant)Michael Adam2012-06-121-1/+1
|
* s3:torture: fix use of non-existent word (existant)Michael Adam2012-06-121-3/+3
|
* s3:printing: fix use of a non-existent word (existant)Michael Adam2012-06-121-1/+1
|
* s3:vfs:scannedonly: fix use of non-existent word (existant)Michael Adam2012-06-121-5/+5
|
* libsmbclient: fix use of a non-existent word (existant)Michael Adam2012-06-121-1/+1
|
* selftest: fix use of a non-existent word (existant)Michael Adam2012-06-121-1/+1
|
* lib/testtools: fix use of a non-existent word (existant)Michael Adam2012-06-121-1/+1
|