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

126 Commits

Author SHA1 Message Date
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
Andrew Tridgell
7d212460a5 - corrected some lsa idl
- updated lsa parse code from pidl
(This used to be commit 3983b2aee7)
2003-11-08 11:21:57 +00:00
Andrew Tridgell
60f4bb657a allow qfsinfo to continue with just 10 levels supported in the server
(This used to be commit 9476dd5620)
2003-11-06 05:51:58 +00:00
Andrew Tridgell
41304b3c57 lsa_EnumSids() now works
(This used to be commit 25a8692fed)
2003-11-04 11:16:07 +00:00
Andrew Tridgell
485f930088 lsa_OpenPolicy2 now works
(This used to be commit 9cf479873f)
2003-11-04 09:48:33 +00:00
Andrew Tridgell
46046aa69b yipee! we can now do lsaOpenPolicy() via the new interfaces, without
using any of the old lsa code
(This used to be commit f5bd301ff7)
2003-11-04 09:10:31 +00:00
Andrew Tridgell
d8cbe76b86 added support for fragmented sends
(This used to be commit f51a216136)
2003-11-04 03:38:46 +00:00
Andrew Tridgell
994301bfec added fragmentation support on receive for dcerpc packets. I have
successfully used SourceData with 200M of data in rpcecho
(This used to be commit a9aa7954fe)
2003-11-04 02:28:08 +00:00
Andrew Tridgell
0a427a43c4 added SinkData and SourceData tests for rpcecho
(This used to be commit 7c356350e6)
2003-11-03 10:01:20 +00:00
Andrew Tridgell
399fff106d added rpcecho EchoData test
(This used to be commit 9c7e4db471)
2003-11-03 09:18:38 +00:00
Andrew Tridgell
dfc43cdf14 added a helper function to make building rpc functions a bit easier
(This used to be commit a8feb80438)
2003-11-03 08:37:48 +00:00
Andrew Tridgell
dc2ffe07a8 started adding RPC-ECHO torture cases
(This used to be commit 8cff335dab)
2003-11-03 07:26:30 +00:00
Andrew Tridgell
d064846d5f we only want the per-call stub data
(This used to be commit 95fa15cdcf)
2003-11-03 06:30:33 +00:00
Andrew Tridgell
c5cf474439 a major revamp of the low level dcerpc code in samba4, We can now do a
successful LSA OpenPolicy using smbtorture
(This used to be commit e925c315f5)
2003-11-03 06:22:45 +00:00
Andrew Tridgell
4e3ca10b13 much better synchronised startup in smbtorture - this allows us to run
massive NBENCH runs without killing the client
(This used to be commit 3f20041bb9)
2003-10-29 04:21:58 +00:00
Tim Potter
9182f0e6c5 Add RPC-OPEN test as an example for using the new dcerpc client code.
It's a bit icky so I suspect it won't last long.  (-:
(This used to be commit bc17a4a8ad)
2003-10-28 11:00:54 +00:00
Andrew Tridgell
4e73a3c0fe fixed snprintf.c for systems that have only some of the *printf() family of functions
cope with servers that return bogus (too large) values in max_xmit

cope with a couple more error conditions in RAW-SFILEINFO

better startup time heuristics in NBENCH
(This used to be commit 89f7261ba5)
2003-10-10 05:40:32 +00:00
Andrew Tridgell
bd1ca87733 better child synchronisation at startup in NBENCH
(This used to be commit 4559208c80)
2003-09-29 06:04:23 +00:00
Andrew Tridgell
8205817eec - use deltree to setup base directory
(This used to be commit 19eab118c1)
2003-09-29 06:02:25 +00:00
Andrew Tridgell
0becf4d683 thanks to ntfsd and some google searches I worked out what the unknown
fields in level 261 and level 262 of directory search are, plus the
names of the levels

the unknown fields are a 64bit unique file id, and match the 64 bit
number from the internal_information qfileinfo level
(This used to be commit b69f54eb02)
2003-09-02 04:37:33 +00:00
Andrew Tridgell
11c5869a45 I think I've finally got the ascii/unicode issues right in trans2 find
first

Also expanded the rename test a little
(This used to be commit 723af7f097)
2003-08-31 03:16:52 +00:00
Andrew Tridgell
a8a5ac2bd2 expanded the RAW-READ test to make it clearer that all locks conflict
in SMBlockread, not just other peoples locks (error in spec)
(This used to be commit a56f6896bf)
2003-08-29 04:35:35 +00:00
Andrew Tridgell
133c7a9055 fix a segv when server doesn't support ATTRIBUTE_TAG_INFORMATION
(This used to be commit 19abdace95)
2003-08-23 18:53:46 +00:00
Andrew Tridgell
de10237719 more fixes from the IRIX compiler (thanks herb!)
(This used to be commit 02d068ba7d)
2003-08-15 18:54:44 +00:00
Andrew Tridgell
8e4ab747b0 more fixes from the IRIX compiler (thanks herb!)
(This used to be commit 4cf3839b72)
2003-08-15 18:33:43 +00:00
Andrew Tridgell
cc38992e3f fixed some places where we don't brace (flags & STR_UNICODE)
this fixes the samba4 server with ascii clients
(This used to be commit c770603ac6)
2003-08-15 16:19:48 +00:00
Andrew Tridgell
fe31953678 a few build fixes to try to get irix building
(This used to be commit 4059fbcf02)
2003-08-15 15:16:34 +00:00
Andrew Tridgell
d0a91f4ef2 don't give detailed errors for levels that fail
(This used to be commit 04b60864a6)
2003-08-15 15:12:30 +00:00
Andrew Tridgell
33f413a6bf test resume by name before resume by flags
(This used to be commit 9f395dd768)
2003-08-15 15:11:34 +00:00
Jeremy Allison
0cb8ef099f Print out position info, ensure NT_RENAME info level only works
in a directory.
Jeremy.
(This used to be commit d623a51da0)
2003-08-15 03:54:45 +00:00
Jeremy Allison
a19e269c2c Extended seek tests to check position information.
Jeremy.
(This used to be commit c4cc40c5c8)
2003-08-14 21:11:06 +00:00
Andrew Tridgell
89f55d36f3 added the ancient SMBcreate operation to the testsuite and client lib
(This used to be commit 3eef35e581)
2003-08-14 01:31:31 +00:00
Andrew Tridgell
9af22cd883 added SMBopen to gentest
(This used to be commit b47737b00b)
2003-08-14 01:21:05 +00:00
Andrew Tridgell
ae6453269d added seek to gentest
(This used to be commit 401fce169e)
2003-08-14 01:12:27 +00:00
Andrew Tridgell
b34df4fa86 added read/write seek testing
(This used to be commit 66691dc958)
2003-08-14 01:03:56 +00:00
Andrew Tridgell
4b3d329ca2 - added a raw smb scanner
- its not a root_fid in ntrename
(This used to be commit 74be55efdc)
2003-08-13 22:23:18 +00:00
Andrew Tridgell
a33f570776 - added test for position_information via paths
(This used to be commit 595be06a42)
2003-08-13 20:22:37 +00:00
Andrew Tridgell
0908c05b5c - expanded the ntrename test
- expanded seek test - the position information is handle specific!
(This used to be commit 163970bda6)
2003-08-13 20:19:23 +00:00
Andrew Tridgell
75c0125fb7 - added SMBntrename test suite
- allow username of form DOMAIN\username or DOMAIN/username

- added ntrename to gentest
(This used to be commit 2b464472c1)
2003-08-13 16:04:21 +00:00
Andrew Tridgell
d2b5b80c95 - cope with servers that don't properly implement SMBexit
- add the pidhigh test to the locking test

- expand the rename and unlink testing

- test a wider range of offsets in RAW-READ
(This used to be commit ef819249ec)
2003-08-13 02:04:44 +00:00
Andrew Tridgell
9665caf832 make sure we give the chosen workgroup in gentest
(This used to be commit b8aa4a9a8f)
2003-08-13 02:03:16 +00:00
Andrew Tridgell
ef2e26c91b first public release of samba4 code
(This used to be commit b0510b5428)
2003-08-13 01:53:07 +00:00