similar to: preexec, logging, and my problem

Displaying 20 results from an estimated 10000 matches similar to: "preexec, logging, and my problem"

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
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
2003 Jul 10
1
forcing log off
okay so i have the script provided by joel. i have changed them slitely so that each user gets his or her own file, because if two users try to log on at the same time, the script can't differentiate between atempts. so you get mixed lines. as in user1 starts with line1 but then user2 might have his first line right after. we wanted to be able to distinguish. now that we can see who is
2003 Jun 27
1
forcing one logon per user
i am having a real problem with users exchanging passwords on the network and then logging on as that user while the original user is on the network. in adition to making some changes to the password system i would like to force the system to disallow multiple logons..can't find it anywhere in the documentation, but i am almost sure that it must be possible. most of the clients are win98
2020 Feb 21
2
preexec with win 10
Il 21/02/20 13:02, Rowland penny via samba ha scritto: > On 21/02/2020 11:39, Roberto Tagliaferri - Tosnet srl via samba wrote: >> This is an extract of smbstatus >> root at robytnuovo~# smbstatus |grep 246 >> 1877????? emissionefatture? emissionefatture? 192.168.0.246 >> (ipv4:192.168.0.246:49701) SMB3_00 > root preexec is running the /usr/bin/log_access.php
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
2004 Aug 30
3
roaming profiles ok, but what about the printers?
Hi there, We have a little intranetwork with Samba 3.0.x as PDC. There are 20 Win2k-clients in several rooms and 18 users roaming from one machine to another (according to their tasks). So any user has a roaming profile. This runs almost perfect (some minor problems are still there, but the the advantages are overwelming). But there is one thing, I can't understand. Why does Win2k saves
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
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
2003 Jun 28
0
Re: preeexec and samba
Well, you can run smbstatus from the preexec script. You can grep out the name of the user connecting and compare it to the %U or %u variable sent during the login to $IPC. This could get complicated. For example, your script would depend, maybe, on whether you have security = share or security = user. Here is a possibly useful tool for figuring out what you want. This smb.conf share, with the
1998 Feb 19
7
smbstatus
Have just upgraded to samba 1.9.18p3 on a RedHat 5.0 linux system... now... when i type smbstatus... this is what i get.. Couldn't open status file /var/lock/samba/STATUS..LCK so i assume that for some reason... this status file is not created upon startup.. Pat.
2003 Jun 04
3
Limiting Users
When using windows NT and Netware there are ways of limiting the logins of users such as only allowing them on between 9am - 5pm and limiting maximum concurrent connection to one. Is there a way of enforcing these restrictions through samba or similar? Many thanks Gareth Norman
2002 Dec 19
5
Desperate Help Required Getting SAMBA back on line
I am running SAMBA on Red Hat 7.0 and after a bad upgrade my SAMBA server is dead. I ended up re-installing from the source and now my server is not accessible to our Win9x clients. smbstatus show the server running but no one on the network can see the server. I am still a bit of a newbie and I am having trouble troubleshooting this. I really am in a jam and I need some help ASAP. I am not
2008 Oct 07
6
How to unsubscribe
I appreciate all the help I received from this Mailing List. However I am receiving work email to my cell phone now and I am being overwhelmed with the mailing list emails. Can some one let me know how to unsubscribe from this mailing list. Thank you -- Jose Mendez Computer Resource Specialist HNRC 619-543-8090
2002 Sep 11
10
Too many processes kills server
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: Blank Bkgrd.gif Type: image/gif Size: 145 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20020911/a89e1b74/BlankBkgrd.gif
2002 Jul 09
2
Oplocks - samba 2.2.4 & Windows 2000 server
In investigating some performance issues (elderly server with just 10Mbps ethernet), I noticed that smbstatus reported hardly any open files with oplocks. In particular files opened with Office 2000 & XP stay un-oplocked. I have checked and testparm claims oplocks are enabled and manual says this is so by default. The clients are all Windows 2000 servers - so we have 1 samba connection with
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 ----------------------------------------------------------
1999 Apr 15
0
[RETRY] Help with preexec (fwd)
Having received no responses, I will try again. I can't seem to get preexec to work as stated in my earlier email given below. Any help would be most appreciated. I am using samba-2.0.3-19990228 in combination with RH 5.2 with kernel-2.2.1. Thanks, Carey ---------- Forwarded message ---------- Date: Tue, 13 Apr 1999 11:35:03 -0500 (CDT) From: Carey F. Cox <carey@tabasco.lamar.edu>
2005 Jan 17
1
preexec
hello, in first sorry for my poor english i use this script to test if a user is already connected. #!/bin/bash resultat=$(/usr/local/samba/bin/net status sessions |grep $1 | awk '{print$2}') if [ "X${resultat}" == X ]; then exit 0 else exit 1 fi in the smb.conf i add these lines : [home] root preexec = /usr/local/samba/bin/check-session %u root preexec close = 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,