summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-02Use pidl for _samr_SetSecurity().Günther Deschner1-22/+1
Guenther (This used to be commit 6bfd76002f083f07b3d9d5c1f16e67614e7eb972)
2008-02-02Use pidl for _samr_QuerySecurity().Günther Deschner1-22/+1
Guenther (This used to be commit c61cba97268f198ad7e25acc3cb0b166e897299d)
2008-02-01Use pidl for _samr_ChangePasswordUser2().Günther Deschner1-23/+1
Guenther (This used to be commit a142fe21e386233af658024b5a194eee0bc5c4ba)
2008-02-01Use pidl for _samr_CreateUser2().Günther Deschner1-24/+1
Guenther (This used to be commit 36f52b631c013f885ed25ea741a52f763d27198b)
2008-02-01Use pidl for _samr_CreateDomainGroup().Günther Deschner1-22/+1
Guenther (This used to be commit c53bfd74251398924a1fae0fd8d9020dba958ba1)
2008-02-01Use pidl for _samr_CreateDomAlias().Günther Deschner1-22/+1
Guenther (This used to be commit 622d529c45aaa6d8ddd3a38a2fa4fc5e1ad53fe9)
2008-02-01Use pidl for _samr_DeleteDomAlias().Günther Deschner1-22/+1
Guenther (This used to be commit 31d5a3aaa42c18319fd751aba65f435348b1e83e)
2008-02-01Use pidl for _samr_DeleteDomainGroup().Günther Deschner1-22/+1
Guenther (This used to be commit b8bf051bdda221dda15598e16bb8dbec68bc7df7)
2008-02-01Use pidl for _samr_DeleteUser().Günther Deschner1-22/+1
Guenther (This used to be commit 86827e374469421e2204598712225fb19d4af64b)
2008-02-01Use pidl for _samr_OpenGroup().Günther Deschner1-22/+1
Guenther (This used to be commit e74ad425ff3a139fa12c0320e4a292dcb0991888)
2008-02-01Use pidl for _samr_OpenAlias().Günther Deschner1-23/+1
Guenther (This used to be commit 1a98282d2c61e45645c68941631eb0499baa4cbb)
2008-02-01Use pidl for _samr_OpenUser().Günther Deschner1-22/+1
Guenther (This used to be commit ea3a096bcdc42fd4a86be5df3e8f9745e99970ff)
2008-02-01Use pidl for _samr_OpenDomain().Günther Deschner1-23/+1
Guenther (This used to be commit 15801832ecd59bdb35ed33696944fe5beb08bf3f)
2008-01-31Use pidl for samr_GetDomPwInfo() server-side.Günther Deschner1-22/+1
Guenther (This used to be commit 60fe8ade74d24d49f0fed0aae360a3b00edcd2b4)
2008-01-31Let _samr_Close() use pidl generated server code.Günther Deschner1-20/+20
Guenther (This used to be commit 2df3408079fc382d00d01a0b82b0b8e1ffeba6e4)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-48/+48
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-1/+1
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
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-10r18621: Fix samr server build.Günther Deschner1-1/+1
Guenther (This used to be commit 23d6656427d0f7184f5365f6cb9356b15186b30e)
2007-10-10r15452: Again purely cosmetic reformat of the samr query domain info calls.Günther Deschner1-10/+9
Guenther (This used to be commit 6ed7d7fa70e3f750f921192c0f75594d608875b7)
2007-10-10r14597: Merge DCERPC_FAULT constants from Samba 4.Günther Deschner1-1/+1
Guenther (This used to be commit 3f195f8248c88ec8bf8ceb195575ce6bb49d7fc4)
2007-10-10r13442: Implement samr_chgpasswd_user3 server-side.Günther Deschner1-0/+32
Guenther (This used to be commit f60eddc0a4dfe623e5f115533a62c03810fd5f38)
2007-10-10r11793: Fix the SAMR cache so it works across completely insaneJeremy Allison1-10/+10
client behaviour (ie.: open pipe/open SAMR handle/enumerate 0 - 1024 close SAMR handle, close pipe. open pipe/open SAMR handle/enumerate 1024 - 2048... close SAMR handle, close pipe. And on ad-nausium. Amazing.... probably object-oriented client side programming in action yet again. This change should *massively* improve performance when enumerating users from an LDAP database. Jeremy. (This used to be commit 8ce705d9cc1b6a79d710a10ff38f72a0f1006dda)
2007-10-10r11769: Looking at a performance problem enumerating accounts, wonderedJeremy Allison1-1/+33
if changing to support samr_connect5 might help so quickly coded it up. No it doesn't :-(. Don't merge this for 3.0.21 please. Jeremy. (This used to be commit bff1df678a8948d382f4555e83a1df23146a4b12)
2007-10-10r5349: After talking with Jerry, reverted the addition of account policies toGünther Deschner1-0/+1
passdb in 3_0 (they are still in trunk). Guenther (This used to be commit fdf9bdbbac1d8d4f3b3e1fc7e49c1e659b9301b1)
2003-12-04* fix RemoveSidForeignDomain() ; bug 252Gerald Carter1-10/+10
* don't fall back to unmapped UNIX group for get_local_group_from_sid() * remove an extra become/unbecome_root() pair from group enumeration (This used to be commit da12bbdb0dd9179b1ed457fa009679e2da4a8440)
2003-08-27renaming some functions for consistencyGerald Carter1-3/+3
(This used to be commit f4ca4aae8ad0496b76c710cf79c791724bdaa4ec)
2003-08-20Fix bug #252. Implement missing SAMR_REMOVE_USER_FOREIGN_DOMAINGerald Carter1-16/+11
call. (This used to be commit dd2cf4897ec3db25c24a2724ffdef4f905625f6a)
2003-08-14Attempt at fixing bug #283. There however is no solution.Gerald Carter1-4/+12
There is a workaround documented in the bug report. This patch does: * add server support for the LSA_DS UUID on the lsarpc pipe * store a list of context_ids/api_structs in the pipe_struct so that we don't have to lookup the function table for a pipe. We just match the context_id. Note that a dce/rpc alter_context does not destroy the previous context so it is possible to have multiple bindings active on the same pipe. Observed from standalone win2k sp4 client. * added server code for DsROleGetPrimaryDOmainInfo() but disabled it since it causes problems enumerating users and groups from a 2ksp4 domain member in a Samba domain. (This used to be commit 96bc2abfcb0dd0912696fad76e43cb217b33e061)
2003-08-01Update my copyrights according to my agreement with IBMJim McDonough1-1/+1
(This used to be commit a2bd8f0bfa12f2a1e33c96bc9dabcc0e2171700d)
2003-08-01Fix copyright statements for various pieces of Anthony Liguori's work.Jim McDonough1-2/+1
(This used to be commit 15d2bc47854df75f8b2644ccbc887d0357d9cd27)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij1-2/+2
function. Patch by metze with some minor modifications. (This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
2003-04-15use the new modules system for the rpc modules (backport from HEAD)Jelmer Vernooij1-4/+0
(This used to be commit aca7319e8d45eb604f28b8bd490413b08e2c98f2)
2003-02-14merge from HEAD - enable dynamic RPC modulesJim McDonough1-64/+64
(This used to be commit d9c485b01017594d113502f9de2248d6c120cfa3)
2002-11-29Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter1-1/+0
should actual functional differences between HEAD and 3.0. - Mostly reformatting - Removal of unecessary #include "smb.h" - Merge of dyn_DRIVERFILE removal - Silly bug fix for python code (This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
2002-08-17Sync 3.0 branch with HEADJelmer Vernooij1-3/+37
(This used to be commit e01596853e3eea533baa08c33f26ded75f33fdd4)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-0/+35
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-12-21added a copyright notice.Jean-François Micouleau1-0/+1
J.F. (This used to be commit 87928c4d91940447191af4fe83a2be7ac3477361)
2001-11-28added samr_set_domain_info and samr_unknown_2E.Jean-François Micouleau1-0/+64
We now get the full account policy window in usermanager, and the framework to store all those values. I plan to add a TDB file to store them. oh, and found that the last value in a sam_unknown_info_12_inf struct is an uint16 and not a uint32. andrewb: you hardcoded the MAX_PASSWORD_AGE to 21 days. We can now turn it to a value setable in usermanager. J.F. (This used to be commit 99471d25693f6672d433b90a060378f6faad867f)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-2/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell1-1/+1
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-05-18Fix the W2KSP2 joining a Samba domain problem.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 6bbcab5e48f91a80d4ebcbd2bee38f2e0a8bff78)
2001-05-08fixes to the group mapping code.Jean-François Micouleau1-0/+31
Not ready yet. J.F. (This used to be commit 62a7a567fdea230b77cc97a3f74d868542c34700)
2001-05-04Big cleanup of passdb and backends.Jean-François Micouleau1-80/+49
I did some basic tests but I have probably broken something. Notably the password changing. So don't cry ;-) J.F. (This used to be commit a4a4c02b12f030a3b9e6225b999c90689dfc4719)
2001-03-23first pass of the new group mapping codeJean-François Micouleau1-34/+121
J.F. (This used to be commit 7154deb026d53cb0cd503562174c3332a372be63)
2001-03-16Added Michael Sweet's CUPS patch to call directly into the CUPS backend.Jeremy Allison1-1/+1
Parameterises the printing functions so other backends can be plugged directly in (this is a good thing :-). Jeremy. (This used to be commit c0345bbaed5d1aac777f1a33ff84ad1899f2ed6d)
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison1-1910/+592
RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. (This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
2001-03-07Sync up handle creation with 2.2 branch. We can now join AS/U domains andJeremy Allison1-1/+1
authenticate against them. Big/little endian issues fixed. Jeremy. (This used to be commit 0e6a34510ed598eaec7fe71a9c91fda528a4675c)