summaryrefslogtreecommitdiff
path: root/source4/setup
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8999: Use the timestamps module to ensure we update times.Andrew Bartlett1-0/+5
Andrew Bartlett (This used to be commit e6abd9f70449e9c5716cd36565442873bdc7d44c)
2007-10-10r8902: Revert the small change as Andrew Bartlett asked. Now, let's goRafal Szczesniak1-1/+1
and fix howto.txt. rafal (This used to be commit 5bf5559e0f71455ddf62eef11956de12d104459b)
2007-10-10r8898: Fix provision script to actually work, since location of smbscriptRafal Szczesniak1-1/+1
has changed. rafal (This used to be commit a59594d2d84417bc0c87be953daf9152b968c61a)
2007-10-10r8857: please don't get fancy with embedded boolean statements in jsAndrew Tridgell1-1/+3
code. Especially as this is a new language for most Samba developers, it is far better to err strongly on the side of readability rather than trying to save a line of code by using fancy tricks (This used to be commit 3228644cf898cc9b3386675f40f2f7e52f69e5c0)
2007-10-10r8790: Finish the migration of aliases and privilages with SamSync, by addingAndrew Bartlett4-460/+467
templating support for foreignSecurityPrincipals to the samdb module. This is an extension beyond what microsoft does, and has been very useful :-) The setup scripts have been modified to use the new template, as has the SAMR and LSA code. Other cleanups in LSA remove the assumption that the short domain name is the first component of the realm. Also add a lot of useful debug messages, to make it clear how/why the SamSync may have gone wrong. Many of these should perhaps be hooked into an error string. Andrew Bartlett (This used to be commit 1f071b0609c5c83024db1d4a7d04334a932b8253)
2007-10-10r8778: index on nCName in sam.ldb. This was costing us about 75% of the time ↵Andrew Tridgell1-0/+1
in each smb login (This used to be commit f6d24d063ad1a96c326ce6a60adfc224d905afc6)
2007-10-10r8740: Extend the rdn_name module to handle adding the rdn as an attribute. ie:Andrew Bartlett1-1/+1
dn: cn=foo,ou=bar objectClass: person implies dn: cn=foo,ou=bar objectClass: person cn: foo (as well as a pile more default attributes) We also correct the case in the attirbute to match that in the DN (win2k3 behaviour) and I have a testsuite (in ejs) to prove it. This module also found a bug in our provision.ldif, so and reduces code complexity in the samdb module. Andrew Bartlett (This used to be commit 0cc58f5c3cce12341ad0f7a90cdd85a3fab786b3)
2007-10-10r8677: The first part of the domain name may not be equal to the netbios ↵Andrew Bartlett1-2/+1
domain name. Remove the use of flatname from the main domain object, we no longer reference it. Andrew Bartlett (This used to be commit 2303e24be74570187b23c3d31d0433263c83ba7e)
2007-10-10r8667: Further simply the provision script, by removing the 'name' attribute.Andrew Bartlett3-62/+1
This is now calculated on the fly for every add and modify. Andrew Bartlett (This used to be commit ed1f2e029c840d2b3ecb49dbe6e8cd67588eeeed)
2007-10-10r8662: Revert change to CN=Cert Publishers, this group still needs toAndrew Bartlett1-0/+2
override the template for these attributes. Andrew Bartlett (This used to be commit 3462cbadb285313dfd88234b144d1921d2bcc880)
2007-10-10r8660: Use templates for the initial provision of user and computer accounts.Andrew Bartlett2-232/+150
This ensures the templating code is used, and also makes it clearer what I need to duplicate in the vampire area. Also fix a silly bug in the template application code (the samdb module) that caused templates to be compleatly unused (my fault, from my commit last night). Andrew Bartlett (This used to be commit 4a8ef7197ff938942832034453f843cb8a50f2d1)
2007-10-10r8650: Use the timestamps and a new objectguid module rather than placingAndrew Bartlett2-201/+51
boilerplate attributes in every entry in provision.ldif. The next step will be to use templates. Andrew Bartlett (This used to be commit 940ed9827f5ab83b668a60a2b0110567dd54c3e2)
2007-10-10r8643: - make lp_configfile() work againAndrew Tridgell1-0/+6
- get rid of redundeny dyn_CONFIGFILE argument to lp_load() - fixed provisioning to work with completely pristine install, creating an initial smb.conf is none is present - added lp.set() and lp.reload() to loadparm ejs object interface (This used to be commit c2691ef7126ddcee5f95970b78759b40a049d0a7)
2007-10-10r8558: move newuser logic into the provision.js libAndrew Tridgell1-71/+2
(This used to be commit b6ef32ddd1fdca0d40a12f34fa5f7a484b3c2071)
2007-10-10r8459: move to the more portable script execution methodAndrew Tridgell2-2/+4
(This used to be commit d7e4dcaaaa37c4992f763e37ca2d655e4d267283)
2007-10-10r8415: get rid of the last 2 runtime perl scriptsAndrew Tridgell2-377/+0
(This used to be commit b775884474bd28c0c3d45546b1bf3ac52601ed24)
2007-10-10r8410: converted the newuser script to jsAndrew Tridgell3-133/+142
(This used to be commit b90aa3c5a7cd7e91a8fc804c3cd9f2155761cf28)
2007-10-10r8373: New wildcard matching code.Simo Sorce1-3/+0
This code applies correct ldap standard wildcard matching code removes WILDCARD matching from tdb @ATTRIBUTES, that's now handled independently adds some more tests for wildcard matching fixes dn comparison code in ldb_match (This used to be commit 4eb5863042011988d85092d7dde3d809aa15bd59)
2007-10-10r8372: - split out provisioning logic into a separate ejs libraryAndrew Tridgell1-197/+8
- added a provisioning web page (This used to be commit 7476cb94132cf2849ec19360468904ca6fe8de2c)
2007-10-10r8355: - added a vsprintf() functionAndrew Tridgell1-2/+0
- removed the --outputdir option from provision, as its not used any more (as ejs knows the real paths) (This used to be commit abbf9c703c17c2edc2d978dade3619a96c38d0d9)
2007-10-10r8350: fixed the --root option to provisionAndrew Tridgell1-2/+1
(This used to be commit 506e07d6e064375aaee20133d722b6b44d63b083)
2007-10-10r8347: replace the perl provision script with a ejs scriptAndrew Tridgell2-527/+66
I don't mind depending on perl at compile time, but I want to avoid depending on it at runtime. This also will make it easy to add web install wizard (This used to be commit f27a68176984c6856fad2e3a028458eb96943f80)
2007-10-10r8345: make the dn on the hklm ldif validAndrew Tridgell1-9/+9
Jelmer, can you check this is OK? (This used to be commit 6d416656a02d02c6e60d980ba406a4b72e84811b)
2007-10-10r8338: - added a substitute_var() js library function for doing hash drivenAndrew Tridgell1-102/+61
substitution of variables in strings - the js provision script now correctly processes provision.ldif (This used to be commit c2946003e06c4898ba0444cd0b69d3203753be94)
2007-10-10r8332: not done yet, but a lot closerAndrew Tridgell1-41/+175
(This used to be commit 1d9632877c088837b5c2a7497473e09913775488)
2007-10-10r8319: the start of a provision script in ejs. This is why I've been addingAndrew Tridgell1-0/+150
so many functions lately. so far it just parses options, works out the host IP, and user and group names (This used to be commit 333b32025fc2a33d2a145bbce9cdfefa252ec77a)
2007-10-10r8315: fixed the generation of the serial number in the dns zone file (bind9Andrew Tridgell2-1/+12
doesn't like it being too long) (This used to be commit fc93ade9cdfe97bdcd2383fa256877580707181c)
2007-10-10r8289: fallback to the group 'other' for usersAndrew Tridgell1-0/+2
this might fix the testing on solaris10 (This used to be commit 5adbab0afe85f5f856ab5fcc7a285a22f1752de3)
2007-10-10r8225: make nETBIOSName case insensitive, so that lower case netbios domain ↵Stefan Metzmacher1-0/+1
REALM's are working in the hdb-ldb module metze (This used to be commit d24f39a5d746b9eabc4d5f6f6070a85be084d82c)
2007-10-10r8158: - use the timestring for the serial number of the bind zone fileStefan Metzmacher4-10/+35
- add --krbtgtpass and --machinepass options, with them you can easy set them to default values for testing so that you don't need to setup a new keytab file when you rerun provision.pl metze (This used to be commit cfb72455970c182aaba67bf9cf9775a854f143ff)
2007-10-10r8056: make the realm lowercase in our ldb (better matches w2k3)Andrew Tridgell1-2/+2
(This used to be commit 39cfb6f739f33a33dcbee708a9a2e5f1c6c12287)
2007-10-10r8055: added canonicalName to our domainDns recordAndrew Tridgell1-0/+1
(This used to be commit 1ba296b9d0ed1cf0961bdd3cde03f1ce56e1d72b)
2007-10-10r7988: Store the KVNO for the machine account, and set it up in the provision.Andrew Bartlett2-1/+2
Andrew Bartlett (This used to be commit 90e94a4630c24282cd93ee05e258877b38e24a57)
2007-10-10r7940: use local path first for ldbadd in provisioningAndrew Tridgell1-1/+1
(This used to be commit cff7507f593816a831a14f03862f7bdb24c15d4f)
2007-10-10r7939: fix default hostname in provisionAndrew Tridgell1-1/+1
(This used to be commit 79d174005e3508745ea8b0bda2321abd184bf68b)
2007-10-10r7921: fixed newuser script (letting samldb module allocate the sid)Andrew Tridgell1-13/+0
(This used to be commit 45d08e94d27f837ab7788471b07e8c0c9b061c39)
2007-10-10r7917: macosx doesn't have a group called 'users'Andrew Tridgell1-0/+2
(This used to be commit 2b39736c35168b2e6b1ef094de4d83b604ea39f1)
2007-10-10r7907: the old solaris perl doesn't handle mkdir() without a modeAndrew Tridgell1-1/+1
(This used to be commit 54d698c4888ce453926aed6102621d20fe744031)
2007-10-10r7900: the existing ltdb indexing code does in fact cope with binary fields, ↵Andrew Tridgell1-1/+1
so re-enable indexing on objectSid (This used to be commit 5781c83ba4ef919520e9668a40aafc8f74fe5700)
2007-10-10r7867: a couple of bug fixes for newuser.pl from kukksAndrew Tridgell1-2/+2
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) (This used to be commit 836e5782fda9edef6746adc6453d8a40df2a1765)
2007-10-10r7860: switch our ldb storage format to use a NDR encoded objectSid. This isAndrew Tridgell1-1/+1
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. (This used to be commit d40bc2fa8ddd43560315688eebdbe98bdd02756c)
2007-10-10r7727: we need to mark some attributes as INTEGER, so that the standard searchesAndrew Tridgell1-0/+4
that w2k does work. For example, w2k asks for sAMAccountType=805306369 which will only match if we know its an integer (This used to be commit 941509ee58253b671bb74b2d8d8667cc6a1a4328)
2007-10-10r7499: ensure that the account we run tests as ("Administrator") maps to theAndrew Tridgell2-2/+13
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. (This used to be commit 30445483e4facb0a1d8a5979a2eac6c166193c09)
2007-10-10r6884: the invocationID is only used as objectGUID on the NTDS Settings ↵Stefan Metzmacher1-3/+3
object on the first DC in the forest! metze (This used to be commit 8ea59f23728450cd42c221e69f375d6e390c4a79)
2007-10-10r6883: Move to what simo assures me is the 'correct' way to find the NetBIOSAndrew Bartlett1-6/+46
and long names for a domain. Add servicePrincipalName mapping table (administrator configurable), in the same spot as microsoft uses. Andrew Bartlett (This used to be commit c25e78b4b34384a3a79a920f50f01be696a048ba)
2007-10-10r6868: the @ATTRIBUTES object format has changedSimo Sorce1-3/+6
(This used to be commit 4401c74fbc630d7ab7983c5f901483f3d7ddd8fb)
2007-10-10r6751: dnsDomain should be CASE_INSENSITIVE (winxp will sometimes do a cldap ↵Andrew Tridgell1-0/+1
query with this in uppercase) (This used to be commit f0c37555ff30c3e5ff4680d0b33bc105ebd3a0b1)
2007-10-10r6698: Our domain join code requires that the secureChannelType be set. TypeAndrew Bartlett1-0/+1
6 is BDC, which is correct for a self-join. Andrew Bartlett (This used to be commit cd61ff80f886bcb4a8c6b681879ee269604e98f3)
2007-10-10r6697: fix from Sven (wAmpIre) VeltStefan Metzmacher1-1/+1
metze (This used to be commit db2f5619f8114b6454cc2541d80129e1ca5fa1a9)
2007-10-10r6571: create a simple smb.conf by provision.plStefan Metzmacher2-0/+14
metze (This used to be commit af16ecb7ac6015b2f7fa70fc73e1ab69776c8079)