similar to: Auto Create Home - shadow_copy2 and root preexec

Displaying 20 results from an estimated 9000 matches similar to: "Auto Create Home - shadow_copy2 and root preexec"

2016 Oct 30
0
Auto Create Home - shadow_copy2 and root preexec
On Sun, 2016-10-30 at 14:10 +0100, Leander Schäfer via samba wrote: > Hi, > > I make use of shadow_copy2 and root preexec. The vfs root preexec is  > responsible to auto create home directories which initially don't > exist.  > The script behind it is well tested and works perfectly. > Unfortunaltely  > shadow_copy2 seems to be called before root preexec and fails due
2015 Oct 20
5
Can't get 'root preexec' to run
Looks like my nfsv4 kerberos and root access problem. In that case, root didnt have a kerberos ticket, and was not allowed to access the needed folder. I think this is a bit the same. Creating the users and profiles shares from ADUC is working fine for me but not scripted from user root. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at
2020 Apr 29
3
how to use root preexec on user share with %U not as root user
Hello everybody, I am trying to get samba 4 to make a user dir without the use of ADUC to set the homeDirectory, but with samba-tool user create only. I created a root preexec but the %U is filled with root and not the username of the user. I need to user [users] and not the old [homes] because I got a GPO for redirection to the //server/users/%USERNAME% and I need this folder to be created
2015 Oct 20
1
Can't get 'root preexec' to run
On 20/10/15 21:08, L.P.H. van Belle wrote: > Hai Rowland, > > The pam_mkhomedir worked ( by accident ) on for home dir on my print server. > But i cant remember if that was a mounted /home or a local /home. > Worth a try i think .. simple change and test. > Thats why i suggested it.. ;-) I know it will work on a normal login to a domain member with a static /home, but I have
2004 Jul 23
3
Auto-Create Directory
I have a samba server set so that each user in a windows 2003 active directory can have their own personal, private share. I would like to know how to set up Samba so that their directory is created automatically, rather than me creating 1300 directories on the linux server. I cannot use pam_mkhomedir.so because 'security = ads' in smb.conf and 'encryption = yes' must be
2016 Mar 14
2
TLS_CIPHER_SUITE - OpenLDAP connection
Hi, Thank you for your feedback, Andrew. Since Samba is not the only application making use of the TLS_CIPHER_SUITE negotiation rules in ldap.conf, I would like to ensure that all of them still use the highest encryption possible. Currently I had to remove "TLS_CIPHER_SUITE" as a workarrou d in order to let Samba work wirh LDAP in TLS mode. Does anyone have a suggestion how I can apply
2016 Oct 05
2
Copy a directory from macOS to Samba fails
Hi, unfortunately copying a directory from macOS to a Samba share fails, if the macOS set ACLs in the source directory. The error on macOS side basically informs the user, that the operation can’t be completed because you don’t have permission to access some of the items. Unfortunately macOS automatically sets these ACLs sometimes. Relevant lines in my configuration file: cat
2016 Mar 14
2
TLS_CIPHER_SUITE - OpenLDAP connection
What would be a working TLS_CIPHER_SUITE in ldap.conf for Samba 4. I'm asking, cause I had to remove TLS_CIPHER_SUITE TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!MD5:!3DES:@STRENGTH from my ldap.conf for samba to work. This wasn't documented anywhere. I think this should be mentoined in the wiki as well as in the man smb.conf under tls.
2023 Aug 12
0
Share problem : vfs object and preexec
Helo, I'm having a problem creating a share. When creating a user share, I use the preexec function to create their folder. Everything works fine. If I activate the shadowcopy 2 module, the preexec function no longer works for the share. The same applies to the root preexec function. To get around the problem, I use the preexec function at global level. I'd like to know whether this is
2016 Oct 05
1
Copy a directory from macOS to Samba fails
On Wed, Oct 05, 2016 at 05:00:52PM +0200, Leander Schäfer via samba wrote: > When copying to QNAP NAS Samba server instead, all works fine - No need for > "xattr -d com.apple.FinderInfo filename" on macOS side before copying. > There must be a smb.conf solution to this?! man vfs_fruit Cheerio! -slow
2014 Jun 03
2
shadow_copy2 writable?
Hi, Can anyone reassure that files & folders made available to windows via vfs shadow_copy2 cannot be modified in any way? My NAS backups are stored on an iscsi target formatted with ext4 & I'm concerned that they could be tampered with by a virus such as Cryptolocker. Thanks
2019 Apr 08
3
home user
I inserted these directives template shell = /bin/bash and template homedir = /home/%U the in smb.conf. What command do you use to create the user with the relative home directory and shell? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL:
2015 Oct 22
2
Can't get 'root preexec' to run
Louis, I agree with you, with some exceptions: Am 22.10.2015 um 10:44 schrieb L.P.H. van Belle: > Hai, i'll try to explain so here.. > > When you use ADUC console. This is what happens. > > ( for Profile tab in ADUC ) > > The ADUC user creates the user network dir, but only what you set the > Drive letter: (connected with) \\servername.domain.tld\users\%username% >
2001 Nov 29
2
Odd preexec/root preexec behavior
Running Samba 2.2.2, having troubles with preexec when it involves the path parameter: Log on to the samba server as kris, user "users". %U expands to kris, %G expands to users. [profile] path = /data/profile/%U preexec = /bin/mkdir -m 700 /data/profile/%U writable = yes create mode = 0600 directory mode = 0700 This fails to work, Samba reports that it could not
2014 Sep 19
1
Samba 4.1.11 crashes sporadically
Hi, I thought I should share this unusual behaiviour of samba 4.1.11. All of a sudden while I tried to delete a Folder via samba on a share it crashed. I was using Mac OSx's V 10.9.4 internal samba client (regular "CMD+K" mount via Finder). Server: [...] FreeBSD 10.0-RELEASE-p7 #0: Tue Jul 8 06:37:44 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
2020 Apr 30
2
how to use root preexec on user share with %U not as root user
On 2020-04-30 10:12, Rowland penny via samba wrote: > On 30/04/2020 00:25, Jelle de Jong via samba wrote: >> Hello everybody, >> >> I am trying to get samba 4 to make a user dir without the use of ADUC >> to set the homeDirectory, but with samba-tool user create only. >> >> I created a root preexec but the %U is filled with root and not the >>
2017 Jan 04
1
using shadow_copy2 with Linux-Clients
Hello, since oure shadow_copy2 is running now. I have another question: Is it possible to uses the shadow-copy on a linux-client? We mount the share via cifs from the Samba-fileserver. Stefan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL:
2023 Apr 17
1
shadow_copy2 working only on dirs?
Hello, I did setup shadow_copy2 with BTRFS snapshots. While this works fine for directories Windows does not show any previous versions for files. I couldn?t find anything regarding this, only one other using complaining about this in the OMV forums. Is this expected behaviour? Regards, Alexander
2023 Apr 18
1
shadow_copy2 working only on dirs?
Hi Alexander, On Mon, 17 Apr 2023 08:19:59 +0200, Alexander Harm || ApfelQ via samba wrote: > Hello, > > I did setup shadow_copy2 with BTRFS snapshots. While this works fine for directories Windows does not show any previous versions for files. I couldn?t find anything regarding this, only one other using complaining about this in the OMV forums. Is this expected behaviour? Assuming
2003 Jun 28
3
exec scripts question
i'm having problems with preexec scripts... see example below [homes] preexec = mkdir /samba/users/%U do exec scripts only work in a Samba PDC setup or are we able to use exec scripts in any setup ? if you look at the preexec script above, all i'm trying to do is make a dir for the connecting user (i don't need to make an account as the samba server is seup as a domain member server