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

210 Commits

Author SHA1 Message Date
Volker Lendecke
84292022bf Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fn 2009-01-08 22:29:54 +01:00
Volker Lendecke
825500f5da Use TALLOC for struct lsa_info 2009-01-08 22:29:54 +01:00
Günther Deschner
e2fa47a04c s3-lsa: avoid all init_lsa* functions.
Guenther
2009-01-06 16:02:13 +01:00
Volker Lendecke
907f126d3e Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS! 2008-11-24 11:39:03 +01:00
Jeremy Allison
8344e94574 Unify se_access_check with the S4 code. Will make
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier
for files.
Jeremy.
2008-10-31 10:51:45 -07:00
Günther Deschner
992c03a192 s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
9f46669871 s3-build: fix the build.
Guenther
2008-10-21 12:26:58 +02:00
Günther Deschner
b11f3a60fd s3-lsa-server: fix _lsa_GetUserName.
Guenther
2008-10-21 11:39:45 +02:00
Jeremy Allison
7c94c874c4 Unify access checks for lsa server functions.
Jeremy.
2008-10-17 15:24:15 -07:00
Günther Deschner
df7a89adb7 s3: fix s3 lsa server.
Guenther
2008-10-15 19:44:49 +02:00
Jeremy Allison
e5692d4cbe Remove SEC_ACCESS. It's a uint32_t.
Jeremy.
2008-10-09 09:49:03 -07:00
Karolin Seeger
bce33f8b82 Fix typos.
the user have -> has

Karolin
(This used to be commit 1ee2ad1051e6076709ef8ed2f45bebff10b0c3cf)
2008-07-18 15:36:20 +02:00
Volker Lendecke
aa02c3fcd5 Remove p->vuid
The users can use p->server_info.

Now pipes_struct is decoupled from the SMB transport.
(This used to be commit d4cf5a131919530317cd457006b4df5af2c69fa7)
2008-06-26 13:13:23 +02:00
Volker Lendecke
fdcf760d1c Fix bug 5500 -- thanks to mathion at thorrovydeti.com for reporting
(cherry picked from commit 996c3ce6f0dbe79b0679ae30afd873c24fe5b1eb)
(This used to be commit 1f86c7a2a19e66948c9b51572d3c078b6e03ef52)
2008-06-16 13:27:47 +02:00
Volker Lendecke
bec1dfab27 Remove "userdom_struct user" from "struct user_struct"
(This used to be commit 420de035237bb08bc470c9eb820f3da2edaa6805)
2008-05-05 18:28:59 +02:00
Volker Lendecke
71ff1ba2de Remove "guest" from "struct user_struct"
(This used to be commit 570a6b80feb5b0dc23213ba936c721e766cd4818)
2008-05-05 18:28:59 +02:00
Günther Deschner
7c95f53b68 Fix counter mismatch in lsa_LookupNames3 server.
Guenther
(This used to be commit e052d6f2c82a644986e5d99f640310d71cd5c396)
2008-03-04 13:22:40 +01:00
Günther Deschner
253dc4d728 Fix counter mismatch in lsa_LookupNames server.
Guenther
(This used to be commit 80fd085c34befd38d33cf6e59080a2a36016a92d)
2008-03-04 13:22:40 +01:00
Günther Deschner
33322a7ced Fix lsa_QueryInfoPolicy: make proper talloc copies of the sids.
Guenther
(This used to be commit b9441232d66d78e66464be6c9748a023681ce6ca)
2008-03-04 12:52:37 +01:00
Günther Deschner
b2729f4e2d Zero more structs initially in LSA rpc server.
Guenther
(This used to be commit d7ce643285276790a65faff76666498595a508d7)
2008-03-04 11:06:02 +01:00
Volker Lendecke
4aa0bfc985 Zero out the out policy handler in lsa_Close
... after a REALLY long session staring at sniffs we can now join XP to
v3-2-test again...

Apparently not doing this makes XP keep an internal handle to LSA open which
confuses the hell out of it.

Karolin, this needs to be in v3-2-stable :-)

Volker
(This used to be commit 2c42fc21d8bede226e411623aecd69038477373b)
2008-03-03 18:13:38 +01:00
Günther Deschner
7269a504fd Add my copyright.
Guenther
(This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
2008-02-27 19:38:48 +01:00
Günther Deschner
ec790d0397 Move LSA_AUDIT_NUM_CATEGORIES defines to lsa rpc_server.
Guenther
(This used to be commit 9e7d32e28ce40ff158f3705354e8673f99b462bc)
2008-02-27 17:09:02 +01:00
Günther Deschner
2d01ec2c39 Use new LSA_POLICY defines in lsa rpc server code and other places.
Guenther
(This used to be commit 58cca9faf9db506bd2f6eab4a99ef85153797ab2)
2008-02-27 15:57:09 +01:00
Günther Deschner
d48f36819f Remove unused marshalling for LSA_LOOKUP_SIDS/2/3.
This also removes parse_lsa.c entirely.

Guenther
(This used to be commit f802ba035c95e63c5a6ff9f2fb484d62341cd1a7)
2008-02-19 01:29:14 +01:00
Günther Deschner
2a501a0760 Use pidl for _lsa_LookupSids, _lsa_LookupSids2 and _lsa_LookupSids3.
Guenther
(This used to be commit b1609801e4443a3efbc29873477ad335d0241be4)
2008-02-19 01:10:30 +01:00
Günther Deschner
196d84ad68 Remove unused marshalling for LSA_LOOKUP_NAMES/2/3/4
Guenther
(This used to be commit 6458ef3977b60f24b87eb88cf870a9f23929ca85)
2008-02-18 17:04:50 +01:00
Günther Deschner
326196b51a Use pidl for _lsa_LookupNames3 and _lsa_LookupNames4.
Guenther
(This used to be commit 4e310a19f12ba7034f33247dca0a9e7a10aa98b7)
2008-02-18 16:57:02 +01:00
Günther Deschner
0349835b34 Use pidl for _lsa_LookupNames() and _lsa_LookupNames2().
Hopefully I didn't screw this up. Please check :)

Guenther
(This used to be commit 01b733f10c1645668f2aea2841bbdc64b4bd5c51)
2008-02-18 14:40:34 +01:00
Günther Deschner
10462a5a79 Use pidl for _lsa_RemoveAccountRights.
Guenther
(This used to be commit 39f8508f5d978a936779fdfd51b90fec4faa4301)
2008-02-14 15:22:33 +01:00
Günther Deschner
41b574783d Use pidl for _lsa_EnumAccountRights().
Guenther
(This used to be commit cb6a84712cf91d104206356f0ac256a071868d66)
2008-02-14 15:02:31 +01:00
Günther Deschner
b9bc1ac1b9 Use pidl for _lsa_AddAccountRights().
Guenther
(This used to be commit 253cf1523871f2218e9e59b0a01f47b8bc745ac9)
2008-02-14 14:40:26 +01:00
Günther Deschner
08f019d973 Use pidl for _lsa_AddPrivilegesToAccount and _lsa_RemovePrivilegesFromAccount.
Guenther
(This used to be commit 0c9904864b5c3b893f99abdebb18d9624aa0f560)
2008-02-14 13:53:28 +01:00
Günther Deschner
a63b27bec0 Use pidl for _lsa_LookupPrivValue().
Guenther
(This used to be commit 87dc2471d1c2a5be17604399d4f684193a6bba38)
2008-02-14 13:53:27 +01:00
Günther Deschner
d0ae7cfb6f Remove white space.
Guenther
(This used to be commit a33ed085094b200e153939cb1b02e567f07b1e50)
2008-02-14 13:12:28 +01:00
Günther Deschner
4583389f93 Use pidl for _lsa_EnumPrivsAccount().
Guenther
(This used to be commit d7655932a7cb436f1ee44e443882e2f06d598aa0)
2008-02-14 01:55:33 +01:00
Günther Deschner
d69d58664c Fix typo.
Guenther
(This used to be commit 4e3357ac3a1b0adac1744a71f997e3442e0e4209)
2008-02-14 01:54:15 +01:00
Günther Deschner
0460295c1f Use pidl for _lsa_EnumAccounts.
Guenther
(This used to be commit 07e5138ad960bce8569ea593ca9a1b4fbf2b1048)
2008-02-14 01:19:25 +01:00
Günther Deschner
f57c67b8f3 Use pidl for _lsa_EnumTrustDom()
Guenther
(This used to be commit 1f45079907d03116b48b55d616281ed4359a66d8)
2008-02-13 00:29:20 +01:00
Günther Deschner
e2b3aad817 Collect all init_lsa_string varients in one place.
Guenther
(This used to be commit f4581e9f4482566fba9436d5ae058b8d840fa394)
2008-02-12 22:05:39 +01:00
Günther Deschner
e917a8a94a Use pidl for _lsa_GetUserName().
Guenther
(This used to be commit b24cf05dcad5696a7b948c93de9e995c2b53e80f)
2008-02-11 20:49:43 +01:00
Günther Deschner
419ab84b01 Use pidl for _lsa_LookupPrivDisplayName().
Guenther
(This used to be commit c86640320199898cc5e3040bc3339db683e98da8)
2008-02-11 19:16:04 +01:00
Günther Deschner
e1bd9c30b0 Use pidl for _lsa_EnumPrivs().
Guenther
(This used to be commit 62944007315c1744e2d2db7db593bc72af4b643b)
2008-02-11 10:49:21 +01:00
Günther Deschner
da3e2d4c27 Testing revealed some errors, reverting some of the lsa changes.
Guenther
(This used to be commit ac1e4f1eb2c046def4fa30ab0bd98c49add8e8c8)
2008-02-09 02:05:39 +01:00
Günther Deschner
3dab928081 Use pidl for _lsa_GetSystemAccessAccount().
Guenther
(This used to be commit aaf662a724f1bae5333666caf8b2fbe908f13992)
2008-02-08 22:54:36 +01:00
Günther Deschner
9049db8ffb Use pidl for _lsa_SetSystemAccessAccount().
Guenther
(This used to be commit 478612b79d11fa1ad3bf16e317d63c2a00e1957a)
2008-02-08 22:51:57 +01:00
Günther Deschner
02abf612c8 Use pidl for _lsa_OpenAccount().
Guenther
(This used to be commit e1968880a88ad2a56c5fef7d416646dcb96965ef)
2008-02-08 22:44:18 +01:00
Günther Deschner
7643300a92 Use pidl for _lsa_CreateAccount().
Guenther
(This used to be commit d71f56a293d67971c45ee44219752a55fb21f8be)
2008-02-08 22:38:34 +01:00
Günther Deschner
b13277ed4e Remove unused marshalling for LSA_QUERY_INFO2.
Guenther
(This used to be commit 0fac016d9d0018c983576d5cc8c3e06f40360b73)
2008-02-08 10:16:08 +01:00
Günther Deschner
7daee37868 Use pidl for _lsa_QueryInfoPolicy().
Guenther
(This used to be commit 1b931e9145910a74b9e9661a9255cd79e434ffea)
2008-02-08 10:02:51 +01:00