Displaying 18 results from an estimated 18 matches for "have_getxattr".
2014 Jan 09
1
Re: RFC: copy-attributes command
...txattr (const char *path, const char
> > *name, size_t *size_r)>
> > return buf; /* caller frees */
> >
> > }
> >
> > +int
> > +copy_xattrs (const char *src, const char *dest)
> > +{
> > +#if defined(HAVE_LISTXATTR) && defined(HAVE_GETXATTR) &&
> > defined(HAVE_SETXATTR)
> I wonder if there are any platforms that lack one of listxattr,
> getxattr and setxattr, but at the same time have one of these calls.
> The xattr code (in general) is incredibly complex because of all these
> tests.
>
> I guess Mac...
2007 Sep 24
2
Where is the tdbsam password database file?
...TE64
HAVE_FTRUNCATE_EXTEND
HAVE_FUNCTION_MACRO
HAVE_GETCWD
HAVE_GETDIRENTRIES
HAVE_GETGRENT
HAVE_GETGRNAM
HAVE_GETGROUPLIST
HAVE_GETMNTENT
HAVE_GETNETGRENT
HAVE_GETPAGESIZE
HAVE_GETPGRP
HAVE_GETPWENT_R
HAVE_GETRLIMIT
HAVE_GETSPNAM
HAVE_GETTIMEOFDAY_TZ
HAVE_GETXATTR
HAVE_GLOB
HAVE_GRANTPT
HAVE_GSSAPI
HAVE_GSS_DISPLAY_STATUS
HAVE_HISTORY_LIST
HAVE_ICONV
HAVE_IFACE_IFCONF
HAVE_IMMEDIATE_STRUCTURES
HAVE_INITGROUPS
HAVE_INITIALIZE_KRB5_ERROR_TABLE
HAVE_INNETGR
HAVE_INOTIFY
HAVE_IPRINT
HAVE_KERNEL_CHANGE_NOTIFY
HAVE_KERN...
2005 May 07
0
force group broken in 3.0.14?
...HAVE_FSTAT
HAVE_FSTAT64
HAVE_FSYNC
HAVE_FTELLO64
HAVE_FTRUNCATE
HAVE_FTRUNCATE64
HAVE_FTRUNCATE_EXTEND
HAVE_FUNCTION_MACRO
HAVE_GETCWD
HAVE_GETDIRENTRIES
HAVE_GETGRENT
HAVE_GETGRNAM
HAVE_GETMNTENT
HAVE_GETNETGRENT
HAVE_GETRLIMIT
HAVE_GETSPNAM
HAVE_GETTIMEOFDAY_TZ
HAVE_GETXATTR
HAVE_GLOB
HAVE_GRANTPT
HAVE_GSSAPI
HAVE_GSS_DISPLAY_STATUS
HAVE_ICONV
HAVE_IFACE_IFCONF
HAVE_IMMEDIATE_STRUCTURES
HAVE_INITGROUPS
HAVE_INNETGR
HAVE_KERNEL_CHANGE_NOTIFY
HAVE_KERNEL_OPLOCKS_LINUX
HAVE_KERNEL_SHARE_MODES
HAVE_KRB5
HAVE_KRB5_AUTH_CON_SETUSERUSERKEY
HAVE_K...
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
...OSTBYNAME
HAVE_GETIFADDRS
HAVE_GETMNTENT
HAVE_GETNAMEINFO
HAVE_GETNETGRENT
HAVE_GETPAGESIZE
HAVE_GETPGRP
HAVE_GETPWENT_R
HAVE_GETPWENT_R_DECL
HAVE_GETPWNAM_R
HAVE_GETPWUID_R
HAVE_GETRLIMIT
HAVE_GETSPNAM
HAVE_GETTEXT
HAVE_GETTIMEOFDAY_TZ
HAVE_GETUTXENT
HAVE_GETXATTR
HAVE_GLOB
HAVE_GRANTPT
HAVE_GSSAPI
HAVE_GSS_DISPLAY_STATUS
HAVE_HSTRERROR
HAVE_ICONV
HAVE_IF_NAMETOINDEX
HAVE_IMMEDIATE_STRUCTURES
HAVE_INET_ATON
HAVE_INET_NTOA
HAVE_INET_NTOP
HAVE_INET_PTON
HAVE_INITGROUPS
HAVE_INITIALIZE_KRB5_ERROR_TABLE
HAVE_INNETGR...
2007 Jun 05
1
Samba unable to connect to ldap
...NCATE
HAVE_FTRUNCATE64
HAVE_FTRUNCATE_EXTEND
HAVE_FUNCTION_MACRO
HAVE_GETCWD
HAVE_GETDIRENTRIES
HAVE_GETGRENT
HAVE_GETGRNAM
HAVE_GETMNTENT
HAVE_GETNETGRENT
HAVE_GETPAGESIZE
HAVE_GETPGRP
HAVE_GETPWENT_R
HAVE_GETRLIMIT
HAVE_GETSPNAM
HAVE_GETTIMEOFDAY_TZ
HAVE_GETXATTR
HAVE_GLOB
HAVE_GRANTPT
HAVE_GSSAPI
HAVE_GSS_DISPLAY_STATUS
HAVE_HISTORY_LIST
HAVE_ICONV
HAVE_IFACE_IFCONF
HAVE_IMMEDIATE_STRUCTURES
HAVE_INITGROUPS
HAVE_INITIALIZE_KRB5_ERROR_TABLE
HAVE_INNETGR
HAVE_KERNEL_CHANGE_NOTIFY
HAVE_KERNEL_OPLOCKS_LINUX
HAVE_KERNEL...
2014 Jan 07
0
Re: RFC: copy-attributes command
....c
> +++ b/daemon/xattr.c
> @@ -545,8 +545,98 @@ do_lgetxattr (const char *path, const char *name, size_t *size_r)
> return buf; /* caller frees */
> }
>
> +int
> +copy_xattrs (const char *src, const char *dest)
> +{
> +#if defined(HAVE_LISTXATTR) && defined(HAVE_GETXATTR) && defined(HAVE_SETXATTR)
I wonder if there are any platforms that lack one of listxattr,
getxattr and setxattr, but at the same time have one of these calls.
The xattr code (in general) is incredibly complex because of all these
tests.
I guess Mac OS X probably has none of them, and RHE...
2019 Oct 29
0
auth logging or auditing
..._GETPAGESIZE
?? HAVE_GETPEEREID
?? HAVE_GETPGRP
?? HAVE_GETPROGNAME
?? HAVE_GETPWENT_R
?? HAVE_GETPWENT_R_DECL
?? HAVE_GETPWNAM
?? HAVE_GETPWNAM_R
?? HAVE_GETPWUID_R
?? HAVE_GETQUOTA_RSLT_GETQUOTA_RSLT_U
?? HAVE_GETRLIMIT
?? HAVE_GETSPNAM
?? HAVE_GETTEXT
?? HAVE_GETTIMEOFDAY_TZ
?? HAVE_GETUTXENT
?? HAVE_GETXATTR
?? HAVE_GET_CURRENT_DIR_NAME
?? HAVE_GFAPI
?? HAVE_GFAPI_VER_6
?? HAVE_GLOB
?? HAVE_GLUSTERFS
?? HAVE_GNUTLS
?? HAVE_GNUTLS3
?? HAVE_GNUTLS_3_4_7
?? HAVE_GNUTLS_AEAD
?? HAVE_GNUTLS_AEAD_CIPHER_INIT
?? HAVE_GNUTLS_CERTIFICATE_VERIFY_PEERS3
?? HAVE_GNUTLS_DATUM
?? HAVE_GNUTLS_DATUM_T
?? HAVE_GNUTLS_G...
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
...AVE_FSTAT64
HAVE_FSYNC
HAVE_FTELLO64
HAVE_FTRUNCATE
HAVE_FTRUNCATE64
HAVE_FTRUNCATE_EXTEND
HAVE_FUNCTION_MACRO
HAVE_GETCWD
HAVE_GETDIRENTRIES
HAVE_GETGRENT
HAVE_GETGRNAM
HAVE_GETMNTENT
HAVE_GETNETGRENT
HAVE_GETRLIMIT
HAVE_GETSPNAM
HAVE_GETTIMEOFDAY_TZ
HAVE_GETXATTR
HAVE_GLOB
HAVE_GRANTPT
HAVE_GSSAPI
HAVE_GSS_DISPLAY_STATUS
HAVE_ICONV
HAVE_IFACE_IFCONF
HAVE_IMMEDIATE_STRUCTURES
HAVE_INITGROUPS
HAVE_INNETGR
HAVE_KERNEL_CHANGE_NOTIFY
HAVE_KERNEL_OPLOCKS_LINUX
HAVE_KERNEL_SHARE_MODES
HAVE_KRB5
HAVE_KRB5_AUTH_CON_SETUSERUS...
2014 Jan 07
8
RFC: copy-attributes command
Hi,
attached there is a prototype of patch for adding a new copy-attributes
command. Such command would allow copy the attributes of a "file" to
another, so for example in guestfish:
copy-attributes foo bar permissions:true xattributes:false
would only copy the permissions of foo to bar, not copying its extended
attributes too.
Just few notes:
- my first daemon command, so
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]
2020 Jun 03
3
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
..._GETNAMEINFO
HAVE_GETPAGESIZE
HAVE_GETPEEREID
HAVE_GETPGRP
HAVE_GETPWENT_R
HAVE_GETPWENT_R_DECL
HAVE_GETPWNAM
HAVE_GETPWNAM_R
HAVE_GETPWUID_R
HAVE_GETQUOTA_RSLT_GETQUOTA_RSLT_U
HAVE_GETRLIMIT
HAVE_GETSPNAM
HAVE_GETTEXT
HAVE_GETTIMEOFDAY_TZ
HAVE_GETUTXENT
HAVE_GETXATTR
HAVE_GET_CURRENT_DIR_NAME
HAVE_GFAPI
HAVE_GFAPI_VER_6
HAVE_GLIB
HAVE_GLIB_2_0
HAVE_GLOB
HAVE_GLUSTERFS
HAVE_GNUTLS
HAVE_GNUTLS_PKCS7_GET_EMBEDDED_DATA_OID
HAVE_GPFS
HAVE_GPGME
HAVE_GPGME_NEW
HAVE_GRANTPT
HAVE_GSSAPI
HAVE_GSSKRB5_EXTRACT_AUTHZ_DATA_FROM_S...
2007 Jun 22
0
Samba Guest Accout Issue
...NCATE
HAVE_FTRUNCATE64
HAVE_FTRUNCATE_EXTEND
HAVE_FUNCTION_MACRO
HAVE_GETCWD
HAVE_GETDIRENTRIES
HAVE_GETGRENT
HAVE_GETGRNAM
HAVE_GETMNTENT
HAVE_GETNETGRENT
HAVE_GETPAGESIZE
HAVE_GETPGRP
HAVE_GETPWENT_R
HAVE_GETRLIMIT
HAVE_GETSPNAM
HAVE_GETTIMEOFDAY_TZ
HAVE_GETXATTR
HAVE_GLOB
HAVE_GRANTPT
HAVE_GSSAPI
HAVE_GSS_DISPLAY_STATUS
HAVE_HISTORY_LIST
HAVE_ICONV
HAVE_IFACE_IFCONF
HAVE_IMMEDIATE_STRUCTURES
HAVE_INITGROUPS
HAVE_INITIALIZE_KRB5_ERROR_TABLE
HAVE_INNETGR
HAVE_KERNEL_CHANGE_NOTIFY
HAVE_KERNEL_OPLOCKS_LINUX
HAVE_KERNEL...
2008 Oct 15
2
SMBD panic with INTERNAL ERROR: Signal 6 for ARM 922T
...E_FSTAT
HAVE_FSTAT64
HAVE_FSYNC
HAVE_FTELLO64
HAVE_FTRUNCATE
HAVE_FTRUNCATE64
HAVE_FUNCTION_MACRO
HAVE_GETCWD
HAVE_GETGRENT
HAVE_GETGRNAM
HAVE_GETMNTENT
HAVE_GETPAGESIZE
HAVE_GETPGRP
HAVE_GETPWENT_R
HAVE_GETRLIMIT
HAVE_GETSPNAM
HAVE_GETTIMEOFDAY_TZ
HAVE_GETXATTR
HAVE_GLOB
HAVE_GRANTPT
HAVE_IMMEDIATE_STRUCTURES
HAVE_INITGROUPS
HAVE_INOTIFY
HAVE_INOTIFY_INIT
HAVE_KERNEL_OPLOCKS_LINUX
HAVE_LGETXATTR
HAVE_LIBRESOLV
HAVE_LINK
HAVE_LINUX_READAHEAD
HAVE_LINUX_XFS_QUOTAS
HAVE_LISTXATTR
HAVE_LLISTXATTR
HAVE_LONG_LONG...
2005 Sep 29
7
ldapsam:trusted = yes kills smbd
Hi,
we want to use ldapsam:trusted=yes to improve performace as nss_ldap
is killing our ldap server doing enumeration.
once i enable it smbd dies silently...
this is the last part of a ./smbd -d 10 -i
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
smbldap_search: base =>
[ou=groups,ou=filestore,dc=sunderland,dc=ac,dc=uk], filt
er =>
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...44
--- a/daemon/xattr.c
+++ b/daemon/xattr.c
@@ -27,11 +27,11 @@
#include "actions.h"
#include "optgroups.h"
-#if (defined(HAVE_ATTR_XATTR_H) || defined(HAVE_SYS_XATTR_H)) && \
- defined(HAVE_LISTXATTR) && defined(HAVE_LLISTXATTR) && \
- defined(HAVE_GETXATTR) && defined(HAVE_LGETXATTR) && \
- defined(HAVE_REMOVEXATTR) && defined(HAVE_LREMOVEXATTR) && \
- defined(HAVE_SETXATTR) && defined(HAVE_LSETXATTR)
+#if (defined(HAVE_ATTR_XATTR_H) || defined(HAVE_SYS_XATTR_H)) && \
+ defined(HAVE_LISTXATTR) &a...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste.
---
align/scan.c | 35 ++++++++++---------
cat/cat.c | 39 +++++++++++----------
cat/filesystems.c | 69 +++++++++++++++++++-------------------
cat/log.c | 35 ++++++++++---------
cat/ls.c | 61 +++++++++++++++++----------------
df/main.c | 43 ++++++++++++------------
diff/diff.c | 67
2009 Aug 12
23
[PATCH 0/23] factor and const-correctness
This started as a simple warning-elimination change.
I'll get back to that series shortly ;-)
It turned into a factorization and constification exercise
during which I got a taste of ocaml. Thanks to Rich Jones
for help with a few snippets in generator.ml.
The overall result is that many previously-manually-maintained
bits from daemon/*.c functions are now hoisted into the automatically-