Displaying 20 results from an estimated 30 matches for "have_poll".
2020 Aug 18
0
[PATCH nbdkit 7/9] server: Add hand-written replacement for poll for Windows.
...IABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+#ifndef NBDKIT_POLL_H
+#define NBDKIT_POLL_H
+
+#include <config.h>
+
+#ifdef HAVE_POLL
+
+#include_next <poll.h>
+
+#else
+
+struct pollfd {
+ int fd;
+ short events;
+ short revents;
+};
+
+#define POLLIN 0x0001
+#define POLLOUT 0x0002
+#define POLLERR 0x0008
+#define POLLHUP 0x0010
+#define POLLRDHUP 0x2000
+
+extern int poll (struct pollfd *fds, int n, int timeou...
2020 Aug 18
1
Re: [PATCH nbdkit 7/9] server: Add hand-written replacement for poll for Windows.
...ockets.c | 2 +-
> common/replacements/poll.c | 106 ++++++++++++++++++++++++++++++++
> 6 files changed, 171 insertions(+), 2 deletions(-)
My native windows coding is weak, so take this review with a grain of salt.
> +++ b/common/replacements/poll.c
> +#ifndef HAVE_POLL
> +
> +#include "poll.h"
> +
> +#ifdef WIN32
> +
> +#include <winsock2.h>
> +#include <ws2tcpip.h>
> +#include <windows.h>
> +
> +/* Windows doesn't have poll. It has something called WSAPoll in
> + * Winsock, but even MSFT admit it...
2011 Aug 07
2
Trouble getting in icecast Directory
...E_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define _FILE_OFFSET_BITS 64
#define _GNU_SOURCE 1
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_ALLOCA_H 1
#define HAVE_PWD_H 1
#define CHUID 1
#define HAVE_UNISTD_H 1
#define CHROOT 1
#define HAVE_LOCALTIME_R 1
#define HAVE_POLL 1
#define HAVE_NANOSLEEP 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SOCKLEN_T 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_SETHOSTENT 1
#define HAVE_GETNAMEINFO 1
#define HAVE_ENDHOSTENT 1
#define HAVE_GETADDRINFO 1
#define HAVE_INET_ATON 1
#define HAVE_WRITEV 1
#define HAVE_...
2003 Dec 25
1
How to tell if option "with-acl-support" is compiledin Solaris smbd?
...INK
HAVE_LLSEEK
HAVE_LONGLONG
HAVE_LSEEK64
HAVE_LSTAT64
HAVE_MEMMOVE
HAVE_MEMORY_KEYTAB
HAVE_MEMSET
HAVE_MKNOD
HAVE_MKTIME
HAVE_MMAP
HAVE_NATIVE_ICONV
HAVE_NL_LANGINFO
HAVE_OPEN64
HAVE_PASSWD_PW_AGE
HAVE_PASSWD_PW_COMMENT
HAVE_PATHCONF
HAVE_PIPE
HAVE_POLL
HAVE_PREAD
HAVE_PREAD64
HAVE_PUTUTLINE
HAVE_PUTUTXLINE
HAVE_PWRITE
HAVE_PWRITE64
HAVE_RAND
HAVE_RANDOM
HAVE_READDIR64
HAVE_READLINK
HAVE_REALPATH
HAVE_RENAME
HAVE_ROOT
HAVE_SECURE_MKSTEMP
HAVE_SELECT
HAVE_SENDFILEV
HAVE_SENDFILEV64
HAVE_SETBUFFE...
2005 Nov 09
0
Samba 3.0.20b / AIX 5.3 / VFS Modules
...H
HAVE_DLFCN_H
HAVE_FCNTL_H
HAVE_GLOB_H
HAVE_GRP_H
HAVE_INT16_FROM_RPC_RPC_H
HAVE_INT32_FROM_RPC_RPC_H
HAVE_INTTYPES_H
HAVE_LANGINFO_H
HAVE_LIMITS_H
HAVE_LOCALE_H
HAVE_MEMORY_H
HAVE_MNTENT_H
HAVE_NETINET_IN_SYSTM_H
HAVE_NETINET_IP_H
HAVE_NETINET_TCP_H
HAVE_NET_IF_H
HAVE_POLL_H
HAVE_READLINE_HISTORY_H
HAVE_READLINE_READLINE_H
HAVE_RPCSVC_NIS_H
HAVE_RPCSVC_YPCLNT_H
HAVE_RPCSVC_YP_PROT_H
HAVE_RPC_NETTYPE_H
HAVE_RPC_RPC_H
HAVE_SECURITY_PAM_APPL_H
HAVE_SECURITY_PAM_MODULES_H
HAVE_STDARG_H
HAVE_STDINT_H
HAVE_STDLIB_H
HAVE_STRINGS_H
HAVE_STRING_H...
2007 Sep 24
2
Where is the tdbsam password database file?
...D
HAVE_MKTIME
HAVE_MLOCK
HAVE_MLOCKALL
HAVE_MMAP
HAVE_MUNLOCK
HAVE_MUNLOCKALL
HAVE_NANOSLEEP
HAVE_NATIVE_ICONV
HAVE_NEW_LIBREADLINE
HAVE_NL_LANGINFO
HAVE_NO_AIO
HAVE_OPEN64
HAVE_PAM_GET_DATA
HAVE_PAM_VSYSLOG
HAVE_PATHCONF
HAVE_PEERCRED
HAVE_PIPE
HAVE_POLL
HAVE_POSIX_ACLS
HAVE_POSIX_FADVISE
HAVE_POSIX_MEMALIGN
HAVE_PRCTL
HAVE_PREAD
HAVE_PREAD64
HAVE_PRINTF
HAVE_PUTUTLINE
HAVE_PUTUTXLINE
HAVE_PWRITE
HAVE_PWRITE64
HAVE_QUOTACTL_LINUX
HAVE_RAND
HAVE_RANDOM
HAVE_READDIR64
HAVE_READLINK
HAVE_REALPATH
H...
2005 Oct 19
1
samba with ADS. winbindd ignore for user authentication
...HAVE_FCNTL_H
HAVE_GLOB_H
HAVE_GRP_H
HAVE_GSSAPI_H
HAVE_INTTYPES_H
HAVE_KRB5_H
HAVE_LANGINFO_H
HAVE_LBER_H
HAVE_LDAP_H
HAVE_LIMITS_H
HAVE_LOCALE_H
HAVE_MEMORY_H
HAVE_NETINET_IN_SYSTM_H
HAVE_NETINET_IP_H
HAVE_NETINET_TCP_H
HAVE_NET_IF_H
HAVE_POLL_H
HAVE_READLINE_HISTORY_H
HAVE_READLINE_READLINE_H
HAVE_RPCSVC_NIS_H
HAVE_RPCSVC_YPCLNT_H
HAVE_RPC_RPC_H
HAVE_SECURITY_PAM_APPL_H
HAVE_SECURITY_PAM_MODULES_H
HAVE_SECURITY__PAM_MACROS_H
HAVE_STDARG_H
HAVE_STDLIB_H
HAVE_STRINGS_H
HAVE_STRING_H
HAVE...
2005 May 18
1
Samba Comple Problem on Solaris 2.8
...HAVE_GSSAPI_H
HAVE_INTTYPES_H
HAVE_KRB5_H
HAVE_LANGINFO_H
HAVE_LASTLOG_H
HAVE_LBER_H
HAVE_LDAP_H
HAVE_LIMITS_H
HAVE_LOCALE_H
HAVE_MEMORY_H
HAVE_NETINET_IN_SYSTM_H
HAVE_NETINET_IP_H
HAVE_NETINET_TCP_H
HAVE_NET_IF_H
HAVE_NSSWITCH_H
HAVE_NSS_COMMON_H
HAVE_POLL_H
HAVE_READLINE_HISTORY_H
HAVE_READLINE_READLINE_H
HAVE_RPCSVC_YPCLNT_H
HAVE_RPC_NETTYPE_H
HAVE_SECURITY_PAM_APPL_H
HAVE_SECURITY_PAM_MODULES_H
HAVE_SHADOW_H
HAVE_STDARG_H
HAVE_STDLIB_H
HAVE_STRINGS_H
HAVE_STRING_H
HAVE_STROPTS_H
HAVE_SYSLOG_H
HAVE_TERMIOS_...
2005 May 07
0
force group broken in 3.0.14?
...PI_GSSAPI_GENERIC_H
HAVE_GSSAPI_GSSAPI_H
HAVE_INTTYPES_H
HAVE_KRB5_H
HAVE_LANGINFO_H
HAVE_LASTLOG_H
HAVE_LBER_H
HAVE_LDAP_H
HAVE_LIMITS_H
HAVE_LOCALE_H
HAVE_MEMORY_H
HAVE_MNTENT_H
HAVE_NETINET_IN_SYSTM_H
HAVE_NETINET_IP_H
HAVE_NETINET_TCP_H
HAVE_NET_IF_H
HAVE_NSS_H
HAVE_POLL_H
HAVE_RPCSVC_NIS_H
HAVE_RPCSVC_YPCLNT_H
HAVE_RPCSVC_YP_PROT_H
HAVE_RPC_RPC_H
HAVE_SECURITY_PAM_APPL_H
HAVE_SECURITY_PAM_MODULES_H
HAVE_SECURITY__PAM_MACROS_H
HAVE_SHADOW_H
HAVE_STDARG_H
HAVE_STDINT_H
HAVE_STDLIB_H
HAVE_STRINGS_H
HAVE_STRING_H
HAVE_STROPTS_H
HAVE_SYSCA...
2020 Aug 15
3
[PATCH EXPERIMENTAL nbdkit 0/2] Port to Windows using mingw.
The patches following do indeed allow you to compile nbdkit.exe, but
it does not actually work yet. I'm posting this experimental series
more as a work in progress and to get feedback.
Note this does not require Windows itself to build or test. You can
cross-compile it using mingw64-* packages on Fedora or Debian, and
test it [spoiler alert: it fails] using Wine.
Rich.
2017 Jun 08
0
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
...KTIME
HAVE_MLOCK
HAVE_MLOCKALL
HAVE_MMAP
HAVE_MSGHDR_MSG_CONTROL
HAVE_MUNLOCK
HAVE_MUNLOCKALL
HAVE_NANOSLEEP
HAVE_NATIVE_ICONV
HAVE_NL_LANGINFO
HAVE_OPEN64
HAVE_PAM_GET_DATA
HAVE_PAM_RADIO_TYPE
HAVE_PAM_VSYSLOG
HAVE_PATHCONF
HAVE_PEERCRED
HAVE_PIPE
HAVE_POLL
HAVE_POSIX_ACLS
HAVE_POSIX_FADVISE
HAVE_POSIX_FALLOCATE
HAVE_POSIX_FALLOCATE64
HAVE_POSIX_MEMALIGN
HAVE_PRCTL
HAVE_PREAD
HAVE_PREAD64
HAVE_PREAD_DECL
HAVE_PRINTF
HAVE_PTHREAD
HAVE_PTRDIFF_T
HAVE_PUTUTLINE
HAVE_PUTUTXLINE
HAVE_PWRITE
HAVE_PWRITE64
H...
2012 Oct 09
3
make install errors in openssh(when openpam is to be integrated with openssh)
...eases the risk that a malicious
user can connect to your agent.
---------------------------------------------------------------------------------------------------------------------
*vim config.h:*
#define MISSING_FD_MASK 1 //in line 1276
#undef HAVE_SYS_POL_H //in line 1016
#undef HAVE_POLL //in line 710
*vim Makefile*:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SSHDLIBS= -lpam
//line 48
LDFLAGS=-L. -Lopenbsd-compat/
-L/home/m...
2007 Jun 05
1
Samba unable to connect to ldap
...HAVE_MKDTEMP
HAVE_MKNOD
HAVE_MKTIME
HAVE_MLOCK
HAVE_MLOCKALL
HAVE_MMAP
HAVE_MUNLOCK
HAVE_MUNLOCKALL
HAVE_NANOSLEEP
HAVE_NATIVE_ICONV
HAVE_NEW_LIBREADLINE
HAVE_NL_LANGINFO
HAVE_NO_ACLS
HAVE_NO_AIO
HAVE_OPEN64
HAVE_PATHCONF
HAVE_PEERCRED
HAVE_PIPE
HAVE_POLL
HAVE_POSIX_CAPABILITIES
HAVE_POSIX_FADVISE
HAVE_POSIX_MEMALIGN
HAVE_PRCTL
HAVE_PREAD
HAVE_PREAD64
HAVE_PRINTF
HAVE_PUTUTLINE
HAVE_PUTUTXLINE
HAVE_PWRITE
HAVE_PWRITE64
HAVE_QUOTACTL_LINUX
HAVE_RAND
HAVE_RANDOM
HAVE_READDIR64
HAVE_READLINK
HAVE_REALP...
2004 Jul 10
2
Solaris username character limit issues.
Hello,
I've compiled Samba 3.0.4 with Heimdal 0.6.2 and all of the other
trimmings to join and ADS tree, which I have successfully done. Winbind
correctly pulls all of the username and group information from the ADS
tree and all is good.
However...
I seem to be running into a wall with the wonderful Solaris 8 character
username / groupname limit. Usernames with spaces or names longer than
2019 Oct 29
0
auth logging or auditing
...OS_H
?? HAVE_LINUX_TYPES_H
?? HAVE_LMDB_H
?? HAVE_LOCALE_H
?? HAVE_MALLOC_H
?? HAVE_MEMORY_H
?? HAVE_MENU_H
?? HAVE_MNTENT_H
?? HAVE_NCURSES_H
?? HAVE_NETDB_H
?? HAVE_NETINET_IN_H
?? HAVE_NETINET_IN_SYSTM_H
?? HAVE_NETINET_IP_H
?? HAVE_NETINET_TCP_H
?? HAVE_NET_IF_H
?? HAVE_NSS_H
?? HAVE_PANEL_H
?? HAVE_POLL_H
?? HAVE_POPT_H
?? HAVE_PTHREAD_H
?? HAVE_PTY_H
?? HAVE_PWD_H
?? HAVE_PYTHON_H
?? HAVE_READLINE_HISTORY_H
?? HAVE_READLINE_READLINE_H
?? HAVE_RESOLV_H
?? HAVE_RPCSVC_NIS_H
?? HAVE_RPCSVC_RQUOTA_H
?? HAVE_RPCSVC_YPCLNT_H
?? HAVE_RPCSVC_YP_PROT_H
?? HAVE_RPC_RPC_H
?? HAVE_RPC_TYPES_H
?? HAVE_RPC_XDR...
2017 Jun 08
2
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
On Thu, 2017-06-08 at 10:09 +0200, awl1 via samba wrote:
> Hello again, Samba experts,
>
> sorry for being such a pain in your necks, but I really need to get a
> recent Samba version to compile, and it looks like I definitely need
> your help with this.
>
> In the meantime, I have found that the huge number of "conflicting
> types" errors for rpc_*_init(...)
2005 Jun 28
1
Samba as ADS Fileserver
..._H
HAVE_GSSAPI_GSSAPI_H
HAVE_INTTYPES_H
HAVE_KRB5_H
HAVE_LANGINFO_H
HAVE_LASTLOG_H
HAVE_LBER_H
HAVE_LDAP_H
HAVE_LIMITS_H
HAVE_LOCALE_H
HAVE_MEMORY_H
HAVE_MNTENT_H
HAVE_NETINET_IN_SYSTM_H
HAVE_NETINET_IP_H
HAVE_NETINET_TCP_H
HAVE_NET_IF_H
HAVE_NSS_H
HAVE_POLL_H
HAVE_READLINE_HISTORY_H
HAVE_READLINE_READLINE_H
HAVE_RPCSVC_NIS_H
HAVE_RPCSVC_YPCLNT_H
HAVE_RPCSVC_YP_PROT_H
HAVE_RPC_RPC_H
HAVE_SHADOW_H
HAVE_STDARG_H
HAVE_STDINT_H
HAVE_STDLIB_H
HAVE_STRINGS_H
HAVE_STRING_H
HAVE_STROPTS_H
HAVE_SYSCALL_H
HAVE_SYSLOG_...
2013 May 14
3
frequent tdb corruption
...DDRS_H
HAVE_KRB5_H
HAVE_LANGINFO_H
HAVE_LBER_H
HAVE_LDAP_H
HAVE_LIBINTL_H
HAVE_LIMITS_H
HAVE_LOCALE_H
HAVE_MEMORY_H
HAVE_NETDB_H
HAVE_NETINET_IN_H
HAVE_NETINET_IN_SYSTM_H
HAVE_NETINET_IP_H
HAVE_NETINET_TCP_H
HAVE_NET_IF_H
HAVE_NSSWITCH_H
HAVE_NSS_H
HAVE_POLL_H
HAVE_PTHREAD_H
HAVE_PWD_H
HAVE_READLINE_HISTORY_H
HAVE_READLINE_READLINE_H
HAVE_RPCSVC_NIS_H
HAVE_RPCSVC_YPCLNT_H
HAVE_RPCSVC_YP_PROT_H
HAVE_RPC_NETTYPE_H
HAVE_RPC_RPC_H
HAVE_SECURITY_PAM_APPL_H
HAVE_SECURITY_PAM_MODULES_H
HAVE_SETJMP_H
HAVE_STDARG_H
HAVE...
2006 Jul 27
2
Problems with access to share after upgrading to 3.0.23(a)
...AVE_GRP_H
HAVE_GSSAPI_H
HAVE_INTTYPES_H
HAVE_KRB5_H
HAVE_LANGINFO_H
HAVE_LBER_H
HAVE_LDAP_H
HAVE_LIMITS_H
HAVE_LOCALE_H
HAVE_MEMORY_H
HAVE_NETINET_IN_SYSTM_H
HAVE_NETINET_IP_H
HAVE_NETINET_TCP_H
HAVE_NET_IF_H
HAVE_NSSWITCH_H
HAVE_NSS_H
HAVE_POLL_H
HAVE_READLINE_HISTORY_H
HAVE_READLINE_READLINE_H
HAVE_RPCSVC_NIS_H
HAVE_RPCSVC_YPCLNT_H
HAVE_RPCSVC_YP_PROT_H
HAVE_RPC_NETTYPE_H
HAVE_RPC_RPC_H
HAVE_SECURITY_PAM_APPL_H
HAVE_SECURITY_PAM_MODULES_H
HAVE_STDARG_H
HAVE_STDINT_H
HAVE_STDLIB_H
HAVE_S...
2020 May 29
2
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
Samba 4.12.1, single server with AD+DC on Ubuntu 18.04. Filesystem:
/dev/sdb1 on /home type ext4 (rw,relatime,stripe=32750,data=ordered)
It all work as expected, but I occasionally get the error in subject which denies access to shares. Restarting Samba will restore functionality.
What can be the cause of this problem?
Thanks.
[2020/05/27 18:24:35.795379, 8]