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

782 Commits

Author SHA1 Message Date
Tim Potter
bbc15d6f84 r383: Scripting extensions using swig. This commit includes only a (LGPL)
python interface to tdb and a rudimentary build system.

Configure with --with-python and make swig to build and append
$(builddir)/scripting/swig/python to PYTHONPATH.
2007-10-10 12:51:36 -05:00
Tim Potter
e96f3a2005 r382: More C++ friendliness fixes. 2007-10-10 12:51:36 -05:00
Andrew Tridgell
8acecc7f27 r381: make the code more C++ friendly 2007-10-10 12:51:36 -05:00
Andrew Tridgell
b5cb5a1e62 r380: make sure that ldbedit -a works with all tdb and LDAP backends 2007-10-10 12:51:35 -05:00
Andrew Tridgell
6fbbfc4462 r374: allow for a policy_handle fetch using a handle type of
DCESRV_HANDLE_ANY. This is needed for operations like samr_Close()
that take any handle type.
2007-10-10 12:51:35 -05:00
Andrew Tridgell
54f47c45b8 r373: use a much larger default tdb hash size in ldb 2007-10-10 12:51:35 -05:00
Andrew Tridgell
feac996794 r372: automatically create a fake BDC machine account and delete it
afterwards for the RPC-NETLOGON test. This makes it much simpler to
run the test and also means that it doesn't distrurb any existing
domain join you might have.
2007-10-10 12:51:35 -05:00
Andrew Tridgell
4b4f025504 r365: improved the IDL for samr_Connect5() 2007-10-10 12:51:35 -05:00
Andrew Tridgell
0221566cf5 r364: finally worked out the ancient samr_ChangePasswordUser() interface
yay!
2007-10-10 12:51:35 -05:00
Andrew Tridgell
cafc8a5e76 r363: nicer error handling in pidl 2007-10-10 12:51:35 -05:00
Andrew Tridgell
b2ebaf95b7 r362: after setting domain info query it again so we can see what attributes stick 2007-10-10 12:51:35 -05:00
Andrew Tridgell
845730501e r361: allow anonymous browsing 2007-10-10 12:51:34 -05:00
Andrew Tridgell
32707fe3c0 r360: use the STYPE_* definitions from srvsvc.idl 2007-10-10 12:51:34 -05:00
Andrew Tridgell
854b875bbe 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.
2007-10-10 12:51:34 -05:00
Andrew Tridgell
a946315193 r358: added some more annotation on the samr unknown attributes 2007-10-10 12:51:34 -05:00
Andrew Tridgell
53ae1ddb8d r357: added share browsing to smbclient using the SRVSVC MSRPC pipe 2007-10-10 12:51:34 -05:00
Tim Potter
65692c9a93 r356: Start of auto-generated client functions. Tridge can you take a look
and tell me what you think?  Output does not compile yet.
2007-10-10 12:51:34 -05:00
Tim Potter
0be7a866dc r355: Fix a bunch of compiler warnings in the registry code. 2007-10-10 12:51:34 -05:00
Tim Potter
6eb0b17015 r354: Tridge convinced me that writing some wrapper functions by hand was a
bad idea.
2007-10-10 12:51:33 -05:00
Andrew Tridgell
246f17cd4a r344: fixed deletion of index records 2007-10-10 12:51:33 -05:00
Andrew Tridgell
a811640ce4 r343: added automatic reindexing of the database when the index list changes 2007-10-10 12:51:33 -05:00
Andrew Tridgell
84de0b7e58 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()
2007-10-10 12:51:33 -05:00
Andrew Tridgell
925bc2622c 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).
2007-10-10 12:51:33 -05:00
Andrew Tridgell
10844cf925 r327: fixed an uninitialised variable found by valgrind 2007-10-10 12:51:33 -05:00
Andrew Tridgell
d06ed158f9 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)
2007-10-10 12:51:33 -05:00
Andrew Tridgell
67ae0b2a98 r325: added IDL and test code for samr_ChangePasswordUser3().
Also added much better handling of random password generation in the
password change test code
2007-10-10 12:51:32 -05:00
Andrew Tridgell
548ec1efef r324: - don't reseed on every password generate
- check for overflow (very unlikely) in random buffer generation
2007-10-10 12:51:32 -05:00
Andrew Tridgell
5954969f27 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
2007-10-10 12:51:32 -05:00
Andrew Tridgell
b8735ed55c r322: use the -C option to configure for developers (makes a huge speed difference) 2007-10-10 12:51:32 -05:00
Stefan Metzmacher
d52eb75107 r313: add the warning about fileaccess as user 'root'
to a README file and DEBUG(0,()) it on each tree connect

metze
2007-10-10 12:51:20 -05:00
Stefan Metzmacher
84b3589daa 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
2007-10-10 12:51:20 -05:00
Stefan Metzmacher
f1b1bbc550 r311: add srvsvc and wkssvc rpc pipes to the default pipes
metze
2007-10-10 12:51:20 -05:00
Stefan Metzmacher
d0aa749667 r310: add missing ','
metze
2007-10-10 12:51:20 -05:00
Andrew Tridgell
118b6fc292 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 :)
2007-10-10 12:51:20 -05:00
Andrew Tridgell
3c8d580d2c r306: added another define for a DCERPC fault code 2007-10-10 12:51:19 -05:00
Andrew Tridgell
051efa2abf 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
2007-10-10 12:51:19 -05:00
Andrew Tridgell
b10127800a r295: more correct IDL for the netr_AcctLock structure (I hope) 2007-10-10 12:51:19 -05:00
Andrew Tridgell
cabf93f8c8 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
2007-10-10 12:51:19 -05:00
Stefan Metzmacher
f8605b39ab r286: use talloc_array_p() instead of talloc()
add some more WERR_NOT_SUPPORTED stubs to pass our torture tests
(wkssvc and srvsvc)

metze
2007-10-10 12:51:19 -05:00
Stefan Metzmacher
0051e21a4d r278: build and install LDB_PROGS and REG_PROGS by default
metze
2007-10-10 12:51:19 -05:00
Stefan Metzmacher
3d01cf95ad r277: fix the initialisation of subsystems for process model 'thread' and 'standard'
metze
2007-10-10 12:51:19 -05:00
Andrew Tridgell
849d0d314a 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.
2007-10-10 12:51:19 -05:00
Jelmer Vernooij
c98a234d02 r274: Be somewhat more POSIX compatible 2007-10-10 12:51:18 -05:00
Andrew Tridgell
fddda52500 r268: added IDL and test code for samr_QueryDomainInfo2(),
samr_QueryUserInfo2(), samr_QueryDisplayInfo2() and
samr_GetDisplayEnumerationIndex2()
2007-10-10 12:51:18 -05:00
Andrew Tridgell
53c6670887 r267: added IDL and test code for samr_ChangePasswordUser(),
samr_GetDisplayEnumerationIndex(), samr_TestPrivateFunctionsDomain(),
samr_TestPrivateFunctionsUser() and samr_RemoveMemberFromForeignDomain()
2007-10-10 12:51:18 -05:00
Andrew Tridgell
15199a384f r266: modified autoidl to deal with policy handles (this helped me work out
a few more samr functions). Still a hack tho.
2007-10-10 12:51:18 -05:00
Andrew Tridgell
117aa5cab7 r265: fixed a bug in the string to sid conversion code 2007-10-10 12:51:18 -05:00
Andrew Tridgell
747351140b r259: added samr_DeleteGroupMember() IDL and test code 2007-10-10 12:51:18 -05:00
Andrew Tridgell
0b8203306d r258: added samr_AddGroupMember() IDL and test code 2007-10-10 12:51:18 -05:00
Andrew Tridgell
fe1fc81ba7 r257: added samr_SetGroupInfo() IDL and test code 2007-10-10 12:51:18 -05:00