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

91 Commits

Author SHA1 Message Date
Andrew Tridgell
e62c5c9a8d use [subcontext] to make GetPrinter a bit easier in smbtorture
(This used to be commit a5140985d8)
2003-11-17 09:34:19 +00:00
Andrew Tridgell
d1feb4c6d5 call OpenPrinterEx on each printer on the server, and then call
GetPrinter with all info levels on each printer
(This used to be commit 136b3cfc04)
2003-11-17 04:56:59 +00:00
Andrew Tridgell
bf48b6e69a added OpenPrinter and a test function. Note that the Samba3 structure
for OpenPrinter was wrong.
(This used to be commit 186ddbbf87)
2003-11-17 03:38:13 +00:00
Andrew Tridgell
90916de4a5 * more info levels for EnumPrinter
* use WERROR return type in spoolss EnumPrinter
(This used to be commit 8301a6b6ad)
2003-11-17 02:58:10 +00:00
Andrew Tridgell
657b4d2abd nicer method of handling spoolss EnumPrinters
this also handles the return of several printers (an array of relative
subcontexts)
(This used to be commit 060421c7dc)
2003-11-17 02:18:11 +00:00
Andrew Tridgell
ae4cb40100 use nstring and [relative] to support levels 1 and 2 of EnumPrinters
fully
(This used to be commit 69c6017c94)
2003-11-16 13:49:14 +00:00
Andrew Tridgell
ea266c0625 added support for level1 of EnumPrinters in spoolss. This uses a
number of "magic" add-ons to IDL to make it less painful, hopefully
this will make IDL generation useful for horrible systems like spoolss
(This used to be commit e18dba7d5a)
2003-11-16 11:36:59 +00:00
Tim Potter
274667be32 Added tests for EnumPrinters and ClosePrinter.
(This used to be commit 9f3b84c7d7)
2003-11-16 04:20:29 +00:00
Andrew Tridgell
5bd51a1d5d the returned policy handle in spoolss_OpenPrinterEx() is pass by
reference

(tim, my apoligies if this conflicts with an uncomitted fix from you)
(This used to be commit fa0872e663)
2003-11-15 20:56:18 +00:00
Andrew Tridgell
c24f56e71c remember to samr_Close() policy handles after use
(This used to be commit 8b4e5c65e0)
2003-11-15 20:47:59 +00:00
Andrew Tridgell
8c90fcd32b added OpenAlias and QueryAliasInfo levels 1 to 3
(This used to be commit 2ed8cfdf66)
2003-11-15 12:38:06 +00:00
Andrew Tridgell
4d00dd9d5d added OpenGroup and QueryGroupInfo levels 1 to 4
(This used to be commit ffe4fcaab0)
2003-11-15 12:14:22 +00:00
Andrew Tridgell
f272eb3139 don't encode my own servers name in the test :)
(This used to be commit bcc87ab8c0)
2003-11-15 11:39:47 +00:00
Andrew Tridgell
e7d70e40d5 added UserInfo level 21
(This used to be commit b90eff794f)
2003-11-15 11:34:01 +00:00
Andrew Tridgell
8f09c940b7 added samr UserInfo levels 4 to 20
(This used to be commit 5bbe63a7bb)
2003-11-15 11:13:49 +00:00
Andrew Tridgell
e92419e2d3 added samr_UserInfo2 and samr_UserInfo3
(This used to be commit 5e852f694c)
2003-11-15 10:58:29 +00:00
Andrew Tridgell
42a25ebb75 added samr_OpenUser, samr_EnumDomainAliases and samr_QueryUserInfo level 1
(This used to be commit e7edeec60e)
2003-11-15 10:03:12 +00:00
Andrew Tridgell
4063fd08d4 added samr_EnumDomainGroups and samr_EnumDomainUsers
(This used to be commit f8d690fb2b)
2003-11-15 09:39:48 +00:00
Andrew Tridgell
4cadb043d7 added another 11 levels of QueryDomainInfo
(This used to be commit 219cfabaeb)
2003-11-15 09:18:02 +00:00
Andrew Tridgell
497e01e93e added samr_OpenDomain() and samr_QueryDomainInfo() level 1
(This used to be commit 2d9c055c1b)
2003-11-15 08:06:39 +00:00
Andrew Tridgell
bcfbaa312a run LookupDomain on each domain returned from EnumDomains in samr
(This used to be commit 947b9f8ced)
2003-11-15 07:51:19 +00:00
Andrew Tridgell
ba5a060136 added the first couple of calls from samr as IDL
samr_EnumDomains() works nicely
(This used to be commit 7c162eaf3b)
2003-11-15 06:00:21 +00:00
Tim Potter
78b7118d1a Skeleton IDL for SPOOLSS pipe. For this inital version, only OpenPrinterEx
works but without a devicemode.
(This used to be commit 35e889cf33)
2003-11-15 05:42:49 +00:00
Andrew Tridgell
099899a7cc added lsa_QuerySecObj() and the necessary sec_desc_buf supporting code
also adding printing of security descriptors
(This used to be commit 1f93cbc1d5)
2003-11-15 04:42:48 +00:00
Andrew Tridgell
5a1779b982 it turns out that all MS servers ignore the artifact struct_len fields
in OpenPolicy and OpenPolicy2, so we don't in fact need the
[struct_len] attribute. This makes our IDL much closer to the MS IDL.
(This used to be commit f0a8f063a6)
2003-11-14 21:39:13 +00:00
Andrew Tridgell
f147a70795 added the dfs_GetInfo all - all levels
(This used to be commit 638eae6bae)
2003-11-14 13:16:34 +00:00
Andrew Tridgell
15b258051c * added levels 4, 200 and 300 to NetDfsEnum. 200 and 300 don't work
properly, I'm still investigating that.

* changed dcerpc fault status code to NT_STATUS_NETWORK_WRITE_FAULT,
  which I think is a better mapping
(This used to be commit 9ad28f6ddb)
2003-11-14 08:27:39 +00:00
Andrew Tridgell
57529207ca * fixed lsa_LookupPrivName
* added levels 2 and 3 of dfs_Enum
(This used to be commit 3fa61c1982)
2003-11-14 07:56:43 +00:00
Andrew Tridgell
e8a3825ebc we can now do a level1 NetDfsEnum()
(This used to be commit f32641f73f)
2003-11-14 07:20:46 +00:00
Andrew Tridgell
9cadbd5775 fixed rpcecho EchoData debug code
(This used to be commit 01cdcba5cd)
2003-11-13 10:29:58 +00:00
Andrew Tridgell
3031937d56 * fixed conformant arrays in structures
* expanded the rpcecho test

* started adding the NETDFS pipe
(This used to be commit 095ab42cbd)
2003-11-13 09:26:53 +00:00
Andrew Tridgell
c614ea5435 added QueryPolicyInfo/PrimaryDomainInfo idl and test code
(This used to be commit b754ad2eae)
2003-11-11 06:54:54 +00:00
Andrew Tridgell
bde602b9e1 support lsa_AuditEventsInfo
(This used to be commit 7e7cb97593)
2003-11-11 06:22:58 +00:00
Andrew Tridgell
deeb8d98a1 start using automatic union printing
(This used to be commit e81040a902)
2003-11-11 04:38:51 +00:00
Andrew Tridgell
cecbf0cd8b automatically generate ndr_print_*() functions for every IDL
structure. This allows easy debug and test tool writing without having
to write functions that print every element of complex structures.
(This used to be commit 81d6181172)
2003-11-11 04:04:36 +00:00
Andrew Tridgell
a934f89549 started adding support for lsa_QueryInfoPolicy
(This used to be commit 5b2d577969)
2003-11-11 02:02:29 +00:00
Andrew Tridgell
657dc577b6 added idl and test code for lsa_LookupPrivName()
(This used to be commit c742227ec3)
2003-11-10 12:42:45 +00:00
Andrew Tridgell
4659d4f9e2 added IDL and test for lsa_EnumAccountRights()
interestingly, win2000 doesn't return the same list of rights via
lsa_EnumAccountRights() and lsa_EnumPrivsAccount()
(This used to be commit 447c5f13d4)
2003-11-10 12:12:22 +00:00
Andrew Tridgell
a9fbdd4838 added IDL and test for lsa_EnumPrivsAccount()
(This used to be commit f8bbce69bf)
2003-11-10 11:37:19 +00:00
Jelmer Vernooij
e69987090f Add make rule for smbiconv
(This used to be commit 4c0226c718)
2003-11-09 16:24:31 +00:00
Jelmer Vernooij
7d07455b96 Add iconv test utility
(This used to be commit 00807119ee)
2003-11-09 15:52:01 +00:00
Andrew Tridgell
3fa8da4d26 - fixed lsa_EnumTrustDom
- added lsa_OpenAccount

- handle STATUS_SOME_UNMAPPED
(This used to be commit e5d93cf996)
2003-11-09 11:01:39 +00:00
Andrew Tridgell
3c669340f5 added lsa_EnumTrustDom
(This used to be commit ef60a70912)
2003-11-09 10:01:24 +00:00
Andrew Tridgell
4bba087298 added lsa_EnumPrivs idl and test code
(This used to be commit fe12f81ba4)
2003-11-09 09:44:06 +00:00
Andrew Tridgell
e3581c28bb added a test for lsa_Close()
(This used to be commit dbadbbf1a7)
2003-11-09 09:04:28 +00:00
Andrew Tridgell
44dfd03963 - added the rest of the LSA calls as stubs
- auto-generate the client calls with 'make idl'
(This used to be commit 8e52381313)
2003-11-09 08:30:29 +00:00
Andrew Tridgell
adf6142953 converted the rpcecho pipe to use IDL
(This used to be commit 1b7a7bc464)
2003-11-09 07:24:06 +00:00
Andrew Tridgell
363754a865 use a more consistent style for the client stubs
(This used to be commit 9946532f97)
2003-11-09 04:40:50 +00:00
Andrew Tridgell
946d358646 lsa_LookupNames now works
(This used to be commit fba3a7ad22)
2003-11-09 02:21:24 +00:00
Andrew Tridgell
cff32d6b0a added idl, generated code and test code for lsa_LookupSids
(This used to be commit afa1ff5f08)
2003-11-09 00:58:40 +00:00