Displaying 2 results from an estimated 2 matches for "userofcurrentservice".
2002 Aug 12
5
Why does this logon-script not work under Win9x ?
...logon/netlogon.sh %S %P %u %g %U %G \
%H %v %h %m %L %M %N %R %d %a %I %$(HOSTTYPE) %T %p
# creates the logon-script on each logon
---snipp---
Here's the logonscript (logonsmb.bat)
---snipp---
@ECHO OFF
set CURRENTSERVICE=netlogon
set ROOTDIRCURSERVICE=/opt/samba/netlogon
set USEROFCURRENTSERVICE=harry
set PRIMARYGRUOUPOFCURRENTSERVICEUSER=users
set SESSIONUSER=harry
set PRIMARYGROUPOFSESSIONUSER=users
set HOMEDIROFSERVICEUSER=/home/harry
set SAMBAVER=2.2.5
set INTERNETHOSTNAMEOFSAMBASERVER=486dx66
shift 1
set NETBIOSNAMEOFCLIENT=pentium200
shift 1
set NETBIOSNAMEOFSERVER=486dx66
shift 1
se...
2001 Dec 03
5
Problem with logon script
Hi,
I have a problem with logon script.
I will at first disconnect all connected drives from last Windows run, and
the connect home dir.
My smb.conf :
[Global]
logon script = STARTUP.BAT
logon drive = m:
logon home = \\sapo\%U
logon path = \\sapo\%U\setting\%m\profile
domain logons = Yes
[homes]
comment = Home Directories
read only = No