1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

970 Commits

Author SHA1 Message Date
Andrew Tridgell
9e323d5db5 r360: use the STYPE_* definitions from srvsvc.idl
(This used to be commit 32707fe3c0fd7139b597fef1c2b096992e51bdc6)
2007-10-10 12:51:34 -05:00
Andrew Tridgell
31d44e3682 r359: moved the share type definitions to srvsvc.idl
I'd like to see more protocol defininitions in the IDL files and less
in smb.h where possible.
(This used to be commit 854b875bbe447955fb0c3876f046931d0bfde06c)
2007-10-10 12:51:34 -05:00
Andrew Tridgell
304396c892 r358: added some more annotation on the samr unknown attributes
(This used to be commit a946315193443feab786a588f371ad2a560327d4)
2007-10-10 12:51:34 -05:00
Andrew Tridgell
fd7252570b r357: added share browsing to smbclient using the SRVSVC MSRPC pipe
(This used to be commit 53ae1ddb8d974736ed305d5e4da04807f0c04332)
2007-10-10 12:51:34 -05:00
Tim Potter
3dce6f1e23 r356: Start of auto-generated client functions. Tridge can you take a look
and tell me what you think?  Output does not compile yet.
(This used to be commit 65692c9a9301329ad93628778e3d8f9188a67059)
2007-10-10 12:51:34 -05:00
Tim Potter
f3d3b3c809 r355: Fix a bunch of compiler warnings in the registry code.
(This used to be commit 0be7a866dc39e2d63c9c114d0f668287259e7c9e)
2007-10-10 12:51:34 -05:00
Tim Potter
27ce4aa829 r354: Tridge convinced me that writing some wrapper functions by hand was a
bad idea.
(This used to be commit 6eb0b17015071790fb0108b140936ac81f4c7f92)
2007-10-10 12:51:33 -05:00
Andrew Tridgell
803b5d8aa4 r344: fixed deletion of index records
(This used to be commit 246f17cd4a7851042739574f1e07b113c44275c7)
2007-10-10 12:51:33 -05:00
Andrew Tridgell
07882b5460 r343: added automatic reindexing of the database when the index list changes
(This used to be commit a811640ce408373a5c2c0ee2c125bd735d96d5e1)
2007-10-10 12:51:33 -05:00
Andrew Tridgell
b394a4c2ff r336: added a -X command line option to smbtorture to enable dangerous or
possibly destructive tests. Use with care!

Added IDL and test code for samr_Shutdown() and samr_SetDsrmPassword()
(This used to be commit 84de0b7e58c69e0817b9d475de0895a54cc95927)
2007-10-10 12:51:33 -05:00
Andrew Tridgell
493a37ba66 r335: added much better handling of servers that die unexpectedly during a
request (a dead socket). I discovered this when testing against Sun's
PC-NetLink.

cleaned up the naming of some of the samr requests

add IDL and test code for samr_QueryGroupMember(),
samr_SetMemberAttributesOfGroup() and samr_Shutdown().  (actually, I
didn't leave the samr_Shutdown() test in, as its fatal to windows
servers due to doing exactly what it says it does).
(This used to be commit 925bc2622c105dee4ffff809c6c35cd209a839f8)
2007-10-10 12:51:33 -05:00
Andrew Tridgell
1793845e08 r327: fixed an uninitialised variable found by valgrind
(This used to be commit 10844cf925d6a8164191a6dbbcaacc7bf8179933)
2007-10-10 12:51:33 -05:00
Andrew Tridgell
1325dea8ec r326: tweaks to the RPC-SAMR test code to allow win2003 to pass the test (for example, not filling in extra
fields in level21 setuserinfo)
(This used to be commit d06ed158f9aef94159bfc09065ca5ad0c4c99de3)
2007-10-10 12:51:33 -05:00
Andrew Tridgell
45b57a8b38 r325: added IDL and test code for samr_ChangePasswordUser3().
Also added much better handling of random password generation in the
password change test code
(This used to be commit 67ae0b2a9851c1e77fdaa9f317a83bd54950618f)
2007-10-10 12:51:32 -05:00
Andrew Tridgell
2b9fb9618a r324: - don't reseed on every password generate
- check for overflow (very unlikely) in random buffer generation
(This used to be commit 548ec1efefa6f337a362cbadae74f177774e9e29)
2007-10-10 12:51:32 -05:00
Andrew Tridgell
ced7fa4b45 r323: added rough password quality checking in generate_random_str(), so we generate passwords
that are likely to be accepted by the win2003 quality checks
(This used to be commit 5954969f278e7f23190fe7301bfdc608f480eef6)
2007-10-10 12:51:32 -05:00
Andrew Tridgell
7e6038ee00 r322: use the -C option to configure for developers (makes a huge speed difference)
(This used to be commit b8735ed55c5a4375b3b1861a2a45682227dffd4f)
2007-10-10 12:51:32 -05:00
Stefan Metzmacher
8aa6f931d6 r313: add the warning about fileaccess as user 'root'
to a README file and DEBUG(0,()) it on each tree connect

metze
(This used to be commit d52eb75107f291635afcfbe5b79d863f54349793)
2007-10-10 12:51:20 -05:00
Stefan Metzmacher
ee0588bb6f r312: let ntvfs posix backend return NT_STATUS_ACCESS_DENIED in the connect hook
and print out an error message to the debug log which say:
use 'cifs' or 'simple' as ntvfs handler
this also warns about 'root' fileaccess in the 'simple' module

the 'default' ntvfs handler is now registered by the posix backend

metze
(This used to be commit 84b3589daa60cfdd2c868d9468192b0a6e1eebae)
2007-10-10 12:51:20 -05:00
Stefan Metzmacher
7feebcb33a r311: add srvsvc and wkssvc rpc pipes to the default pipes
metze
(This used to be commit f1b1bbc5505c112cd66e07da5faa9a65407e9c07)
2007-10-10 12:51:20 -05:00
Stefan Metzmacher
7eb7b1528b r310: add missing ','
metze
(This used to be commit d0aa749667cf0d9e7c290982d2b4232c27ced706)
2007-10-10 12:51:20 -05:00
Andrew Tridgell
7f26e3ad33 r307: added IDL and test code for samr_GetDomPwInfo(), samr_SetUserInfo2(),
samr_GetBootKeyInformation() and samr_Connect3()

also added some stub IDL for samr_SetBootKeyInformation() although I
don't yet have working test code. This one is tricky, as if you get it
wrong then the target system won't boot any more :)
(This used to be commit 118b6fc292ba3257511b1b83846582013fb59b23)
2007-10-10 12:51:20 -05:00
Andrew Tridgell
55a19a7fc0 r306: added another define for a DCERPC fault code
(This used to be commit 3c8d580d2c2ae528c5725145d81761296b8be04d)
2007-10-10 12:51:19 -05:00
Andrew Tridgell
5f545543f0 r305: - added IDL and test code for samr_RidToSid()
- completed the IDL and test code for the various set user password
  mechanisms in samr. Three password mechanisms are now working, the
  UserInfo24 method, the OemChangePasswordUser2() method (which only
  sets the LM password) and the ChangePasswordUser2() method which sets
  both the LM and NT passwords.

- updated some crypto routines to support the password change tests
(This used to be commit 051efa2abf9d1fbbf783df411c02f2714027f813)
2007-10-10 12:51:19 -05:00
Andrew Tridgell
6428ffb89a r295: more correct IDL for the netr_AcctLock structure (I hope)
(This used to be commit b10127800a3101769241abf42ed76cbddf71a5fa)
2007-10-10 12:51:19 -05:00
Andrew Tridgell
dc8def7a7b r287: patch from Richard Renard to add AcctLockStr and the delete user and
delete group levels of Deltas

also reworked the Deltas IDL to use an enum to make it a little clearer
(This used to be commit cabf93f8c8f5ad0f6f348e0f7e206b952690995c)
2007-10-10 12:51:19 -05:00
Stefan Metzmacher
55da6e7f90 r286: use talloc_array_p() instead of talloc()
add some more WERR_NOT_SUPPORTED stubs to pass our torture tests
(wkssvc and srvsvc)

metze
(This used to be commit f8605b39ab58f8db22358122eafccc8a1cc60004)
2007-10-10 12:51:19 -05:00
Stefan Metzmacher
e5f44e48da r278: build and install LDB_PROGS and REG_PROGS by default
metze
(This used to be commit 0051e21a4dd3ab5773ebdddbc932da70443c158d)
2007-10-10 12:51:19 -05:00
Stefan Metzmacher
916fd3ec10 r277: fix the initialisation of subsystems for process model 'thread' and 'standard'
metze
(This used to be commit 3d01cf95ad8b065cd274bc0e544919c7c9336721)
2007-10-10 12:51:19 -05:00
Andrew Tridgell
8fce9e3c54 r275: added IDL and test code for samr_QueryDisplayInfo3(),
samr_AddMultipleMembersToAlias(),
samr_RemoveMultipleMembersFromAlias(), samr_OemChangePasswordUser2(),
and samr_ChangePasswordUser2()

The password change functions don't actually work yet (but should
soon). At this stage I have just completed the IDL for them. Next step
is to get the hash verifiers right and the torture test should be able
to do password changes.
(This used to be commit 849d0d314a2add80f2b2be6b503fea05973f998e)
2007-10-10 12:51:19 -05:00
Jelmer Vernooij
6de32ddc2d r274: Be somewhat more POSIX compatible
(This used to be commit c98a234d02d6190cf99ab1c9ff7b029f929e292a)
2007-10-10 12:51:18 -05:00
Andrew Tridgell
bfa370671b r268: added IDL and test code for samr_QueryDomainInfo2(),
samr_QueryUserInfo2(), samr_QueryDisplayInfo2() and
samr_GetDisplayEnumerationIndex2()
(This used to be commit fddda52500d482bde79994c14a0a822a1d305ac3)
2007-10-10 12:51:18 -05:00
Andrew Tridgell
d5a860e018 r267: added IDL and test code for samr_ChangePasswordUser(),
samr_GetDisplayEnumerationIndex(), samr_TestPrivateFunctionsDomain(),
samr_TestPrivateFunctionsUser() and samr_RemoveMemberFromForeignDomain()
(This used to be commit 53c66708874f9f8e7868530cd2a780160e2eca01)
2007-10-10 12:51:18 -05:00
Andrew Tridgell
80d9ba9d76 r266: modified autoidl to deal with policy handles (this helped me work out
a few more samr functions). Still a hack tho.
(This used to be commit 15199a384f63ff206c8bcd483d615a3f91e9877d)
2007-10-10 12:51:18 -05:00
Andrew Tridgell
b9411f8aca r265: fixed a bug in the string to sid conversion code
(This used to be commit 117aa5cab7783ea741d4840ea5ced00cf34868a3)
2007-10-10 12:51:18 -05:00
Andrew Tridgell
3441f07716 r259: added samr_DeleteGroupMember() IDL and test code
(This used to be commit 747351140b839879abe1a79a005d81ca4b35a658)
2007-10-10 12:51:18 -05:00
Andrew Tridgell
04af17ec63 r258: added samr_AddGroupMember() IDL and test code
(This used to be commit 0b8203306d9eb61aaec9549d56c40831fcd091c3)
2007-10-10 12:51:18 -05:00
Andrew Tridgell
90fd8aef69 r257: added samr_SetGroupInfo() IDL and test code
(This used to be commit fe1fc81ba76515b79069881d2d62f60201314d04)
2007-10-10 12:51:18 -05:00
Andrew Tridgell
a106e7c7f2 r256: added samr_CreateDomainGroup() and samr_DeleteDomainGroup() IDL and test code
(This used to be commit 46185a71ba0e06544cacf117654e4dbf39385378)
2007-10-10 12:51:17 -05:00
Andrew Tridgell
826efc9c46 r255: added samr_SetDomainInfo IDL and test code
(This used to be commit 9f12fb39dbac886582d0ccce418491522c042fe6)
2007-10-10 12:51:17 -05:00
Volker Lendecke
b03a02ab25 r232: Test whether querydispinfo and enumdomgroups return the same set of
group names.

Volker
(This used to be commit 481cec94c47ffda341e00d628cf34c2c7b5de2fa)
2007-10-10 12:51:17 -05:00
Andrew Tridgell
b8ae2559a7 r218: added a comment regarding the %c strftime() warning
(This used to be commit 03c5dd88558bdd9ca714e6842ea65fa3b667657e)
2007-10-10 12:51:17 -05:00
Stefan Metzmacher
5201ae9b31 r212: fix the svk stuff
metze
(This used to be commit 995f54b208eed93930e177ff3f3da44ba4d53bed)
2007-10-10 12:51:17 -05:00
Stefan Metzmacher
bfbe809a6f r211: svk has different revision numbers,
so use "3.9.0-SVK-build-276-metze@dragon"
as version when the working copy is checked out with svk

metze
(This used to be commit a99e31d10fefa6f0bc12444cfc97e5398e80e518)
2007-10-10 12:51:17 -05:00
Tim Potter
3b2993cf0d r210: More work on DCERPC client functions:
- implement lsa_LookupNames, lsa_LookupSids and lsa_Close

  - add stubs for remaining functions from idl

  - fix lsa_OpenPolicy and lsa_OpenPolicy2 to use a temporary
    talloc context for the rpc call
(This used to be commit f8c41bd5216be4a4e657ee5081df60aab5a5d02c)
2007-10-10 12:51:17 -05:00
Stefan Metzmacher
1ac201024b r206: - we know use SVN not CVS:-)
- we should cleanup the cache before and after autoconf

metze
(This used to be commit 114f5198a7e73af5c62fe83145f836588ed365fe)
2007-10-10 12:51:17 -05:00
Stefan Metzmacher
dda81bdb92 r205: update to the new version schema
in a svn or svk working copy (checked out tree)
we now have "3.9.0-SVN-build-205" versions
for the SAMBA_4_0 branch

when I put out the 3.9.0 release
it will change to 3.9.1-SVN-build-XXX

I will merge this to SAMBA_3_0 and trunk soon

metze
(This used to be commit a7f552f96bfc1b549e16a09e9bc8c8c57c02eb3e)
2007-10-10 12:51:16 -05:00
Jeremy Allison
763c4bc9ac r204: Turns out that the string in the SEARCH unix_info level is that
rare thing, a non-length string (ie. not a WIRE_STRING) but a null
terminated char string. There wasn't a good interface to pull that
out of a blob (all the string interfaces assumed WIRE_STRINGS). Added
a new one, only used for this call. Sucks, I know - but the alternatives
suck more. Added tests for some of the unix info returned.
Jeremy.
(This used to be commit 4d0ed04c54b105789ffd32334c3b0e544f02418c)
2007-10-10 12:51:16 -05:00
Jeremy Allison
6f47ce8b6c r203: Added size and alloc size tests to UNIX info level.
Jeremy.
(This used to be commit 16455c5b34fd09ab16a1ea841f710ce65bc492c8)
2007-10-10 12:51:16 -05:00
Paul Green
bf6e1db398 r202: Fix aclocal.m4 to only use $BLDSHARED to select whether to build static or shared libraries.
(This used to be commit a4ce81cb0680af431ef855f15693c0377cf284e0)
2007-10-10 12:51:16 -05:00