summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-utils: Fixed a resource leak in smbta-util.Andreas Schneider2011-01-261-0/+1
| | | | s3-utils: Fixed a resource leak in smbta-util.
* s3-utils: Fixed possible resource leak in net_usershare.Andreas Schneider2011-01-261-0/+5
| | | | s3-utils: Fixed possible resource leak in net_usershare.
* s3-utils: Fixed possible resource leak in smbget.Andreas Schneider2011-01-261-0/+1
| | | | s3-utils: Fixed possible resource leak in smbget.
* s3-utils: Fixed possible resource leak in smbfilter.Andreas Schneider2011-01-261-0/+1
| | | | s3-utils: Fixed possible resource leak in smbfilter.
* s3-modules: Fixed the for-loop code block.Andreas Schneider2011-01-261-0/+1
| | | | s3-modules: Fixed the for-loop code block.
* s3-lib: Fixed a missing return value in tldap.Andreas Schneider2011-01-261-0/+1
| | | | s3-lib: Fixed a missing return value in tldap.
* errormap: Add unix_to_werror() functionKai Blin2011-01-263-0/+17
| | | | | | | | | | | 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
* Allow "security = share" with SMB2. We already handle this in smb2/smb2_server.cJeremy Allison2011-01-261-1/+0
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 26 20:37:29 CET 2011 on sn-devel-104
* From Metze - make sure we're using the same string length for the hash.Jeremy Allison2011-01-261-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 26 18:32:15 CET 2011 on sn-devel-104
* s3-winbind: share a common winbind_samlogon_retry_loop().Günther Deschner2011-01-261-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
* Revert "s3: These assignments are overwritten immediately"Günther Deschner2011-01-261-0/+4
| | | | This reverts commit 18962ea3852d0d0fc7371e99813bebd54fae0a19.
* Revert "s3-winbind: fix winbindd_dual_pam_auth_samlogon() for NT4 domains."Günther Deschner2011-01-261-1/+0
| | | | This reverts commit cea36aeacf8778493463f31e6afc3f58384639e2.
* pidl:Typelist: fix perl warnings about recursiv function callsStefan Metzmacher2011-01-261-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 26 10:59:04 CET 2011 on sn-devel-104
* pidl:Samba3/ServerNDR: correctly initialise ndr_push structStefan Metzmacher2011-01-261-0/+6
| | | | | | | | We need to copy the ptr_count from the ndr_pull struct to the ndr_push struct, otherwise we'll reuse full pointer ids, which will cause the client to fail in the ndr unmarshalling. metze
* Missed one debug printf of name_hash. Ensure always use %x.Jeremy Allison2011-01-261-2/+2
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 26 00:46:28 CET 2011 on sn-devel-104
* Fix bug #7863 - Unlink may unlink wrong file when hardlinks are involved.Jeremy Allison2011-01-259-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.
* Add uint32_t name_hash argument (currently unused) to get_file_infos().Jeremy Allison2011-01-259-12/+15
| | | | Will be used when we store more than one delete on close token.
* Add name_hash into the share mode entry struct (as yet only use for renames ↵Jeremy Allison2011-01-256-11/+66
| | | | to identify a specific path).
* Add name_hash to files_struct. Set within fsp_set_smb_fname().Jeremy Allison2011-01-253-1/+35
|
* s4-test/delete_object: Remove global ldb connectionsKamen Mazdrashki2011-01-251-26/+7
| | | | | | | Make it more xUnit compliant Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Jan 25 21:30:19 CET 2011 on sn-devel-104
* s4:ldap.py - check the write protection on LSA objectsMatthias Dieter Wallnöfer2011-01-251-5/+30
| | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jan 25 13:09:41 CET 2011 on sn-devel-104
* s4:dsdb/samdb/ldb_modules/objectclass.c - move LSA specific object checks ↵Matthias Dieter Wallnöfer2011-01-252-32/+29
| | | | | | | | | | | | | | into "objectclass_attrs" LDB module LSA object classes are protected on both LDAP add and LDAP modify operations, so I've refactored the previous check in the objectclass LDB module only for LDAP adds in a new one in the objectclass_attrs LDB module for both adds and modifies. This is the result of the investigations done by Hongwei Sun and I in the last months. Interestingly these protection mechansim doesn't apply on LDAP deletes! Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* idl: add file_id idl.Günther Deschner2011-01-259-53/+25
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 25 12:27:00 CET 2011 on sn-devel-104
* s3-libndr: remove cmdline_lp_ctx.Günther Deschner2011-01-251-2/+0
| | | | Guenther
* waf: share libndr.so between samba3 and samba4.Günther Deschner2011-01-253-21/+14
| | | | Guenther
* libndr: move ndr_print_bool to ndr_basic.cGünther Deschner2011-01-254-6/+7
| | | | Guenther
* s3-waf: add PKGCONFIGDIR.Günther Deschner2011-01-251-0/+1
| | | | Guenther
* s3-smbclient: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-01-251-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
* s3-masktest: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-01-251-5/+6
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-smbclient: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-01-251-5/+7
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-01-251-7/+6
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-docs: fix deldriver optionBjörn Baumbach2011-01-251-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-docs: add some long opts to smbclient(1) manBjörn Baumbach2011-01-251-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-waf: Skip header-not-found cache if a library is specified, as it may provideJelmer Vernooij2011-01-251-1/+1
| | | | | | | | | additional C flags. Tridge, please check. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jan 25 03:59:32 CET 2011 on sn-devel-104
* s4-waf: Only show minversion when there was a minimum version specified.Jelmer Vernooij2011-01-241-1/+5
|
* Show text output messages when interfacing with bzr.Jelmer Vernooij2011-01-241-1/+6
|
* remove unnecessary use of pass.Jelmer Vernooij2011-01-030-0/+0
|
* s3-build: remove source4 include path for autoconf build as well.Günther Deschner2011-01-241-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
* s3-rpcclient: allow to define validation level for samlogon.Günther Deschner2011-01-243-4/+5
| | | | Guenther
* s3-waf: fix lib/addns include path.Günther Deschner2011-01-241-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
* s3-waf: no need anymore to include "source4" globally.Günther Deschner2011-01-241-1/+1
| | | | Guenther
* libcli/ldap: use lib/ldb_compat.h for the s3 buildStefan Metzmacher2011-01-242-0/+17
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 24 14:55:50 CET 2011 on sn-devel-104
* s3-winbind: fix winbindd_dual_pam_auth_samlogon() for NT4 domains.Günther Deschner2011-01-241-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
* Revert "s3: Fix an infinite loop"Volker Lendecke2011-01-241-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
* s3: Fix an infinite loopVolker Lendecke2011-01-231-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
* s3: Fix connecting to port-139 only serversVolker Lendecke2011-01-221-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
* s4-repl_meta_data: replmd_update_is_newer() should not return true if ↵Kamen Mazdrashki2011-01-221-3/+3
| | | | | | | metadata stamps are equal Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sat Jan 22 12:22:30 CET 2011 on sn-devel-104
* s4-repl_meta_data: Print out what is wrong when we fail to modify objectKamen Mazdrashki2011-01-221-0/+1
|
* s4-repl_meta_data: We should not use USNs in metadata comparisonsKamen Mazdrashki2011-01-221-11/+0
| | | | If object is changed by same DC, then version should be incremented
* s3-torture: fix uninitialized status code.Günther Deschner2011-01-211-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