Displaying 20 results from an estimated 9000 matches similar to: "Implementing preexec"
2020 Feb 19
0
preexec with win 10
On 19/02/2020 08:05, Roberto Tagliaferri - Tosnet srl via samba wrote:
> Sorry for the english :)
>
> Good morning, i've a little network with samba 4.2 on centos 6, NT
> style domain and win7 client.
Excuse me, but do you not believe in updating things ?
Samba 4.2.x went EOL at the end of 2016
Win 7 went EOL in Januarary
NT-style domains are on the way out, they rely on SMBv1
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
2002 Sep 06
0
preexec close + Win2K
I have Samba 2.2.2 on Solaris 8 acting as a PDC. I
have written a script that checks to see if a user is
already logged in on the PDC and if so, sends the user
a message (via the SMB message stuff) telling them
they need to log off. I run this script using
"preexec close" under the netlogon share. So, the
user authenticates against the PDC, but then gets a
desktop that is mostly
2020 Feb 21
2
preexec with win 10
Il 19/02/20 10:22, Rowland penny via samba ha scritto:
> On 19/02/2020 08:05, Roberto Tagliaferri - Tosnet srl via samba wrote:
>> Sorry for the english :)
>>
>> Good morning, i've a little network with samba 4.2 on centos 6, NT style
>> domain and win7 client.
>
> Excuse me, but do you not believe in updating things ?
>
> Samba 4.2.x went EOL at the end
2000 May 18
1
root preexec & 2.0.7
I a have a problem resulting from a neat tool I developed through the use of the
"root preexec" option:
This is done in the [homes] section of smb.conf.
I launch a shell script with the user name (%u) and machine name (%m). The shell
calls a C program to check the users quota and returns a code as the percentage
of quota used.
Meanwhile, all output of the C program has been captured
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
1999 Jan 25
1
Problems running apps from Samba 2.0.0 share on NT 4.0
Ever since I upgraded from Samba 1.9.18 to 2.0.0, I've been
having problems with applications started from a Samba share dying
silently, or with an Illegal Instruction message, on NT 4.0
Workstation. Since the only configuration change has been the Samba
upgrade, that would seem to be the orgin of the problem. Below is my
smb.conf file, in case I have something configured (or not configured)
2013 Mar 18
1
Slow navigation on samba share
hi all,
I have a problem with some windows 7 pro (64) clients navigating on samba
shares. The user wants to open a folder and then it takes a long time
until it opens.
Looking into the samba log of the PC it is filled with this entries (seems
to check for every ldap user):
[2013/03/18 10:10:54.224428, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap)
init_sam_from_ldap: Entry found for user:
1999 Jan 25
2
Samba, NT, and transient network failures
We've recently completed an internal eval of products to server Unix
filesystems from our Unix fileservers to our NT clients via SMB.
We evaluated two products, one of them was Samba 1.9.18pl10, the other
was a commercial product.
We've selected Samba. We had been using the commercial product for some
time.
All is great, fine, dandy.
But, as a result of our experience with the
2009 Jan 27
1
postexec script
Hi!
What we have:
FreeBSD 7.1-RELEASE-p1 with samba-3.0.34,1
I want log IP addr and login of my domain users to file.
I use preexec and postexec scripts:
logon script = /var/db/samba/netlogon/startup.bat ## script for use in
Window
root preexec = /var/db/samba/netlogon/netlogon.sh %u %I
root postexec = /var/db/samba/netlogon/netlogoff.sh %U
preexec script work fine:
#cat users_logon
connect
2003 May 21
1
Q: Automount client's shares to Samba PDC?
hello NG,
my config:
- SuSe 8.1 box with Samba (2.2.5 running as PDC) and a FTP server.
- Windows XP and 2k clients with shared directories
my problem:
i want that the shares of the Windows- clients to get mounted automatically
while booting to a mountpoint of the Linux- box (the FTP- directory)
until now, i have tried to solve this problem like this:
i have added the commands preexec and
2004 Jul 09
0
Serious doc bugs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Huh!? This is man page is really not very helpful. Does the command
run before or after the disconnect? What exactly is the shell
environment? Why does it run as root if there is a separate setting just
for this, i.e. "root postexec"? I ran with "echo $USER > /tmp/err.txt"
as the command and it spat out "root".
2008 Oct 05
1
Cannot get shares to show up
I apologize if this is a really silly question but I've been messing with
this for awhile now and cannot see any typos that would prevent these shares
from showing up.
I'm trying two things I've never done before so I want to make sure to point
them out:
1) I am using groups in the "valid users" section
2) I am using preexec and postexec on each share
Example:
[Media]
2002 Dec 06
3
pre-/postexec in printers-section
Hi,
after updating our printserver from Samba V2.0.6 to V2.2.7 I encountered the
following problem.
Samba does not execute the (root) pre- and postexec within the printers
section.
If you are using these command in another section everything works fine.
Does anybody know if these command are not supported in the printers section
anymore?
smb.conf:
[global]
...
load printers = yes
lpq cache
2003 Jul 31
0
Samba security hole as the workstation hangs
Hi,
I probably found a minor security hole (as it may be IMHO) in my (latest) stable release of SAMBA (2.2.9a-1)
Using Win98SE I am logging to Samba server. I am using root preexec and root postexec on Home share's to maintain a list of "correctly logged" users.
When a Windows workstation craches, Samba finds this after some 5 long minutes. Until that time, although a new user logs
1999 Jan 25
0
SAMBA digest 1954
Hi, How much is mail-gear and where can I buy it?
----- Original Message -----
From: <samba@samba.org>
To: Multiple recipients of list <samba@samba.org>
Sent: Monday, January 25, 1999 6:14 PM
Subject: SAMBA digest 1954
> SAMBA Digest 1954
>
>For information on unsubscribing see http://samba.org/listproc/
>Topics covered in this issue include:
>
> 1) Re: [WIN
2003 Apr 14
0
Samba 2.2.8 and below VFS BUG REPORT
To whom this may concern:
I think I may have encountered an obscure and non-critical
bug in vfs.c. Below I will explain it, however if you have any
questions or need any clarification feel free to email me (please copy
me with replies to the list as I am not a member of the list).
There are three sections to this report:
1) DESCRIPTION - detailed description of the bug
2) TESTING - basics
2014 Jan 24
1
Win7 login script not running
I?ve got a 4.1.3 Samba PDC Server on Debian Wheezy. It?s running
in Classic mode ? all existing clients are Windows XP Pro.
I?m installing a Windows 7 Pro 64-bit PC, and have managed to join
it to the domain, but can?t get the user?s login script to run.
The login scripts work fine on XP.
The pertinent sections of smb.conf contain:
logon script = %U.bat
logon drive = G:
[netlogon]
path =
2007 May 09
2
log file format
Hi list,
Issue regarding the samba log files. In the samba configuration
file Global settings i have the parameter to
get log files of particular samba shares in the share_name.log format. For
that i have given the parameter as
log file = /var/log/%S.log
According to the docs the log files will be generated for particular shares
in the /var/log and for %S the sharename has to
2008 Jun 03
1
Grant or deny internet access based on Samba domain logon?
I am looking for some way to grant or deny internet access (that is,
changing iptables rules) based on Samba domain logon.
When a user logs on, I would like to run a script that modifies firewall
rules based on the group that the user belongs to (this determines if he
has internet access or not) and based on the workstation's IP address
(so I know which IP address to grant internet access