Prob. with printer logon script

Christophe_Gillard at zieglergroup.com Christophe_Gillard at zieglergroup.com
Thu Aug 7 09:57:01 GMT 2003


i have a script to capture my printer
The first time it's work fine, but the second time, i have this following
error: " Device not found on the network, abort cancel, retry"

my script :

net use LPT2: \\INFO_LNX\HP4_LAN

smb.conf

# Global parameters
[global]
      passwd program = /usr/bin/passwd %u
      domain master = yes
      dns proxy = No
      encrypt passwords = yes
      socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
      max log size = 50
      logon script = logon.bat
      username level = 2
      ldap ssl = no
      security = USER
      domain logons = yes
      unix password sync = yes
      server string = Samba 3.0 Server de FRINUX
      workgroup = INFO_LNX
      local master = yes
      log file = /var/log/samba/log.%m
      netbios name = FRINUX
      printing = bsd
      printcap name = /etc/printcap
      load printers = yes



[netlogon]
      path = /home/%U

[homes]
      comment = Home Directories
      read only = No
      browseable = No

[printers]
      comment = Imprimantes du Domaine INFO_LNX
      path = /var/spool/samba
      printable = Yes
      browseable = No
      public = Yes
      print ok = Yes
      printcap name = /etc/printcap


[HP4_LAN]
      printer = HP4_ADM
      comment = HP4 des Admins Lan
      printable = yes
      printer name = HP4_LAN

[DATA]
      path = /DATA
      hide unreadable = Yes

[V]
      path = /APP/apps
      comment = disque app
      valid users = franco
      writable = yes

[RDV]
      path = /RDV


What can i do?
The folder mapping works fine.

Than you




More information about the samba-technical mailing list