search for: ntprinter

Displaying 20 results from an estimated 106 matches for "ntprinter".

Did you mean: ntprinters
2007 Dec 06
2
How to repair corrupt ntprinters.tdb?
Hi, we are using samba 3.0.24 as a printspooler for 80 network printers with a 500kB ntprinters.tdb for some years now. When we recently restarted samba we noticed that the ntprinters.tdb automatically shrinked to 24kB and printing was no longer possible. tdbdump of the original tdb-file is impossible too: "Failed to open ntprinters.tdb" The strange thing about this: we can solv...
2009 Mar 06
2
Corrupted ntprinters.tdb
Hi, we are experiencing periodic problems with our samba/cups setup: It seems like workstations which are locked but where users with the SePrintOperatorPrivilege are logged on destroy the ntprinters.tdb. This always takes place when the logrotate on the sambaserver runs the postrotatescript and restarts cups while the client is doing whatever it has to do. /var/log/messages says: > tail -n 5000 /var/log/messages.1 | grep -i cups > > Mar 1 04:06:09 XSVA001 cups: cupsd shutdown...
2013 Nov 02
1
Administering samba locally without opening root to the net?
...uth. Another example is pdbedit tool which accesses local passdb.tdb file directly as long as user running this command has the necessary permissions. What I'm trying to find is a password-less equivalent of net rpc rights net rpc printer and a few others. Also, previously samba used ntprinters.tdb and ntdrivers.tdb with quite simple structure. So it was possible to install a printer to samba server from a windows box, dump the newly created entries from ntprinters.tdb and insert similar entries (by changing printer name and a few other similar things) to ntprinters.tdb on another samba...
2007 Aug 23
0
Problems with print driver information stored in ntprinters.tdb
....9). We do not make use of server side print drivers, the reason for this is below. We therefore install drivers manually on our client systems. The issue that has arisen lately is that when a printer is added to a client workstation, Samba somehow picks up the name of the driver and stores this in ntprinters.tdb. Then on the next client when we go to add the same printer the client workstation picks up this driver name and refuses to allow any other driver to be chosen (say PCL vs. PS). After proceeding with the printer install and checking the ports tab in printer properties instead of listing all of...
2007 Apr 11
1
ntprinters.tdb and ntdrivers.tdb
Hello, I am trying to migrate a samba printing server (with cups). (3.0.10fc3) by renaming it localhost=drlinux=the test machine newscribe=the production machine I did the following operations : 1/ Install a basic samba and cups 2/ copy all the configuration files and other from our running samba to our test server (including all tdb files ..) 3/ Adding the new server to the domain net rpc join
2006 Feb 16
2
edited tdb... restart samba?
I had to remove reference to some printer drivers via tdbtool on ntdrivers.tdb. 1. Do I need to restart smbd and nmbd to make these changes take effect? 2. If I restart smbd and nmbd will connected users get disconnected?
2007 Nov 07
2
tdb search optimization
...running: # smbd -V Version 3.0.24-2.28-1354-SUSE-CODE10 In a 600 print queues print server, but I'm experiencing a low performance while using the first queue. I was attaching ltrace/strace to some processes with "use mmap=no" and I found a BIG difference in information gathering in ntprinters.tdb between the first and the last print queue (using alphabetical sorting). This is the difference between the two strace outputs while clicking in printer properties option: -rw-r--r-- 1 root root 261K Nov 7 16:59 strace_first_printer.txt -rw-r--r-- 1 root root 9.1M Nov 7 17:00 strace_last_pr...
2006 Dec 13
0
config of failover machine backing multiple samba print servers
...multiple virtual servers. We would enable them selectively (upon real server failure). We want the possibility of having more than one of them enabled at the same time (in case of a specially bad day). However, we found no joy in our attempts. Impersonating a print server requires replicating the ntprinters.tdb (and possibly other .tdb files). The problem for us is that, in a Samba instance, just one ntprinters.tdb is queried, not possible to keep a separate one for each virtual server. I'm not sure if adding the content of all the ntprinters.tdb keys in a single ntprinters.tdb would work (and do...
2010 Nov 29
1
How to backup/restore printer settings?
Hello All, We have a problem with our samba-based print server (a redhat EL machine, running samba 3.2.8) occasionally getting corrupt ntprinters.tdb files. To combat it, I've been keeping nightly backups of the file, and restoring the latest whenever it crashes. This _almost_ works. When I restore the file, some of the printer settings - such as which driver it is using - seem to restore fine. But some others - such as Printer Stat...
2005 Feb 03
4
Removing printer drivers?
I have installed windows printer drivers and it worked but now I need to remove several. I have tried everything I can find but nothing will get rid of them. Using "remove" from a winxp machine in "server properties" won't work. It claims they are in use. I'm not sure what "in use" means. Nothing is printing and the drivers should be local. I've
2004 May 09
3
Suddenly one printer stops to print
Dear *Fabien Chevalier*, I found your message in http://lists.samba.org/archive/samba/2004-February/080990.html I got in the similar problem. Have you solved the problem ? If so, please let me know the solution. Thanks and Best Regards, Tomoo Nomura -- ****** Nomura Technical Management Office Ltd. ***************** Tomoo Nomura nomura@tmo.co.jp http://www.tmo.co.jp/ Phone:
2013 Apr 29
3
[Announce] Samba 3.6.14 Available for Download
...or the available codepages. The mostly used one is Windows Latin1 which is CP1252. We've extended the 'net printing dump' and 'net printing migrate' commands to define the encoding of the tdb. So you can correctly view the tdb with: net printing dump encoding=CP1252 /path/to/ntprinters.tdb or migrate it with e.g.: net printing migrate encoding=CP1252 /path/to/ntprinters.tdb If you migrate printers we suggest you do it in the following order. ntforms.tdb ntdrivers.tdb ntprinting.tdb Don't forget to rename, move or delete these files in /var/lib/samba after the migratio...
2013 Apr 29
3
[Announce] Samba 3.6.14 Available for Download
...or the available codepages. The mostly used one is Windows Latin1 which is CP1252. We've extended the 'net printing dump' and 'net printing migrate' commands to define the encoding of the tdb. So you can correctly view the tdb with: net printing dump encoding=CP1252 /path/to/ntprinters.tdb or migrate it with e.g.: net printing migrate encoding=CP1252 /path/to/ntprinters.tdb If you migrate printers we suggest you do it in the following order. ntforms.tdb ntdrivers.tdb ntprinting.tdb Don't forget to rename, move or delete these files in /var/lib/samba after the migratio...
2008 Apr 04
6
PDC migration: printing trouble.
Hi all, we've been moving an old Samba 2.2.x PDC install to a Samba 3.0.28 PDC install. We copied the ntdrivers.tdb and ntprinters.tdb from to old to the new server. After the migration, everything was just fine, except printing seemed to be somewhat slower. As more and more user logged on, the machine got really sluggish and printing took quite long. We figured out we've got bitten by: <http://www.usenet-forums.com...
2008 Jul 23
2
Different "printer preference dialog" between windows and samba
...t has no "print shortcut", and so i can't tweak the "pages per paper" parameter. (see the screenshot attachment) http://www.nabble.com/file/p18583819/HPLaserJetP2105SeriesPCL6-printer-preference.png So, why they are different? How to make them same? Should I re-create the ntprinters.tdb database? Thanks! -- View this message in context: http://www.nabble.com/Different-%22printer-preference-dialog%22-between-windows-and-samba-tp18583819p18583819.html Sent from the Samba - General mailing list archive at Nabble.com.
2002 Nov 23
2
The smbd ran away with the spoon...
...Failed to open byte range locking database [2002/11/22 16:11:26, 0] locking/locking.c:locking_init(328) ERROR: Failed to initialise locking database [2002/11/22 16:18:32, 0] printing/nt_printing.c:nt_printing_init(275) nt_printing_init: Failed to open nt printers database /var/lock/samba/locks/ntprinters.tdb (Too many open files in system) [2002/11/22 16:18:32, 0] printing/nt_printing.c:nt_printing_init(275) nt_printing_init: Failed to open nt printers database /var/lock/samba/locks/ntprinters.tdb (Too many open files in system) [2002/11/22 16:18:32, 0] printing/nt_printing.c:nt_printing_init(27...
2003 Mar 06
1
Adding printer drivers from WinXP
...rs from the server and when I check the driver didn't seem to be in the driver list anymore. Now when I try to re-upload the drivers it give me an error about not being able to save the parameters because there's not enough memory. And in my log I get a bunch of these: tdb(/var/cache/samba/ntprinters.tdb): rec_read bad magic 0xd9fee666 at offset=9260 What can I do about that? Here's my print$ share: [print$] path = /var/lib/samba/printers guest ok = No browseable = No read only = Yes valid users = @users write list = root, jrc Jean-Rene C...
2004 Nov 24
1
upgrading print server from 2.2.8a to 3.0.8 - more info
...e 2.2.8a directory, and when I went to start it up, got > errors about accessing the secrets.tdb. I was able to use tdbdump to > access it and created one in the new format using tdbtool, but then it's > also unable to access other old-format tdb files, most notably ntdrivers > and ntprinters. The only reference I can find to dealing with tdb files > during an upgrade is that samba3 will automatically upgrade old format > tdb files as it needs them, but that doesn't appear to be happenning for > me. I'm hoping to avoid having to reinstall all the drivers and > rea...
2005 Sep 14
1
Printers don't stick
...Sambe 3.0.14a and cups 1.1.23 on a Debian system. I've run: cupsaddsmb -U RALPH\\jgoerzen -a -v Where RALPH is our PDC (and it also the machine I'm running this command on). The entire command *appears* to work, but: * None of the tdb files in /var/lib/samba, including ntforms.tdb, ntprinters.tdb, etc. have their date stamp updated. (They all still show last month, which is when we upgraded to Samba 3). * Whenever we have had to shut down (cleanly) the server and reboot, on reboot, Samba has completely forgotten about all of our printers. I usually have to send SIGHUP t...
2005 Dec 01
0
Replicating printers, drivers, and settings between machines
.../cache/samba/printing/;/usr/bin/tdbbackup *.tdb" # Stop Samba /etc/init.d/samba stop # Make sure it's REALLY dead /usr/bin/killall -9 smbd /usr/bin/killall -9 nmbd /etc/init.d/samba zap # Copy the TDBs for the printer definitions and the individual printers /usr/bin/rm /var/cache/samba/ntprinters.tdb /usr/bin/rm /var/cache/samba/printing/*.tdb /usr/bin/scp -p root@$1:/var/cache/samba/ntprinters.tdb /var/cache/samba/ /usr/bin/scp -p root@$1:/var/cache/samba/printing/*.tdb /var/cache/samba/printing # Restart Samba /etc/init.d/samba start