Dario Lesca
2015-Oct-06 13:10 UTC
[Samba] After update from 3.5.x to 3.6.23 all printers configured in CUPS they are no longer shared
After update my PDC server from Centos 5.5 to 5.11 and then samba 3.5 to 3.6.22 all work fine, except printers: all CUPS printers shared are not visible and usable from clients. If I put manually each printer (like suggest here[1]) into smb.conf, all printers manually added are visible and usable (this is my workaround for now). In smb.conf I have set: load printers = yes printcap name = /etc/printcap and I have this printers section: [printers] comment = All Printers path = /var/spool/samba printable = Yes print ok = Yes browseable = No and:> # ls -ld /var/spool/samba > drwxrwxrwt 2 root root 4096 6 ott 15:01 /var/spool/sambaSomeone have some suggest? or I must put all printers into smb.conf? Many thanks [1] - https://wiki.samba.org/index.php/Setup_a_Samba_print_server -- Dario Lesca (inviato dal mio Linux Fedora 22 con Gnome 3.16)
Rowland Penny
2015-Oct-06 14:14 UTC
[Samba] After update from 3.5.x to 3.6.23 all printers configured in CUPS they are no longer shared
On 06/10/15 14:10, Dario Lesca wrote:> After update my PDC server from Centos 5.5 to 5.11 and then samba 3.5 > to 3.6.22 all work fine, except printers: all CUPS printers shared are > not visible and usable from clients. > > If I put manually each printer (like suggest here[1]) into smb.conf, > all printers manually added are visible and usable (this is my > workaround for now). > > In smb.conf I have set: > > load printers = yes > printcap name = /etc/printcap > > and I have this printers section: > > [printers] > comment = All Printers > path = /var/spool/samba > printable = Yes > print ok = Yes > browseable = No > and: >> # ls -ld /var/spool/samba >> drwxrwxrwt 2 root root 4096 6 ott 15:01 /var/spool/samba > Someone have some suggest? or I must put all printers into smb.conf? > > Many thanks > > [1] - https://wiki.samba.org/index.php/Setup_a_Samba_print_serverWould you care to share your very secret smb.conf file ? Rowland
Dario Lesca
2015-Oct-06 15:00 UTC
[Samba] After update from 3.5.x to 3.6.23 all printers configured in CUPS they are no longer shared
Il giorno mar, 06/10/2015 alle 15.14 +0100, Rowland Penny ha scritto:> Would you care to share your very secret smb.conf file ? > > Rowland[global] workgroup = DOM netbios aliases = s-software, s-print server string = %L interfaces = lo, eth0 passdb backend = tdbsam:/etc/samba/account.tdb log file = /var/log/samba/log.%m max log size = 50 smb ports = 139 unix extensions = No printcap name = /etc/printcap add user script = /usr/sbin/useradd -m -c "Utente Samba (%u)" -g smbusers -d "/u/samba/home/%u" -s /sbin/nologin "%u" delete user script = test 0$(id -u "%u" 2>/dev/null) -gt 100 && /usr/sbin/userdel "%u" add group script = /usr/sbin/groupadd "%g" delete group script = test 0$(id -g "%g" 2>/dev/null) -gt 100 && /usr/sbin/groupdel "%g" add user to group script = /usr/bin/gpasswd -a "%u" "%g" delete user from group script = /usr/bin/gpasswd -d "%u" "%g" set primary group script = /usr/sbin/usermod -g "%g" "%u" add machine script = /usr/sbin/useradd -M -c "Computer di dominio (%u)" -g smbhosts -d /tmp/smbpc -s /sbin/nologin "%u" logon script = netlogon.bat logon path = logon drive = X: logon home = \\%L\%U domain logons = Yes os level = 83 preferred master = Yes domain master = Yes wins support = Yes utmp directory = /var/log/samba/utmp wtmp directory = /var/log/samba/wtmp utmp = Yes winbind enum users = Yes winbind enum groups = Yes winbind use default domain = Yes winbind trusted domains only = Yes idmap config * : range = 16777216-33554431 idmap config * : backend = tdb map archive = No map readonly = no store dos attributes = Yes wide links = Yes [homes] comment = Home Directories read only = No browseable = No [netlogon] comment = Network Logon Service path = /u/samba/netlogon write list = @admins guest ok = Yes [profiles] path = /u/samba/profiles read only = No create mask = 0600 directory mask = 0700 guest ok = Yes browseable = No [pubblica] comment = Cartella Pubblica x tutti path = /u/samba/pubblica read only = No force create mode = 0664 force directory mode = 0775 guest ok = Yes [documenti] comment = Cartella Documenti x tutti path = /u/samba/documenti read only = No guest ok = Yes vfs objects = recycle recycle:exclude = *.TMP,*.tmp,*.temp,*.o,*.obj,~$* recycle:versions = yes recycle:keeptree = yes recycle:maxsize = 10000000 recycle:touch = yes recycle:repository = /u/samba/cestino/%U [cestino] comment = Cestino Personale path = /u/samba/cestino/%U read only = No guest ok = Yes [printers] comment = All Printers path = /var/spool/samba printable = Yes print ok = Yes browseable = No [aficio-fx200] path = /var/spool/samba/ printable = Yes print ok = Yes printer name = aficio-fx200 [aficio-mp161] path = /var/spool/samba/ printable = Yes print ok = Yes printer name = aficio-mp161 -- Dario Lesca (inviato dal mio Linux Fedora 22 con Gnome 3.16)
Maybe Matching Threads
- After update from 3.5.x to 3.6.23 all printers configured in CUPS they are no longer shared
- After update from 3.5.x to 3.6.23 all printers configured in CUPS they are no longer shared
- After update from 3.5.x to 3.6.23 all printers configured in CUPS they are no longer shared
- problems setting a public share
- vfs_recycle permission bug?!