We have Samba 2.2.5 recompiled with LDAP support running on RedHat 8 as
PDC.  A mixed network of Windows 98 and NT 4 clients log in using it.
We have a logon script set to run for all users.  It runs fine on 98
clients, but never appears to run on NT.  I can access the netlogon
share through Network Neighborhood on any NT box and run the script
manually and it works.

Below is an abbreviated copy of my smb.conf (I have removed comments and unrelated shares) and our logon script. Any recommendations on how to get this running automatically on NT clients would be greatly appreciated.

smb.conf:
[global]

guest ok = yes          
log level = 0
max mux = 50
kernel oplocks = true
   workgroup = HOE-MAIN
   netbios name = RHSERVER1
   server string = RH_SERVER_1  
   deny hosts = 192.168.10.11 192.168.10.12
   allow hosts = 192.168.10.  127.0.0.
printcap name = /etc/printcap
load printers = yes
   printing = lprng
log file = /var/log/samba/%m.log
   max log size = 20000
  encrypt passwords = yes
  unix password sync = Yes
  passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u
  passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
socket options =  TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   remote announce = 192.168.10.255
   os level = 65
   domain master = True
   preferred master = False
   domain logons = yes
    logon script = default.bat
   wins support = yes
   dns proxy = no
preserve case = yes
short preserve case = YES
  default case = lower          
  case sensitive = no
mangle case = yes
  ldap suffix = dc=HOECOOP,dc=ORG
  ldap admin dn = cn=manager,dc=HOECOOP,dc=ORG
  ldap port = 389
  ldap server = 127.0.0.1
  ldap ssl = No
  add user script = /usr/local/sbin/smbldap-useradd.pl -w %u
  domain admin group = " @"Domain Admins" "
  time server = Yes

[netlogon]
   comment = Network Logon Service
   path = /opt/samba/netlogon


logon script: @ECHO off net use u: /delete net use w: /delete net use y: /delete if not %os%!==! goto nt :95 net use h: /delete net use h: \\tuxprint1\pchome net use y: \\rhserver1\dept net use w: \\rhserver1\engineer net use u: \\tuxprint1\programs goto cont :NT net use h: /delete net use h: \\tuxprint1\pchome net use y: \\rhserver1\dept /persistent:no net use w: \\rhserver1\engineer /persistent:no net use u: \\tuxprint1\programs /persistent:no goto cont :cont


-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

Reply via email to