1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

13279 Commits

Author SHA1 Message Date
Jelmer Vernooij
0b91f39164 r24780: More work allowing libutil to be used by external users.
(This used to be commit 31993cf67b)
2007-10-10 15:03:10 -05:00
Ronnie Sahlberg
b867b3c147 r24779: add 11 specific access rights that applies to accessmasks for User
objects on the samr pipe.

8 of these bits :
  get name etc
  get locale
  get loc com
  set attributes
  change password
  set password
  get groups
comes from wireshark/ethereal where they were added Aug 21 2002

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054

3 bits :
  get attributes
  get group membership
  change group membership
also come from wireshark/ethereal where they were added Jul 24 2003

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=8022&r2=8080
(This used to be commit 1c2729228a)
2007-10-10 15:03:09 -05:00
Ronnie Sahlberg
0193c58114 r24777: add 11 specific access rights to the access mask for
domains on the samr pipe

10 of these bits :
  lookup info 1
  set info 1
  lookup info 2
  set info 2
  create user
  create group
  create alias
  enum account
  open account
  set info 3
come from wireshark/ethereal and were added to wireshark in Aug 21 2002
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054

one bit
  lookup alias
also comes from wireshark where it was added in wireshark in Feb 21 2003

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=7173&r2=7178
(This used to be commit 4b2c8e2865)
2007-10-10 15:03:09 -05:00
Ronnie Sahlberg
6fa7bed854 r24775: add 5 specific access right bits for the accessmask that refers
to Groups on the samr pipe

the five bits
  lookup info
  set info
  add member
  remove member
  get members
comes from the wireshark/ethereal sources where they were added in Aug
21 2002

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
(This used to be commit 1f00ac5dbe)
2007-10-10 15:03:09 -05:00
Ronnie Sahlberg
bf3b40dc14 r24774: add 5 specific access mask bits for policy handles created for aliases
these five access mask bits :
   add member
   remove members
   get members
   lookup info
   set info
come from wireshark/ethereal  where they were added to cvs in Aug 21  2002

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
(This used to be commit e39556ba4c)
2007-10-10 15:03:08 -05:00
Ronnie Sahlberg
c96657e751 r24772: add a bitmap that describes 6 of the specific accessmask bits for
policy handles that are create by Connect?() calls on the samr pipe.

these bits come from the wireshark/ethereal sources where they have
been documented for a long time.

the bits :
  connect to server
  initialize server
  create domain
were added to wireshark/ethereal in svn 8080   Jul 24 2003

the bits :
  open domain
  enum domain
  shutdown server
were added to wireshark/ethereal in svn 6054 Aug 21 2002
(This used to be commit 04e67bb680)
2007-10-10 15:03:08 -05:00
Ronnie Sahlberg
2e5e9411d4 r24768: redo the pingpong torture using sync functions to make the code simpler
(This used to be commit b4a6a4c129)
2007-10-10 15:03:07 -05:00
Ronnie Sahlberg
c0641b4728 r24767: add a torture test that performs "ping-pong" that works the same way as
ping-pong.c

this is a manual test and only makes sense to be used in parallell with
the real ping-pong.c tool
(This used to be commit b58677fa74)
2007-10-10 15:03:07 -05:00
Andrew Tridgell
55cbccc5bc r24766: forgot to commit this before. It is needed as this never terminates.
(This used to be commit 81355630ff)
2007-10-10 15:03:07 -05:00
Andrew Tridgell
aaf7df0597 r24765: added a RAW-HOLD-OPLOCK test. This is a manual test, meant to be used
to test the interaction of oplocks with local filesystem or NFS
access. You start it, then manually access the 4 files via another
mechanism (such as a shell) and see what oplock breaks you get
(This used to be commit 4c3e456426)
2007-10-10 15:03:06 -05:00
Jelmer Vernooij
64e98b0324 r24763: Allow users to leave out the transport in DCE/RPC binding strings. If the transport is not specified, it will be retrieved from the remote endpoint mapper or the IDL file.
This means that 'smbtorture localhost RPC-WINREG' works now.
(This used to be commit b7fa0859d2)
2007-10-10 15:03:06 -05:00
Andrew Bartlett
4e1d0cc8e3 r24761: Permit subtree renames in Samba4.
The module is scary: On a rename, it does a search for all entries
under that entry (including itself), and fires off a seperate rename
call for each result.  This will fail miserably on an LDAP backend,
but I'll need to work on using hdb for OpenLDAP, and hope Fedora DS
can implement subtree renames at some point.

Andrew Bartlett
(This used to be commit 13908a8cb4)
2007-10-10 15:03:05 -05:00
Andrew Bartlett
f681306335 r24760: Ensure we base64 encode any password being put into LDIF, to avoid
provision failures when some of the random password values are illigal
LDIF.

Andrew Bartlett
(This used to be commit 876003f6c6)
2007-10-10 15:03:05 -05:00
Jelmer Vernooij
748dcc3376 r24758: More use of torture API.
(This used to be commit e6f571227e)
2007-10-10 15:03:04 -05:00
Jelmer Vernooij
7ee37fdb1e r24757: Try parsing a UNC location before a DCE/RPC binding string as the latter now
accepts strings not prefixed with a transport.
(This used to be commit d131d40ae3)
2007-10-10 15:03:04 -05:00
Jelmer Vernooij
3e7203d0b3 r24755: Use common code for finding the RPC binding in the torture tests.
(This used to be commit e3310e7739)
2007-10-10 15:03:03 -05:00
Jelmer Vernooij
53d10b44fa r24753: Allow host name in binding string without transport.
(This used to be commit f7051d3a84)
2007-10-10 15:03:03 -05:00
Jelmer Vernooij
18302e7030 r24751: Run more tests, remove empty testsuites, more small improvements.
(This used to be commit 2a5a0819ee)
2007-10-10 15:03:02 -05:00
Jelmer Vernooij
0e6773525f r24741: More use of the torture API.
(This used to be commit de05c3651a)
2007-10-10 15:03:02 -05:00
Michael Adam
8277256cee r24738: Fix one more use of pwrite in tdb code in the spirit of r23972 and r23977.
Michael
(This used to be commit 7b2cabea55)
2007-10-10 15:03:01 -05:00
Jelmer Vernooij
9cca9ddc79 r24736: Convert to using torture API.
(This used to be commit a0f1188154)
2007-10-10 15:03:01 -05:00
Jelmer Vernooij
919aa6b27e r24735: Use torture API in more places.
(This used to be commit 1319d88c09)
2007-10-10 15:03:00 -05:00
Rafal Szczesniak
b42691ee16 r24732: Add comments and fix memory leak.
rafal
(This used to be commit 07b52b3606)
2007-10-10 15:03:00 -05:00
Andrew Bartlett
714c5c92ef r24731: Remove unused code - if we hit these error conditions, then we are
dead anyway, and a segfault would leave us with more infomation.

Andrew Bartlett
(This used to be commit 62320616ff)
2007-10-10 15:03:00 -05:00
Andrew Bartlett
362ff06690 r24730: Allow secrets entries to be for service principals.
Andrew Bartlett
(This used to be commit 7865d10a29)
2007-10-10 15:02:59 -05:00
Andrew Bartlett
73388ce54c r24729: First try and publishing a DNS service account, for folks to play with.
The keytab in dns.keytab should (I hope) do the job.

Andrew Bartlett
(This used to be commit af4d331eef)
2007-10-10 15:02:58 -05:00
Jelmer Vernooij
2fefa818a9 r24728: Use more stock torture functions.
(This used to be commit da3a7ee407)
2007-10-10 15:02:58 -05:00
Jelmer Vernooij
f8c373fd6a r24727: Initialize variable.
(This used to be commit 925fcc3366)
2007-10-10 15:02:58 -05:00
Jelmer Vernooij
5d518417f8 r24726: Add tests for getting/setting security descriptors (still failing at the moment)
(This used to be commit ecdfaf56c0)
2007-10-10 15:02:57 -05:00
Jelmer Vernooij
2cd9215e77 r24725: Don't segfault if hive file can't be found
(This used to be commit 2daa8fa88d)
2007-10-10 15:02:57 -05:00
Jelmer Vernooij
1adedd108c r24724: Also install the .reg files for provisioning from an installed version.
(This used to be commit 9553c20ced)
2007-10-10 15:02:56 -05:00
Jelmer Vernooij
fb6adecf06 r24723: Install the right headers for use by samba-gtk.
(This used to be commit 762e893d9c)
2007-10-10 15:02:56 -05:00
Jelmer Vernooij
7f0f39aa23 r24721: Avoid True and False because they are only available within Samba.
(This used to be commit 2d049c8d30)
2007-10-10 15:02:55 -05:00
Jelmer Vernooij
616c45f16a r24718: Fix some compiler warnings.
(This used to be commit 08f7389ab7)
2007-10-10 15:02:55 -05:00
Jelmer Vernooij
ed8d04ead9 r24717: Some more easy bool conversions, update TODO for registry
(This used to be commit fc8771fb6a)
2007-10-10 15:02:55 -05:00
Jelmer Vernooij
f93a18eeb7 r24715: Mark fstring and pstring as deprecated.
(This used to be commit c8118f1561)
2007-10-10 15:02:54 -05:00
Jelmer Vernooij
61ffa08f4c r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d9)
2007-10-10 15:02:54 -05:00
Jelmer Vernooij
4fb038b0b8 r24710: Use standard boolean type for easier use by external users.
(This used to be commit 99f4124137)
2007-10-10 15:02:53 -05:00
Jelmer Vernooij
8a1d019f53 r24709: Convert perl test harness output to subunit for nicer display.
(This used to be commit 1be11bd0a5)
2007-10-10 15:02:53 -05:00
Jelmer Vernooij
01ab492d28 r24708: Move subunit code to a separate module.
(This used to be commit 4be702896d)
2007-10-10 15:02:52 -05:00
Jelmer Vernooij
e1ecb353a5 r24707: Remove some more cruft from the test list generation code.
(This used to be commit 76dddbdb51)
2007-10-10 15:02:52 -05:00
Jelmer Vernooij
a73a8d4b9d r24706: Move nmblookup tests to separate blackbox testsuite.
(This used to be commit aeb2e714f2)
2007-10-10 15:02:52 -05:00
Jelmer Vernooij
bcfef9f04b r24705: Avoid undefined value warnings.
(This used to be commit 10f266e4d6)
2007-10-10 15:02:51 -05:00
Jelmer Vernooij
349cc1e14b r24704: Fix bug in the registry patch code.. all the more proves this code needs tests.
(This used to be commit aa98d21957)
2007-10-10 15:02:51 -05:00
Jelmer Vernooij
2edf63b6d6 r24703: Use standard registry diff files when provisioning rather than
LDIF files for the registry files.
(This used to be commit 67ad556b73)
2007-10-10 15:02:50 -05:00
Andrew Tridgell
e56566f3df r24700: added auto-reconnect to BENCH-NBENCH. Used for testing cluster
failover

this is based on a patch from Dmitry Shatrov, with some mods from me
(This used to be commit 737be7e2d6)
2007-10-10 15:02:50 -05:00
Andrew Bartlett
e98b3c1e97 r24698: Patch from Andrew Kroeger <andrew@sprocks.gotdns.com> to fix Bug
#4521: smbclient crashes during tab completion when tab hit twice.

The readline magic is beyond me, but this seems to do the trick.

Andrew Bartlett
(This used to be commit e05f3450ec)
2007-10-10 15:02:49 -05:00
Andrew Bartlett
b8da2d1ee5 r24697: Excelent patch and detective work by Matthias Wallnöfer
<mwallnoefer@yahoo.de> noticing that:

> The error was caused by info1 that is'nt talloced but rather static.

In fact, no caller supplies info1 as a valid talloc context - other
callers supply an element into the array.

Andrew Bartlett
(This used to be commit c8e6a87867)
2007-10-10 15:02:49 -05:00
Andrew Bartlett
4b31fd4409 r24696: Fix bug 4918 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>
with a patch from Andrew Kroeger <andrew@sprocks.gotdns.com>.

The changes to samldb_fill_foreignSecurityPrincipal_object() look much
larger then they are: We just skip all the objectSid generation if the
SID is supplied.

By providing a few more objects, standard dialogs on the clients are
better behaved, for these 'well known' users.

Andrew Bartlett
(This used to be commit 35ee4aee71)
2007-10-10 15:02:48 -05:00
Andrew Bartlett
8794ffbc61 r24695: Now the Samba4 passes this test, remove the skip...
Andrew Bartlett
(This used to be commit 771affed88)
2007-10-10 15:02:48 -05:00