s4 and duplicate published printers

Sergey Urushkin urushkin at telros.ru
Tue May 14 02:51:24 MDT 2013


Hi.
We have a problem about printer publishing with our samba4 DC
installation. The problem is duplicate published printers.
How to reproduce:
1. Install any printer (Generic LPT) on windows (XP/2k3/7/2k8) machine
joined to domain.
2. Share it.
3. Publish it in AD, check it's published via ADUC.
4. Restart spooler service (or whole machine) and wait for a few minutes.
5. In ADUC you'll see another copy of published printer with a random
name. If new printer object didn't appear, repeat steps 4, 5 again.
Sometimes you'll need 2-3 tries.

Using this method many copies of printer object can be created.
If you try to unpublish printer, you'll find that the last copy only
will be removed from the directory.
Here is the traffic dump after restarting spooler service (LDAP only).
There is original "PRINTNEW-test" printer object, and created copy
"PRI0037550185".
Any ideas why this happens?

# samba --version
Version 4.0.5

-- 
Best regards,
Sergey Urushkin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dupprint.pcapng
Type: application/octet-stream
Size: 17236 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130514/81d15243/attachment.obj>


More information about the samba-technical mailing list