Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-17 | more fixups from provision changes | Andrew Tridgell | 2 | -24/+24 | |
Andrew, can you please check this? The idmap.setup_name_mapping tests look totally out of place here. I'm also not sure I captured your intention with the other changes | |||||
2009-08-17 | s3:smbd: add support for canceling SMB2 Notify calls. | Stefan Metzmacher | 1 | -0/+17 | |
metze | |||||
2009-08-17 | s3:smbd: add smbd_notify_cancel_by_smbreq() | Stefan Metzmacher | 2 | -0/+23 | |
This function will be used by the SMB2 notify code. metze | |||||
2009-08-17 | s3:smbd: implement SMB2 Cancel correctly. | Stefan Metzmacher | 13 | -60/+32 | |
metze | |||||
2009-08-17 | s4:build: require tevent 0.9.7 with tevent_req_cancel() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-08-17 | tevent: change version to 0.9.7 after adding tevent_req_cancel infrastructure | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-08-17 | tevent: add tevent_req_cancel() infrastructure | Stefan Metzmacher | 3 | -0/+70 | |
This offers a generic way for callers to cancel an async request. metze | |||||
2009-08-17 | skip the autoidl test | Andrew Tridgell | 1 | -0/+1 | |
The autoidl test is not needed now that we have IDL source available. It also generates a lot of errors in the logs. | |||||
2009-08-17 | fixed up some provision errors from the recent changes | Andrew Tridgell | 1 | -3/+2 | |
2009-08-17 | s4:provision Add comments to the provision script | Andrew Bartlett | 1 | -1/+10 | |
Hopefully this will explain a bit more whey things are done the way that they are done. Andrew Bartlett | |||||
2009-08-17 | s4:provision Avoid one more call to ltdb_reindex | Andrew Bartlett | 2 | -6/+19 | |
The Samba4 schema code (called via samdb.set_schema_from_ldb(schema.ldb)) manages the @ATTRIBUTES and @INDEXLIST records, so don't wipe them early. The chances are that we will not change them anyway. Andrew Bartlett | |||||
2009-08-17 | s4:ldb Remove obsolete comment about ldb_tdb's sequence num | Andrew Bartlett | 1 | -2/+0 | |
2009-08-17 | make sure we update the current schema->prefixes when we add a new prefix | Andrew Tridgell | 1 | -0/+9 | |
This triggered a failure in the updateNow schema test, as the current global schema was not being updated when a new schema element was added | |||||
2009-08-17 | fixed the updateNow schema test to use a canonical OID | Andrew Tridgell | 1 | -1/+2 | |
The expression time.strftime("%s", time.gmtime())[3:] leads to a string with a leading 0. When added then read back from the prefix map this leads to a different string, so it is never found. Use the simpler str(random.randint(a,b)) expression instead | |||||
2009-08-17 | s4:selftest Remove the 'subunit filter' from make testenv etc | Andrew Bartlett | 1 | -2/+2 | |
The extra filter is no use for 'testenv', as we are not running tests, but an xterm. The filter also breaks running 'GDB_PROVISION=yes make test', but at least if we can run 'GDB_PROVISION=yes make testenv' then we can debug provision. Andrew Bartlett | |||||
2009-08-17 | s4:libcli/ldap Explain why we set a hostname for ldapi:// connections | Andrew Bartlett | 1 | -1/+3 | |
It is a pretty odd thing to do, and it's only because of the restrictions of DIGEST-MD5 in Cyrus SASL that we do it. Andrew Bartlett | |||||
2009-08-17 | s4:provision Fix existing ldapi:// backend detection exception | Andrew Bartlett | 1 | -1/+1 | |
Found by Oliver Liebel <oliver@itc.li> Andrew Bartlett | |||||
2009-08-17 | s4:install Remove provision-backend script from 'make install' | Andrew Bartlett | 1 | -1/+1 | |
Spotted by MICHAEL BROWN <mbrown@mesainc.com> Andrew Bartlett | |||||
2009-08-17 | s4:provision Make sure that we don't use Kerberos to our LDAP backend | Andrew Bartlett | 1 | -1/+3 | |
This makes no sense, and just causes trouble - we are aiming for DIGEST-MD5 or NTLM. Andrew Bartlett | |||||
2009-08-17 | s4:provison Print the LDAP backend admin username/password | Andrew Bartlett | 1 | -6/+14 | |
2009-08-17 | s4:selftest Confirm that there isn't a listener on the ldapi:// socket | Andrew Bartlett | 1 | -1/+5 | |
This should help debug problems with 'make test' of the LDAP backend, if a stray listener is still around. Andrew Bartlett | |||||
2009-08-17 | s4: Re-add --ldapadminpass as an option to provision | Andrew Bartlett | 2 | -5/+12 | |
This should make setting up LDAP servers more predictable. When not specified, it is random Andrew Bartlett | |||||
2009-08-17 | s4:python Allow 'no such object' on the delete of the DN | Andrew Bartlett | 1 | -1/+5 | |
This fixes the recursive delete in erase_partitions() For reasons I cannot understand, it is possible to get 'no such object' trying to delete a DN I just search for without error. Oh well... Andrew Bartlett | |||||
2009-08-17 | s4:provision Keep a single transaction for the erase and rebuild | Andrew Bartlett | 1 | -15/+6 | |
Using a single transaction to both erase the bulk of the data and the rebuild of that data means that the in-memory index list is maintained, and not written out to disk until it is all compleated. All the writes then occour at the end. Andrew Bartlett | |||||
2009-08-17 | s4:provision A crude update of the OpenLDAP backend HOWTO | Andrew Bartlett | 1 | -59/+11 | |
2009-08-17 | s4:provision Fixes for Fedora DS schema mapping with full AD schema | Endi Sukma Dewata | 1 | -0/+8 | |
2009-08-17 | s4:provision Rework provision-backend into provision | Andrew Bartlett | 9 | -811/+608 | |
This removes a *lot* of duplicated code and the cause of much administrator frustration. We now handle starting and stopping the slapd (at least for the provision), and ensure that there is only one 'right' way to configure the OpenLDAP and Fedora DS backend We now run OpenLDAP in 'cn=config' mode for online configuration. To test what was the provision-backend code, a new --ldap-dryrun-mode option has been added to provision. It quits the provision just before it would start the LDAP binaries Andrew Bartlett | |||||
2009-08-17 | s4:provision Move helper functions back to provision | Andrew Bartlett | 1 | -21/+0 | |
(These will be added back in a future commit) | |||||
2009-08-17 | s4:setup Don't manually set @ATTRIBUTES any more | Andrew Bartlett | 1 | -32/+0 | |
We now set these as part of the schema load, and we now load the schema before the provision loads the DB, so setting them here is pointless Andrew Bartlett | |||||
2009-08-17 | s4:python Push some helper functions from SamDB into samba.Ldb | Andrew Bartlett | 2 | -64/+57 | |
This makes it possible to do a bit more of the provision with Samba helpers, but without some of the otherwise useful things (such as loading in the global schema) that SamDB does. Rewrite provision_erase to use a recursive search, rather than a looping subtree search. This is much more efficient, particularly now we have one-level indexes enabled. Delete the @INDEX and similar records *after* deleting all other visible records, this hopefully also assists performance. Andrew Bartlett | |||||
2009-08-17 | s4:schema Allow a schema load on an unconnected database | Andrew Bartlett | 2 | -6/+7 | |
This helps ensure we don't load the schema too often in the provision (allowing a reference in of the schema before the modules load). Andrew Bartlett | |||||
2009-08-17 | s4:provision Remove the ACI element from the provision templates | Andrew Bartlett | 4 | -17/+14 | |
We need to find a better way to apply this (used in the Fedora DS LDAP backend), not by trying to tunnel this down the module stack. Andrew Bartlett | |||||
2009-08-17 | s4:schema Provide a way to reference a loaded schema between ldbs | Andrew Bartlett | 3 | -16/+56 | |
This allows us to load the schema against one ldb context, but apply it to another. This will be useful in the provision script, as we need the schema before we start the LDAP server backend. Adnrew Bartlett | |||||
2009-08-16 | s3:winbind: The get[gr|pw]end functions need access to the client state | Volker Lendecke | 18 | -3/+36 | |
2009-08-16 | s3:winbind: Convert WINBINDD_GETGRNAM to the new API | Volker Lendecke | 5 | -253/+199 | |
2009-08-16 | s3:winbind: Convert WINBINDD_GETGRGID to the new API | Volker Lendecke | 5 | -52/+143 | |
2009-08-16 | s3:winbind: Add winbindd_print_groupmem | Volker Lendecke | 2 | -0/+75 | |
This converts a talloc_dict retrieved from wb_group_members to the string that the pipe protocol expects | |||||
2009-08-16 | s3:winbind: Make fill_grent publically available | Volker Lendecke | 2 | -3/+4 | |
2009-08-16 | s3:winbind: Add const to normalize_name_map | Volker Lendecke | 2 | -4/+4 | |
2009-08-16 | s3:winbind: Add async wb_getgrsid | Volker Lendecke | 3 | -0/+160 | |
2009-08-16 | s3:winbind: Add async wb_group_members | Volker Lendecke | 12 | -2/+1091 | |
2009-08-16 | s3:winbind: Make wcache_lookup_groupmem available publically | Volker Lendecke | 2 | -24/+60 | |
2009-08-16 | s3: Add talloc_dict.[ch] | Volker Lendecke | 5 | -0/+258 | |
2009-08-16 | s3:winbind: Fix a potential segfault in libwbclient | Volker Lendecke | 1 | -1/+1 | |
2009-08-16 | s3:winbind: Convert winbindd_show_sequence to the new API | Volker Lendecke | 5 | -112/+178 | |
2009-08-16 | s3:winbind: Add async wb_seqnums | Volker Lendecke | 3 | -0/+139 | |
This is something that would have been very difficult with the old style of async requests: Send the request to all children simultaneously. | |||||
2009-08-16 | s3:winbind: Add async wb_seqnum | Volker Lendecke | 12 | -2/+447 | |
2009-08-16 | s3:winbind: WINBIND_USERINFO -> wbint_userinfo | Volker Lendecke | 12 | -87/+49 | |
2009-08-16 | s3:winbind: Simplify _wbint_[GU]id2Sid | Volker Lendecke | 1 | -16/+4 | |
2009-08-15 | tevent: add some more doxygen comments for tevent_req functions | Stefan Metzmacher | 1 | -0/+38 | |
metze |