Günther Deschner
a5f0186f70
Remove remaining old srvsvc client and server rpc code entirely.
...
Guenther
2008-03-21 04:16:22 +01:00
Günther Deschner
4e36657275
Move MAX.*ENTRY definitions out of old rpc srvsvc parsing code.
...
Guenther
2008-03-21 04:16:21 +01:00
Günther Deschner
5d14938b14
Use pidl for _srvsvc_NetSessEnum().
...
Guenther
2008-03-21 04:16:21 +01:00
Günther Deschner
b8714e03e7
Use pidl for _srvsvc_NetConnEnum().
...
Guenther
2008-03-21 04:16:21 +01:00
Volker Lendecke
f65cb5d4b5
A level 25 setuserinfo does change the pwdlastset
2008-03-20 23:19:33 +01:00
Volker Lendecke
4cc09ec406
Fix an uninitialized variable warning
2008-03-20 16:54:05 +01:00
Günther Deschner
988291a9c0
Use pidl for _svcctl_EnumDependentServicesW().
...
Guenther
2008-03-20 01:38:23 +01:00
Günther Deschner
3b1f3d8a6c
Fix the build (by calling NDR_SRVSVC_NETFILEENUM).
...
Guenther
2008-03-19 02:47:22 +01:00
Günther Deschner
6c6700ed71
Use pidl for _srvsvc_NetFileEnum.
...
Guenther
2008-03-19 02:18:46 +01:00
Marc VanHeyningen
3fc85d2259
Coverity fixes
2008-03-17 20:52:25 +01:00
Michael Adam
737e470e02
init_srv_share_info_ctr: fix counting of services.
...
The number of services was recorded too early leading to
registry shares not showing up in browse lists.
Guenther - please check.
Michael
2008-03-12 02:12:34 +01:00
Michael Adam
8b2cc36ffc
init_srv_share_info_ctr: Add debug messages.
...
Michael
2008-03-12 02:12:34 +01:00
Günther Deschner
874a0ffd7d
Trying to fix resume_handling for srvsvc_NetShareEnumAll.
...
Guenther
2008-03-11 11:33:07 +01:00
Günther Deschner
933d546f86
Use pidl for _srvsvc_NetDiskEnum.
...
Guenther
2008-03-11 10:48:52 +01:00
Günther Deschner
8a10bc13ae
Use pidl for _srvsvc_NetSessDel().
...
Guenther
2008-03-10 03:43:39 +01:00
Günther Deschner
8b016efeb0
Use pidl for _srvsvc_NetGetFileSecurity.
...
Guenther
2008-03-08 23:07:00 +01:00
Günther Deschner
64a121c147
Use pidl for _srvsvc_NetSetFileSecurity.
...
Guenther
2008-03-08 23:07:00 +01:00
Günther Deschner
fd3e772818
Use pidl for _srvsvc_NetShareAdd.
...
Guenther
2008-03-08 00:22:44 +01:00
Günther Deschner
2e1df30678
Use pidl for _srvsvc_NetNameValidate.
...
Guenther
2008-03-07 23:51:34 +01:00
Günther Deschner
73b6587493
Use pidl for _srvsvc_NetShareDel and _srvsvc_NetShareDelSticky.
...
Guenther
2008-03-07 23:26:00 +01:00
Günther Deschner
128637bdd7
Use pidl for _srvsvc_NetShareGetInfo, _srvsvc_NetShareEnum and srvsvc_NetShareEnumAll.
...
Fixing resume handling while we are there.
Guenther
2008-03-07 20:59:30 +01:00
Günther Deschner
5895b973a4
Fix debug statement (missing \n).
...
Guenther
2008-03-07 13:07:50 +01:00
Günther Deschner
5eb7b7a9db
Fix _dssetup_DsRoleGetPrimaryDomainInformation().
...
Guenther
2008-03-06 20:44:28 +01:00
Volker Lendecke
0f14357c86
Fix Coverity ID 565
...
This would crash safely
2008-03-05 18:45:34 +01:00
Günther Deschner
2b4e0f0593
Use pidl for _srvsvc_NetRemoteTOD().
...
Guenther
2008-03-05 10:34:45 +01:00
Günther Deschner
9bfa77edc6
Use pidl for _srvsvc_NetShareSetInfo().
...
Guenther
2008-03-05 10:00:31 +01:00
Günther Deschner
75b0bbf790
Use pidl for _srvsvc_NetSrvSetInfo().
...
Guenther
2008-03-05 09:50:02 +01:00
Günther Deschner
34caa41fa6
Use pidl for _srvsvc_NetSrvGetInfo().
...
Guenther
2008-03-05 09:49:15 +01:00
Günther Deschner
3c0a3f8de7
Whitespace cleanup in srvsvc server.
...
Guenther
2008-03-05 09:47:53 +01:00
Günther Deschner
821762e5ab
Fix proxy_srvsvc_call().
...
Wow, this must have been broken a long time already.
Guenther
2008-03-04 22:54:14 +01:00
Günther Deschner
e052d6f2c8
Fix counter mismatch in lsa_LookupNames3 server.
...
Guenther
2008-03-04 13:22:40 +01:00
Günther Deschner
80fd085c34
Fix counter mismatch in lsa_LookupNames server.
...
Guenther
2008-03-04 13:22:40 +01:00
Günther Deschner
b9441232d6
Fix lsa_QueryInfoPolicy: make proper talloc copies of the sids.
...
Guenther
2008-03-04 12:52:37 +01:00
Günther Deschner
d7ce643285
Zero more structs initially in LSA rpc server.
...
Guenther
2008-03-04 11:06:02 +01:00
Volker Lendecke
2c42fc21d8
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
2008-03-03 18:13:38 +01:00
Andreas Schneider
eff3d3bad5
Rename the 'hidden' variable to 'administrative share'.
2008-02-29 13:08:04 +01:00
Günther Deschner
dcffb885bc
Fix samr querydispinfo w.r.t. lsa_AsciiStringLarge.
...
Thanks metze for the fix.
Guenther
2008-02-28 23:37:47 +01:00
Günther Deschner
53121e62ea
While we are at it: add _wkssvc_NetrUnjoinDomain2 implementation.
...
This can be tested with e.g. "netdom remove SAMBAHOST" from windows.
Guenther
2008-02-28 22:07:30 +01:00
Günther Deschner
3bcaa3582a
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
2008-02-28 20:06:09 +01:00
Günther Deschner
a69b918784
Fix one dsgetdcname call in wkssvc rpc server.
...
Guenther
2008-02-28 12:58:22 +01:00
Günther Deschner
6523a051de
Fix segfault in _srv_net_file_enum.
...
Guenther
2008-02-28 10:15:31 +01:00
Günther Deschner
19048ab4ad
Use pidl for _svcctl_SetServiceObjectSecurity().
...
Guenther
2008-02-28 00:43:31 +01:00
Günther Deschner
7c1d30f3dc
Use pidl for _svcctl_QueryServiceObjectSecurity().
...
Guenther
2008-02-28 00:43:30 +01:00
Günther Deschner
d078a87571
Add my copyright.
...
Guenther
2008-02-27 19:38:48 +01:00
Günther Deschner
997a0a4a12
Cosmetics: make check_bind_req() debug statements a little nicer.
...
Guenther
2008-02-27 19:08:59 +01:00
Günther Deschner
6c64551573
Move MAX_SAM_ENTRIES defines to samr rpc_server and to samr.idl.
...
Guenther
2008-02-27 17:14:39 +01:00
Günther Deschner
9e7d32e28c
Move LSA_AUDIT_NUM_CATEGORIES defines to lsa rpc_server.
...
Guenther
2008-02-27 17:09:02 +01:00
Günther Deschner
58cca9faf9
Use new LSA_POLICY defines in lsa rpc server code and other places.
...
Guenther
2008-02-27 15:57:09 +01:00
Andreas Schneider
a3da677bf0
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.
2008-02-26 21:34:05 +01:00
Günther Deschner
300bf76a79
Use pidl for _svcctl_UnlockServiceDatabase().
...
Guenther
2008-02-19 03:13:50 +01:00