nt profiles and win 9x profiles on 2.1prealpha

John T Chiodi chiodi+ at pitt.edu
Thu Aug 5 13:02:40 GMT 1999


Hi,

I am running the 2.1 prealpha dled yesterday.  My win 9x machines are
getting their profiles fine, but my nt 4.0sp3 is not.  I am using the
same user for NT and 95.  I have included my smb.conf below.  Also my
login script is working for 98 but not for nt.  I included that as
well.

smb.conf 

[global]
   printing = bsd
   printcap name = /etc/printcap
   workgroup = WORKGROUP
   load printers = yes
   guest account = nobody
   encrypt passwords = yes
   hosts allow = 192.168.1.0/255.255.255.0
   domain logons = yes
   logon script = %U.bat
   security = user
   wide links = yes 
   getwd cache = yes
   logon drive = p:
   unix password sync = yes 
   passwd program = /bin/passwd %u
   passwd chat = *password* %n\n *password* %n\n *successfull*
   logon home = "\\%N\%U"
   logon path = \\%L\profiles\%U\profile
   print command = lpr -r -P%p %s
   wins support = yes
   domain master = yes
   local master = yes
   preferred master = yes
   os level = 65
   domain group map = /usr/local/samba/lib/domaingroup.map
   local group map = /usr/local/samba/lib/localgroup.map
   domain user map = /usr/local/samba/lib/domainuser.map
   lpq command = /usr/bin/lpq %p
   preserve case = yes
   case sensitive = no
   socket options = IPTOS_LOWDELAY TCP_NODELAY
   log file = /var/log/log.%m
   lock directory = /var/locks
   share modes = yes
   
[profiles]
   comment = Stores Profiles
   browsable = no
   path=/windows/profiles/%U
   read only = no
   create mode = 0750
   
[printers]
   comment = All Printers
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700

[pub]
   comment = public area
   path = /export/pub/win
   writable = yes
   public = yes

[cdrom]
   comment = cdrom
   path = /cdrom
   writable = no
   public = yes

[netlogon]
   path = /smbdos/netlogon
   writable = no
   guest ok = no
   browsable = no
   public = no
[xmg]
   comment = xmg
   path = /export/xmg
   valid users = CHIODI
   browsable = no
   public = no
   writable = yes

[installs]
   comment = installs
   path = /soft/installs/win
   public = no
   writable = no
   write list = chiodi

[MSOP97]
   comment = MS Office install
   path = /soft/installs/office
   volume = "The_CR_ROM_Label"
   read only = yes
   available = yes
   share modes = no
   locking = no
   public = yes

[homes]
   comment = home
   path = /windows/%S
   public = no
   browsable = no
   writable = yes

[soft]
   comment = software
   path = /soft/software/win
   public = no
   writable = yes

[document]
   comment = Document Group
   path = /export/documents
   public = no
   writable = yes
   force group = document
   valid users = @document
   create mask = 0760

[backup]
   comment = backup hard drive
   path = /export/backup
   public = yes
   browsable = yes
   writable = yes


login.bat

@echo^M
if %OS%.==Windows_NT. goto Windows_NT^M
:Win9x^M
net use P: \\WIGGLES\CHIODI^M
net use S: \\WIGGLES\SOFT^M
net use Q: \\WIGGLES\DOCUMENT^M
net TIME \\WIGGLES /SET /YES^M
goto end^M
:Windows_NT^M
net use S: \\WIGGLES\SOFT /persistent:no /yes^M
net use Q: \\WIGGLES\DOCUMENT /persistent:no /yes^M
net TIME \\WIGGLES /SET /YES^M
goto end^M
:end^M
 ^M



_______________


Jt Chiodi
Unix Administrator
University of Pittsburgh
chiodi at pitt.edu



More information about the samba-ntdom mailing list