1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

181 Commits

Author SHA1 Message Date
Günther Deschner
39f8508f5d Use pidl for _lsa_RemoveAccountRights.
Guenther
2008-02-14 15:22:33 +01:00
Günther Deschner
cb6a84712c Use pidl for _lsa_EnumAccountRights().
Guenther
2008-02-14 15:02:31 +01:00
Günther Deschner
253cf15238 Use pidl for _lsa_AddAccountRights().
Guenther
2008-02-14 14:40:26 +01:00
Günther Deschner
0c9904864b Use pidl for _lsa_AddPrivilegesToAccount and _lsa_RemovePrivilegesFromAccount.
Guenther
2008-02-14 13:53:28 +01:00
Günther Deschner
87dc2471d1 Use pidl for _lsa_LookupPrivValue().
Guenther
2008-02-14 13:53:27 +01:00
Günther Deschner
a33ed08509 Remove white space.
Guenther
2008-02-14 13:12:28 +01:00
Günther Deschner
d7655932a7 Use pidl for _lsa_EnumPrivsAccount().
Guenther
2008-02-14 01:55:33 +01:00
Günther Deschner
4e3357ac3a Fix typo.
Guenther
2008-02-14 01:54:15 +01:00
Günther Deschner
07e5138ad9 Use pidl for _lsa_EnumAccounts.
Guenther
2008-02-14 01:19:25 +01:00
Günther Deschner
1f45079907 Use pidl for _lsa_EnumTrustDom()
Guenther
2008-02-13 00:29:20 +01:00
Günther Deschner
f4581e9f44 Collect all init_lsa_string varients in one place.
Guenther
2008-02-12 22:05:39 +01:00
Günther Deschner
b24cf05dca Use pidl for _lsa_GetUserName().
Guenther
2008-02-11 20:49:43 +01:00
Günther Deschner
c866403201 Use pidl for _lsa_LookupPrivDisplayName().
Guenther
2008-02-11 19:16:04 +01:00
Günther Deschner
6294400731 Use pidl for _lsa_EnumPrivs().
Guenther
2008-02-11 10:49:21 +01:00
Günther Deschner
ac1e4f1eb2 Testing revealed some errors, reverting some of the lsa changes.
Guenther
2008-02-09 02:05:39 +01:00
Günther Deschner
aaf662a724 Use pidl for _lsa_GetSystemAccessAccount().
Guenther
2008-02-08 22:54:36 +01:00
Günther Deschner
478612b79d Use pidl for _lsa_SetSystemAccessAccount().
Guenther
2008-02-08 22:51:57 +01:00
Günther Deschner
e1968880a8 Use pidl for _lsa_OpenAccount().
Guenther
2008-02-08 22:44:18 +01:00
Günther Deschner
d71f56a293 Use pidl for _lsa_CreateAccount().
Guenther
2008-02-08 22:38:34 +01:00
Günther Deschner
0fac016d9d Remove unused marshalling for LSA_QUERY_INFO2.
Guenther
2008-02-08 10:16:08 +01:00
Günther Deschner
1b931e9145 Use pidl for _lsa_QueryInfoPolicy().
Guenther
2008-02-08 10:02:51 +01:00
Günther Deschner
81e2e3a288 Use pidl for (dummy) _lsa_DeleteObject().
Guenther
2008-02-04 22:12:41 +01:00
Günther Deschner
6b2f205844 Use pidl for _lsa_QuerySecurity().
Guenther
2008-02-04 22:12:40 +01:00
Günther Deschner
fc29364abe Use pidl for _lsa_OpenPolicy2().
Guenther
2008-02-04 22:12:40 +01:00
Günther Deschner
b6b226e636 Use pidl for _lsa_OpenPolicy().
Guenther
2008-02-04 22:12:40 +01:00
Günther Deschner
d9c8a2271d Merge lsarpc.idl from samba4 and rerun make idl.
Guenther
2008-01-16 16:32:12 +01:00
Volker Lendecke
5c392c4c6e Some C++ fixes 2007-12-21 09:58:21 +01:00
Michael Adam
f7efc0eca9 Fix for bug #4801: Correctly implement lsa lookup levels for lookupnames.
This patch is still incomplete in that winbindd does not walk
the the trusted domains to lookup unqualified names here.
Apart from that this fix should be pretty much complete.

Michael
2007-12-17 13:06:13 +01:00
Volker Lendecke
eb523ba776 s/sid_to_string/sid_to_fstring/
least surprise for callers
2007-12-15 22:47:30 +01:00
Volker Lendecke
c7c885078b Replace sid_string_static with sid_to_string
This adds 28 fstrings on the stack, but I think an fstring on the stack is
still far better than a static one.
2007-12-15 22:09:37 +01:00
Volker Lendecke
bb35e794ec Replace sid_string_static by sid_string_dbg in DEBUGs 2007-12-15 22:09:36 +01:00
Stefan Metzmacher
cccb80b7b7 Revert "Fix for bug #4801: Correctly implement lsa lookup levels for lookupnames."
As it breaks all tests which try to join a new machine account.
So more testing is needed...

metze

This reverts commit dd320c0924ce393a89b1cab020fd5cffc5b80380.
2007-12-14 08:28:10 +01:00
Michael Adam
dd320c0924 Fix for bug #4801: Correctly implement lsa lookup levels for lookupnames.
This is a first patch aimed at fixing bug #4801.
It is still incomplete in that winbindd does not walk
the the trusted domains to lookup unqualified names here.
Apart from that this fix should be pretty much complete.

Michael
2007-12-13 10:15:13 +01:00
Jeremy Allison
ab8934844a Fix case where we have no dns domain name. Return a talloc of "".
Jeremy.
2007-11-08 17:58:55 -08:00
Jeremy Allison
2a0173743d Remove more fstring/pstring bad useage. Go talloc !
Jeremy.
2007-11-08 17:25:45 -08:00
Volker Lendecke
15935bad1d r17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous login.
Found that because I want to play around with setsharesecurity, for this I
need the "whoami" call figuring out the SID of the currently connected user.

Not activating this test yet until the build farm has picked up the new samba4
revision.

Volker
(cherry picked from commit 5cfe482841b77208b68376f9e2b8a4a62271f7c9)
2007-10-17 13:38:44 +02:00
Gerald (Jerry) Carter
5c6c8e1fe9 [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch. 2007-10-10 15:34:30 -05:00
Volker Lendecke
0141e64ad4 r25534: Apply some const
Why? It moves these structs from the data into the text segment, so they
will never been copy-on-write copied. Not much, but as in German you say
"Kleinvieh macht auch Mist...."
2007-10-10 12:31:12 -05:00
Volker Lendecke
59b4914df3 r24165: Fix Coverity ID 369.
This was not really a bug I think, but this change cleans up the code a
bit.
2007-10-10 12:29:17 -05:00
Andrew Tridgell
87c91e4362 r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 12:28:27 -05:00
Jeremy Allison
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
Jeremy Allison
02fd434902 r23402: Got bitten by a talloc hierarchy. Make sure we alloc
off the pipe ctx now ->names is part of the containing
struct.
Jeremy.
2007-10-10 12:23:13 -05:00
Jeremy Allison
9300b92f7a r23400: Fix lsa crash bug #4683. The "names" enum struct
in a lookup_sidX reply isn't optional - like the
lookup_sidX query it needs to be defined in the
struct.
All this will go away with PIDL (thank goodness....).
Jerry - I think this is a showstopper to be merged
for 3.0.25b.
I'll be watching the build farm to see if anything broke.
Jeremy.
2007-10-10 12:23:13 -05:00
Jeremy Allison
80d981265c r22675: Simo's patch for 0 size allocation. Still need
to examine parse_misc.c fix.
Jeremy.
2007-10-10 12:19:54 -05:00
Jeremy Allison
c3df5d08dd r22587: Ensure TALLOC_ZERO_ARRAY is consistent.
Jeremy.
2007-10-10 12:19:47 -05:00
Jeremy Allison
8af56dbd00 r22573: Fix old bug mixing free() and talloc_free()
when the add_sid_to_array_XX code was moved
from malloc to talloc. Found running valgrind
and rpcclient. Needs merging for 3.0.25 final.
Jeremy.
2007-10-10 12:19:45 -05:00
Jelmer Vernooij
0596badb41 r20875: Pass DCE/RPC server call arguments as a struct rather than as separate arguments.
This makes it a bit more similar to the Samba4 code.
2007-10-10 12:17:16 -05:00
Volker Lendecke
3c879745cf r20824: Send access to the trusted domain passwords through the pdb backend, so that
in the next step we can store them in LDAP to be replicated across DCs.

Thanks to Michael Adam <ma@sernet.de>

Volker
2007-10-10 12:17:10 -05:00
Volker Lendecke
99e54a213a r19224: Add setting the rng_fault_state to the already converted pipes.
Convert the low-hanging fruit of the LSA server. This provides a sample how
the server calls can be converted one by one, see the "proxy_lsa_call"
function.

Volker
2007-10-10 12:15:23 -05:00
Günther Deschner
41c79ee5ac r18680: Fix last struct uuids (in uncommented code).
Guenther
2007-10-10 12:00:47 -05:00