summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Properly deal with exited winbind childrenVolker Lendecke2011-05-041-0/+5
| | | | | | | | | | | | When a winbind child exits, we need to immediately close the socket. If not, the next request to that child will be sent to a socket without a listener, leading to a failed request. This failed request will then trigger a proper re-init. This patch avoids the one failed request. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 13:32:16 CEST 2011 on sn-devel-104
* s3-vfs: make vfswrap_llistxattr and vfswrap_flistxattr static.Günther Deschner2011-05-042-8/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 4 12:31:10 CEST 2011 on sn-devel-104
* s3: Filter out duplicates in name_query()Volker Lendecke2011-05-041-2/+18
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 00:03:47 CEST 2011 on sn-devel-104
* s3-includes: when MADVISE support was reverted back in 2009, someone forgot ↵Günther Deschner2011-05-031-4/+0
| | | | | | | | | this hunk. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 3 22:06:20 CEST 2011 on sn-devel-104
* s3-includes: move enum flush_reason_enum to smb.hGünther Deschner2011-05-032-16/+16
| | | | Guenther
* s3-includes: remove ipv6 related prototype which is already defined in ↵Günther Deschner2011-05-031-5/+0
| | | | | | ../lib/util/util_net.h. Guenther
* s3-system: move LOCK_ defines to lib/system.cGünther Deschner2011-05-032-9/+9
| | | | Guenther
* s3: Handle EINTR from sys_poll correctlyVolker Lendecke2011-05-031-1/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 3 18:06:48 CEST 2011 on sn-devel-104
* s3-proto: move remaining krb5 protos to krb5_protos.hGünther Deschner2011-05-032-7/+6
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 3 15:38:40 CEST 2011 on sn-devel-104
* s3-ctdb Fix duplicate function name due to packet -> ctdb_packet rename.Andrew Bartlett2011-05-033-3/+3
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: reply_readbraw_error needs an sconn as argument also in the non-LFS code ↵Björn Jacke2011-05-031-1/+1
| | | | | | | | | path Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue May 3 13:04:11 CEST 2011 on sn-devel-104
* ѕ3/configure: move out generic CPPFLAGS in the solaris case hereBjörn Jacke2011-05-031-3/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* ѕ3/configure: move out generic LDFLAGS in the solaris case hereBjörn Jacke2011-05-031-3/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/util Use lib/util/util_str.c in common, including strequal()Andrew Bartlett2011-05-032-86/+1
| | | | | | | | strequal() is now implemented in terms of strcasecmp_m() which is tested in smbtorture and which does not talloc() for ASCII or non-ASCII comparions, and has an ASCII fast-path. Andrew Bartlett
* lib/util/charset Use push_string and talloc_strupper/strlower from common codeAndrew Bartlett2011-05-034-128/+2
| | | | | | | | | | | The only caller of push_string() (not to be confused with push_string_check()) in the common code was encode_pw_buffer(), and it didn't use the alignment or STR_UPPER flags. The talloc_strupper() and talloc_strlower() functions are tested in smbtorture, and are next_codepoint() based. Andrew Bartlett
* s3-lib make push_ucs2() staticAndrew Bartlett2011-05-032-2/+1
|
* Remove strlower_m() and strupper_m() from source4 and common code.Andrew Bartlett2011-05-031-0/+61
| | | | | | | | | This function is problematic because a string may expand in size when changed into upper or lower case. This will then push characters off the end of the string in the s3 implementation, or panic in the former s4 implementation. Andrew Bartlett
* s3-include: use new roles.hAndrew Tridgell2011-05-032-9/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib/util Move set_socket_options() into common code.Andrew Bartlett2011-05-031-160/+0
|
* lib/util Move more network utility functions from source3 into lib/utilAndrew Bartlett2011-05-033-237/+0
| | | | | | This will help with the merge of the interfaces layer. Andrew Bartlett
* s3-ctdb Rename packet file and files to ctdb_packetAndrew Bartlett2011-05-035-73/+72
| | | | | | | This avoids a conflicts with the Samba4 packet.c, as these is only used in CTDB Andrew Bartlett
* s3: Tune broadcast namequeries for unique namesVolker Lendecke2011-05-031-3/+9
| | | | | | | | | If we get a unique name via a broadcast query, there's no point in waiting the full timeout. A unique name is just what its name says: unique. No point in waiting longer. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 3 00:57:24 CEST 2011 on sn-devel-104
* s3-rpc_server: (re)move last globally included rpc_server prototypes.Günther Deschner2011-05-025-9/+36
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 2 16:05:31 CEST 2011 on sn-devel-104
* s3-spoolss: remove another unused header.Günther Deschner2011-05-021-1/+0
| | | | Guenther
* s3: include ntdomain.h before including generated srv_ headers.Günther Deschner2011-05-0223-18/+23
| | | | Guenther
* s3-rpc_server: add pipes_struct forward declaration.Günther Deschner2011-05-022-0/+3
| | | | Guenther
* s3-winbindd: remove unused headers.Günther Deschner2011-05-022-6/+0
| | | | Guenther
* s3: remove various references to server side dcerpc structs (which are not ↵Günther Deschner2011-05-028-8/+0
| | | | | | needed). Guenther
* s3: move pipe_auth_data to dcerpc.hGünther Deschner2011-05-022-15/+14
| | | | Guenther
* s3-printing: include ../librpc/ndr/libndr.h in ads printing.Günther Deschner2011-05-021-0/+1
| | | | Guenther
* s3-smbd: avoid using pipes_struct when only session_info is needed.Günther Deschner2011-05-023-7/+6
| | | | Guenther
* s3-printing: avoid using pipes_struct when only session_info is needed.Günther Deschner2011-05-023-17/+16
| | | | Guenther
* s3-proto: move remaining srvsvc protos to own header file.Günther Deschner2011-05-024-5/+35
| | | | Guenther
* s3-proto: move remaining spoolss protos to own header file.Günther Deschner2011-05-027-10/+45
| | | | Guenther
* s3-proto: move more rpc_server prototypes out of proto.hGünther Deschner2011-05-0211-25/+60
| | | | Guenther
* s3-rpc_server: remove proto of nonexisting functionGünther Deschner2011-05-022-5/+1
| | | | | | (rpc_pipe_register_commands). Guenther
* s3-util: move valid_share_pathname() to lib/util.cGünther Deschner2011-05-023-38/+35
| | | | Guenther
* s3-proto: move rpc_srv_register protos and structs to town headerfile.Günther Deschner2011-05-029-19/+49
| | | | Guenther
* s3:libsmb/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILUREStefan Metzmacher2011-05-021-0/+2
| | | | metze
* s3: Make name_resolve_bcast return sockaddr_storageVolker Lendecke2011-04-304-27/+37
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 30 20:40:46 CEST 2011 on sn-devel-104
* s3: Remove ip_sevice from get_ipc_connect_master_ipVolker Lendecke2011-04-303-7/+7
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 30 18:16:28 CEST 2011 on sn-devel-104
* s3-build Add popt dep to fix build on FreeBSDAndrew Bartlett2011-04-301-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 30 11:42:20 CEST 2011 on sn-devel-104
* s3-lib: Rely on uint64_t in conv_str_size()Andrew Bartlett2011-04-302-31/+14
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 30 05:58:35 CEST 2011 on sn-devel-104
* kerberos: Only include gssapi/gssapi_krb5.h when availableAndrew Bartlett2011-04-302-2/+2
|
* s3-waf: Add dependency on popt to fix build on FreeBSDAndrew Bartlett2011-04-301-1/+1
|
* Add POSIX O_RDONLY test of a directory for bug #8112 - POSIX extension opens ↵Jeremy Allison2011-04-302-4/+10
| | | | | | | | | of a directory are denied with EISDIR. Don't strip access bits from wire flags when opening a directory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 02:21:24 CEST 2011 on sn-devel-104
* Fix bug #8112 - POSIX extension opens of a directory are denied with EISDIR.Jeremy Allison2011-04-291-2/+10
| | | | | | | | Ensure create_options are passed down to SMB_VFS_CREATE_FILE(). Correctly set create_options is SMB_O_DIRECTORY is set or pathname is known to be a directory. Jeremy.
* torture test for bug #8111 - CIFS VFS: unexpected error on SMB posix open.Jeremy Allison2011-04-301-0/+55
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 00:33:40 CEST 2011 on sn-devel-104
* Fix bug 8111 - CIFS VFS: unexpected error on SMB posix openJeremy Allison2011-04-291-12/+49
| | | | | | | | | We are conflating the O_CREAT|O_EXCL with the O_TRUNC processing, they need to be separate. We need to chose using (O_CREAT|O_EXCL) first, then modify if O_TRUNC is set. This needs two separate switch statements. Jeremy
* s3-proto: move more headers to rpc_server/rpc_ncacn_np.h where they origin from.Günther Deschner2011-04-295-5/+9
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 22:05:07 CEST 2011 on sn-devel-104