[Samba] Printing problem

Joel Hammer Joel at HammersHome.com
Wed Jan 15 23:18:01 GMT 2003


Well, since one of three can print, it suggests a client configuration
problem. 
What error is being reported?
What do the smb log say?

Joel

On Wed, Jan 15, 2003 at 02:08:34PM -0500, daulton theodore wrote:
> I currently have Samba set up in a test environment. Samba is installed
> and running on a Unix box, Solaris 8. I have one workstation which I use
> to access it. I have created three identical users: User1, User2, User3.
> I have a printer installed on the Unix box. All three users can see the
> shares (including the printer) while browsing the tree. The problem is
> when I login to the workstation as User1 printing works just fine but I
> have no success printing as User2 or User3. Any suggestions on how to
> resolve this? Here's a copy of my smb.conf.
> 
> # Global parameters
> [globals]
>    netbios name  = HYDRA
>    server string = Samba %v on Netbios (%L), DNS hostname (%h)
>    workgroup     = SIMPLE
> 
>    dead time     = 5
>    encrypt passwords = yes
>    passwd chat = "*New Password:*" %n\r "*New password (again):*" %n\r
> "*Password changed*"
>    passwd program = /usr/bin/passwd %u
>    smb passwd file   = /usr/local/samba/private/smbpasswd
> 
>    invalid users = root daemon bin sys adm lp listen sshd\
>                    erl webspirs samba rob jan daulton
>    auto services = user1
>    browsable     = no
>    writeable     = yes
> 
> #  Debug Logging information
>    log level = 3
>    log file = /usr/local/samba/var/log.%m
>    max log size = 100
>    debug timestamp = yes
> 
> 
> #  printing stuff
>    printing      = SYSV
> #   printcap name = lpstat
>    printcap name = /usr/local/samba/lib/printcap
>    load printers = yes
>    use client driver = yes
> 
> 
> # --------------------------------
> # [homes] User Home Directories]
> # [user1] and [user2] commented
> # -------------------------------
> [homes]
> #   comment = "Home Directory for : %U "
>    comment = "%U "
>    path = /files1/%g/%U
>    guest ok = no
>    read only = no
>    create mode = 740
>    writable = yes
>    browseable = yes
> 
> [deptshr]
>    comment = "%g Shared Directory"
>    comment = "%g Shared Directory"
>    path = /files1/%g/common
>    guest ok = yes
>    valid users = @smbuser
>    read only = no
>    create mask = 0770
>    directory mask = 0770
>    writable = yes
>    browseable = yes
> 
> [usrdata]
>    path        = /files1/test
>    browseable  = yes
>    comment     = Data Drive
>    volume      = Sample-Data-Drive
>    writeable   = yes
>    valid users = user1
>    guest ok    = no
> 
> [public]
>    comment = " Common shared directory"
>    path = /files1/usrshare
>    valid users = @smbuser
>    browseable = yes
>    writeable = yes
>    create mode = 0777
>    directory mode = 0777
>    guest ok = yes
> 
> [apps]
>    comment = apps folder
>    path = /files1/apps
>    browseable = yes
>    writeable = no
>    write list = @smbuser
> 
> [printers]
>    comment = "Printers"
>    path = /tmp
>    printable = yes
>    create mask = 0700
>    browseable = yes
>    public = yes
>    guest ok = yes
>    print ok = yes
> #   load printers = yes
> 
> 
> [lasersys]
>    comment = systems laser printer
>    browseable = yes
>    printer = laser_sys
>    create mask = 0700
>    printable = yes
>    guest ok = yes
>    printing = SYSV
>    print command = /bin/lp -c -d%p %s; rm %s
> #   print command = /bin/lp -c -dlaser_sys %s; rm %s
>    path = /tmp
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list