summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-04s3-waf: add vfs_gpfs_hsm_notify to the build.Günther Deschner2-0/+14
Volker, can you please check this is correct ? Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 4 19:03:45 CEST 2011 on sn-devel-104
2011-05-04RHEL-CTDB: Build vfs_gpfs_hsm_notifyVolker Lendecke1-1/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 17:12:14 CEST 2011 on sn-devel-104
2011-05-04vfs_gpfs: Properly notify the offline->online changesVolker Lendecke3-0/+117
This needs to be a separate module that cooperates with vfs_gpfs. If aio_fork is used early in the module chain it (correctly) does not propagate the aio ops down, so vfs_gpfs does not see them. This slim module must come early in the chain for notifies to work properly.
2011-05-04vfs_gpfs: Block sendfile for offline filesVolker Lendecke1-0/+12
2011-05-04vfs_gpfs: Store the winattrs in st.vfs_privateVolker Lendecke1-5/+12
This avoids a considerable amount of gpfs_winattr calls
2011-05-04s3: Properly deal with exited winbind childrenVolker Lendecke1-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
2011-05-04s3-vfs: make vfswrap_llistxattr and vfswrap_flistxattr static.Günther Deschner2-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
2011-05-04s3: Filter out duplicates in name_query()Volker Lendecke1-2/+18
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 00:03:47 CEST 2011 on sn-devel-104
2011-05-03s3-includes: when MADVISE support was reverted back in 2009, someone forgot ↵Günther Deschner1-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
2011-05-03s3-includes: move enum flush_reason_enum to smb.hGünther Deschner2-16/+16
Guenther
2011-05-03s3-includes: remove ipv6 related prototype which is already defined in ↵Günther Deschner1-5/+0
../lib/util/util_net.h. Guenther
2011-05-03s3-system: move LOCK_ defines to lib/system.cGünther Deschner2-9/+9
Guenther
2011-05-03s3: Handle EINTR from sys_poll correctlyVolker Lendecke1-1/+4
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 3 18:06:48 CEST 2011 on sn-devel-104
2011-05-03s3-proto: move remaining krb5 protos to krb5_protos.hGünther Deschner2-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
2011-05-03s3-ctdb Fix duplicate function name due to packet -> ctdb_packet rename.Andrew Bartlett3-3/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2011-05-03s3: reply_readbraw_error needs an sconn as argument also in the non-LFS code ↵Björn Jacke1-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
2011-05-03ѕ3/configure: move out generic CPPFLAGS in the solaris case hereBjörn Jacke1-3/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-03ѕ3/configure: move out generic LDFLAGS in the solaris case hereBjörn Jacke1-3/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-03lib/util make string_wrappers.h a public headerAndrew Bartlett1-1/+1
This isn't a very good public header, but util.h includes it, so we don't have much choice in the short term. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 3 08:37:22 CEST 2011 on sn-devel-104
2011-05-03s4-param Rename secrets_init() -> randseed_init()Andrew Bartlett3-10/+10
This only sets up the random number generator callback these days, so use a different database for that. (All secrets data in Samba4 is in secrets.ldb) Andrew Bartlett
2011-05-03lib/util Use lib/util/util_str.c in common, including strequal()Andrew Bartlett4-89/+4
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
2011-05-03lib/util Use compiler-checked safe string macros in top level code.Andrew Bartlett2-35/+27
This brings the 'safe' macros to the top level code, and removes duplication of the safe_strcpy() and safe_strcat() functions. Andrew Bartlett
2011-05-03s4: fix arguments to safe_strcpy()Andrew Bartlett2-7/+7
Found by the s3-derivied safe_strcpy() macro. Andrew Bartlett
2011-05-03s4-socket: rename allow_access() to socket_allow_access()Andrew Tridgell3-8/+8
this prevents a symbol collision with s3 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03lib/util/charset Use push_string and talloc_strupper/strlower from common codeAndrew Bartlett6-145/+12
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
2011-05-03s3-lib make push_ucs2() staticAndrew Bartlett2-2/+1
2011-05-03Remove strlower_m() and strupper_m() from source4 and common code.Andrew Bartlett12-150/+135
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
2011-05-03s4-param: use new roles.hAndrew Tridgell1-5/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03s3-include: use new roles.hAndrew Tridgell2-9/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03libds: added roles.h for server rolesAndrew Tridgell2-0/+43
this will allow us to move the server roles in common, which will make it much easier to mix s3/s4 calls in the one C file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03libcli/raw: use a different ifdef than s3 smb.hAndrew Tridgell1-3/+3
this allows both headers to be included in 1 C file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett46-266/+266
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
2011-05-03s4-libcli Remove resolve_name() as it conflicts with Samba3.Andrew Bartlett9-25/+27
This was just a wrapper around resolve_name_ex(), so just call that instead. Andrew Bartlett
2011-05-03s4-torture Remove unused and uncompleated testAndrew Bartlett1-54/+0
2011-05-03lib/util Move set_socket_options() into common code.Andrew Bartlett4-320/+163
2011-05-03s4-lib/socket Merge updated set_socket_options from Samba3 -> Samba4Andrew Bartlett1-34/+90
2011-05-03lib/util Move more network utility functions from source3 into lib/utilAndrew Bartlett7-238/+275
This will help with the merge of the interfaces layer. Andrew Bartlett
2011-05-03s3-ctdb Rename packet file and files to ctdb_packetAndrew Bartlett5-73/+72
This avoids a conflicts with the Samba4 packet.c, as these is only used in CTDB Andrew Bartlett
2011-05-03s4-cluster Rename server_id.node -> vnn to match Samba3Andrew Bartlett4-8/+8
2011-05-03s4:Remove outdated doc on Samba4 upgradeAndrew Bartlett1-21/+0
2011-05-03selftest: Update READMEAndrew Bartlett1-5/+6
2011-05-03Remove reference to Samba4 LDAP backendsAndrew Bartlett1-7/+0
2011-05-03s4-cluster: Remove const from cluster_id_string()Andrew Bartlett4-5/+5
This allows the caller to talloc_free() this result. Andrew Bartlett
2011-05-03s4:cluster Rename .id to .pid in server_idAndrew Bartlett7-21/+28
This also changes some DEBUG messages to use cluster_id_string() rather than .id, to isolate them from this and other changes. Andrew Bartlett
2011-05-03s3: Tune broadcast namequeries for unique namesVolker Lendecke1-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
2011-05-02s3-rpc_server: (re)move last globally included rpc_server prototypes.Günther Deschner5-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
2011-05-02s3-spoolss: remove another unused header.Günther Deschner1-1/+0
Guenther
2011-05-02s3: include ntdomain.h before including generated srv_ headers.Günther Deschner23-18/+23
Guenther
2011-05-02s3-rpc_server: add pipes_struct forward declaration.Günther Deschner2-0/+3
Guenther
2011-05-02s3-winbindd: remove unused headers.Günther Deschner2-6/+0
Guenther