Salut !

J'ai un petit soucis avec Samba (2.0.7) avec Mdk 8.0.

J'ai bien configur� mon serveur avec partage de fichiers sous Windows Me
mais impossible d'imprimer !

En fait, le fichier d'impression arrive bien sur le serveur Linux mais 
ne s'imprime pas. Et si je fais un 'cat monfichier > /dev/usb/lp' 
celui-ci s'imprime correctement ! !

Je ne sais pas ou se trouve l'erreur ! !
J'ai beau modifier mon smbconf mais rien ne sort directement vers 
l'imprimante !!

Merci de votre aide

Je joins a ce mail un copy de mon fichier smbonf si ca peux aider !

---------------------------------------------smb.conf

# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not many any basic syntactic errors.
#
#======================= Global Settings 
=====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
    workgroup = home
    netbios name = platinum

# server string is the equivalent of the NT Description field
    server string = Samba Server %v

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
;   hosts allow = 192.168.1. 192.168.2. 127.

;   client code page = 850
;   character set = ISO8859-1


# CHANGES TO ENABLE PRINTING ON ALL CUPS PRINTERS IN THE NETWORK
# (as cups is now used in linux-mandrake 7.2 by default)
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
    printcap name = /etc/printcap #lpstat
    load printers = yes

    printing = cups


;  guest account = pcguest

    log file = /var/log/samba/log.%m


    max log size = 50

    security = user

;   password server = <NT-Server-Name>

   password level =  4
;  username level = 8

   encrypt passwords = yes
;  smb passwd file = /etc/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*


;  username map = /etc/smbusers

;   include = /etc/smb.conf.%m

    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

;   interfaces = 192.168.12.2/24 192.168.13.2/24


    local master = yes

    os level = 64

    domain master = yes

    preferred master = yes
    browsable = yes
    writable = yes
    locking = no

;   domain controller = <NT-Domain-Controller-SMBName>

    domain logons = yes

    logon script = logon.bat

;   logon script = %U.bat

;   logon path = \\%L\Profiles\%U

; name resolve order = wins lmhosts bcast

;   wins support = yes

;   wins server = w.x.y.z

;   wins proxy = yes

    dns proxy = no

# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
;  preserve case = no
;  short preserve case = no
# Default case is normally upper case for all DOS files
;  default case = lower
# Be very careful with case sensitivity - it can break things!
;  case sensitive = no

#============================ Share Definitions 
==============================
[homes]
    comment = Home Directories
    path = %H
    create mode = 0600
    directory mode = 0700
    browsable = no
    writable = yes
    valid users = %S

[public]
   comment = R�pertoire Public
   path = /tmp
   valid users = vincent
   writable = yes

[netlogon]
    comment = Network Logon Service
    path = /home/netlogon
    guest ok = yes
    writable = no
    share modes = no
    public = no
    locking = no


;[Profiles]
;    path = /home/profiles
;    browseable = no
;    guest ok = yes


[printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = yes
# to allow user 'guest account' to print.
    guest ok = yes
    writable = yes
    printable = yes
    create mode = 0700
    public = yes
# =====================================
# print command: see above for details.
# =====================================
    print command = lpr-cups -P %p -o raw %s -r  # using client side printer 
drivers.
;   print command = lpr-cups -P %p %s # using cups own drivers (use 
generic PostScript on clients).
    lpq command = lpstat -o %p
    lprm command = cancel %p-%j

[Epson]  #Test
        path = /var/spool/public
        writeable = false
        printable = true
        guest ok = true






-- 
################################################
#JAGOT Vincent      /    [EMAIL PROTECTED] #
#  Linux Mandrake 8.0      /      Kernel 2.4.9 #
################################################



Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à