[Samba] samba, win2k and logon scripts

Jaroslaw Berezowski jaroslaw_berezowski at poczta.onet.pl
Sat Feb 22 09:52:50 GMT 2003


Hi

I have experienced problem with logon scripts on win2k clients with Samba 2.2.3a as 
PDC. It's just not run. WinNT 4.0 and Win9X clients don't show any problem.
My samba.conf:

[globals]
  server string = Serwer
  workgroup = HOME
  lock directory = /var/run/samba
  share modes = yes
  load printers = no
  client codepage = 852
  character set = ISO8859-2
  netbios name = GATE
  encrypt passwords = true
  wins support = yes
  domain logons = yes
  interfaces = eth0 lo
  bind interfaces only = yes
  local master = yes
  preferred master = yes
  domain master = yes
  logon home = \\%N\%U
  logon path = \\%N\%U\profile
  logon script = logon.cmd
  os level = 64
  time server = yes
  debug level = 2
  security = user
  null passwords = no
  deadtime = 2
  guest account = smbstuff
  domain admin group = root administrator
  veto files = /.?*/
  large readwrite = yes

[netlogon]
  comment = Samba logon
  path = /var/lib/samba/logon
  writable = no
  browseable = no

[%U]
  comment = Katalog %u
  path = /home/%u
  guest ok = no
  write list = %U %u
  browseable = yes
 
[pub]
  comment = Katalog publiczny
  path = /home/smbstuff
  guest ok = yes
  writable = yes
  browseable = yes
  
[janusz]
  comment = Katalog janusz
  path = /home/janusz
  write list = %U %u
  valid users = janusz jaros
  guest ok = no
  writable = yes
  browseable = yes
  create mask = 0664
  force create mode = 0664
  directory mask = 0775
  force directory mode = 0775
  
[seti]
  comment = Katalog Seti at Home
  path = /home/setiathome
  valid users = jaros
  guest ok = no
  writable = no
  browseable = no


-- 
Jaroslaw "Jaros" Berezowski 




More information about the samba mailing list