similar to: postexec script

Displaying 20 results from an estimated 4000 matches similar to: "postexec script"

2005 Nov 25
1
USRMGR Not adding users properly
I'm having problems adding users with usrmgr. I can run the scripts from my smb.conf fine from command line and do what I need to. But, when adding users with usrmgr, the login script and path statements are not identified and I have to go in and edit them manually. Does adding a user with usrmgr not use the add user script from Samba? Or must the user environment variables be added
2003 Jul 03
2
pre/postexec
Running system: SuSE 7.2 (kernel 2.2.4) & samba-3.0.0beta1. There is coexisting Win(Millennium) system at the server (reason: many win partitions MUST be directly available at the central unit under windows after rebooting to windows). People connect their laptops (with small HD and Win2k SP2) to central unit and samba offers shares with Linux accounts. However, there are many win
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
2002 Oct 28
2
root prexec/postexec & login scripts
I have a perl script that I'd like to use to create windows 9x login scripts at login time but I cannot get the process to work right. I have RedHat 7.3 (actually the k12ltsp v2.1.0 which is a modified RH7.3) set up as a domain controller which is working well. Manually created login scripts run fine on the workstations at login. I'm using a netlogon script I found at
2010 Jun 11
1
root postexec issue on both Samba 3.4.5 and 3.0.28
Hi, there I'm using Samba 3.4.5 and 3.0.28 on RHEL 5.2, and I noticed that on both samba servers 'root postexec' script in [netlogon] is executed automatically when logged in for around 11 minutes. This makes me crazy to track when a use is logged out. The man page smb.conf.5 says: " postexec (S) This option specifies a command to be run whenever the service is
2003 May 01
1
Please advise
I get the following message when trying to configure on Solaris 2.6 box will samba 2.2.8a. Any suggestions?! root-Rigel-232> ./configure creating cache ./config.cache checking for openjade... no checking for jade... no checking for nsgmls... no checking for htmldoc... no checking for sgmlspl... no checking for perl... /usr/bin/perl ./configure: !: not found updating cache ./config.cache
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
2005 Apr 06
1
%U doesn't work in root postexec
Hi! I've following in my smb.conf root postexec = /bin/rm /hades/samba/netlogon/scripts/%U.bat but I get following in my logfile: [2005/04/06 13:55:39, 1] smbd/service.c:close_cnum(836) hitt-006 (10.16.69.21) closed connection to service penzrobe [2005/04/06 13:55:39, 1] smbd/service.c:close_cnum(836) hitt-006 (10.16.69.21) closed connection to service netlogon /bin/rm: cannot
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
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]
2004 Feb 26
2
Log user log-offs
Does anyone know of a way to log when a user logs off using Samba as a PDC. I have Samba 3.0.2a and can log log-ons using root preexec on a share all users mount, however I do not know of a way to log log-offs. We need this data for record keeping purposes. We don't use roaming profiles, so using root postexec is not an option as shares disconnect when not in use. Thanks for any help,
2019 Dec 25
1
mounting ext usb drive
Hi, trying to mount on demand, external USB drive which is /bkup. /etc/fstab has it as: ?UUID=4C76D06176D04CF8 /bkup?????? ntfs-3g?? noauto,user,rw??? 0?????? 0 The following does open a share but its not really /bkup and its not writeable. Corrections are welcome. Thanks. [backup_drive] ??????? preexec = /bin/mount /bkup ??????? comment = Backup Drive ??????? path = /bkup ??????? writable = yes
2001 Sep 25
3
windoze whitout broswing network (I did something wrong?)
Hi, since I installed my linux server RH7.1 all workstations on neiborhood seem not to see network. here my testparm... please some help... jorge --------------------------------------------- [root@lecsys /root]# testparm Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[printers]" Processing section "[public]"
2005 Feb 25
2
Audit Trail/Logging For Network Logons and Logoffs
Hi Folks, I have searched the archives and the web for this issue, but I haven't found an answer. I need to be able to log or audit the network access of our network users. This information needs to be used in conjuction with a time and attendance punch clock. I have seen much discussion of using preexec and postexec for obtaining a network access log. However, my testing has shown this as
2002 Oct 28
0
postexec umount /cdrom doesn't work
Hi, Dear All This is my section of [CDROM] in smb.conf: [cdrom] comment = Samba server's CD-ROM writable = no locking = no path = /cdrom public = yes ; ; The next two parameters show how to auto-mount a CD-ROM when the ; cdrom share is accesed. For this to work /etc/fstab must contain ; an entry like this: ; ; /dev/scd0 /cdrom iso9660
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
2005 Jun 09
1
Domain member samba server and non-ASCII account (user) names
Hello! I have network with w2k domain controller, w2k workstations and one linux box (Red Hat Linux release 8.0 (Psyche)) + samba-3.0.10 (winbindd) which joined to the network as domain member server. Samba config: [global] workgroup = MY-COMPANY netbios name = GATEWAY security = DOMAIN password server = * idmap uid = 1000-10000 idmap gid = 1000-10000 winbind enum users = Yes winbind enum
2000 Feb 03
1
pre2.0.7 disk quota bug:
Since an 'over-quota' or 'disk-full' message is being sent from Samba to the client, it seems obvious that the client _should_ be passing this info. on to the user -- but it isn't. One possible way to get this info. to the client is for Samba to call a shell script similar to the 'preexec' options if quota is exceeded. The script could then invoke smbclient to send a
2004 Dec 14
3
WinXP client always connects as Gaia\Guest
All attempts to connect to our Samba server, share "\data" from any Windows client fails. I'm trying to get samba to prompt the windows user with a login box, have them enter the samba username/password, then head onto the share. If I use in the address field the following: \\gaia\data /user:woellki a dialog box appears, with the username field greyed out "Gaia\Guest"
2003 Jun 04
3
I am totaly frustrated running samba
Hi I am still in my begining steps with linux and samba. my system is 100MHz 128MB 4GB OS is RH 9.0 every time I tried to access my samba server called (linux) from my windows 2000 pro it gave me " the network path was not found " I can ping it and telnet to it no prob I ran testparm and the result 'll be below- I 'm waiting for your help guys ( I tried to clear the log as much