Samba as PDC, profiles and scripts

Andrea Zolnhofer & Michael Ott ZolnOtt at t-online.de
Fri Sep 15 20:19:13 GMT 2000


hi eric!

i hope, that i can help you at your first question. 
at the end of my smb.conf i set the following parameter
include = /usr/local/samba/lib/%a

and i have the two following attaching files

bye michael

Eric Delaet wrote:
> 
> Hello,
> 
> I have a SAMBA server as PDC.
> 
> I seem to have 2 problems.
> 
> 1) I tried to use the "logon home" parameter. This works great, but only
> for Win NT clients. Win 98 clients simply seem to ignore this parameter.
> That's why I tried to put everything in a logon script with "logon script
> = logon.bat".
> The logon.bat contains NET USE H: /HOME.  The script gets executed by the
> 98 clients, but again, the mapping only works for the NT clients.
> An interesting fact is that when I try to type NET USE H: /HOME in 98,
> when I'm logged in, the H: DOES get mapped.
> Any solutions for mapping homedrives at login time with 98 clients?
> 
> 2) Profiles are "roaming". When I specify the logon path, profiles are
> copied, ofcourse, to that path. When I uncomment this parameter, profiles
> are copied to the users home drive.
> But I don't want roaming profiles, since there are too much users,
> there's not enough room on the server and especially, not enough bandwith.
> I was able to disable roaming profiles by adding
> logon path =
> in smb.conf, but is this a good idea?
> 
> Thanks a lot!
> 
> Eric
-------------- next part --------------
; win95.conf:
; 000510
; Zusatz zu smb.conf
;
; globale Einstellungen
	logon script = logon_win9x.bat
	printer driver file = /usr/local/samba/lib/printers.def
[netlogon]
	path = /home/logon
	writable = no
	public = no	
	locking = no
[epsty800]
	comment = Epson Stylus 800
	printable = yes	
	;writable = no
	printer = lp
	public = no	
	path = /var/spool/samba
	printer driver location = \\%L\amtek\druckertreiber
	printer driver = Epson Stylus 800 ESC/P 2
	valid users = @zolnott 
;
; Ende Win95.conf
-------------- next part --------------
echo off
echo Starten des Zeitservers
net time \\laptop /set /yes
echo Verbinden mit Home-Verzeichnis...
net use h: \\laptop\homes
echo Verbinden mit Download-Verzeichnis...
net use i: \\laptop\download
echo Verbinden mit CD-ROM...
net use r: \\laptop\cd-rom
pause


More information about the samba-ntdom mailing list