samba-tool: dns: Add extra references for string objects as workaround
authorAmitay Isaacs <amitay@gmail.com>
Wed, 15 Feb 2012 09:45:48 +0000 (20:45 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 21 Feb 2012 07:24:30 +0000 (18:24 +1100)
commitb45d6a6d690b20e348336b9d5db678f3e574ad62
tree438e7bbaa72f22de4de1245e078feadd59a045c1
parenta8a6b27e06b97edb70f171cd881f0dd24c82b92e
samba-tool: dns: Add extra references for string objects as workaround

This is a workaround for bug in pidl generated python bindings, where
C object hold a pointer to python string without increasing reference
count in python. So when the python string goes out of scope, the
C pointer loses the value.
source4/scripting/python/samba/netcmd/dns.py