1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

2165 Commits

Author SHA1 Message Date
Günther Deschner
700438dbbd Fix samr querydispinfo w.r.t. lsa_AsciiStringLarge.
Thanks metze for the fix.

Guenther
(This used to be commit dcffb885bc)
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 53121e62ea)
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 3bcaa3582a)
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 a69b918784)
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 6523a051de)
2008-02-28 10:15:31 +01:00
Günther Deschner
c86cbd7369 Use pidl for _svcctl_SetServiceObjectSecurity().
Guenther
(This used to be commit 19048ab4ad)
2008-02-28 00:43:31 +01:00
Günther Deschner
fac7193cd2 Use pidl for _svcctl_QueryServiceObjectSecurity().
Guenther
(This used to be commit 7c1d30f3dc)
2008-02-28 00:43:30 +01:00
Günther Deschner
7269a504fd Add my copyright.
Guenther
(This used to be commit d078a87571)
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 997a0a4a12)
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 6c64551573)
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 9e7d32e28c)
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 58cca9faf9)
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 a3da677bf0)
2008-02-26 21:34:05 +01:00
Günther Deschner
5894d5e99a Use pidl for _svcctl_UnlockServiceDatabase().
Guenther
(This used to be commit 300bf76a79)
2008-02-19 03:13:50 +01:00
Günther Deschner
e0860ccc82 Use pidl for _svcctl_LockServiceDatabase().
Guenther
(This used to be commit 939da2eb58)
2008-02-19 03:13:34 +01:00
Günther Deschner
4421e0d147 Use pidl for _svcctl_QueryServiceStatus().
Guenther
(This used to be commit 5453d97ef4)
2008-02-19 03:13:10 +01:00
Günther Deschner
e87216972a Use pidl for _svcctl_ControlService().
Guenther
(This used to be commit 4797ca0bd5)
2008-02-19 03:12:46 +01:00
Günther Deschner
f8b0242ca0 Use pidl for _svcctl_StartServiceW().
Guenther
(This used to be commit d95998ffd3)
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 f802ba035c)
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 aa7023b88d)
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 b1609801e4)
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 d94998e46b)
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 6458ef3977)
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 4e310a19f1)
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 01b733f10c)
2008-02-18 14:40:34 +01:00
Günther Deschner
1c298d59a6 Use pidl for _svcctl_GetServiceDisplayNameW().
Guenther
(This used to be commit 2746e88c5c)
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 b2fa41072d)
2008-02-18 12:58:43 +01:00
Günther Deschner
357bf00812 Use pidl for _svcctl_OpenSCManagerW().
Guenther
(This used to be commit 1131e914df)
2008-02-18 11:55:31 +01:00
Günther Deschner
50e31b9346 Remove whitespace, no code changes.
Guenther
(This used to be commit d752d52f1a)
2008-02-18 11:51:17 +01:00
Tim Potter
2cd374db8d Replace C++-style comments with C.
(This used to be commit a1d0746923)
2008-02-18 10:15:22 +01:00
Günther Deschner
6dfca8485d Use pidl for _PNP_GetHwProfInfo().
Guenther
(This used to be commit 7b7ce50e4b)
2008-02-18 01:38:29 +01:00
Günther Deschner
1ce176c2b9 Use pidl for _PNP_HwProfFlags().
Guenther
(This used to be commit b30d812b30)
2008-02-18 01:37:31 +01:00
Günther Deschner
3df6eedccf Use pidl for _PNP_GetDeviceListSize().
Guenther
(This used to be commit da6636577d)
2008-02-18 00:31:14 +01:00
Günther Deschner
45c6af356e Use pidl for _PNP_ValidateDeviceInstance().
Guenther
(This used to be commit 7973a103aa)
2008-02-17 23:45:02 +01:00
Günther Deschner
3758f06d0f Use pidl for _PNP_GetVersion().
Guenther
(This used to be commit 5300ff01b9)
2008-02-17 23:29:56 +01:00
Günther Deschner
d8fcfb1615 Build the generated ntsvcs server (not at all useable yet).
Guenther
(This used to be commit acce1092d9)
2008-02-17 23:03:22 +01:00
Günther Deschner
b4989afbab YES! NETLOGON rpc server side migration to pidl finished.
Guenther
(This used to be commit 7845a0d9a8)
2008-02-16 14:53:45 +01:00
Günther Deschner
185842df52 Use pidl for _netr_LogonSamLogon() and _netr_LogonSamLogonEx().
Guenther
(This used to be commit 0d0b939953)
2008-02-16 14:28:55 +01:00
Günther Deschner
3f24ef1848 Replace DOM_CHAL with "struct netr_Credential" where we can right now.
This allows to remove some more old netlogon client calls.

Guenther
(This used to be commit c0b1a87658)
2008-02-15 23:57:54 +01:00
Günther Deschner
ea1443efff Fix the netlogon rpc_server build.
Guenther
(This used to be commit 47806386e5)
2008-02-15 23:36:31 +01:00
Günther Deschner
5bce07977a Use pidl for _netr_LogonSamLogoff().
Guenther
(This used to be commit a9683cbf43)
2008-02-15 21:52:19 +01:00
Günther Deschner
c9f1f3d5ff Use pidl for _netr_ServerAuthenticate2().
Guenther
(This used to be commit 5d81cc136b)
2008-02-15 21:41:38 +01:00
Günther Deschner
55b2292aba Use pidl for _netr_ServerAuthenticate().
Guenther
(This used to be commit 943386c5dd)
2008-02-15 21:32:14 +01:00
Günther Deschner
4f0b904538 Use pidl for _netr_ServerPasswordSet().
Guenther
(This used to be commit 85b7489dd2)
2008-02-15 21:18:23 +01:00
Michael Adam
355faf2e3d Move the implementation of _winreg_RestoreKey to reg_api.c
This removes the internals of reg_api from srv_winreg_nt.c entirely,
only reg_api is used there, now. This enlarges the dependencies of
reg_api somewhat now since it adds regfio. But this can be separated
out later. The current goal is to achieve a complete use of reg_api.

Michael
(This used to be commit 2222acbac9)
2008-02-15 16:23:10 +01:00
Michael Adam
c720a0e228 Move implementation of _winreg_SaveKey() from srv_winreg_nt.c to reg_api.c
This gives a new function reg_savekey() and hides a piece of
the backend code from srv_winreg_nt.c. One step towards using
reg_api throughout samba code.

Michael
(This used to be commit bf6340d00d)
2008-02-15 16:23:10 +01:00
Jeremy Allison
ba9499e8dc Currently we don't SPNEGO negotiate back to NTLMSSP. Note this.
Jeremy.
(This used to be commit 67768fc71f)
2008-02-14 18:08:23 -08:00
Günther Deschner
10462a5a79 Use pidl for _lsa_RemoveAccountRights.
Guenther
(This used to be commit 39f8508f5d)
2008-02-14 15:22:33 +01:00
Günther Deschner
41b574783d Use pidl for _lsa_EnumAccountRights().
Guenther
(This used to be commit cb6a84712c)
2008-02-14 15:02:31 +01:00
Günther Deschner
b9bc1ac1b9 Use pidl for _lsa_AddAccountRights().
Guenther
(This used to be commit 253cf15238)
2008-02-14 14:40:26 +01:00