Günther Deschner
45c91e7d75
Use pidl for _srvsvc_NetShareAdd.
...
Guenther
(This used to be commit fd3e7728181e7a208706e477905173bec44c982e)
2008-03-08 00:22:44 +01:00
Günther Deschner
9beec265bc
Use pidl for _srvsvc_NetNameValidate.
...
Guenther
(This used to be commit 2e1df306785296979ea064006402254e318e946b)
2008-03-07 23:51:34 +01:00
Günther Deschner
ad3a1b8475
Use pidl for _srvsvc_NetShareDel and _srvsvc_NetShareDelSticky.
...
Guenther
(This used to be commit 73b6587493d9a987a691ece495db9f42ce562efe)
2008-03-07 23:26:00 +01:00
Günther Deschner
7b75317989
Use pidl for _srvsvc_NetShareGetInfo, _srvsvc_NetShareEnum and srvsvc_NetShareEnumAll.
...
Fixing resume handling while we are there.
Guenther
(This used to be commit 128637bdd7c37ca166a7d478b33b00c39f0ede62)
2008-03-07 20:59:30 +01:00
Günther Deschner
3279d3110f
Fix debug statement (missing \n).
...
Guenther
(This used to be commit 5895b973a4e7067535aff6e0c9a7273e332dee1a)
2008-03-07 13:07:50 +01:00
Günther Deschner
ffd88c35db
Fix _dssetup_DsRoleGetPrimaryDomainInformation().
...
Guenther
(This used to be commit 5eb7b7a9db4bda40660df5ab67bfea99e75716f9)
2008-03-06 20:44:28 +01:00
Volker Lendecke
932c287a40
Fix Coverity ID 565
...
This would crash safely
(This used to be commit 0f14357c86aee9a76ffbb45ea6419f4cc4106d62)
2008-03-05 18:45:34 +01:00
Günther Deschner
78b20443c5
Use pidl for _srvsvc_NetRemoteTOD().
...
Guenther
(This used to be commit 2b4e0f0593c6378cdac4811ded830ca694afac9e)
2008-03-05 10:34:45 +01:00
Günther Deschner
c6c67005a8
Use pidl for _srvsvc_NetShareSetInfo().
...
Guenther
(This used to be commit 9bfa77edc68a887972b609bfb0aee8bbbc89ce04)
2008-03-05 10:00:31 +01:00
Günther Deschner
eb44792a22
Use pidl for _srvsvc_NetSrvSetInfo().
...
Guenther
(This used to be commit 75b0bbf790da44c45c679c374dbe09f288f3fb8c)
2008-03-05 09:50:02 +01:00
Günther Deschner
2c3dc9baa5
Use pidl for _srvsvc_NetSrvGetInfo().
...
Guenther
(This used to be commit 34caa41fa6d44165b470508261c2bde124fc4955)
2008-03-05 09:49:15 +01:00
Günther Deschner
d89877070e
Whitespace cleanup in srvsvc server.
...
Guenther
(This used to be commit 3c0a3f8de742678b56f6b998a014105c05400666)
2008-03-05 09:47:53 +01:00
Günther Deschner
ae45a74ddc
Fix proxy_srvsvc_call().
...
Wow, this must have been broken a long time already.
Guenther
(This used to be commit 821762e5ab32a2fbea7c41f1d2c2ea8589daa1d3)
2008-03-04 22:54:14 +01: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
Andreas Schneider
1751b533f0
Rename the 'hidden' variable to 'administrative share'.
...
(This used to be commit eff3d3bad5a8860b99375cc0be9dc24f3679e416)
2008-02-29 13:08:04 +01:00
Günther Deschner
700438dbbd
Fix samr querydispinfo w.r.t. lsa_AsciiStringLarge.
...
Thanks metze for the fix.
Guenther
(This used to be commit dcffb885bc5d16e795b71d95e0790d3d7d70cf3c)
2008-02-28 23:37:47 +01:00
Günther Deschner
37bca2ea57
While we are at it: add _wkssvc_NetrUnjoinDomain2 implementation.
...
This can be tested with e.g. "netdom remove SAMBAHOST" from windows.
Guenther
(This used to be commit 53121e62ea32ff3a984533dca044b67cf5b2c55b)
2008-02-28 22:07:30 +01:00
Günther Deschner
781e1ab4a1
Re-enable _wkssvc_NetrJoinDomain2 remote join implementation now that we are ready for it.
...
"netdom join SAMBAHOST" from a windows workstation nicely demonstrates it.
Guenther
(This used to be commit 3bcaa3582a101abc17f7c21128e01024af877577)
2008-02-28 20:06:09 +01:00
Günther Deschner
b9ca5bf0a1
Fix one dsgetdcname call in wkssvc rpc server.
...
Guenther
(This used to be commit a69b918784b037aa17d2dd88a33bd99930631c9b)
2008-02-28 12:58:22 +01:00
Günther Deschner
b2ed9341ee
Fix segfault in _srv_net_file_enum.
...
Guenther
(This used to be commit 6523a051ded9f7b433fcce2d4c4a5f186b5a28f6)
2008-02-28 10:15:31 +01:00
Günther Deschner
c86cbd7369
Use pidl for _svcctl_SetServiceObjectSecurity().
...
Guenther
(This used to be commit 19048ab4ad1b262536efae5b8b8b4411ec088921)
2008-02-28 00:43:31 +01:00
Günther Deschner
fac7193cd2
Use pidl for _svcctl_QueryServiceObjectSecurity().
...
Guenther
(This used to be commit 7c1d30f3dca068d7a3b6ec138d1d01141f0386c2)
2008-02-28 00:43:30 +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
583aa074a9
Cosmetics: make check_bind_req() debug statements a little nicer.
...
Guenther
(This used to be commit 997a0a4a12d97595ff4df963601cf2c24d612972)
2008-02-27 19:08:59 +01:00
Günther Deschner
d61831dcd4
Move MAX_SAM_ENTRIES defines to samr rpc_server and to samr.idl.
...
Guenther
(This used to be commit 6c6455157317049d65a9012f4e339b7e86fb0af6)
2008-02-27 17:14:39 +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
Andreas Schneider
d85c517b45
Add variable to define if a share should be hidden.
...
If you create a share on a Windows machine called foo$ then this share is
of the type STYPE_DISKTREE. So it is possible to administrate this kind of
share. Tested on Windows NT and 2003.
In samba we assume that if a share with a $ at the end must be of the type
STYPE_DISKTREE_HIDDEN. This is wrong, so we need a variable in the config
to define if the share should be hidden or not.
(This used to be commit a3da677bf0faed56e6731ee96708a7847a61d118)
2008-02-26 21:34:05 +01:00
Günther Deschner
5894d5e99a
Use pidl for _svcctl_UnlockServiceDatabase().
...
Guenther
(This used to be commit 300bf76a79bfa0a9cf55505fd1e928aba9fec171)
2008-02-19 03:13:50 +01:00
Günther Deschner
e0860ccc82
Use pidl for _svcctl_LockServiceDatabase().
...
Guenther
(This used to be commit 939da2eb58ea8cfa637ec63b254755d77702da45)
2008-02-19 03:13:34 +01:00
Günther Deschner
4421e0d147
Use pidl for _svcctl_QueryServiceStatus().
...
Guenther
(This used to be commit 5453d97ef4967755ef0c903dd665325d50845028)
2008-02-19 03:13:10 +01:00
Günther Deschner
e87216972a
Use pidl for _svcctl_ControlService().
...
Guenther
(This used to be commit 4797ca0bd5dc922f6ba5ebb93bf65ceee09a678e)
2008-02-19 03:12:46 +01:00
Günther Deschner
f8b0242ca0
Use pidl for _svcctl_StartServiceW().
...
Guenther
(This used to be commit d95998ffd321eccf19f7de671eed2c741038b81e)
2008-02-19 03:12:11 +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
8db780ac8f
Yippie! LSARPC server-side migration to pidl finished.
...
Guenther
(This used to be commit aa7023b88d3161897b9616d950c2a99624d81931)
2008-02-19 01:23:05 +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
Michael Adam
d31806dffe
Fix a comment. REGISTRY_KEY has vanished from srv_winreg_nt.c
...
(It is reg_api time)
Michael
(This used to be commit d94998e46ba0faac3fa625e8292d452ad52b8e55)
2008-02-18 17:48:19 +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
1c298d59a6
Use pidl for _svcctl_GetServiceDisplayNameW().
...
Guenther
(This used to be commit 2746e88c5c4a9e859356d5c53106eba0c2cd7cbe)
2008-02-18 13:43:12 +01:00
Günther Deschner
5943ff68e7
Use pidl for _svcctl_OpenServiceW().
...
Note that this call did and still does panic in registry access.
Michael has an idea how to fix this.
Guenther
(This used to be commit b2fa41072ddd2aba000a33eb32ccee408d8304db)
2008-02-18 12:58:43 +01:00
Günther Deschner
357bf00812
Use pidl for _svcctl_OpenSCManagerW().
...
Guenther
(This used to be commit 1131e914df9c69b046f335999b7b62063e92fb9d)
2008-02-18 11:55:31 +01:00
Günther Deschner
50e31b9346
Remove whitespace, no code changes.
...
Guenther
(This used to be commit d752d52f1a4b75d7d4934da66566bc62e14caf27)
2008-02-18 11:51:17 +01:00
Tim Potter
2cd374db8d
Replace C++-style comments with C.
...
(This used to be commit a1d07469236c06b65f14a59a27d7f7abcb106b5e)
2008-02-18 10:15:22 +01:00
Günther Deschner
6dfca8485d
Use pidl for _PNP_GetHwProfInfo().
...
Guenther
(This used to be commit 7b7ce50e4bd8bc1ac94e882acf412e69b652f7d0)
2008-02-18 01:38:29 +01:00