Age | Commit message (Collapse) | Author | Files | Lines |
|
Some reformatting.
(This used to be commit d6dd7c7b14a4e3be4d7d435b6ac6bb8189070ff7)
|
|
this:
More code cleanup - this lot a bit more dodgy than the last:
The aim is to trim pwd_cache down to size. Its overly complex, and a
pain to deal with. With a header comment like this:
'obfusticaion is planned'
I think it deserved to die (at least partly).
This was being done to allow 'cli_establish_connection' to die - its
functionality has been replaced by cli_full_connection(), which does
not duplicate code everywhere for creating names etc.
This also removes the little 'init' fucntions for the various pipes,
becouse they were only used in one place, and even then it was dodgy.
(I've reworked smbcacls not to use anonymous connections any more, as
this will (should) fail with a 'restrict anonymous' PDC).
This allowed me to remove cli_pipe_util.c, which was calling
cli_establish_connection.
tpot: I'm not sure what direction you were going with the client stuff,
and you may well have been wanting the init functions. If thats the case,
give me a yell and I'll reimplement them against cli_full_connection.
Andrew Bartlett
(This used to be commit fa67e4626bed623333c571e76e06ccd52cba5cc5)
|
|
<mimir@diament.ists.pwr.wroc.pl>) this patch allows samba to correctly
enumerate its trusted domains - by exaimining the keys in the secrets.tdb file.
This patch has been tested with both NT4 and rpcclient/wbinfo, and adds
some extra functionality to talloc and rpc_parse to allow it to deal with
already unicode strings.
Finally, this cleans up some const warnings that were in net_rpc.c by pushing
another dash of const into the rpc client code.
Andrew Bartlett
(This used to be commit 0bdd94cb992b40942aaf2e5e0efd2868b4686296)
|
|
POLICY_HND structure when passing new handles back from the appropriate
cli_* functions. When closing the policy handle free the memory.
Insure (and indeed other memory checkers) should detect handles that have
not been closed properly as memory leaks. Unfortunately this can only be
done when the program terminates (set insure++.summarize leaks in your
.psrc file) rather than when the policy handle falls out of scope.
Looks like Jeremy has squished all the policy handle leaks at the moment
but more are bound to crop up later.
(This used to be commit 6dc80d625752f0a3ce6fd7b2278095529c6ec29f)
|
|
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
|
|
(This used to be commit d4bc8f02f7dc856ffb29e95a81ffcc3a9d4b1695)
|
|
(This used to be commit e1b940c91b748230664544fd9191123247dd1f24)
|
|
and some comments to the samr server code, to explain what we should
return here.
J.F.
(This used to be commit 06cb20a46d9d9f8abf0d92ba4cfa4d23187ad715)
|
|
J.F.
(This used to be commit d8809c58614cd97ef78d398645788e41022a8c39)
|
|
the client code still needs some work
(This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
|
|
(This used to be commit 9e69f59d6c4ec4e0474c594ada3a05ecc2bc806b)
|
|
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
|
|
(This used to be commit 04d978258ba2fea702232c815e140ab12364e8e7)
|
|
entry.
(This used to be commit 12e44e40298b5469f6f1fea3495cfa023305411d)
|
|
rids as this seems to crash LSASS.EXE more often than not.
(This used to be commit 375636b7630d117da5a57b51e11929c3a38646df)
|
|
(This used to be commit 2162454d9ea5a07892d0b5d7fc5abe7251b4fa98)
|
|
Added cli_samr_lookup_names()
Removed redundant argument to cli_samr_connect()
(This used to be commit 79710a3ab394dc024b3ccfccfb45fb6a906c3499)
|
|
Added cli_ functions for set userinfo and userinfo2.
(This used to be commit 6c9796286c489a79c96d28b081ecf151803dbf7c)
|
|
(This used to be commit a92a0d061bd322b9d3a1fe13c6ce2d2e1f070ef7)
|
|
(This used to be commit 3b4b5b3c61bb1fe1db15306219f24036bf342e2d)
|
|
Added lookup_rids() function.
(This used to be commit 9ff3c82a54a18d0d9f187c119656e58316c7eb0e)
|
|
Cleanup of exit paths.
Added query domain info and query display info.
(This used to be commit ff9e222e2ff3f50f4966d3c5859738a831c7adc9)
|
|
(This used to be commit 0b3bc4375b8984fc16c8972d2b62762c1657f675)
|
|
(This used to be commit 5a3b7d8b1302fd11321c4a65161de169b41f5d9e)
|
|
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)
|
|
should now be ready for the trivial winbindd port..... (Tim ? :-).
Jeremy.
(This used to be commit 85021b16388e8efc15ac57bf1a7c01bba552bf41)
|
|
RPC code to merge with new passdb code.
Currently rpcclient doesn't compile. I'm working on it...
Jeremy.
(This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
|
|
Jeremy.
(This used to be commit 7a8a7a24d4c328d26d34c3b3ac28af39e6acd32c)
|
|
Added #define/#undef NEW_NTDOMAIN symbols.
(This used to be commit 13e4fd1d84ab1150446530b11c47c4d6617014cb)
|
|
cli_samr_open_{domain,user}() and cli_samr_query_userinfo()
(This used to be commit 385860107346de26b4bcbd33d5f131a0670f6f93)
|