Displaying 20 results from an estimated 9000 matches similar to: "2.2.2 PDC logon question."
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
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
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 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
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
2004 Oct 06
3
logon scripts by group
Hi,
I am having a hard time figuring out how to have logon scripts that only
execute if the user is a member of a certain group. I had the smart idea of
putting the supplemental logon script in a share only available to the group,
and then calling it from the normal logon script using "CALL
"path_to_script". However it looks like it always executes that CALL even if
the user
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
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
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
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 Nov 06
1
PDC and logon script - try 2
Hi everyone,
I have a question about the logon script command. I've read and read and
read the man page for smb.conf. In essence, I've duplicated the settings on
the PDC how-to document to create a PDC with a logon script. However, when
I log in, the scrips doesn't run. The only thing I don't have enabled, like
the how-to, is roaming profiles. I'll include my smb.conf for
2000 Jan 07
3
Group logon Scripts
We're almost at the stage of rolling out our new RH6.1/Samba server -
one last item. We have some 60 users and 7 departments. Can I use/how
do I use a logon script to log groups onto the server. I currently have
1 logon script per user, but a small change in 1 share means updating
every script. Can I log them on by group ID but still map
their personal shares with the %U flag so I then
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,
2003 Mar 13
2
subdirectory of home
Hi.
Sorry: my level of english is not enough good. I hope you understand
what I mean.
My question is: it's possible to share a subdirectory (and only one
subdirectory for every user) in the section [homes]?
The version of samba which i'm working is 2.2.7a, over Solaris 8.
Thanks in advance.
--
2018 Feb 15
1
RV: Problem_graphic
Hi everyone,
I am beginner using R but I try to learn more.
I need this graphic or similar but instead of tropical and temperate are three ontogenetic states
Larva Met Juv
CTMAX
CTMIN
SP SP SP
This is my scrip:
Ex = subset(Expr, Outlayer=="N")
Ex2 = subset (Ex, S0 == 1)
Ex3
2001 Dec 02
2
Cannot access CD-ROM
Hello,
I've tried to configure my CD-ROM into my network smb.conf file but
w/ no success, could someone advise?
Thanks.
-- Joe --
file snippet ==>
[CDROM]
path = /CDROM
browseable = yes
root preexec = /etc/mount /cdrom
guest ok = yes
-------------- next part --------------
HTML attachment scrubbed and removed
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]"
2003 Nov 04
2
Logon script based on group
Hi there
Is it possible to have a logon script that checks which groups the users are a part of and then runs a logon script based on that? I've tried %G.bat but it doesn't work, %U.bat works though, but that's not what I want
Thanks in advance
Roy
-------------------------------------------------
WebMail fra Tele2 http://www.tele2.no
2004 May 03
1
Logging domain Logon/Logoff
Has anyone run accross a way to log domain logon/logoffs?
Thanks,
Mike
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