similar to: setting ACLs via powershell

Displaying 20 results from an estimated 100 matches similar to: "setting ACLs via powershell"

2011 Jan 27
1
samba acl restore error
Dear Jeremy and samba team , This is suresh from EMC.I am having samba 3.4.8 on my NAS with posix acls support. When a backup software backs up files and folders, it typically backs up the security settings on the files/folders too. Then during restore, the software will try to restore the files/folders along with their security settings. The restore is now broken because security settings
2012 Feb 24
2
STATUS_ACCESS_DENIED with NTCreateAndX if Access Mask has System Security bit set
I've been trying to run a .NET app on Windows 2008 against a Samba v3.6.1 server running on OpenSuse x64 v12.1 but keep running into problems. What the .NET app is doing is trying to read the ACL for a directory using UNC path pointing to a directory below the "users" share on the samba server. The app is running as user Administrator. On the samba side the Administrator user has
2012 Dec 18
2
SMB2 CREATE + ACCESS_SYSTEM_SECURITY
Can anybody provide the expected response to an SMB2 CREATE request that includes ACCESS_SYSTEM_SECURITY in the DesiredAccess mask? I?m particularly interested in cases where the SMB client is connected as an authenticated user with administrative (superuser) privileges on the share, and has made the request on a directory. Should such a client expect full (read/change) access to the SACL (under
2010 Oct 29
0
Modify permission not available unless group permissions are set to write.
I've been wrestling with a problem on newer versions of samba with a configuration that "used" to work in samba 3.0.33 (RedHat Enterpise 5 packages) This maybe due to changes in the may samba maps NT permissions, but i'm not sure so I thought I would ask. I have a samba 3.3.8 (RedHat Enterprise 5.5 Samba3x packages) and samba 3.4.4 (Redhat Enterprise 6 beta packages)
2019 Jun 14
1
Update 4.10.2 to 4.10.4: Cant create files in subdirectorie anymore
Hi everyone, since i upgraded from 4.10.2 to 4.10.4 i can't write into subdirectories of a share anymore. This worked perfectly fine before i upgraded and also works again if i downgrade.? I think either something is fishy with the 'filename_convert_internal' function of ".../source3/smbd/filename.c" or my configuration needs to be adjusted for 4.10.4. I tried several
2019 Apr 10
3
Unable to upload printer drivers.
Hi Tested if i could upgrade my kyocera drivers but no go.. ( where i have currently 6.3.909.0 installed. ) Tried/Tested with win10 and win7 x64. ( 4.9.6 ) with the windows printer manager. ( as shown on the wiki ) KyoceraClassicUniversal v3.3_signed KX_741525_UPD_signed_EU All get : HRESULT: 0x0000023f (ERROR_APP_INIT_FAILURE) ( see below ) Tested them all, and atm only one works..
2010 Jun 14
1
group permissions broken after upgrade 3.2.5 -> 3.4.8:deleting of files denied
SNIP > [2010/06/14 11:43:21, 10] smbd/posix_acls.c:3045(add_or_replace_ace) > Replacing ACE 1 with SID S-1-5-32-545 and flags 00 > [2010/06/14 11:43:21, 10] smbd/posix_acls.c:3007(merge_default_aces) > merge_default_aces: Merging ACE 3 onto ACE 1. > [2010/06/14 11:43:21, 10] smbd/open.c:2952(create_file_unixpath) > create_file_unixpath: open file Temp/Neu Textdokument.txt for
2016 Apr 28
1
poor samba performance with many smaller files
I removed the O_CREAT|O_EXCL checks and added check to exclude O_DIRECTORY, but it is not working, opening of files fails and I don't know why. I can see in strace logs that openat syscall in vfs_aio_pthread was successful, but it still fails and this messages are logged: [2016/04/28 13:28:59.691782, 5, pid=5623, effective(32697, 10513), real(32697, 0)]
2023 Nov 10
2
understanding stat cache
Hello, We have a user that switched from Linux to Windows with his engineering software. Previously he was using NFS to access data and there were no performance complaints. Now, with Windows, the same procedures take minutes instead of seconds. I created some log files in Samba 4.10.16-25.el7_9 (recompiled with gpfs support and using the gpfs vfs module) with debuglevel 10 to see if
2009 Feb 24
6
Can't modify ms word files with samba 3.3
Hello, I tried this week to upgrade my samba 3.2.4 (2 PDCs one trusting the other) to samba 3.3.0 then samba 3.3.1, and apart from the problem with winbindd and trusted domain, my users are not able to modify any ms word document (excel does the same). You can open the file correctly, modify it, and when saving it, it pops up "Access denied" If you try to save the file in the same
2011 May 26
1
Confusion berween file and direcory
I have some trouble with a samba 3.5.8 server when setting directory attributes. On a windows XP I execute a small peace of code that calls 'SetFileAttributes' for the directory 'test-dir' located on the samba server. Using log level 10 I find this: [2011/05/26 15:27:02.144060, 3] smbd/process.c:1298 (switch_message) switch message SMBtrans2 (pid 28903) conn 0x7f5e35f0dbb0
2012 May 11
2
cannot set gpfs:sharemodes to yes
Hi, I'm trying to set up samba share exporting gpfs filesystem and I strugle with setting sharemode to yes. Samba is 3.6.5, gpfs version is 3.2.1-29 (the latest available for 3.2 branch). Everything works fine when sharemode is set to no, but I'd rather insist to switch it to yes. That's what man page says: no - do not propagate sharemodes across all GPFS nodes. This should only be
2008 Jan 29
1
PRI Alarms, Comes Back, But Asterisk Won't Touch It!
Here is the scenario: Asterisk 1.14.13; zaptel 1.4.6; Digium TE120P (same problem with various previous versions; same problem with different TE120P cards). The customer has a partial (10 B-Channel) PRI that when it is busy (eight or more B channels in use), tends to fail as shown below... [Jan 26 23:00:31] ERROR[31893] chan_zap.c: Write to 28 failed: Unknown error 500 [Jan 26 23:00:31]
2010 Sep 07
0
Semi-automated cloning using powershell scripts
Just in case anybody else ever needs these, here are my semi-automated powershell cloning scripts for Windows domain clients for Samba domain servers. ftp://saf.bio.caltech.edu/pub/software/windows/Cloning.zip They are not very polished, but do what I need, and could serve as a starting point for other sites. These have been tested only on XP SP3. These scripts do not use sysprep, so the
2011 Apr 19
1
PowerShell V2
Hello, I'm looking for a solution to run PowerShell scripts on linux. I have to provide a POC with all functionalities of a branch Windows Server. Actually it's not possible to write all this scripts in bash or in another language because of the high amount of work in order to have fully scripts on linux. Engineers has developped a great tool with PowerShell to allow remote requests,
2019 Apr 16
0
[PATCH v2v v2 1/2] v2v: windows: Add a helper function for installing Powershell firstboot scripts.
--- v2v/Makefile.am | 1 + v2v/windows.ml | 24 ++++++++++++++++++++++++ v2v/windows.mli | 6 ++++++ 3 files changed, 31 insertions(+) diff --git a/v2v/Makefile.am b/v2v/Makefile.am index 147ada4dd..e7f543a06 100644 --- a/v2v/Makefile.am +++ b/v2v/Makefile.am @@ -667,6 +667,7 @@ check_PROGRAMS += v2v_unit_tests var_expander_tests endif v2v_unit_tests_BOBJECTS = \ +
2015 Jun 22
1
samba4 domain and powershell
Hi, All. In official samba wiki https://wiki.samba.org/index.php/Installing_RSAT_on_Windows_for_AD_Management#Installation Feature explanation: Active Directory Module for Windows PowerShell: Administrating AD via PowerShell I thought I can manage samba4 domain with powershell, but I can't. I see error "Unable to find a default server with active directory web services running"
2019 Mar 12
1
Using Samba for Powershell queries
Work on this has been started, but currently only to a proof of concept stage pending further resources becoming available. There are details here:  https://bugzilla.samba.org/show_bug.cgi?id=11231 Andrew Bartlett On Tue, 2019-03-12 at 09:12 -0700, Luke Barone via samba wrote: > Doesn't work in my testing. The PowerShell commandlets need Active > Directory Web Services running to
2019 Mar 12
3
Using Samba for Powershell queries
Does anyone know if it’s possible to run Powershell cmdlets such as Get-ADUser or Set-ADUser against a Samba server? The reason I’m asking is for the purpose of developing Powershell scripts. When my laptop is offline it would be very useful to still be able to run that kind of cmdlets without installing a full Windows Server VM. Best regards, Carl
2019 Apr 25
1
Re: [PATCH v2v v2 1/2] v2v: windows: Add a helper function for installing Powershell firstboot scripts.
On Tuesday, 16 April 2019 10:55:39 CEST Richard W.M. Jones wrote: > +(* Unfortunately Powershell scripts cannot be directly executed > + * (unless some system config changes are made which for other > + * reasons we don't want to do) and so we have to run this via > + * a regular batch file. > + *) > +let install_firstboot_powershell g { Types.i_windows_systemroot; i_root }