search for: smbcacls

Displaying 20 results from an estimated 224 matches for "smbcacls".

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 'D...
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 the smbcacls can > > talk to the Windows server otherwise it gets error > > N...
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...
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 > > > the cmd...
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 else...
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 "/ro...
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 ACL:frankie I read carefully the smbcacls man page and searche...
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 following line into the > > > [global] section in smb.conf file on Linux machine so that the smbcacls can > > > talk to the Windows server otherwise it gets er...
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
2005 Feb 17
1
REPOST: smbcacls question
Since I never received a reply, I am reposting this earlier post: I am trying to run the following command and keep getting the same error. My question is is there a problem with my command or is this possibly an issue with Samba smbcacls -d test_file -A ACL:DOMAIN\username:ALLOWED/0/CHANGE -U username Here is the error: debug_parse_params: unrecognized debug class name or format [test_file] ERROR: Unable to open credentials file! Any suggestions are welcome. Thanks. Jeff
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 the output. Does anyone have any ideas on this? I've started the Samba services in the following order: n...
2011 Jun 02
0
Unable to change owner of the file through smbcacls
I am able to change owner from User1 to Administrator at Domain Controller/active-directory machine. And after that from linux box, using smbcacls -C DOMAIN\\User1 ...... command I am able to change owner from Administrator --> User1. But changing owner from User1 to Administrator using smbcacls is not working.   User1 is in Domain admins, Administrators , backup operators group  in active directory. ~rahul On We...
2007 Nov 19
5
Howto modify samba printer ACLs without Windows?
Hi all, I would like to limit access to our samba shared printers to certain user groups by commandline without using Windows. Is this possible? Thanks! Christoph
2002 Dec 18
0
Speed of smbcacls?
Hi all, I'm using the smbcacls command to query a W2k server from a Linux Samba 2.2.7a client. (This is for the script that I'm writing, which I will post soon - I know at least one person was interested...) It all works fine, but it's very slow - it takes about 1 second per file. "Very" in this case is rel...
2013 Sep 09
0
Where does the info of smbcacls comes from?
hi. sorry for the "dumb" question, but I'm failing to figure out where the information printed by smbcacls come from. I have a 3.4.x server with basic settings, few shares and not much more. Share's access is controlled by unix file permissions. Filesystem has "acl" enabled, but no acl set up, so the standard unix permissions are being used. Still I have problem for a single user in a gro...
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
2009 Jan 30
0
smbcacls -- ERROR: unable to open credentials file!
Hello All, Tried googling for more info on this...none found. When i try to run smbcacls //host/share/file.txt -A ACL:user:ALLOWED/0/RWX the ff error message is returned: ERROR: Unable to open credentials file! There seems to be no mention of the credentials file in the samba docs or man pages; i've also looked into the smbcacls.c source code, no mention of it as well. C...
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 length=16) server didn't supply...
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 length=16) server didn't supply...
2023 Aug 30
0
smbcacls and inheritance does not work as expected
...I can not get the inheritance the way I want. My goal is, (1) to create a new Set of ACLs at directory "HERE" and (2) "set" the Windows checkbox "Replace all child object permission entries with inheritable permission entries from this object" My command looks like: smbcacls //mynas/share1 some/path/HERE -SACL:rw_group:ALLOWED/CI|OI/CHANGE,ACL:ro_group:ALLOWED/CI|OI/READ --propagate-inheritance -I allow #omitted credentialstuff part (1) does work - all inherited permissions from "share1", "some" and "path" are dropped on directory "H...