Displaying 20 results from an estimated 2000 matches similar to: "REPOST: smbcacls question"
2017 Jun 08
4
smbcacls got error NT_STATUS_NETWORK_NAME_DELETED
Hi, all,
we run smbcacls tool from linux machine to set file permissions on
windows server.
here is our environment:
Linux machine: Ubuntu 14.04 LTS, kernel version 3.13.0-112-generic
Samba version: 4.3.11
Windows machine: Windows server 2012
the cmd we run is something like following:
/usr/bin/smbcacls -U 'Domain\Administrator'%'pwd'
'//win_server/testshare'
2004 Aug 20
1
smbcacls syntax eludes me (perhaps)
(Is this the right place to post such question?)
I can't seem to grasp the right syntax for smbcacls
This is a 306rc2, security=user system w/ passwords set via
smbpasswd, and smbclient gives expected r/w behavior.I've seen the
same on a 302a security=domain or ads system (I believe), which is why
I think I'm misinterpreting something (or is smbcacls broken??)
-- or what
2017 Jun 08
4
smbcacls got error NT_STATUS_NETWORK_NAME_DELETED
On Thu, Jun 08, 2017 at 06:43:34PM +0200, Ralph Böhme via samba wrote:
> Hi Andy,
>
> On Thu, Jun 08, 2017 at 09:23:50AM -0700, Andy Qian via samba wrote:
> > The smbcacls cmd worked before till recently. Due to the recent Windows
> > patch which disables SMB v1, we have to add the following line into the
> > [global] section in smb.conf file on Linux machine so that
2013 Nov 28
4
Bulk smbcacls calls
I want to get ACLs (output similar to that of smbcacls) for a *lot* of
files (potentially millions). I can only process about 10 files per
second when running the command (`smbcacls -U ...` via a Python
wrapper), I'm looking for a faster way.
Does anyone know any libraries or other commands that could help me?
Failing that, I assume that much of the time taken is spent on
authenticating
2003 Feb 12
3
Failed to parse ACL smbcacls
I'm trying to set up a Samba server with ACLS.
Versions:
- xfs in kernel-2.4.20.
- samba-2.2.7a compiled with ACL support
I'm trying first with smbcacls. But I can't manage to
guess the syntax of the ACL command.
I want the user "frankie" could RWX a file owned by "javi"
#smbcacls //localhost/public te1st.txt -A ACL:frankie:0/0/RWX -U javi
Failed to parse ACL
2003 Aug 21
2
smbcacls will not connect to Windows 2003 server
The Samba 3.0-RC1 "smbcacls" utility is reporting an error when I ask it
to display the security information of a file on a Windows 2003 server:
[root@demo5 bin]# ./smbcacls --user=SEITZDNSDOMNAIN\Administrator
//seitzwin2003/Documents test.txt
params.c:OpenConfFile() - Unable to open configuration file
"/root/samba/debug/lib/smb.conf":
No such file or
2020 May 12
1
Does it have any ways to use smbcacls in NFS ?
Hi all,
I have an issue for setting windows acl using smbcacls command under NFS
mount folder, but smbcacls seems to not work. And the error was showed by
ERROR: security descriptor set failed: NT_STATUS_NOT_SUPPORTED. I wonder to
know if other ways to set security.NTACL attribute in NFS.
Thank you,
Jeremy
2006 May 31
3
Cannot delete files from samba share
Hi all,
Following an upgrade from samba 2.2.8a to 3.0.22 we have been unable to
delete files on a samba share using an XP client. We were previously able
to delete these files when using 2.2.8a.
The problem occurs when we have a particular sub-set of permissions.
Directory permissions on UNIX are set to 775 and ownerhips to usera :
group1. This should mean that either usera or anyone who
2005 Jul 04
2
Permissions Question
List-
I have a permissions issue. Below is my script. I am attempting to
archive several data sets from our current production server (a Win2K
box) to our new server, a high performance Fibre Channel Linux-based
system.
C:\bin\cwRsyncServer\bin\rsync.exe -avvi
--rsh="c:\bin\cwRsyncServer\bin\ssh.exe -l root"
--password-file=c:\bin\cwRsyncServer\etc\secret --progress --stats
2005 Oct 14
1
smbcacls add acl fails 3.0.20
Hi all!
I have a problem setting ACLs on a remote file on a Windows XP Pro
SP2 box.
I issue the following command:
smbcacls -a 'ACL:BBI-DEV\beakid:ALLOWED/0/0x00100116' -U 'BBI-DEV
\Admin' //BBI-DEV/Data /Niva.txt
And I get this response from debug level 3.
Password:
Connecting to host=BBI-DEV
Connecting to 192.168.1.124 at port 445
Doing spnego session setup (blob
2005 Oct 17
1
smbcacls add fails 3.0.20a
Hi all!
I have a problem setting ACLs on a remote file on a Windows XP Pro
SP2 box.
I issue the following command:
smbcacls -a 'ACL:BBI-DEV\beakid:ALLOWED/0/0x00100116' -U 'BBI-DEV
\Admin' //BBI-DEV/Data /Niva.txt
And I get this response from debug level 3.
Password:
Connecting to host=BBI-DEV
Connecting to 192.168.1.124 at port 445
Doing spnego session setup (blob
2011 Jan 25
3
Shutting down WinXP Pro instance
Recently I set up a PDC (Fedora 12 - I'm using this for a specific reason) using Samba 3.4.9 and OpenLDAP 2.4.19; I named my domain ATHOME. I am trying to figure out how to shut down WinXP Pro remotely and I'm not having any luck. Up to this point I have tried the following:
- I used ATHOME\root which is the admin acct I used to join XP to my domain. I added ATHOME\root to my
2005 Feb 28
4
ACL Question [Repost]
OK so I've got samba-3.0.11 compiled with ACL support. I've running
2.4.25 with the ACL/ATTR patch applied. I can read and set ACLS's using
the getfacl/setfacl programs. ldd /usr/sbin/smbd shows it's linked to
libattr.so.1 and libacl.so.1. I can read ACL with the smbcacls program,
but when I try to set them I get:
ERROR: Unable to open credentials file!
Also from the
2010 Mar 13
1
Testing file upload (Sinatra, RSpec, Rack-Test)
Hi.
I have a simple application and I want to add a file upload
functionality. How can I write a spec?
Here''s my try.
# directory structure
app:
- controller.rb
- controller.spec.rb
- files: []
- fixtures: [test_file.png]
# controller.spec.rb
require ''rack/test''
require ''controller''
module MyHelpers
def app
Sinatra::Application
end
end
2006 Apr 07
1
smbcacls cannot locate the object of a samba share
Hello
smbcacls is not able to locate the object of a share.
I've attached a copy of the smb.conf file and the debug output of the
smbcacls command.
Within XP/NT I'm able to get and set the acls with no problem.
Thanks
Regards,
Komal
[global]
workgroup = test
server string = Samba Server
interfaces = eth0, lo
bind interfaces only = Yes
passdb backend =
2016 Nov 24
2
domain member with winbind, slow smbcacls or smbclient listing
Hi, all!
When I launch (again and again)
smbcacls "//myfileserver/share" "" -U user -W domain
or
smbclient "//myfileserver/share" -U user -W domain -c "ls",
in tcpdump output at myfileserver I see multiple calls to controller via
ldap, therefore these commands are executed slowly.
When I run getent groups at myfileserver, all worked fine, and tcpdump
2017 Jun 08
0
smbcacls got error NT_STATUS_NETWORK_NAME_DELETED
On Thu, Jun 08, 2017 at 09:23:50AM -0700, Andy Qian via samba wrote:
> Hi, all,
>
> we run smbcacls tool from linux machine to set file permissions on
> windows server.
>
> here is our environment:
>
>
> Linux machine: Ubuntu 14.04 LTS, kernel version 3.13.0-112-generic
>
> Samba version: 4.3.11
>
> Windows machine: Windows server 2012
>
>
>
2017 Jun 09
0
smbcacls got error NT_STATUS_NETWORK_NAME_DELETED
On Thu, Jun 08, 2017 at 02:40:49PM -0700, Jeremy Allison wrote:
> On Thu, Jun 08, 2017 at 06:43:34PM +0200, Ralph Böhme via samba wrote:
> > Hi Andy,
> >
> > On Thu, Jun 08, 2017 at 09:23:50AM -0700, Andy Qian via samba wrote:
> > > The smbcacls cmd worked before till recently. Due to the recent Windows
> > > patch which disables SMB v1, we have to add the
2019 Dec 27
2
Setting ACLs with smbcacls fails (partly)
On 27/12/2019 12:59, Chris via samba wrote:
> On 25/12/2019 20:04, Rowland penny via samba wrote:
>
>> On 25/12/2019 16:46, Chris via samba wrote:
>>> Hello,
>> Merry Christmas
> Thanks Rowland! Hope you had a Merry Christmas too
>>> The shares of the file server are on the ZFS of the host and mapped
>>> via bind-mount.
>>
>> Ah, that
2010 May 10
0
domain not showing up with smbcacls
I have installed Samba 3.5.2 and setup the service as a Domain member
server, NT-4 style. Everything appears to be working just fine (NSS winbind
is installed). The only problem is that the output from smbcacls when
contacting this Samba server does not include the domain to which the server
is joined. When I use smbcacls to test out an existing Windows server, the
domain name is appended in