Can't run login script on Samba server

Yuri Chumak toko at tlc.kherson.ua
Thu May 20 13:44:40 GMT 1999


  I am an try to connect several computers in
the local network, where Linux-machine executes
a role of file server, using package Samba.
  I has execute all adjusting a file smb.conf, described
in the file SMB-HOWTO and book "The Linux Network"
(Fred Butzen and Christopher Hilton). As A Result, I can see
Linux-machine in the file "Network neihborghoodt", can
attach into available directories, write and delete
files in network directories - all bes indicative of that, adjustment
are executed correctly.
  However, I nowhere has found descriptions, how to execute an adjusting
a server, to was a possibility to describe a name of network directories to
names of local resources. I.e. necessary purpose description of network
directories depending on the network name, under which is
produce input in the network.
  Please, help me to set server for possibility run login script like
Netware server.
  I use samba v.2.0.3


This my file smb.conf
#======================= Global Settings
=====================================
[global]

   netbios name = SAMBA
   workgroup = SAMBA
   server string = Samba Server %v

   load printers = yes
  guest account = pcguest
   log file = /usr/local/samba/var/log.%m
   max log size = 50

   security = user

;  encrypt passwords = yes
   socket options = TCP_NODELAY

   local master = yes
;   os level = 33
   domain master = yes
   preferred master = yes
;   domain logons = yes
;   logon script = %U.bat
;   logon path = \\%L\Profiles\%U
# My WINS server (NT4sp3)
   wins server = 193.168.1.100
   dns proxy = no

#============================ Share Definitions
==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes

# Un-comment the following and create the netlogon directory for Domain
Logons
; [netlogon]
;   comment = Network Logon Service
;   path = /usr/local/samba/lib/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;    path = /usr/local/samba/profiles
;    browseable = no
;    guest ok = yes


[printers]
   comment = All Printers
   path = /usr/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes

[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes

[public]
   comment = Public Stuff
   path = /home/samba
   public = yes
   writable = yes
   printable = no
   write list = @samba




More information about the samba mailing list