Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-14 | s3:smbd: only set fsp->fh->gen_id for a client connection | Stefan Metzmacher | 1 | -1/+2 | |
For faked connections, like dfs and printing, we leave it as 0. metze | |||||
2012-06-14 | s3:smbd: try to make fsp->fh->gen_id as globally unique as possible | Stefan Metzmacher | 1 | -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 | |||||
2012-06-14 | s3: Simplify tdb_data_is_cstr a bit | Volker Lendecke | 1 | -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 | |||||
2012-06-14 | tdb2: remove unused debug_fprintf() macro that breaks the build | Stefan Metzmacher | 1 | -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 | |||||
2012-06-14 | tdb: remove unused debug_fprintf() macro that breaks the build | Stefan Metzmacher | 1 | -2/+0 | |
The IRIX compiler doesn't support '...' in a macro. metze | |||||
2012-06-14 | lib/replace: define HAVE_WORKING_STRPTIME instead of REPLACE_STRPTIME | Stefan Metzmacher | 3 | -10/+16 | |
That makes the logic in 'wscript' simpler. metze | |||||
2012-06-14 | lib/replace: execute strptime.c tests | Stefan Metzmacher | 1 | -0/+1 | |
They need runtime verification. metze | |||||
2012-06-14 | Revert "replace: use replace for non 'samba' compliant strptime" | Stefan Metzmacher | 1 | -19/+0 | |
This reverts commit 4ea7d4694a8353fc55ecd12cb09b9c91ffde7b3f. A better fix will follow. metze | |||||
2012-06-14 | lib/replace: add more condition to add snprintf.c | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2012-06-14 | Revert "lib/replace: Fix snprintf() override for systems with a broken ↵ | Stefan Metzmacher | 1 | -1/+1 | |
snprintf()" This reverts commit bbc1b0c9853322da10483f72c020fe0dd83b28fa. A more generic fix will follow. metze | |||||
2012-06-14 | lib/replace: s/execute=1/execute=True | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-14 | s3: Fix a comment | Volker Lendecke | 1 | -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 | |||||
2012-06-13 | replace: fix unused variable warning | Björn Jacke | 1 | -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 | |||||
2012-06-13 | Revert "replace: fix unused variable warning" | Björn Jacke | 1 | -5/+4 | |
This reverts commit e2747fc62c2acbab143c4971469e0a4fc36d8789. one line slipped into a wrong ifndef ... | |||||
2012-06-13 | s3: fix build without ads support | Björn Jacke | 1 | -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 | |||||
2012-06-13 | replace: fix unused variable warning | Björn Jacke | 1 | -4/+5 | |
found by the IRIX compiler | |||||
2012-06-13 | doc: fix typo uniq → unique | Björn Jacke | 1 | -1/+1 | |
2012-06-13 | s4:ntvfs: add '_fn' suffix to all ntvfs_ops function pointers | Stefan Metzmacher | 12 | -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 | |||||
2012-06-12 | s3: Use talloc_tos() in more places in dbwrap_util | Volker Lendecke | 1 | -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 | |||||
2012-06-12 | s3: Make --pw-nt-hash useable in smbclient | Volker Lendecke | 1 | -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 | |||||
2012-06-12 | s3: Add --pw-nt-hash to popt_common_credentials | Volker Lendecke | 1 | -0/+5 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-12 | s3: Add cli_state->pw_nt_hash | Volker Lendecke | 3 | -1/+10 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-12 | s3: Add user_auth_info->use_pw_nt_hash | Volker Lendecke | 2 | -0/+17 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-12 | s3-libsmbclient: change vnum to 0.2.0 | Stefan Metzmacher | 2 | -1/+173 | |
metze | |||||
2012-06-12 | s3-libsmbclient: Add OptionUseNTHash | Volker Lendecke | 4 | -0/+34 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-12 | s3: Add CLI_FULL_CONNECTION_USE_NT_HASH | Volker Lendecke | 1 | -0/+1 | |
... as an indicator that the password supplied is the NT hash Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-12 | S3: Add ntlmssp_set_password_hash | Volker Lendecke | 2 | -0/+24 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-12 | s3-libsmbclient: Make SMBC_call_auth_fn static | Volker Lendecke | 2 | -10/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-12 | s4:smbd: fix typos | Michael Adam | 2 | -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 | |||||
2012-06-12 | s4:kerberos: fix typos in kerberos-notes.txt | Michael Adam | 1 | -2/+2 | |
2012-06-12 | s4:gensec: fix a comment typo | Michael Adam | 1 | -1/+1 | |
2012-06-12 | s4:torture: fix use of non-existent word (existant) | Michael Adam | 8 | -15/+15 | |
2012-06-12 | s4:tests: fix use of a non-existent word (existant) | Michael Adam | 3 | -4/+4 | |
2012-06-12 | s4:provision: fix use of non-existent word (existant) | Michael Adam | 1 | -1/+1 | |
2012-06-12 | s4:registry:testsuite: fix use of non-existent word (existant) | Michael Adam | 1 | -3/+3 | |
2012-06-12 | s4:heimdal: fix use of a non-existent word (existant) | Michael Adam | 1 | -1/+1 | |
2012-06-12 | s3:torture: fix use of non-existent word (existant) | Michael Adam | 1 | -3/+3 | |
2012-06-12 | s3:printing: fix use of a non-existent word (existant) | Michael Adam | 1 | -1/+1 | |
2012-06-12 | s3:vfs:scannedonly: fix use of non-existent word (existant) | Michael Adam | 1 | -5/+5 | |
2012-06-12 | libsmbclient: fix use of a non-existent word (existant) | Michael Adam | 1 | -1/+1 | |
2012-06-12 | selftest: fix use of a non-existent word (existant) | Michael Adam | 1 | -1/+1 | |
2012-06-12 | lib/testtools: fix use of a non-existent word (existant) | Michael Adam | 1 | -1/+1 | |
2012-06-12 | tdb:tests: fix use of a non-existent word (existant) | Michael Adam | 1 | -2/+2 | |
2012-06-12 | ldb:tests: fix use of a non-existent word (existant) | Michael Adam | 1 | -1/+1 | |
2012-06-12 | pidl/tests: fix use of a non-existent word (existant) | Michael Adam | 1 | -2/+2 | |
2012-06-12 | lib/util: fix use of a non-existent word (existant) in a comment | Michael Adam | 1 | -1/+1 | |
2012-06-12 | nsstest: fix use of a non-existent word (existant) | Michael Adam | 1 | -4/+4 | |
2012-06-12 | s3: Make vfswrap_audit_file static | Volker Lendecke | 1 | -5/+5 | |
Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Jun 12 02:26:31 CEST 2012 on sn-devel-104 | |||||
2012-06-11 | s3: Fix Coverity ID 703870 Uninitialized scalar variable | Volker Lendecke | 1 | -0/+1 | |
According to man 2 recvmsg this might be unnecessary, but it does not hurt either Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-06-11 | s3: Save errno around a TALLOC_FREE | Volker Lendecke | 1 | -0/+3 | |
Signed-off-by: Jeremy Allison <jra@samba.org> |