1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

1093 Commits

Author SHA1 Message Date
Günther Deschner
98c3f90cae r26141: Reflect pointer_default(unique) setting.
Guenther
(This used to be commit 8e4952484dff1ec8e9b29e72302cc2e2223be739)
2007-12-21 05:46:21 +01:00
Günther Deschner
b79e33826f r25951: Add missing DS_SERVER_NDNC bit to netr_DsR_DcFlags.
Guenther
(This used to be commit 1b49119c7318495cb3f2e5894e8faa3726a7fa0a)
2007-12-21 05:45:15 +01:00
Günther Deschner
8f22cf4c26 r25894: Add IDL for netr_DsRAddressToSitenamesW and netr_DsRAddressToSitenamesExW.
Guenther
(This used to be commit ee797e18c7c970d78dfc7f2592f9598003e72d60)
2007-12-21 05:44:43 +01:00
Günther Deschner
bffef39e71 r25848: Add IDL and torture test for dfs_SetDcAddress and dfs_GetDcAddress.
Guenther
(This used to be commit 8fb5d36734cb19dcbcf5e22c43e80db7646e82fa)
2007-12-21 05:44:25 +01:00
Günther Deschner
952eecb616 r25816: Add idl for frsapi_InfoW. Surely not correct, but a start.
Guenther
(This used to be commit c3495ba73ad5a87da49f3e3a3989ad734ed989b2)
2007-12-21 05:44:10 +01:00
Günther Deschner
711af29695 r25815: Small DFS idl fixes.
Guenther
(This used to be commit 08a5c3130773c6e6c2339ece56cd5fba213dcbbd)
2007-12-21 05:44:10 +01:00
Ronnie Sahlberg
cac3a42998 r25785: more small updates to frsrpc
tag 18 contains a timestamp
(This used to be commit 5e90881a7c965cd57e44601002f047cb6837c579)
2007-12-21 05:43:58 +01:00
Ronnie Sahlberg
b5dc54883b r25773: update frsrpc.idl and add some more comments
(This used to be commit ae20e2b30390ea5aa42110e1a3528a30595f0430)
2007-12-21 05:43:53 +01:00
Ronnie Sahlberg
cff24a34f4 r25772: rename the tail fields
(This used to be commit 992312ab958bc1e033916f4c3f4891dc9231a68b)
2007-12-21 05:43:52 +01:00
Ronnie Sahlberg
a16cb040dd r25771: In traces unknown7 has the same pattern as a UNIQUE pointer referral id
would often have.
Make a note that this may be a UNIQUE pointer.
(This used to be commit 2f2e99ea593a749c185ec98d5deb6ef84cb627e2)
2007-12-21 05:43:52 +01:00
Ronnie Sahlberg
9b46852326 r25770: rename "unknown5" to tlv_size
(This used to be commit d409ef1302ff6f8924b439addca014fbd2854fea)
2007-12-21 05:43:52 +01:00
Ronnie Sahlberg
2fccda3771 r25769: it looks like there are 9 uint32 before the TLV subcontext starts, not 6
(This used to be commit a88254ea6c1da358a1c692d785b29ba2354d99f5)
2007-12-21 05:43:51 +01:00
Günther Deschner
cfd09eed40 r25731: Document winreg_NotifyChangeKeyValue's notify flags.
Guenther
(This used to be commit 4468b1cc49bd4a92c08aeb76419abfe00791b2c2)
2007-12-21 05:43:32 +01:00
Günther Deschner
ade07a34d9 r25730: Fix IDL for incorrect winreg_SetKeySecurity.
Guenther
(This used to be commit 767867c3ee126c3832750d1b1e7de81005c4eaff)
2007-12-21 05:43:31 +01:00
Günther Deschner
bd2bf8990a r25699: Add ForceReplication test.
Guenther
(This used to be commit 0bab602b8e38ca758d3795db3d33a92eb162bb92)
2007-12-21 05:43:19 +01:00
Günther Deschner
e77a831319 r25696: Fix pipe name for dfs.
Guenther
(This used to be commit 7a0441948977bd97508ab662a550b8664e87c724)
2007-12-21 05:43:18 +01:00
Günther Deschner
c7a1a4abfa r25675: More frsapi IDL.
Guenther
(This used to be commit 7ab033e8395d5284e9223618c238ff94d3948ac8)
2007-12-21 05:43:09 +01:00
Günther Deschner
d026214c09 r25671: Add stub FRSAPI_FORCE_REPLICATION.
Guenther
(This used to be commit a7ebef8dd744104da7216344867d8d2bd5463d1f)
2007-12-21 05:43:07 +01:00
Günther Deschner
5da21cd19b r25670: Add torture test for frsapi_IsPathReplicated().
Guenther
(This used to be commit e7fc3c1da9764a2e7c103e05f3d774b540334f75)
2007-12-21 05:43:07 +01:00
Günther Deschner
8071c56ac2 r25667: Start on frsapi testsuite.
Guenther
(This used to be commit ebcbdb5fbdb30005a60431687a738df5f26d3472)
2007-12-21 05:43:06 +01:00
Günther Deschner
5e6372460c r25666: Add frsapi_IsPathReplicated IDL.
Guenther
(This used to be commit d8fe7652bda2a984d830b83762950377a4849d64)
2007-12-21 05:43:05 +01:00
Günther Deschner
f1f746875c r25664: Use [out] pointers in frsapi idl.
Guenther
(This used to be commit 2114103aedbe2134624caa3aba42b6f7721e6d45)
2007-12-21 05:43:04 +01:00
Günther Deschner
c6dd81a15c r25663: Add frsapi_SetDsPollingIntervalW and frsapi_GetDsPollingIntervalW idl.
Guenther
(This used to be commit 109e05b5117b1722a190765f84563cea24273de1)
2007-12-21 05:43:04 +01:00
Günther Deschner
256b839ecc r25662: While watching traces, learned the frsapi_InfoEnum enum types.
Guenther
(This used to be commit 5922a1228653709e1ff99be50e902663e152c706)
2007-12-21 05:43:04 +01:00
Günther Deschner
21a7a9639c r25594: Merge from 3_2:
"Add missing security_secinfo bits as seen while managing security descriptor
inheritance with regedit."

Guenther
(This used to be commit 1c1811c5e34b18f448beb544de0c5f8612653293)
2007-10-10 15:08:01 -05:00
Stefan Metzmacher
9e59dc7031 r25433: - dcerpc_AuthType is a 8bit enum not 32bit
- also add dcerpc_AuthLevel enum

metze
(This used to be commit efb2416939d5def030e56b0497bab5345426840f)
2007-10-10 15:07:32 -05:00
Ronnie Sahlberg
19e417aefd r25374: create an enum for the authentication types instead of defining them as
constants
(This used to be commit 0c3d38b0d9c2a335c6449955a137627ba16623a4)
2007-10-10 15:07:21 -05:00
Ronnie Sahlberg
ca8f2fbe2e r25373: add three more authentication types
(This used to be commit 9c38c61c337da911d56df33f1b72be8cf7d0d4c6)
2007-10-10 15:07:20 -05:00
Jelmer Vernooij
9b009c9009 r25301: Merge my includes.h cleanups.
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10 15:07:09 -05:00
Andrew Bartlett
08c97435d3 r25194: A major rework of the Samba4 LSA LookupNames and LookupSids code, with
a new torture suite to match.

This should fix bug #4954 by Matthias Wallnöfer <mwallnoefer@yahoo.de>

Previously we had no knowlege of BUILTIN or well-known names.

This code needs expansion to check with winbind for trusted domains.

Andrew Bartlett
(This used to be commit e6fc0e1f54ad64bdddc88e9ebd0d8d181b6ce26a)
2007-10-10 15:06:51 -05:00
Jelmer Vernooij
8d182d881d r24816: Move the rest of the contents of core.h to more appropriate places.
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
(This used to be commit 6890a01dbfc6d8041a88ef5c6be52dfcd046fe80)
2007-10-10 15:03:15 -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 1c2729228a341a2d063a444e9546e7e09f23c966)
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 4b2c8e28657b31c606d21946e7949c9cc52613c9)
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 1f00ac5dbe8f034d845c4e579a3f517311784900)
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 e39556ba4cc76b2754ef891d5c696bc3a5761310)
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 04e67bb6807c318de44d5434bc4344b24494b4a1)
2007-10-10 15:03:08 -05:00
Jelmer Vernooij
18302e7030 r24751: Run more tests, remove empty testsuites, more small improvements.
(This used to be commit 2a5a0819eea86ba322434306e062d13893b5722e)
2007-10-10 15:03:02 -05:00
Stefan Metzmacher
ce84ab9a83 r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_id
and move it into misc.idl

The goal is to get rid a all dcerpc specific stuff in the
generated ndr layer.

metze
(This used to be commit 2ed014cfb894cccab1654e3f7d5876393e2b52d7)
2007-10-10 15:02:11 -05:00
Stefan Metzmacher
2d531c84e8 r24449: length_is() isn't supported without size_is().
I assume what we need is an array of strings,
so the code isn't used and broken anyway without
a testsuite...just get rid of the pidl warning

metze
(This used to be commit 46fadeb6983dff4e6a38fceec4679d3bf44dd5d9)
2007-10-10 15:01:52 -05:00
Stefan Metzmacher
7f44bb5ae3 r24448: merge formating fixes SAMBA_3_2
metze
(This used to be commit f6ae9574b208e42a819249918b827457f245f519)
2007-10-10 15:01:52 -05:00
Andrew Bartlett
fc9471c4df r24118: Start fixing #4842 (usrmgr polcies menu not working) by removing range
restriction on the maximum returned size.  There isn't a good reason
to have a limit on this one.

Andrew Bartlett
(This used to be commit 9a8315019e20f736c6977451c1d1f1f3fcba16f2)
2007-10-10 15:01:27 -05:00
Andrew Bartlett
008b840760 r24080: Set the primary group (matching windows) when creating new users in
SAMR.  This can't be done in the ldb templates code, as it doesn't
happen over direct LDAP.

As noted in bug #4829.

Andrew Bartlett
(This used to be commit 3bfa6dbf7ded06df78310f7bd39d8a8d4edbb4ef)
2007-10-10 15:01:23 -05:00
Andrew Bartlett
32d55960b5 r24052: Fix some of the NT4 usrmgr.exe portions of bug 4815.
- The icons in usermgr were incorrect, because the acct_flags were
   not filled in (due to missing attribute in ldb query)

 - The Full name was missing, and the description used as the full
   name (due to missing attributes in ldb query and incorrect IDL)

To prove the correctness of these fixes, I added a substantial new
test to RPC-SAMR-USERS, to ensure cross-consistancy between
QueryDisplayInfo and QueryUserInfo on each user.

This showed that for some reason, we must add ACB_NORMAL to the
acct_flags on level 2 queries (for machine trust accounts)...

Getting this right is important, because Samba3's RPC winbind methods
uses these queries.

Andrew Bartlett
(This used to be commit 9475d94a61e36b3507e5fd2e6bb6f0667db4a607)
2007-10-10 15:01:19 -05:00
Jim McDonough
698093b028 r23643: Fix the build farm tests. We were incorrectly passing the
RPC-SAMBA3-GETUSERNAME tests before the previous password expiration
fixes, because if you create a user and only set the password
administratrively, the "last set time" should not get updated.  Needed
to add some more of the fields_present flags to do this.
(This used to be commit ce5637de22c19551c0ce5147658ceae33b976ef1)
2007-10-10 14:53:30 -05:00
Günther Deschner
aa860b259e r23630: Found out what LSA_LOOKUP_NAMES level 5 means:
only query transitive forest trusts.

Guenther
(This used to be commit 71e5e1109cb924fbcd9eedd031fbf0973e8c8ff5)
2007-10-10 14:53:28 -05:00
Günther Deschner
ff4c92ace2 r23629: Document lsa lookupname lookuplevels Volker discovered a while ago.
Guenther
(This used to be commit 7c6297027d51011a59c86b6dc45338bbe4b2d5ef)
2007-10-10 14:53:28 -05:00
Stefan Metzmacher
252984426e r23418: 'S' is 0x53...
metze
(This used to be commit a7be6810771b804932abbf2ace4c2a7c5dd8a349)
2007-10-10 14:53:16 -05:00
Günther Deschner
e4710c9dcf r23384: Fill in NETLOGON netr_DsRGetForestTrustInformation().
Guenther
(This used to be commit 82477b311e2a7a51906d0c00d8714f545b12b0bd)
2007-10-10 14:53:14 -05:00
Günther Deschner
580b49471f r23382: Fill in lsa_lsaRQueryForestTrustInformation.
Guenther
(This used to be commit 54fa6d453c628039e5ec9053b0693229efdbe011)
2007-10-10 14:53:13 -05:00
Günther Deschner
eb9ae52981 r23381: Merge netr_GetDcName WERROR return and WERROR_DOMAIN_CONTROLLER_NOT_FOUND from
SAMBA_3_0.

Guenther
(This used to be commit 841ad140a34648ff52d5e44a6642f346ef9eee02)
2007-10-10 14:53:13 -05:00