1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

2229 Commits

Author SHA1 Message Date
Volker Lendecke
b9cc055062 Introduce rpc_pipe_np_smb_conn()
This abstracts away all references to rpc_pipe_client->cli, the only reference
is now in cli_pipe.c.
(This used to be commit c56e1c08ce)
2008-04-20 14:08:16 +02:00
Volker Lendecke
0c17878e21 Remove a redundant reference to rpc_pipe_state->cli from srv_spoolss
This assignment is done in cli_rpc_pipe_open called from
cli_rpc_pipe_open_noauth already.
(This used to be commit 7331c4c278)
2008-04-20 14:08:16 +02:00
Jelmer Vernooij
a4c60b2696 rpc_parse: Use UUIDs from librpc/gen_ndr/ when possible to reduce
duplication.
(This used to be commit 428654b473)
2008-04-17 17:54:32 +02:00
Günther Deschner
189c0153e0 NetrUnjoinDomain2: Honor registry config to try config changes.
Guenther
(This used to be commit b42304c299)
2008-04-17 00:08:24 +02:00
Jelmer Vernooij
28fd4f6fcb Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.
(This used to be commit 7bea00dca1)
2008-04-15 20:26:52 +02:00
Günther Deschner
e23911b0c3 WKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if enabled.
Guenther
(This used to be commit 260efafb8f)
2008-04-14 14:46:30 +02:00
Volker Lendecke
c751386bb8 Remove some write-only fstrings
(This used to be commit aacb07b1b0)
2008-04-11 22:21:04 +02:00
Günther Deschner
8337291250 Fix _samr_GetUserPwInfo() (to return more then just zeros).
Guenther
(This used to be commit 624371ce32)
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 1cde9579f1)
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 92d9f20852)
2008-04-04 11:14:09 -07:00
Günther Deschner
edcbb657de Fix build warning.
Guenther
(This used to be commit c40522cfe9)
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 776facabf6)
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 b4d944e724)
2008-04-01 00:26:32 +02:00
Günther Deschner
dbe34cf0ae Fix _srvsvc_NetShareSetInfo.
Guenther
(This used to be commit 2fd90b62d7)
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 c4f248df8e)
2008-03-31 20:55:40 +02:00
Günther Deschner
e8775623bd Add init_samr_parameters_string().
Guenther
(This used to be commit 8f6f0d1601)
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 72101a7d08)
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 971f6749ed)
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 9e7d673ac4)
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 84a079af49)
2008-03-27 23:31:54 +01:00
Günther Deschner
b1198fc9fd Fix samlogon rpc client & server.
Guenther
(This used to be commit 0aaf975560)
2008-03-27 13:06:43 +01:00
Günther Deschner
63b49e1f6e Fix _netr_LogonControl2(). Return talloced dcname.
Guenther
(This used to be commit 42971b71ac)
2008-03-26 19:18:08 +01:00
Günther Deschner
f4e1e23e2f Strip whitespace in ntsvcs rpc server.
Guenther
(This used to be commit 0c7af8bc13)
2008-03-26 12:17:17 +01:00
Günther Deschner
055224640b Fix _winreg_QueryValue().
Guenther
(This used to be commit b217dd674e)
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 07a9f7daa8)
2008-03-23 19:44:55 +01:00
Volker Lendecke
bc7a0a9198 Fix Coverity ID 432
(This used to be commit 7070c77ee2)
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 e2021c5b57)
2008-03-21 10:28:33 +01:00
Günther Deschner
7c8e66210d Add my copyright.
Guenther
(This used to be commit 4689057f63)
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 a5f0186f70)
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 4e36657275)
2008-03-21 04:16:21 +01:00
Günther Deschner
08213f706e Use pidl for _srvsvc_NetSessEnum().
Guenther
(This used to be commit 5d14938b14)
2008-03-21 04:16:21 +01:00
Günther Deschner
a6bbefa1cb Use pidl for _srvsvc_NetConnEnum().
Guenther
(This used to be commit b8714e03e7)
2008-03-21 04:16:21 +01:00
Volker Lendecke
dd80c452a2 A level 25 setuserinfo does change the pwdlastset
(This used to be commit f65cb5d4b5)
2008-03-20 23:19:33 +01:00
Volker Lendecke
5346641c1c Fix an uninitialized variable warning
(This used to be commit 4cc09ec406)
2008-03-20 16:54:05 +01:00
Günther Deschner
1a65f16843 Use pidl for _svcctl_EnumDependentServicesW().
Guenther
(This used to be commit 988291a9c0)
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 3b1f3d8a6c)
2008-03-19 02:47:22 +01:00
Günther Deschner
63a6acdfa8 Use pidl for _srvsvc_NetFileEnum.
Guenther
(This used to be commit 6c6700ed71)
2008-03-19 02:18:46 +01:00
Marc VanHeyningen
e06aa46b9f Coverity fixes
(This used to be commit 3fc85d2259)
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 737e470e02)
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 8b2cc36ffc)
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 874a0ffd7d)
2008-03-11 11:33:07 +01:00
Günther Deschner
b960bc265b Use pidl for _srvsvc_NetDiskEnum.
Guenther
(This used to be commit 933d546f86)
2008-03-11 10:48:52 +01:00
Günther Deschner
ca354276ca Use pidl for _srvsvc_NetSessDel().
Guenther
(This used to be commit 8a10bc13ae)
2008-03-10 03:43:39 +01:00
Günther Deschner
fa58ebd8f7 Use pidl for _srvsvc_NetGetFileSecurity.
Guenther
(This used to be commit 8b016efeb0)
2008-03-08 23:07:00 +01:00
Günther Deschner
3102609c4b Use pidl for _srvsvc_NetSetFileSecurity.
Guenther
(This used to be commit 64a121c147)
2008-03-08 23:07:00 +01:00
Günther Deschner
45c91e7d75 Use pidl for _srvsvc_NetShareAdd.
Guenther
(This used to be commit fd3e772818)
2008-03-08 00:22:44 +01:00
Günther Deschner
9beec265bc Use pidl for _srvsvc_NetNameValidate.
Guenther
(This used to be commit 2e1df30678)
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 73b6587493)
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 128637bdd7)
2008-03-07 20:59:30 +01:00
Günther Deschner
3279d3110f Fix debug statement (missing \n).
Guenther
(This used to be commit 5895b973a4)
2008-03-07 13:07:50 +01:00