[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


Hi,

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
users.
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
mounted.

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
do
  $group = enumGroup($index)
  ? $group
  $index = $index+1
until len($group) = 0
...

A piece of the smb.conf file :

[global]
   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
*passwd:*all*authentication*tokens*updated*successfully*
   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 
 [netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   public = yes
   printable = no
   writable = yes
   write list = @informatique,root
...

Thanks,

Denis Mirassou




More information about the samba mailing list