1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-25 19:33:18 +03:00
Commit Graph

20 Commits

Author SHA1 Message Date
Andrew Tridgell
45d08e94d2 r7921: fixed newuser script (letting samldb module allocate the sid) 2007-10-10 13:18:50 -05:00
Andrew Tridgell
2b39736c35 r7917: macosx doesn't have a group called 'users' 2007-10-10 13:18:50 -05:00
Andrew Tridgell
54d698c488 r7907: the old solaris perl doesn't handle mkdir() without a mode 2007-10-10 13:18:48 -05:00
Andrew Tridgell
5781c83ba4 r7900: the existing ltdb indexing code does in fact cope with binary fields, so re-enable
indexing on objectSid
2007-10-10 13:18:47 -05:00
Andrew Tridgell
836e5782fd r7867: a couple of bug fixes for newuser.pl from kukks
I'm looking forward to deleting this file when we can add users using
the web intgerface (and maybe ejs scripts for the command line)
2007-10-10 13:18:45 -05:00
Andrew Tridgell
d40bc2fa8d r7860: switch our ldb storage format to use a NDR encoded objectSid. This is
quite a large change as we had lots of code that assumed that
objectSid was a string in S- format.

metze and simo tried to convince me to use NDR format months ago, but
I didn't listen, so its fair that I have the pain of fixing all the
code now :-)

This builds on the ldb_register_samba_handlers() and ldif handlers
code I did earlier this week. There are still three parts of this
conversion I have not finished:

 - the ltdb index records need to use the string form of the objectSid
   (to keep the DNs sane). Until that it done I have disabled indexing on
   objectSid, which is a big performance hit, but allows us to pass
   all our tests while I rejig the indexing system to use a externally
   supplied conversion function

 - I haven't yet put in place the code that allows client to use the
   "S-xxx-yyy" form for objectSid in ldap search expressions. w2k3
   supports this, presumably by looking for the "S-" prefix to
   determine what type of objectSid form is being used by the client. I
   have been working on ways to handle this, but am not happy with
   them yet so they aren't part of this patch

 - I need to change pidl to generate push functions that take a
   "const void *" instead of a "void*" for the data pointer. That will
   fix the couple of new warnings this code generates.

Luckily it many places the conversion to NDR formatted records
actually simplified the code, as it means we no longer need as many
calls to dom_sid_parse_talloc(). In some places it got more complex,
but not many.
2007-10-10 13:18:44 -05:00
Andrew Tridgell
941509ee58 r7727: we need to mark some attributes as INTEGER, so that the standard searches
that w2k does work. For example, w2k asks for sAMAccountType=805306369 which
will only match if we know its an integer
2007-10-10 13:18:27 -05:00
Andrew Tridgell
30445483e4 r7499: ensure that the account we run tests as ("Administrator") maps to the
unixName that we are running as in the test suite. Otherwise files are
created as a user without any entry in the sam, so the ACL doesn't
allow that user read permission when it should. This should fix the
RAW-ACLS test in the build farm.
2007-10-10 13:18:00 -05:00
Stefan Metzmacher
8ea59f2372 r6884: the invocationID is only used as objectGUID on the NTDS Settings object on the
first DC in the forest!

metze
2007-10-10 13:16:55 -05:00
Andrew Bartlett
c25e78b4b3 r6883: Move to what simo assures me is the 'correct' way to find the NetBIOS
and long names for a domain.

Add servicePrincipalName mapping table (administrator configurable),
in the same spot as microsoft uses.

Andrew Bartlett
2007-10-10 13:16:55 -05:00
Simo Sorce
4401c74fbc r6868: the @ATTRIBUTES object format has changed 2007-10-10 13:16:52 -05:00
Andrew Tridgell
f0c37555ff r6751: dnsDomain should be CASE_INSENSITIVE (winxp will sometimes do a cldap query with this
in uppercase)
2007-10-10 13:16:41 -05:00
Andrew Bartlett
cd61ff80f8 r6698: Our domain join code requires that the secureChannelType be set. Type
6 is BDC, which is correct for a self-join.

Andrew Bartlett
2007-10-10 13:16:35 -05:00
Stefan Metzmacher
db2f5619f8 r6697: fix from Sven (wAmpIre) Velt
metze
2007-10-10 13:16:35 -05:00
Stefan Metzmacher
af16ecb7ac r6571: create a simple smb.conf by provision.pl
metze
2007-10-10 13:16:26 -05:00
Andrew Bartlett
8ee208a926 r6565: Cludge, cludge, cludge...
We need to pass the 'secure channel type' to the NETLOGON layer, which
must match the account type.

(Yes, jelmer objects to this inclusion of the kitchen sink ;-)

Andrew Bartlett
2007-10-10 13:16:26 -05:00
Jelmer Vernooij
7d2d4a57e0 r6564: - Fix bug in socket_wrapper
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
2007-10-10 13:16:26 -05:00
Andrew Bartlett
1a1f0bd33c r6534: Patch from lieschen to fix our vital user creation tools :-)
Andrew Bartlett
2007-10-10 13:16:24 -05:00
Tim Potter
e2f127b4d8 r6361: Update howto and provisioning script with the moves made in r6207. 2007-10-10 13:11:34 -05:00
Stefan Metzmacher
c35887ca64 r6207: - clean up source topdir
- move provision stuff to setup/
- remove unused scripts

metze
2007-10-10 13:11:26 -05:00