summaryrefslogtreecommitdiff
path: root/source4/rpc_server/common
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18558: Fix ShareCheck which was assuming all paths are "C:\"Simo Sorce1-1/+4
Also cope with the fact that we define the FSTYPE as NTFS by default. We never use this anywhere else, so we may just change it, but just detect the fact and return DISK in share_classic for now. (This used to be commit 4daf5f7764ce69c14066f7320961c90141f0863a)
2007-10-10r18555: use C:\ as default not C:Stefan Metzmacher1-1/+1
metze (This used to be commit d9137edbdb61f2847453357b94050e5afc2fe68b)
2007-10-10r18550: Return a path not just a disk driveSimo Sorce1-1/+9
(This used to be commit 60076fa87d6c68295ebedc28cdbbd4556cfd0ae7)
2007-10-10r18412: Implement NetiNameValidate but just for share name right now (type 9)Simo Sorce1-0/+9
Simo. (This used to be commit 906429834a102349582017ef73a69e211ef5c500)
2007-10-10r18315: Implement netSrvGetInfo level 102Simo Sorce1-0/+44
fix names to be consistent between level 101 and 102 and typo in idl (This used to be commit 1962fb92d706962544c293770718294e595f9fc4)
2007-10-10r17206: Add a modular API for share configuration.Simo Sorce2-46/+19
Commit the classic backwards compatible module which is the default one (This used to be commit a89cc346b9296cb49929898d257a064a6c2bae86)
2007-10-10r15379: Fix shared library build's unresolved dependenciesJelmer Vernooij1-1/+1
(This used to be commit 0fafa2e59566f8f892d7dfd7dd33d0100b96a780)
2007-10-10r15319: remove unneeded macrosStefan Metzmacher1-8/+0
metze (This used to be commit 9611c8aa9ce0eba1703d5eecc52e67a9e5fba15f)
2007-10-10r14567: Make some more functions public.Jelmer Vernooij1-7/+7
(This used to be commit 8e84e6cb6b172c89072723e07f344da8f4476c1f)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-1/+1
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14380: Reduce the size of structs.hJelmer Vernooij3-0/+4
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij1-0/+2
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r8049: add function that returns the build version (of w2k3 here 3790)Stefan Metzmacher1-0/+6
metze (This used to be commit 81abbdaeb180a1618e34ab56275f6eeacfcc99ce)
2007-10-10r6606: add a DCESRV_FAULT_VOID() marco to use in void functionsStefan Metzmacher1-0/+6
metze (This used to be commit a379836de63951bcfbc281425af3db7094248f2f)
2007-10-10r5988: Fix the -P option (use machine account credentials) to use the Samba4Andrew Bartlett1-59/+0
secrets system, and not the old system from Samba3. This allowed the code from auth_domain to be shared - we now only lookup the secrets.ldb in lib/credentials.c. In order to link the resultant binary, samdb_search() has been moved from deep inside rpc_server into lib/gendb.c, along with the existing gendb_search_v(). The vast majority of this patch is the simple rename that followed, (Depending on the whole SAMDB for just this function seemed pointless, and brought in futher dependencies, such as smbencrypt.c). Andrew Bartlett (This used to be commit e13c671619bd290a8b3cae8555cb281a9a185ee0)
2007-10-10r4640: first stage in the server side support for multiple context_ids on ↵Andrew Tridgell1-1/+8
one pipe this stage does the following: - simplifies the dcerpc_handle handling, and all the callers of it - split out the context_id depenent state into a linked list of established contexts - fixed some talloc handling in several rpc servers that i noticed while doing the above (This used to be commit fde042b3fc609c94e2c7eedcdd72ecdf489cf63b)
2007-10-10r4558: more use of bitmaps and enumsStefan Metzmacher2-4/+9
metze (This used to be commit 2a859fbc90a6b043bac318196e42c2949958d57f)
2007-10-10r4475: fixed smbd to work with the small changes in the ldb API (the most ↵Andrew Tridgell1-1/+3
important change was in the ldb_msg_add_*() routines, which now use the msg as a context, and thus it needs to be a talloc ptr) (This used to be commit 1a4713bfd0e519f3eb7b3241121ff914a6eeef18)
2007-10-10r4440: - add a start of srvsvc_NetShareCheck() server codeStefan Metzmacher1-5/+21
- filterout hidden shares in NetShareEnum() - get max_connections right metze (This used to be commit c685823c5d75f22177549566866301523a64a1dd)
2007-10-10r4432: - add srvsvc_NetShareInfo level 1006 and 1501 idlStefan Metzmacher1-3/+9
- implement srvsvc_NetGetShareInfo() - add more error checks - bring the rest of the code in the same layout metze (This used to be commit 0dd14d9fc611a33dad4e559321d6c50d82efb5d1)
2007-10-10r4425: - move srvsvc and wkssvc server code to the new ↵Stefan Metzmacher1-7/+25
W_ERROR_HAVE_NO_MEMORY() macro - add parameters for server_info:platform_id = 500 /* this is PLATFORM_ID_NT */ server_info:version_major = 5 server_info:version_minor = 2 - implmented srvsvc_NetSrvGetInfo level 101 - make dcesrv_common_get_server_name() match w2k3 metze (This used to be commit 16f43207704397c6e3c0132e9f17c8a1a846ddca)
2007-10-10r4275: improve the share type infoAndrew Tridgell1-0/+6
(This used to be commit 750deb7f225b753f6c1547f7582f4edc4d817c58)
2007-10-10r3783: - don't use make proto for ldb anymoreStefan Metzmacher1-0/+1
- split ldh.h out of samba's includes.h - make ldb_context and ldb_module private to the subsystem - use ltdb_ prefix for all ldb_tdb functions metze (This used to be commit f5ee40d6ce8224e280070975efc9911558fe675c)
2007-10-10r2953: add NTSTATUS_TALLOC_CHECK(x)Stefan Metzmacher1-0/+4
metze (This used to be commit a2cc9517208adedbcbed4b01d18a1478f75d70df)
2007-10-10r2887: fix commentStefan Metzmacher1-1/+1
metze (This used to be commit 5143a9bd8aa84b80763c304638a27395b53b54cc)
2007-10-10r2792: got rid of talloc_ldb_alloc() and instead created talloc_realloc_fn(),Andrew Tridgell1-1/+1
so talloc now doesn't contain any ldb specific functions. allow NULL to be passed to a couple more talloc() functions (This used to be commit 1246f80d806fb5f63cfbf3879de6d546384552a8)
2007-10-10r2055: Add PRINTF_ATTRIBUTE to many more parts of the code, and a newAndrew Bartlett1-1/+1
--enable-developer warning for when they are missing. Andrew Bartlett (This used to be commit 8115e44d47bcd65edba08d10117180ae508cdbc1)
2007-10-10r1519: show the ldb_errstring() value in the log for failed ldb callsAndrew Tridgell1-1/+3
(This used to be commit 0c5a5632a8584e55a1013da634a279c6b3a9e085)
2007-10-10r1270: Start to break samdb into general bits so we can share code with otherTim Potter1-0/+54
similar dbs. (This used to be commit 1162e2fcff177cbbe84506efea0f79f68ecb233c)
2007-10-10r1205: Whoops - this should fix the build.Tim Potter1-2/+5
(This used to be commit e21f324937df2fe70b693112bd0b6fe6575d70ed)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher2-11/+11
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r578: initial server side implementation of samr_CreateUser(),Andrew Tridgell1-0/+11
samr_CreateUser2(), samr_LookupNames(), samr_OpenUser(), and samr_DeleteUser() this uses a user template in the SAM db, of objectclass "userTemplate" and dn CN=TemplateUser,CN=Templates,$BASEDN. Using a template allows an admin to add any default user attributes that they might want to the user template and all new users will receive those attributes. (This used to be commit 10b6e0011b5952c98432dc2d4b2058ac89a9cc2d)
2007-10-10r464: a big improvement to the API for writing server-side RPCAndrew Tridgell1-4/+12
servers. Previously the server pipe code needed to return the RPC level status (nearly always "OK") and separately set the function call return using r->out.result. All the programmers writing servers (metze, jelmer and me) were often getting this wrong, by doing things like "return NT_STATUS_NO_MEMORY" which was really quite meaningless as there is no code like that at the dcerpc level. I have now modified pidl to generate the necessary boilerplate so that just returning the status you want from the function will work. So for a NTSTATUS function you return NT_STATUS_XXX and from a WERROR function you return WERR_XXX. If you really want to generate a DCERPC level fault rather than just a return value in your function then you should use the DCESRV_FAULT() macro which will correctly generate a fault for you. As a side effect, this also adds automatic type checking of all of our server side rpc functions, which was impossible with the old API. When I changed the API I found and fixed quite a few functions with the wrong type information, so this is definately useful. I have also changed the server side template generation to generate a DCERPC "operation range error" by default when you have not yet filled in a server side function. This allows us to correctly implement functions in any order in our rpc pipe servers and give the client the right information about the fault. (This used to be commit a4df5c7cf88891a78d82c8d6d7f058d8485e73f0)
2007-10-10r138: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 7e42465192e67563f19e6362e243b01406c5e025)
2007-10-10r127: NetWkstaGetInfo level 101Stefan Metzmacher2-3/+10
and return WERR_ACCESS_DENIED for level 102, 502 so does my winXP box for a non-admin user metze (This used to be commit 975bf13f17e0bd95ec37af3534e5209c1de99252)
2007-10-10r126: - add first srvsvc and wkssvc server side stuffStefan Metzmacher3-0/+188
- we know can browse the server via the Windows Explorer - some little fixes to the winreg server pipe metze (This used to be commit 6f213a3494d3b5ab629944394b20a84075a04438)