summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-01-27Looking into printer driver issues, I ran across some peculiarities inDavid Disseldorp1-8/+11
copy_file(): - Firstly, if the source file is zero bytes, NT_STATUS_DISK_FULL is returned. - Secondly, the conditional lseek is confusing. It fires when OPENX_FILE_EXISTS_OPEN is set and I can't see why the lseek is necessary in this case. - Finally, the lseek error path also results in NT_STATUS_DISK_FULL. Proposed fix for first and third point below. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 27 00:59:56 CET 2011 on sn-devel-104
2011-01-27s3-utils: Fixed a resource leak in net_afs.Andreas Schneider1-0/+2
s3-utils: Fixed a resource leak in net_afs. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 27 00:12:47 CET 2011 on sn-devel-104
2011-01-26s3-utils: Fixed a resource leak in smbta-util.Andreas Schneider1-0/+1
s3-utils: Fixed a resource leak in smbta-util.
2011-01-26s3-utils: Fixed possible resource leak in net_usershare.Andreas Schneider1-0/+5
s3-utils: Fixed possible resource leak in net_usershare.
2011-01-26s3-utils: Fixed possible resource leak in smbget.Andreas Schneider1-0/+1
s3-utils: Fixed possible resource leak in smbget.
2011-01-26s3-utils: Fixed possible resource leak in smbfilter.Andreas Schneider1-0/+1
s3-utils: Fixed possible resource leak in smbfilter.
2011-01-26s3-modules: Fixed the for-loop code block.Andreas Schneider1-0/+1
s3-modules: Fixed the for-loop code block.
2011-01-26s3-lib: Fixed a missing return value in tldap.Andreas Schneider1-0/+1
s3-lib: Fixed a missing return value in tldap.
2011-01-26errormap: Add unix_to_werror() functionKai Blin1-0/+6
While this function technically is closest to the map_nt_status_from_unix() function, I think it is better to keep the new function in line with our usual fooerror_to_barerror() naming scheme. Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Jan 26 23:07:24 CET 2011 on sn-devel-104
2011-01-26Allow "security = share" with SMB2. We already handle this in smb2/smb2_server.cJeremy Allison1-1/+0
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 26 20:37:29 CET 2011 on sn-devel-104
2011-01-26From Metze - make sure we're using the same string length for the hash.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 26 18:32:15 CET 2011 on sn-devel-104
2011-01-26s3-winbind: share a common winbind_samlogon_retry_loop().Günther Deschner1-168/+147
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 26 12:41:14 CET 2011 on sn-devel-104
2011-01-26Revert "s3: These assignments are overwritten immediately"Günther Deschner1-0/+4
This reverts commit 18962ea3852d0d0fc7371e99813bebd54fae0a19.
2011-01-26Revert "s3-winbind: fix winbindd_dual_pam_auth_samlogon() for NT4 domains."Günther Deschner1-1/+0
This reverts commit cea36aeacf8778493463f31e6afc3f58384639e2.
2011-01-26Missed one debug printf of name_hash. Ensure always use %x.Jeremy Allison1-2/+2
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 26 00:46:28 CET 2011 on sn-devel-104
2011-01-25Fix bug #7863 - Unlink may unlink wrong file when hardlinks are involved.Jeremy Allison9-146/+345
Do this by keeping a linked list of delete on close tokens, one for each filename that identifies a path to the dev/inode. Use the jenkins hash of the pathname to identify the correct token.
2011-01-25Add uint32_t name_hash argument (currently unused) to get_file_infos().Jeremy Allison9-12/+15
Will be used when we store more than one delete on close token.
2011-01-25Add name_hash into the share mode entry struct (as yet only use for renames ↵Jeremy Allison6-11/+66
to identify a specific path).
2011-01-25Add name_hash to files_struct. Set within fsp_set_smb_fname().Jeremy Allison3-1/+35
2011-01-25idl: add file_id idl.Günther Deschner6-52/+5
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 25 12:27:00 CET 2011 on sn-devel-104
2011-01-25s3-libndr: remove cmdline_lp_ctx.Günther Deschner1-2/+0
Guenther
2011-01-25waf: share libndr.so between samba3 and samba4.Günther Deschner1-10/+4
Guenther
2011-01-25libndr: move ndr_print_bool to ndr_basic.cGünther Deschner2-6/+0
Guenther
2011-01-25s3-waf: add PKGCONFIGDIR.Günther Deschner1-0/+1
Guenther
2011-01-25s3-smbclient: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach1-7/+9
Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jan 25 11:41:53 CET 2011 on sn-devel-104
2011-01-25s3-masktest: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach1-5/+6
Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-25s3-smbclient: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach1-5/+7
Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-25s3-torture: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach1-7/+6
Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-24s3-build: remove source4 include path for autoconf build as well.Günther Deschner1-1/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 24 17:40:56 CET 2011 on sn-devel-104
2011-01-24s3-rpcclient: allow to define validation level for samlogon.Günther Deschner3-4/+5
Guenther
2011-01-24s3-waf: fix lib/addns include path.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 24 16:15:58 CET 2011 on sn-devel-104
2011-01-24s3-waf: no need anymore to include "source4" globally.Günther Deschner1-1/+1
Guenther
2011-01-24libcli/ldap: use lib/ldb_compat.h for the s3 buildStefan Metzmacher1-0/+13
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 24 14:55:50 CET 2011 on sn-devel-104
2011-01-24s3-winbind: fix winbindd_dual_pam_auth_samlogon() for NT4 domains.Günther Deschner1-0/+1
After failing the netr_LogonSamLogonEx, we failed to retry with netr_LogonSamLogon. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 24 12:35:42 CET 2011 on sn-devel-104
2011-01-24Revert "s3: Fix an infinite loop"Volker Lendecke1-4/+0
This reverts commit 61f7d7cdeccb1f733590e8bdb8229b32363a815e. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jan 24 10:10:43 CET 2011 on sn-devel-104
2011-01-23s3: Fix an infinite loopVolker Lendecke1-0/+4
If select returns EBADF (which should NEVER happen), then we loop infinitely because the select masks seem all active. I've been given an strace where smbd floods syslog with inotify-related error messages. The strace shows that select returns EBADF, and we're calling the inotify event callback. It then complains there's no data on the inotify fd. Metze, please check! We might need to fix this in 3.4 and 3.5 as well. And we need to find the deeper reason where we close a file descriptor and don't tell the events system about it. Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 23 10:05:39 CET 2011 on sn-devel-104
2011-01-22s3: Fix connecting to port-139 only serversVolker Lendecke1-3/+5
When the TCP RST came before the 5 msecs timeout kicked in, we viewed this as final, as state->req_139 was not set yet. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 22 17:42:41 CET 2011 on sn-devel-104
2011-01-21s3-torture: fix uninitialized status code.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 21 16:52:34 CET 2011 on sn-devel-104
2011-01-21s3-rpc_client: fix dcerpc_try_samr_connects().Günther Deschner1-2/+2
Only return when both results are ok. Guenther
2011-01-21s3-rpc_client: no need to include gen_ndr/cli_samr.h anymore.Günther Deschner1-1/+1
Guenther
2011-01-21s3-rpc_client: fix uninitialized variable found by -O3.Günther Deschner1-1/+1
Guenther
2011-01-21s3-waf: remove RPCCLI_SPOOLSS subsystem.Günther Deschner1-5/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 21 16:06:40 CET 2011 on sn-devel-104
2011-01-21s3-build: remove RPCCLI_SPOOLSS subsystem.Günther Deschner1-2/+1
Guenther
2011-01-21s3-rpcclient: prefer dcerpc_spoolss_X functions.Günther Deschner1-74/+205
Guenther
2011-01-21s3-rpc_client: prefer dcerpc_spoolss_X functions.Günther Deschner1-37/+149
Guenther
2011-01-21s3-lanman: remove trailing whitespace.Günther Deschner1-30/+30
Guenther
2011-01-21s3-rpc_client: Added dcerpc_try_samr_connects.Andreas Schneider2-11/+67
Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Fri Jan 21 15:19:01 CET 2011 on sn-devel-104
2011-01-21s3-rpc_client: Rename get_query_dispinfo_params.Andreas Schneider5-10/+28
2011-01-21s3-rpc_client: Added dcerpc_samr_chgpasswd_user3.Andreas Schneider2-9/+75
2011-01-21s3-rpc_client: Added dcerpc_samr_chng_pswd_auth_crap.Andreas Schneider2-7/+73