[Samba] hpux samba3 logon script not running

Arjit Gupta arjitk.gupta at gmail.com
Tue Jan 24 13:41:43 UTC 2017


Hello,

I am new to this and trying to check how logon script runs.

But not able to do so. Though i am able to execute it later from the share
itself.

Below is my smb.conf file.

[global]
   logon script = %U.bat
   workgroup = cifsdom
   security = user
   netbios name = cifs
   encrypt passwords = yes
   password server = *
   log file = /var/opt/samba/log.%m
   debug level = 10
   max log size = 1000
   panic action = /var/opt/samba/panic-action %d
   preserve case = yes
   short preserve case = yes
   dos filetime resolution = yes
   read only = no
   socket options = TCP_NODELAY
   domain master = yes
   local master = yes
   preferred master = yes
   domain logons = yes
   wins support = no
   wins server = machine ip
[homes]
   comment = Home Directories
   path = /home/%U
   browseable = no
   writable = no
   create mask = 0700
   directory mask = 0700
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
[netlogon]
    comment = The domain logon service
    path = /var/opt/samba/netlogon
    writable = yes
    browseable = no
    guest ok = no

Arjit Kumar


More information about the samba mailing list