similar to: failure running an at job from a root preexec

Displaying 20 results from an estimated 5000 matches similar to: "failure running an at job from a root preexec"

2002 Jul 22
1
Printer Migration hackery
Hokay. It appears that enumdrivers / getdriver in rpcclient is broken, and won't be fixed soon. I'd fix it meself, but hey, I'm too busy clearing skyscrapers in a single bound and moving faster than a speeding bullet. Or maybe I looked at the cvs once and got REALLY scared. Unfortunately, I can't wait, so I've come up with a nasty hack to help us with querying samba for the
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
2016 Oct 30
4
Auto Create Home - shadow_copy2 and root preexec
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 to the missing ZFS home share which causes the session to fail completely before root preexec even has a
1999 Oct 20
3
Preexec and smb.conf
Hi Steve, And thanks for your answer. Unfortunately it does not solve my problem. What I?m trying to do is to create two dirs using preexec in the same service. It works well as long as I?m only creating one directory, what I can?t figure out is how to create the second directory withing the same service. Eg. How would I continue after the last "fi" in the script to check for the second
1999 Oct 19
2
Preexec and multiple commands
Hi, I am trying to create two directories using the preexec command but I must be missing something very simple. I just can?t figure out the syntax. How would I continue this so that I could create dir2? preexec = if [ ! -e /home/%U/dir1] then /bin/mkdir /home/%U/dir1; fi Regards Robert ----------------------------------------------------------
2002 Jul 25
2
need help with preexec
Hi all I wanted to send a message to users when they are mapping, to migrate to different samba server I am assuming preexec will do this, users are w2k clients, i would like w2k clients to get a message, like a popup windows box with message once they map to thier unix home directory how would i do that, does preexec will help me here thanks
2004 May 12
2
preexec script problem
hi all i'm running into a little problem when using preexec scripts for the creation of dir's on my samba server.... script --- #! /bin/sh name=`getent passwd | grep %U | awk -F: '{print $5}'` mkdir /samba/test/"$name" --- snip of smb.conf --- [test] path = /samba/test preexec = /root/script browseable = Yes writeable = Yes
2004 Oct 13
1
root preexec script runs twice
Hi. I'm tesing Samba 3.0.7-a on Debian Sarge with Debian kernel 2.6.8. I am working on auto-creation of logon scripts, & am using a root preexec on the netlogon share for this. In testing I have passed the user ID to the script, and have used echo to test output. The netlogon service parameters and other info are below. The output from the script occurs twice in the output file,
2015 Oct 22
3
Can't get 'root preexec' to run
The next interesting question for me is: If I put '\\server\%username%' into ADUC Windows part (or \\server\username explicitly, for that matter), Samba on 'Ok/Apply' registers the attempt to access a non-existing share and applies the [homes] section (executes 'root preexec'). I tested that. However, the user doing this is the domain admin. So Samba would look that
2007 Oct 01
2
Logging logins with preexec and Samba/LDAP
Hi all, I had the following line in my smb.conf with which to log access to the home share when users logged in: preexec = /bin/echo \"%u logged in to %m at %T\" >> /var/log/samba/logons.log Since updating to LDAP however, it's stopped working and I suspect that smbldap cant handle the % substitutions for user, machine and time. Has anyone else run into this problem? If
2015 May 12
2
preexec and msdfs proxy
On 12/05/15 20:27, Greg Enlow wrote: > To the powers the might be, > > it seems that the "(root) preexec" function does not work when used with "msdfs proxy". Is that just "my" problem, an error or by design? > If it is by design, I would be curious to know why. > If it is an error, can it be addressed fairly quickly? > If it is none of the above,
2015 May 28
2
preexec and msdfs proxy
One more time: root preexec does: run a command or script if the user hit the share. Now with msdfs proxy it need to be run on the linked host that carries the share. So you are better to set root preexec on the share of the linked host. I think there is no other way. Server1 [sharepointtoserver2] msdfs root=yes msdfs proxy =\server2\shareonserver2 Server2 [shareonserver2] Root
2002 Oct 30
1
Re: Samba - root preexec & login scripts
Last night at home, and on a second system today at work, I tried putting in the sample preexec statement contained in the smb.conf man page to check it's effect on the domain logons. Just like the preexec for the perl script it kills domain logons. As that script is right in the smb.conf man page I'd certainly expect that to work. As one final shot at this I'll post my smb.conf for
2008 Feb 04
2
root preexec problem
Hi, I'm doing an upgrade to the latest samba 3.0.28, and something's bugging me: on the old server I had this working OK: root preexec = /usr/local/bin/ntlogon.py --user=%U --os=%m --dir=/home/samba/netlogon/ && /usr/local/bin/pdc-log.sh %U %m %a %d On 3.0.28, I can only get the first script to run, everything after && is ignored. I have tried to put just the second
2015 Oct 21
4
Can't get 'root preexec' to run
Hi, On 10/21/2015 01:21 PM, Rowland Penny wrote: > I am now beginning to think it doesn't work at all, if samba4 is > involved in any way. I knew that it wouldn't work on a DC (probably > because the user is DOMAIN\username and not just username), but from my > experiment (see my earlier post) it doesn't seem to work at all, try > your setup with '[home]' and a
2020 Feb 19
2
preexec with win 10
Sorry for the english :) Good morning, i've a little network with samba 4.2 on centos 6, NT style domain and win7 client. I've a root preexec and root postexec for tracking logon and logoff to the share. root preexec = /usr/bin/log_access.php "%L" "%U" "%G"? "%S" "%I" "%m" ON root postexec = /usr/bin/log_access.php
2015 May 16
2
preexec and msdfs proxy
Hi, I was wondering if someone had any thoughts as to why "preexec" doesn't fire when "msdfs proxy" is used? Thank you, Greg Enlow -- Greg Enlow grenlow at hk.mailbox.de On 13 May 2015, at 11:18, Greg Enlow wrote: ok ok ... Names have been changed to protect the inoccent. This installation is being used to mitigate a server migration by providing read-only access
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 May 18
5
preexec and msdfs proxy
On Mon, May 18, 2015 at 03:31:55PM +0200, Greg Enlow wrote: > Hi, > > The Server to which the msdfs is pointing is a netapp. Though we theoretically can access the shell on it then begin to mess around there, we would really like to avoid that. Warranty and such make it a bit of a legal issue. That is the reason we went with a separate instance in the first place and now wonder why the
2015 May 18
2
preexec and msdfs proxy
On 18/05/15 07:36, Daniel M?ller wrote: > Msdfs proxy is pointing to another instance of samba servers, it passes > through. > I think running preexec there on the other instance will do the trick. > > Greetings > Daniel > > > EDV Daniel M?ller > > Leitung EDV > Tropenklinik Paul-Lechler-Krankenhaus > Paul-Lechler-Str. 24 > 72076 T?bingen > Tel.: