[Samba] (no subject)

Petr Bartel cyber at irix-servis.cz
Tue Jul 19 06:54:30 GMT 2005


Good day good people,
I have troubble with printing. I have samba 3.0.14a-Debian, on Debian
Stable Sarge.
There is my smb.conf
# Global parameters
[global]
        dos charset = CP852
        unix charset = ISO8859-2
        workgroup = IRIXAS
        server string = Samba Irix a.s.
        null passwords = Yes
        obey pam restrictions = Yes
        pam password change = Yes
        passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
        password level = 8
        username level = 8
        log level = 3
        log file = /var/log/samba/%m.log
        max log size = 10240
        name resolve order = wins hosts bcast lmhosts
        time server = Yes
        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=16384
SO_SNDBUF=16384
        printcap name = cups
        add machine script = /usr/sbin/useradd -d /dev/null -g 1002 -s
/bin/false %u
        logon path = \\%L\Profiles\%U
        domain logons = Yes
        os level = 255
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        lock directory = /var/cache/samba
        invalid users = daemon, bin, sys, sync, games, man, lp, mail,
news, uucp, proxy, postgres, www-data, backup, operator, list,
irc, gnats, sshd
        guest ok = Yes
        hosts allow = 192.168.99., 127.
        max connections = 20
        printing = cups
        print command =
        lpq command = %p
        lprm command =
        hide unreadable = Yes
        delete veto files = Yes
        veto files = /.*/
        preexec = /bin/echo %u at %m connected to //%L/%S on %T
>>/var/log/samba/samba_connected
        wide links = No
        dont descend = prace
        dos filetime resolution = Yes
        fake directory create times = Yes

[homes]
        comment = Domovske adresare
        valid users = %S
        read only = No
        create mask = 0664
        directory mask = 0775
        browseable = No

[netlogon]
        comment = Sitova sluzba prihlasovani
        path = /usr/local/samba/netlogon
        browseable = No
        share modes = No

[Profiles]
        comment = Cestovni profily uzivatelu
        path = /usr/local/samba/profiles
        read only = No
        create mask = 0600
        directory mask = 0700
        browseable = No

[printers]
        comment = Vsechny tiskarny
        path = /var/spool/samba
        printer admin = @ntadmin, root, cyber
        printable = Yes
        print command = lpr -P %p -o raw %s -r
        lpq command = lpstat -o %p
        lprm command = cancel %p-%j
        browseable = No

[print$]
        comment = Ovladace pro mistni tiskarny
        path = /usr/local/samba/print
        write list = @ntadmin, root, cyber

and many more shares sections

My printer is Lexmark Optra S 1855 and drivers are upload from windows by
pinter wizard.

/usr/local/samba/print/
|-- W32X86
|   |-- 2
|   `-- 3
|       |-- LMPCLRES.DLL
|       |-- LXOS1855.GPD
|       |-- STDNAMES.GPD
|       |-- TTFSUB.GPD
|       |-- UNIDRV.DLL
|       |-- UNIDRV.HLP
|       |-- UNIDRVUI.DLL
|       `-- UNIRES.DLL
`-- WIN40
    `-- 0

Client stations is mostly Windows XP SP2 and HERE IS A PROBLEM. I can
install printer from samba with drivers, but if I want print I waiting
about  20 or more seconds or Windows goes freeze.

Where have I a error or mistake ?

thx a lot
     Petr Bartel

-- 
Linux administrator



More information about the samba mailing list