Mailinglist Archive: opensuse (2217 mails)

< Previous Next >
[opensuse] printer sharing with samba
  • From: Ron Eggler <ron@xxxxxxxxx>
  • Date: Mon, 17 Sep 2007 19:28:32 -0700
  • Message-id: <200709171928.32439.ron@xxxxxxxxx>
Hi,

I've setup a printer and would like to share it with samba on my network so i 
can print from my clients, smbclient is saying following:
reg@desktop-reg:~> smbclient -U% -L server
Domain=[TUX-NET] OS=[Unix] Server=[Samba 3.0.22-13.32-1354-SUSE-CODE10]

        Sharename       Type      Comment
        ---------       ----      -------
        media           Disk      Media Share
        data            Disk      Data Share
        IPC$            IPC       IPC Service (Samba 
3.0.22-13.32-1354-SUSE-CODE10)
        ADMIN$          IPC       IPC Service (Samba 
3.0.22-13.32-1354-SUSE-CODE10)
        Deskjet_D4200   Printer
Domain=[TUX-NET] OS=[Unix] Server=[Samba 3.0.22-13.32-1354-SUSE-CODE10]

        Server               Comment
        ---------            -------
        DESKTOP-REG          Samba 3.0.23d-19.7-1354-SUSE-SL10.2
        SERVER               Samba 3.0.22-13.32-1354-SUSE-CODE10

        Workgroup            Master
        ---------            -------
        TUX-NET              DESKTOP-REG
reg@desktop-reg:~>
But if I wanna add it by Yast I get: "NT_STATUS_BAD_NETWORK_NAME" and in 
Windows i get: Access dinied, unable to connect. So i guess it would be a 
user access problem. The global and printer section in my smb.conf looks 
like:
[global]
workgroup = TUX-NET
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd  -c
Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = No
domain master = No
security = user
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = yes
   guest ok = yes
   writable = no
   printable = yes
i wanna say that i have two directoties shared and they're working just fine 
to access with cifs and Windows.

Thanks for any help there!
-- 
chEErs Ron
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups