samba PDC and login scripts
Michael S. Hulet
hulet at ittc.ukans.edu
Tue Jun 1 16:23:41 GMT 1999
Mine is working for syncing the time of my PDC with my NT
workstations.
smb.conf
logon script = STARTUP.BAT
[netlogon]
comment = Network Logon Service
path = /blah/netlogon
guest ok = no
locking = no
browseable = no
writable = yes
share modes = no
-rwxr-xr-x 1 root system 318 Apr 9 09:51 startup.bat*
startup.bat
@ECHO OFF
net time \\devnull /set /y
Michael Hulet
Network System Administrator
ITTC, University of Kansas
On Wed, 2 Jun 1999, Randy Cone wrote:
> Yes,
>
> I've put them there. Has anyone else gotten login scripts to work on
> NT4 workstation, as served by the PDC?
>
> BTW,
>
> The relevent portion of smb.conf:
>
> # Global parameters
> workgroup = HPEL-ACADEMIC
> server string = HPEL File Server
> password level = 3
> log file = /usr/local/samba/var/log.%a.%m
> max xmit = 8192
> read size = 8192
> printcap name = /etc/printcap
> logon script = %a\logon.bat
> logon drive = h:
> domain logons = Yes
> os level = 254
> domain master = Yes
> read only = No
> hosts allow = localhost, 127.0.0.1, 131.118.208.0/255.255.240.0
> printing = bsd
> # update encrypted = yes
> encrypt passwords = yes
> username map = /usr/local/samba/lib/user.map
>
> [netlogon]
> comment = Windows login directory
> path = /share/pc/netlogon
> guest ok = Yes
> exec = /usr/local/sbin/markLogon log connect %u %m %S
> postexec = /usr/local/sbin/markLogon log disconnect %u %m %S
>
>
>
> > "Burch, Phil" wrote:
> >
> > Have you put the login scripts in question in the netlogon share?
> >
> > Phil Burch
> > Computing Services
> > North Seattle Community College
> > http://nsccux.sccd.ctc.edu
> >
> > -----Original Message-----
> > From: Randy Cone [mailto:cone at hpl.umces.edu]
> > Sent: Tuesday, June 01, 1999 7:07 AM
> > To: Multiple recipients of list
> > Subject: samba PDC and login scripts
> >
> > Samba-nt-dom,
> >
> > Does a samba-2.0.4b PDC support login scripts to WinNT workstations?
> > If
> > so, I can't get mine to pick up the login scripts. What can I do
> > check
> > out this functionality?
> >
> > Thanks,
> > Randy
>
> --
> Randy Cone
> Director of Information and Electronic Services
> Horn Point Laboratory
> University of Maryland Center for Environmental Science
> ph# 1-410-221-8487 fax# 1-410-221-8490
> cone at hpl.umces.edu
>
More information about the samba-ntdom
mailing list