Samba4 patch for manipulating Unix attributes via ADUC

Gémes Géza geza at
Sat Jul 14 04:54:59 MDT 2012

2012-07-14 12:10 keltezéssel, Andrew Bartlett írta:
> On Sat, 2012-07-14 at 09:35 +0200, Gémes Géza wrote:
>> Hi,
>> Unfortunately you lose. It is running without problem, except the
>> ldb=samDB line and below (which is part of a function called for every
>> user to be migrated). The only (seems to be a red herring) error message
>> is at the beginning of the execution: no talloc stackframe around,
>> leaking memory
>> and valgrind reports lots of memory leaks in (seems to be) unrelated
>> functions, but tested with a pristine and the situation seems
>> to be the same.
> Perhaps at this point send me the patch and I'll see what I can do to
> help out.
> Andrew Bartlett

I think I've got closer in the meantime:

Trying to execute the functions line by line, I've discovered a strange 
behavior: has:

from samba.samdb import SamDB

in (run from samba-tool)


generates global name 'SamDB' is not defined

so I'll try including it in as well.

Will report back soon



More information about the samba-technical mailing list