similar to: Question about smbc_stat() and smbc_statvfs() in libsmbclient

Displaying 20 results from an estimated 100 matches similar to: "Question about smbc_stat() and smbc_statvfs() in libsmbclient"

2020 May 28
2
Question about smbc_stat() and smbc_statvfs() in libsmbclient
Re: the smbc_stat() returning wrong st_uid/st_gid: Yeah, I get why it?s difficult, but perhaps it should just return -1/-1 instead? It too is wrong but probably less confusing than seeing the local user?s uid/gid there?? Anyway, I?ve been working on a ?grand unifying :-)? ACL managing (CLI) tool since I got tired of all the different and quite frankly confusing/frustrating tools to manage ACL
2020 May 27
0
Question about smbc_stat() and smbc_statvfs() in libsmbclient
On Mon, May 25, 2020 at 11:36:18PM +0200, Peter Eriksson via samba wrote: > I?ve been writing some code that uses libsmbclient to talk to SMB servers > and I?m a little bit confused why ?smbc_stat()? sets the > st_uid & st_gid to the uid & gid of the process calling it, > instead of trying to map the real owner & group of the path or setting it to -1:-1 if it can?t do
2008 Sep 10
2
UID&GID no same at two server...
Hello world!!!! I realized that my samba_Server1 did not even UID & GID that the other samba_Server1 .. In summary: the share from the windows works very well. samba 1 and 2. When i run wbinfo-u (samba 1 and 2.) i'have : GUEST ADMINITRATOR .. but not [DOMAIN] GUEST [DOMAIN] ADMINITRATOR .. (strange...) When I run on samba_Server1: getent passwd guest: *: 604:608:
2008 Dec 17
2
Segmentation fault in smbc_getxattr()->...->convert_sid_to_string() in samba-3.2.6
Hi, Got segmentation fault with the follwoing stacktrace while running "examples/libsmbclient/testacl13.c". #0 0x00000033a866f200 in strlen () from /lib64/tls/libc.so.6 #1 0x00000033a8642c51 in vfprintf () from /lib64/tls/libc.so.6 #2 0x00000033a8661bb4 in vsnprintf () from /lib64/tls/libc.so.6 #3 0x00000033a86481a1 in snprintf () from /lib64/tls/libc.so.6 #4 0x00002aaaaaaebf36
2011 Jun 13
1
Out of memory error while calling smbc_getxattr().
Hi, I'm using samba 3.2.6 and getting the following error whille calling? smbc_getxattr(). cli_lsa_lookup_sids_noalloc(): out of memory Here is the relavent code snippet of the function cli_lsa_lookup_sids_noalloc()... if (dom_idx != 0xffffffff) { ??????????????????????? dom_name = ref_domains->domains[dom_idx].name.string; ??????????????????????? name =
2011 Jun 20
2
How do i get file attributes using samba.
Hi, I need to extract the following attributes of a file in Windows share using samba. /* FileAttributesField */ #define FILE_ATTRIBUTE_READONLY???????? 0x001L #define FILE_ATTRIBUTE_HIDDEN?????????? 0x002L #define FILE_ATTRIBUTE_SYSTEM?????????? 0x004L #define FILE_ATTRIBUTE_DIRECTORY??????? 0x010L #define FILE_ATTRIBUTE_ARCHIVE????????? 0x020L #define FILE_ATTRIBUTE_NORMAL?????????? 0x080L
2020 Sep 07
4
NT_STATUS_NETWORK_SESSION_EXPIRED
Hi, Looking for some help with this issue, been struggling for a few weeks We run a file server using Samba 4.9.5 (openSUSE Leap 15.2 4.9.5+git.343.4bc358522a9-lp151.2.27.1). Active Directory using Windows Server 2016. The Samba server is a member of the domain. Windows 10 desktops and Linux desktops are also domain members. Windows 10 desktops map network drives to the Samba server, no issues
2009 Jul 23
1
setting up LMER for repeated measures and how do I get a p value for my fixed effect, group?
R 2.8.1 Windows XP I am trying to analyze repeated measures data (the data are listed at the end of this Email message) and I need help to make sure that I have properly specified my model, and would like to know why lmer does not return a p value for Group, my fixed effect. My subjects are divided into two groups (variable GROUP), individual subjects are indicated by the variable SS, Value is
2020 Mar 20
2
systemuser login
Hello! Aki Tuomi <aki.tuomi at open-xchange.com> schrieb am 20.03.20 um 16:06:48 Uhr: > > On 20/03/2020 15:55 ratatouille <ratatouille at bitclusive.de> wrote: > > > > > > Hello! > > > > I have one systemuser on my testsystem running CentOS. All other users live in a mysql- database. > > > > I created a /etc/dovecot/users file and
2010 Dec 13
1
Testing an interaction with a random effect in lmer
Hi, I was hoping to get some advice regarding the testing of interactions, when one factor is modelled as a random effect... I have a model with binomial error structure where the response variable is the proportion of time spent at the main sett (animals were tracked for 28 consecutive days in each season, and were recorded either at the main sett or an outlier sett, so the response variable is
2019 Jul 13
2
rsync alternative -- smbclient?
As you may have noticed I am looking into containers? in order to minimize configuration I also started looking into options for sysvol replication. I am aware of the list at https://wiki.samba.org/index.php/SysVol_replication_(DFS-R) Ignoring the robocopy option, essentially all of them use rsync, w/o ssh, w/o some extras like unison, osync, or lsyncd as Sven suggested, plus optionally defining a
2004 Sep 01
3
Problems of preserving file owership and uid&gid options in rsyncd.conf
Hi, I am trying to transfer some files to a remote rsync server. I have to preserve the ownership of these files in the remote server for future possibility of copying them back. The command I am using is: rsync -Cav /var/log/mp3log server2::var/log/mp3log I have tried to add -o and -g options but still can't reach my purpose. I also remember to add a same user name to the remote rsync
2002 Nov 03
0
libsmbclient bug ?
Hello, I've tried using libsmbclient from the 2.2.6 samba package (on a slackware 8.1, compiled --with-libsmbclient --with-sendfile-support --enable-debug (without debug also) ) and it segfaults when I call smbc_stat() (or smbc_fstat() ) on a file. I'm sorry I'm not able to find out the problem with gdb, the output (with the library compiled with debugging enabled) is:
2014 Feb 20
1
Samba 4.1.4 on Solaris 10 fails linking 'default/examples/libsmbclient/teststatvfs'
Building Samba 4.1.4 on Solaris 10 with command line: CC=gcc LDFLAGS='-R /opt/local/samba/lib:/opt/local/samba/lib/private' \ ./configure --prefix=/opt/local/samba make fails linking 'default/examples/libsmbclient/teststatvfs': [3505/3811] Linking default/examples/libsmbclient/teststatvfs ld: warning: symbol 'dyn_LIBDIR' has differing sizes: (file
2019 Jul 13
0
rsync alternative -- smbclient?
I, too have been looking into alternatives to the rsync-based sysvol replication workaround, and really liked the idea of using the existing Sysvol SMB share, rather than a secondary protocol (with its own authentication, etc). When I realized that Andrew Bartlett was a primary developer of both Samba and Rsync, I was even more surprised that Rsync doesn't support an smb:// URL. csync [1] is
2020 Mar 20
0
systemuser login
> On 20/03/2020 16:48 ratatouille <ratatouille at bitclusive.de> wrote: > > > Hello! > > Aki Tuomi <aki.tuomi at open-xchange.com> schrieb am 20.03.20 um 16:06:48 Uhr: > > > > On 20/03/2020 15:55 ratatouille <ratatouille at bitclusive.de> wrote: > > > > > > > > > Hello! > > > > > > I have one
2020 Sep 07
0
NT_STATUS_NETWORK_SESSION_EXPIRED
On 07/09/2020 09:51, David Mace via samba wrote: > Hi, > > Looking for some help with this issue, been struggling for a few weeks > > We run a file server using Samba 4.9.5 (openSUSE Leap 15.2 > 4.9.5+git.343.4bc358522a9-lp151.2.27.1). > > Active Directory using Windows Server 2016. The Samba server is a > member of the domain. Windows 10 desktops and Linux desktops are
2020 Sep 07
0
NT_STATUS_NETWORK_SESSION_EXPIRED
Check /etc/krb5.conf [libdefaults] default_realm = YOUR.INTERNAL.REALM # The following krb5.conf variables are only for MIT Kerberos. kdc_timesync = 1 ccache_type = 4 < this one best is to match the windows defaults. (see: https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/maximum-lifetime-for-service-ticket )
2011 Feb 10
0
comparing groups of proportions
Hi, I initially posted this to the general R mailing list, but Bert Gunter thought this may be a mixed model issue, so suggested me to post here. I have a dataset that has 2 groups of subjects. For each subject in each group, the response measured is the number of success (no.success) obatined with the number of trials (no.trials). So a probability of success (prop.success) can be computed as
2020 Jan 28
0
[Announce] Samba 4.11.6 Available for Download
Release Announcements --------------------- This is the latest stable release of the Samba 4.11 release series. Changes since 4.11.5: --------------------- o Douglas Bagnall <douglas.bagnall at catalyst.net.nz> * BUG 14209: pygpo: Use correct method flags. o David Disseldorp <ddiss at samba.org> * BUG 14216: vfs_ceph_snapshots: Fix root relative path handling. o Torsten