Volker Lendecke
dd80c452a2
A level 25 setuserinfo does change the pwdlastset
...
(This used to be commit f65cb5d4b51e2e7b9b16b73e47cd2a8d55d5d4b0)
2008-03-20 23:19:33 +01:00
Volker Lendecke
5346641c1c
Fix an uninitialized variable warning
...
(This used to be commit 4cc09ec40609484c973361a0cc0f05bfaef1738e)
2008-03-20 16:54:05 +01:00
Günther Deschner
1a65f16843
Use pidl for _svcctl_EnumDependentServicesW().
...
Guenther
(This used to be commit 988291a9c07c055213f8979ebe75bb392811008d)
2008-03-20 01:38:23 +01:00
Günther Deschner
56c97115ec
Fix the build (by calling NDR_SRVSVC_NETFILEENUM).
...
Guenther
(This used to be commit 3b1f3d8a6ce9b8860aca07d9960bc8488296aecd)
2008-03-19 02:47:22 +01:00
Günther Deschner
63a6acdfa8
Use pidl for _srvsvc_NetFileEnum.
...
Guenther
(This used to be commit 6c6700ed7148b73b2ce52fc00020c7e253a577d3)
2008-03-19 02:18:46 +01:00
Marc VanHeyningen
e06aa46b9f
Coverity fixes
...
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2008-03-17 20:52:25 +01:00
Michael Adam
16f4e059f7
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
(This used to be commit 737e470e02d1233fda51e903f27955e45427e95a)
2008-03-12 02:12:34 +01:00
Michael Adam
b371db93bb
init_srv_share_info_ctr: Add debug messages.
...
Michael
(This used to be commit 8b2cc36ffcb3bccb760ec7cb0a22558eab56070d)
2008-03-12 02:12:34 +01:00
Günther Deschner
2a40d67041
Trying to fix resume_handling for srvsvc_NetShareEnumAll.
...
Guenther
(This used to be commit 874a0ffd7dbd993230c00c503ec6b27fbffb7745)
2008-03-11 11:33:07 +01:00
Günther Deschner
b960bc265b
Use pidl for _srvsvc_NetDiskEnum.
...
Guenther
(This used to be commit 933d546f86b48bfd9f84045ec21efc1c362b4d93)
2008-03-11 10:48:52 +01:00
Günther Deschner
ca354276ca
Use pidl for _srvsvc_NetSessDel().
...
Guenther
(This used to be commit 8a10bc13aee7c34f466fa69773694be97f0e7d85)
2008-03-10 03:43:39 +01:00
Günther Deschner
fa58ebd8f7
Use pidl for _srvsvc_NetGetFileSecurity.
...
Guenther
(This used to be commit 8b016efeb0bb4cd5d91928952a258fce1b6f97d0)
2008-03-08 23:07:00 +01:00
Günther Deschner
3102609c4b
Use pidl for _srvsvc_NetSetFileSecurity.
...
Guenther
(This used to be commit 64a121c147c825259a06a8cd8de85ec31dd5b4a4)
2008-03-08 23:07:00 +01:00
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