summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_wkssvc_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2010-10-22Revert "Wrap security_token_has_privilege() with a check for ↵Jeremy Allison1-2/+2
lp_enable_privileges(). Needed" Not needed - privileges code prevents "enable privileges = no" from adding privileges anyway. This reverts commit a8b95686a7bde3f96f141b6938e24e101567ef54. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 23:41:36 UTC 2010 on sn-devel-104
2010-10-22Wrap security_token_has_privilege() with a check for lp_enable_privileges(). ↵Jeremy Allison1-2/+2
Needed to maintain compatibility with smb.conf manpage. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 18:15:48 UTC 2010 on sn-devel-104
2010-10-14s3-auth Use security_token_debug() from common codeAndrew Bartlett1-3/+3
This prints the security token including the privileges as strings instead of just a bitmap. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-0/+1
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-09-11s3-privs Convert from user_has_privileges() -> security_token_has_privilege()Andrew Bartlett1-2/+2
This new call is available in the merged privileges code, and takes an enum as the parameter, rather than a bitmask. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-auth Change struct nt_user_token -> struct security_tokenAndrew Bartlett1-2/+2
This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-07s3: Remove some references to smbd_messaging_context()Volker Lendecke1-2/+2
2010-07-28s3-wkssvc: Use struct pipes_struct.Andreas Schneider1-31/+60
2010-07-13s3-libnet: better separate headers.Günther Deschner1-1/+2
Guenther
2010-05-18s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner1-2/+2
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
2010-02-14s3-rpc: convert wkssvc to use TYPESAFE_QSORT()Andrew Tridgell1-10/+4
2009-12-06s3: Fix a const discard warningVolker Lendecke1-7/+9
2009-12-06s3: talloc_array_length deals file with a NULL argumentVolker Lendecke1-3/+3
2009-12-06s3: Small simplification: qsort deals fine with just one entryVolker Lendecke1-7/+2
2009-12-06s3: Simplify usr_info_cmp by calling timeval_compare()Volker Lendecke1-3/+1
2009-12-06s3: Complete support for NetWkstaGetInfo/NetWkstaEnumUsersIan Puleston1-22/+380
2009-12-06s3: First cut at _wkssvc_NetWkstaEnumUsersVolker Lendecke1-3/+52
This needs access checks!
2009-12-06s3: Support NetWkstaGetInfo 101 and 102Volker Lendecke1-15/+113
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+1
samba. Guenther
2009-08-07s3-wkssvcs: fix check for BUILTIN\Administrators membership in ↵Günther Deschner1-2/+2
wkssvc_Netr{Join,Unjoin}Domain2. Guenther
2009-08-03Fix some nonempty blank linesVolker Lendecke1-3/+3
2009-05-11s3-net: add "net dom renamecomputer" to rename machines in a domain.Günther Deschner1-2/+1
dmarkey, please test :) Guenther
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett1-0/+1
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
2008-11-24Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS!Volker Lendecke1-2/+2
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij1-2/+2
2008-06-26Now that we have p->server_info, use p->server_info->user_session_keyVolker Lendecke1-8/+6
(This used to be commit aefad64e3a5c86d2f988d47e6215ed2085b8fc47)
2008-05-09dsgetdcname: use existing messaging_context if possible.Günther Deschner1-0/+2
Guenther (This used to be commit 7889516a384c155a9045aad4409c041fddd0d98d)
2008-04-17NetrUnjoinDomain2: Honor registry config to try config changes.Günther Deschner1-0/+1
Guenther (This used to be commit b42304c299224238a0247e0e1561eb2ad3217b96)
2008-04-14WKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if ↵Günther Deschner1-0/+1
enabled. Guenther (This used to be commit 260efafb8fb6527eb0a182f9a6bfed8239dd8315)
2008-03-28Add some paranoia fixes for _wkssvc_NetrJoinDomain2/UnjoinDomain2.Günther Deschner1-2/+22
Guenther (This used to be commit 72101a7d0868b19a413b17f8142637f92c6cdad5)
2008-03-28Let libnetjoin find the dc in wkssvc NetrJoinDomain2/UnjoinDomain2.Günther Deschner1-30/+0
Guenther (This used to be commit 9e7d673ac44f500863bcbd0198452adc7c5027f9)
2008-02-28While we are at it: add _wkssvc_NetrUnjoinDomain2 implementation.Günther Deschner1-4/+64
This can be tested with e.g. "netdom remove SAMBAHOST" from windows. Guenther (This used to be commit 53121e62ea32ff3a984533dca044b67cf5b2c55b)
2008-02-28Re-enable _wkssvc_NetrJoinDomain2 remote join implementation now that we are ↵Günther Deschner1-6/+13
ready for it. "netdom join SAMBAHOST" from a windows workstation nicely demonstrates it. Guenther (This used to be commit 3bcaa3582a101abc17f7c21128e01024af877577)
2008-02-28Fix one dsgetdcname call in wkssvc rpc server.Günther Deschner1-2/+2
Guenther (This used to be commit a69b918784b037aa17d2dd88a33bd99930631c9b)
2008-01-29Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).Günther Deschner1-1/+0
Guenther (This used to be commit fd490d236b1fb73a75c457b75128c9b98719418f)
2008-01-16Fix (non-activated) _wkssvc_NetrJoinDomain2 server code.Günther Deschner1-13/+12
Guenther (This used to be commit dea64a0d886919dfd5bcc550cb36deabe4ec010d)
2008-01-13Fix Compiler warnings by including the proper header.Michael Adam1-2/+1
Michael (This used to be commit edaf52a301a38824c8beb30c49fba27c8fb0461a)
2007-12-21Deactive remote join code server side until some last issues are resolved.Günther Deschner1-0/+4
Guenther (This used to be commit 1489870f05695a929902264eb9b95eab886bdaa6)
2007-12-21Add _wkssvc_NetrJoinDomain2() server.Günther Deschner1-3/+66
Guenther (This used to be commit 9b0423e7d918b7b3837ca4ebf997edd80d4da6de)
2007-12-21Some C++ warningsVolker Lendecke1-1/+1
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
2007-12-05Remove some globalsVolker Lendecke1-4/+4
(This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)
2007-11-30Merge recent wkssvc changes from samba4.Günther Deschner1-27/+27
Guenther (This used to be commit 7539fb4c840a9b4429f347cebbda9c631746267a)
2007-11-05pstring removalVolker Lendecke1-15/+8
(This used to be commit f5468d2c9abad41cb1e9d9b9ec6a1b56564961a4)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r20875: Pass DCE/RPC server call arguments as a struct rather than as ↵Jelmer Vernooij1-41/+33
separate arguments. This makes it a bit more similar to the Samba4 code. (This used to be commit 0596badb410a58e7a715e2b17bc0bef0489a2448)
2007-10-10r19224: Add setting the rng_fault_state to the already converted pipes.Volker Lendecke1-0/+30
Convert the low-hanging fruit of the LSA server. This provides a sample how the server calls can be converted one by one, see the "proxy_lsa_call" function. Volker (This used to be commit 99e54a213ad3561ea6e8dc44c483847c18c5681e)
2007-10-10r18756: cleanup copyrights after moving to new wkssvc implementation codeGerald Carter1-4/+3
(This used to be commit 18b24e0fe94449b4a3e662f75b233d9c5f622d06)
2007-10-10r18742: this function returns WERRORStefan Metzmacher1-3/+3
gix the build on RedHat 7.0 metze (This used to be commit d6f5a0cc7a7833f36288ec6201da6b4422b22c97)
2007-10-10r18739: * Get the wkssvc patch right this time.Gerald Carter1-22/+301
* Remove the old wkssvc server, client, & parsing code. * Update srv_wkssvc_nt.c with stubs for the remaining stubs (This used to be commit 0cb79ee13fd78b515a48b2c72d91596ed21e41a8)