[Samba] Prepopulate *all* users to a samba4 RODC

Michael Brown michael at netdirect.ca
Tue Nov 19 15:17:30 MST 2013


Ack, I'm having trouble replicating *one*:

sles-shire:/home/michael # samba-tool rodc preload 'WIN7-SHIRE$' 
--server main.adlab.netdirect.ca
Replicating DN 
CN=WIN7-SHIRE,CN=Computers,DC=main,DC=adlab,DC=netdirect,DC=ca
ERROR(<type 'exceptions.TypeError'>): uncaught exception - __init__() 
takes exactly 6 arguments (5 given)
   File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", 
line 175, in _run
     return self.run(*args, **kwargs)
   File "/usr/lib64/python2.6/site-packages/samba/netcmd/rodc.py", line 
94, in run
     repl = drs_Replicate("ncacn_ip_tcp:%s[seal,print]" % server, lp, 
creds, local_samdb)
A transaction is still active in ldb context [0xd614f0] on 
tdb:///var/lib/samba/private/sam.ldb

sles-shire:/home/michael # samba-tool rodc preload 'michael' --server 
main.adlab.netdirect.ca
Replicating DN CN=Michael 
Brown,OU=Main,OU=Offices,DC=main,DC=adlab,DC=netdirect,DC=ca
ERROR(<type 'exceptions.TypeError'>): uncaught exception - __init__() 
takes exactly 6 arguments (5 given)
   File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", 
line 175, in _run
     return self.run(*args, **kwargs)
   File "/usr/lib64/python2.6/site-packages/samba/netcmd/rodc.py", line 
94, in run
     repl = drs_Replicate("ncacn_ip_tcp:%s[seal,print]" % server, lp, 
creds, local_samdb)
A transaction is still active in ldb context [0xd614f0] on 
tdb:///var/lib/samba/private/sam.ldb

Any ideas?

M.

-- 
Michael Brown               | `One of the main causes of the fall of
Systems Consultant          | the Roman Empire was that, lacking zero,
Net Direct Inc.             | they had no way to indicate successful
☎: +1 519 883 1172 x5106    | termination of their C programs.' - Firth



More information about the samba mailing list