[Samba] Netlogon from win9x using Kixtart to Samba server

Denis Mirassou d.mirassou at poitou-charentes.iufm.fr
Thu May 23 06:14:02 GMT 2002


I would want Samba shares to be automatically mounted as logicals drives
on win9x machines.

For this i try to use KIXTART (http://www.kixtart.org), a logon script
processor for Windows.
The advantage is that a unique login script may be used for all the
The shares need to be mounted accordingly to the unix groups the user
belongs to.

Fo example, if a user belongs to the IT and TOTO groups then the
\\sambaserver\it and \\sambaserver\toto shares will automatically be

The pb is that the KIXTART 's PRIMARYGROUP variable and ENUMGROUP()
function do not
return any values unless this works well under a Windows NT 4 server
(other variables passed from Sama server to client during logon
procedure return correct values : fullname, lserver, domain..)

A piece of the KIXTART.KIX file :

$index = 0
  $group = enumGroup($index)
  ? $group
  $index = $index+1
until len($group) = 0

A piece of the smb.conf file :

   workgroup = LAROCHELLE2.DOM
   server string = Orion2
   printcap name = /etc/printcap
   load printers = yes
   log file = /var/log/samba/log.%m
   max log size = 50
   security = domain
   password server = ORION2
  encrypt passwords = yes
  smb passwd file = /etc/samba/smbpasswd
  unix password sync = Yes
  passwd program = /usr/bin/passwd %u
  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   domain master = yes 
   preferred master = yes
   domain logons = yes
   logon script = logon.bat
   dns proxy = no 
   comment = Network Logon Service
   path = /home/netlogon
   public = yes
   printable = no
   writable = yes
   write list = @informatique,root


Denis Mirassou

More information about the samba mailing list