Displaying 20 results from an estimated 100 matches similar to: "Out of memory error while calling smbc_getxattr()."
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
2004 Jun 04
0
Couldn't verify trusting domain account. Error was NT_STATUS_OK (Samba 3.0.4)
Attempting to create an interdomain trust, issuing the command:
net -d 5 rpc trustdom establish DOM_NAME
[2004/06/04 14:21:03, 0] utils/net_rpc.c:rpc_trustdom_establish(2991)
  Couldn't verify trusting domain account. Error was NT_STATUS_OK
[2004/06/04 14:21:03, 2] utils/net.c:main(792)
  return code = -1
smbclient //PDC01/ipc$ -U "DOM_NAME\$" returns:
Password:
Domain=[DOM_NAME]
2025 Jan 08
1
Need SDDL Format Security Descriptor (using libsmbclient.so)
I am using smbc_getxattr() function (in libsmbclient.so) with the "system.nt_sec_desc" attribute to retrieve the security descriptor, but this is not providing the descriptor information in SDDL format.
Also, I am not able to find any attribute in smbc_getxattr() which can provide SDDL format.
I need to use the ACLs information extracted from smbc_getxattr() into windows SDK APIs such
2020 May 25
2
Question about smbc_stat() and smbc_statvfs() in libsmbclient
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 that...
But there is probably some good reason for this?
Ie, if I call something like this:
>
2013 Jul 16
0
Samba4 migration issues (wbinfo errors and UPNs)
I migrated over a Samba 3/LDAP domain to Samba 4 in a test environment.
After a few bumps due to not having all my machine accounts as
posixAccounts and clashing user/group names, the migration went relatively
smoothly. Great work, Samba team!
I have a few standing issues that I haven't been able to shake out:
1. wbinfo returns various errors when run on the DC.
wbinfo -D MYDOMAIN returns a
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
2011 Jan 11
0
[PATCH, v2]: xl: move domain struct init functions to libxl
Changes since v1:
 - Include nic,net2,vkb,vfb init functions
---
This allows libxl users to get some sane default values for this complex
set of structures. This is purely code movement and there are no
functional changes except for a trivial error handling change in nic
device init.
Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
diff -r efe2d3ea22ae tools/libxl/libxl.c
---
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
2004 Aug 06
2
Streaming from South by Southwest
Hi:
I read the following at
http://www.vorbis.com/ot/20040209.html#xiph-org-at-sxsw
   In addition, SXSW will once again stream over 100 live performances in
   Ogg Vorbis with Icecast 2 for those who can't attend the festival.
   Some of the Xiph team will assist in this project where simultaneous
   streams will be sent from 10 stages through 4 days of the event.
Is there anywhere I can
2007 Aug 21
0
[LLVMdev] LLVM GCC - 4.0 from svn build error
Hi All,
it bails out with unable to detect exception model error
I checked with my configure
$LLVM_GCC_SRC/configure --prefix=$LLVM_GCC_INST
--program-prefix=llvm-             -enable-llvm=$LLVM_BUILD
--enable-languages=c,c++ --enable-checking
I haven't enabled objc but it seems to get error whille configuring objc.
any idea how to get rid of this
2008 Sep 16
1
Users and ftp
I have vsftp chrooted so that users can only come into their home directory.
I have a few virtual hosts.
I have the websites in the home directory of the intial user for each site.
So the sites look like this.
/home/user1/html
/home/user2/html
Using vsftp, I have set the default to chroot a user to their home
directory. So user1 ftping in whill go right to his directory and not be
able to go
2011 Dec 21
1
Winbind authentication and wbinfo -i user no longer work after uprading to 3.6.1
Originally filed by Robert LeBlanc as Debian Bug # 652679 - 
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652679>
<Quote>
Package: winbind
Version: 2:3.6.1-3
Severity: important
Dear Maintainer,
After upgrading to 3.6.1 I am no longer able to login to Debian using my Active Directory account.
'winbind -u', 'winbind -g', 'winbind -t' and many others work
2015 May 18
1
Getent group don't work
Hi
 Oracle Linux Server client with Samba 3.6.23 (file server) joined to the
Samba4 AD domain.
----------------
 smb.conf
 [global]
#--authconfig--start-line--
    netbios name = FS
    server string = "GSDAD Fileserver"
    workgroup = GSDAD
    realm = AD.GSD.LAN
    security = ads
    winbind use default domain = yes
    idmap config * : backend = rid
    idmap config * : range =
2015 May 18
0
Getent Group dont'work
On 18/05/15 11:57, Tomasz B?asiak wrote:
> /Hi
> /
> /sometimes 'getent group <domain group> is OK, but///sometimes is wrong.
>
> //
> //Then I restart windind and for 5-10 minut is OK and//the situation  is repeated
>
> Sorry for my English
> ///  //
> /
> /
>
>
>
>
> />>Know problem, does 'getent group <a domain
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
2019 Feb 28
2
winbind causing huge timeouts/delays since 4.8
Am 26.02.19 um 12:26 schrieb Ralph Böhme:
> On Tue, Feb 26, 2019 at 11:19:45AM +0100, Alexander Spannagel via samba 
> wrote:
>> The huge delays are seen, when user isn't known to sssd and winbind 
>> tries to look that user without explicitly a domain given and the 
>> option "winbind use default domain" is on it's default of "No" in 
>>
2006 Jul 14
1
Samba 3.0.23 winbind use default domain = yes behaviour
Hello list,
I encountered a problem in Samba 3.0.23 regarding the winbind use default 
domain = yes behaviour.
It only works for the users an NOT anymore for the Group. So this make 
getent group to show NETBIOSDOMAINNAME/group which course mail squid 
configuration to fail. My squid configuration allowed access based on the AD 
groups, which are provided by Winbindd.
Tested distribution:
SuSE
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
2005 Feb 02
0
Re: VFS calls after disconnect
Hello,
	Below is the sample code almost similar to the one in Samba Developers's
guide. I tested it with a win2k client for samba 3.0.2a on FreeBSD.
When the example_connect is called the second time by the same client
handle->data is null.
The test can be reproduced as follows-
1) search for the computer from windows explorer. Access the vfs share and
create directory or perform any other
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