1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

2222 Commits

Author SHA1 Message Date
Günther Deschner
8337291250 Fix _samr_GetUserPwInfo() (to return more then just zeros).
Guenther
(This used to be commit 624371ce32a7c0816963745059e743e5b3e92e2a)
2008-04-04 23:41:56 +02:00
Günther Deschner
8c9d6322de Fix _samr_GetDomPwInfo (to return more then zeros).
Guenther
(This used to be commit 1cde9579f10ab8c43c25dfd6e5c658c7653f9a37)
2008-04-04 23:41:56 +02:00
Jeremy Allison
40d16fa275 Fix bug #5372. With a large CUPS installation with a remote server, contacting
the server when searching for a name for the location and comment fields can
take so much time the client times out. When searching for a name we don't
use these fields anyway, so add a function get_a_printer_search() which
doesn't contact the CUPS server.
Jeremy.
(This used to be commit 92d9f20852d5384e92a93dd0b051034718840ca8)
2008-04-04 11:14:09 -07:00
Günther Deschner
edcbb657de Fix build warning.
Guenther
(This used to be commit c40522cfe97c4e5eedccc9c56f47f9d4a8bcdaaf)
2008-04-01 00:26:33 +02:00
Günther Deschner
a3991c9ef4 Fix SRVSVC ShareInfo level 502 server side handling.
Guenther
(This used to be commit 776facabf6f09f643d6dc526aa83f8db517465f9)
2008-04-01 00:26:32 +02:00
Günther Deschner
9afc225b37 Fix SRVSVC ShareInfo max_users handling server side.
Guenther
(This used to be commit b4d944e724f7ae2a97ba788b185aba7b7308b475)
2008-04-01 00:26:32 +02:00
Günther Deschner
dbe34cf0ae Fix _srvsvc_NetShareSetInfo.
Guenther
(This used to be commit 2fd90b62d7e61fa0c23f8f41e9f12fc16f29a8b1)
2008-04-01 00:26:32 +02:00
Günther Deschner
4369c14a66 Re-add support for the samr parameters string.
(dialin settings, terminal server settings, etc.)

Guenther
(This used to be commit c4f248df8e34c6a028bf8d789fe9763b0ea063fe)
2008-03-31 20:55:40 +02:00
Günther Deschner
e8775623bd Add init_samr_parameters_string().
Guenther
(This used to be commit 8f6f0d1601cb93af51f8d493382cd707c3eb0cdf)
2008-03-31 20:55:40 +02:00
Günther Deschner
921bdec52d Add some paranoia fixes for _wkssvc_NetrJoinDomain2/UnjoinDomain2.
Guenther
(This used to be commit 72101a7d0868b19a413b17f8142637f92c6cdad5)
2008-03-28 23:43:31 +01:00
Michael Adam
cc2f5fd1b5 srv_winreg: add a debug message to _winreg_CreateKey().
Michael
(This used to be commit 971f6749ed23523f6eafe5136f6d4c920c20aec4)
2008-03-28 16:19:35 +01:00
Günther Deschner
ed27b352ef Let libnetjoin find the dc in wkssvc NetrJoinDomain2/UnjoinDomain2.
Guenther
(This used to be commit 9e7d673ac44f500863bcbd0198452adc7c5027f9)
2008-03-28 14:15:20 +01:00
Günther Deschner
4c17fce8dc Make sure to zero the returned handle in _svcctl_CloseServiceHandle().
Guenther
(This used to be commit 84a079af490cb135dd557091932ea079e1d7ff5b)
2008-03-27 23:31:54 +01:00
Günther Deschner
b1198fc9fd Fix samlogon rpc client & server.
Guenther
(This used to be commit 0aaf975560dce3b4e58ab71687c3412c0c2a72cf)
2008-03-27 13:06:43 +01:00
Günther Deschner
63b49e1f6e Fix _netr_LogonControl2(). Return talloced dcname.
Guenther
(This used to be commit 42971b71acec9c9fd94011c06d41702dac6b4f87)
2008-03-26 19:18:08 +01:00
Günther Deschner
f4e1e23e2f Strip whitespace in ntsvcs rpc server.
Guenther
(This used to be commit 0c7af8bc136f45484eab3c36b761046f88653b93)
2008-03-26 12:17:17 +01:00
Günther Deschner
055224640b Fix _winreg_QueryValue().
Guenther
(This used to be commit b217dd674e22b6a7cc492f1a84a37ddc4ddca663)
2008-03-25 10:56:56 +01:00
Volker Lendecke
e9ba13bc67 Fix Coverity ID 514
Not exactly an uninitialized variable, but having Coverity figure out that
we're only UNMARSHALLING here is probably asking for a bit too much.
(This used to be commit 07a9f7daa83c94afefe0d81db4812135121862c2)
2008-03-23 19:44:55 +01:00
Volker Lendecke
bc7a0a9198 Fix Coverity ID 432
(This used to be commit 7070c77ee2a9c3c9ff1b3c7b93008b13b80ac02b)
2008-03-23 16:22:00 +01:00
Volker Lendecke
35cab4a8c2 Fix Coverity ID 548
Günther, please check -- in all infolevels we do a comment=talloc_strdup

Thanks,

Volker
(This used to be commit e2021c5b5710768968ae724220eb1e3f47c9e639)
2008-03-21 10:28:33 +01:00
Günther Deschner
7c8e66210d Add my copyright.
Guenther
(This used to be commit 4689057f63599ebaf9ce658ca3b3168b2bbe531f)
2008-03-21 04:16:22 +01:00
Günther Deschner
5fdf4b8f4a Remove remaining old srvsvc client and server rpc code entirely.
Guenther
(This used to be commit a5f0186f70abe8dba650265219e69ce5ca2fb642)
2008-03-21 04:16:22 +01:00
Günther Deschner
1dc52e8fbf Move MAX.*ENTRY definitions out of old rpc srvsvc parsing code.
Guenther
(This used to be commit 4e36657275caa77bc9712fe627aeb6fe4aefc151)
2008-03-21 04:16:21 +01:00
Günther Deschner
08213f706e Use pidl for _srvsvc_NetSessEnum().
Guenther
(This used to be commit 5d14938b14f8e59608771b1899fd473d63f3bde1)
2008-03-21 04:16:21 +01:00
Günther Deschner
a6bbefa1cb Use pidl for _srvsvc_NetConnEnum().
Guenther
(This used to be commit b8714e03e70070b5dfb1a0b15b191dfac0634c44)
2008-03-21 04:16:21 +01:00
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