summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* ldb:ldb_pack.c - the "dn" attribute isn't allowed in the message part, only ↵Matthias Dieter Wallnöfer2010-11-071-2/+0
| | | | | | | the "distinguishedName" one Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 7 10:11:02 UTC 2010 on sn-devel-104
* s4:torture/dssync.c - remove unused variableMatthias Dieter Wallnöfer2010-11-071-1/+0
|
* s4:descriptor LDB module - save a pointer to the request message on the ↵Matthias Dieter Wallnöfer2010-11-071-33/+33
| | | | | | temporary "ac" context This prevents two calls of "ldb_msg_copy_shallow".
* s4:descriptor LDB module - by "dsdb_next_callback" we don't need anymore the ↵Matthias Dieter Wallnöfer2010-11-071-33/+2
| | | | | | default operation callback implementations Only customised ones still need to remain.
* s4:descriptor LDB module - remove a bit pointless memory contextMatthias Dieter Wallnöfer2010-11-071-9/+1
| | | | | For only one operation we do not need an additional "mem_ctx". "ac" should be enough (see for example the samldb LDB module).
* s4:descriptor LDB module - remove a "ldb_msg_sanity_check" callMatthias Dieter Wallnöfer2010-11-071-7/+0
| | | | | This check (the structural objectclass) is performed in the objectclass LDB module.
* s4:descriptor LDB module - don't ignore referrals if we are executing an ↵Matthias Dieter Wallnöfer2010-11-071-4/+2
| | | | | | ordinary external search operation Referrals are valid results.
* credentials: Lowercase library name,Jelmer Vernooij2010-11-0719-45/+45
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 7 01:48:44 UTC 2010 on sn-devel-104
* ldbsamba: Lowercase library name.Jelmer Vernooij2010-11-0714-21/+21
|
* samdb: Lowercase library name.Jelmer Vernooij2010-11-0713-109/+109
|
* samdb: Make private (at least for the moment).Jelmer Vernooij2010-11-071-1/+1
|
* ldb:ldb_parse.c - "ldb_parse_hex2char" - always initialise "c"Matthias Dieter Wallnöfer2010-11-061-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 6 21:04:58 UTC 2010 on sn-devel-104
* s4:ldap.py - enhance the "distinguishedName" testsMatthias Dieter Wallnöfer2010-11-061-0/+24
| | | | The "dn" shortcut isn't supported by AD.
* s4:update_keytab LDB module - we don't need to search for the ↵Matthias Dieter Wallnöfer2010-11-061-2/+2
| | | | | | | "distinguishedName" attribute Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 6 20:08:28 UTC 2010 on sn-devel-104
* s4:operational LDB module - "canonicalName" doesn't make use of the ↵Matthias Dieter Wallnöfer2010-11-061-2/+2
| | | | | | "distinguishedName" attribute It uses the DN from the returned message
* ldb:ldb_tdb.c - ltdb_check_special_dn - fix indentationMatthias Dieter Wallnöfer2010-11-061-1/+1
|
* ldb:ldb_tdb.c - make "ltdb_add" more similar to "ltdb_modify"Matthias Dieter Wallnöfer2010-11-061-9/+5
| | | | | And remove in "ltdb_add_internal" a cache loading call which has been present twice.
* s4:samr RPC server - "dcesrv_samr_RemoveMemberFromForeignDomain"Matthias Dieter Wallnöfer2010-11-061-12/+6
| | | | | | | | | | | - Remove TODO comment: MS-SAMR 3.1.5.8.7 explicitly states: "The SamrRemoveMemberFromForeignDomain method removes a member from all aliases." - Remove the search attributes since they aren't strictly needed. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 6 18:07:57 UTC 2010 on sn-devel-104
* s4:DRS-RPC-DSSYNC: don't try to decrypt secret attributes twiceStefan Metzmacher2010-11-061-19/+3
| | | | | | | | | | | | dsdb_extended_replicated_objects_convert() already decrypts the attributes in place. This fixes the usage of --option="dssync:print_pwd_blobs=yes". metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Nov 6 13:30:16 UTC 2010 on sn-devel-104
* s4-cldap: fixed debug message to match contentAndrew Tridgell2010-11-061-1/+1
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Nov 6 04:26:45 UTC 2010 on sn-devel-104
* s4-join: fixed SPNs, invocationId and dnshostname and python joinAndrew Tridgell2010-11-061-3/+4
| | | | | | | | - we need the GN/ SPN for replication. - fixed the string form of the invocationId - lowercase the dnshostname Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-join: switch over to the new DC join in make testAndrew Tridgell2010-11-061-1/+1
|
* samba-tool: deprecate samba-tool vampire commandAndrew Tridgell2010-11-061-1/+5
|
* s4-join: fixed secure_channel_typeAndrew Tridgell2010-11-051-1/+3
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Nov 5 13:24:32 UTC 2010 on sn-devel-104
* s4-join: don't print all the NDR packets by defaultAndrew Tridgell2010-11-051-1/+1
|
* s4-cldap: print all the DNS servers foundAndrew Tridgell2010-11-051-0/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: much more memory efficient msg filteringAndrew Tridgell2010-11-051-3/+20
| | | | | | | this ensures we don't leave unnecessary attributes in returned ldb objects Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: reduce the memory usage of the getncchanges serverAndrew Tridgell2010-11-051-21/+69
| | | | | | | | we now keep just a list of GUIDs around between getncchanges calls, instead of an entire db search. This makes the overhead of having a pending getncchanges call much smaller. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-kerberos Mention the remote address we fail to contact the KDC onAndrew Bartlett2010-11-051-1/+10
|
* s4-ldb: show the reason for module initialization failureAndrew Tridgell2010-11-051-1/+2
|
* s4: net -> samba-toolAndrew Tridgell2010-11-051-1/+1
|
* s4-join: added DC join to the python join codeAndrew Tridgell2010-11-052-152/+282
| | | | this will replace the old vampire code
* s4-pydrs: added rodc option to python drs replicationAndrew Tridgell2010-11-052-5/+6
|
* s4-pydsdb: added DsReplicaAttribute()Andrew Tridgell2010-11-053-1/+78
| | | | this allows us to form a DsReplicaAttribute structure from python
* s4:password_hash LDB module - fix indentationMatthias Dieter Wallnöfer2010-11-051-10/+10
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Nov 5 12:31:28 UTC 2010 on sn-devel-104
* ldb:ldb.h - reorder extended operations listMatthias Dieter Wallnöfer2010-11-051-4/+10
| | | | | | | | We always define the controls and operations with a comment block. The data structure definitions lie a bit below. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Nov 5 08:44:14 UTC 2010 on sn-devel-104
* s4:dsdb/drepl_notify: reuse dreplsrv_notify_operation structuresStefan Metzmacher2010-11-051-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we'll requeue the same notify events on and on. (gdb) p *((struct dreplsrv_service *) 0x1b52190)->ops.notifies $8 = {prev = 0xe4cb30, next = 0x1a25440, service = 0x1b52190, uSN = 123905, source_dsa = 0x164c100, is_urgent = false, replica_flags = 29} (gdb) p *((struct dreplsrv_service *) 0x1b52190)->ops.notifies->next $9 = {prev = 0x80e000, next = 0x1b7bf70, service = 0x1b52190, uSN = 123589, source_dsa = 0x1a2d930, is_urgent = false, replica_flags = 29} (gdb) p *((struct dreplsrv_service *) 0x1b52190)->ops.notifies->next->next $10 = {prev = 0x1a25440, next = 0x1d0c310, service = 0x1b52190, uSN = 1587, source_dsa = 0x13d3210, is_urgent = false, replica_flags = 29} (gdb) p *((struct dreplsrv_service *) 0x1b52190)->ops.notifies->next->next->next $11 = {prev = 0x1b7bf70, next = 0x1ba1420, service = 0x1b52190, uSN = 123905, source_dsa = 0x164c100, is_urgent = false, replica_flags = 29} (gdb) p *((struct dreplsrv_service *) 0x1b52190)->ops.notifies->next->next->next->next $12 = {prev = 0x1d0c310, next = 0x1c43510, service = 0x1b52190, uSN = 123589, source_dsa = 0x1a2d930, is_urgent = false, replica_flags = 29} (gdb) p *((struct dreplsrv_service *) 0x1b52190)->ops.notifies->next->next->next->next->next $13 = {prev = 0x1ba1420, next = 0xed97b0, service = 0x1b52190, uSN = 1587, source_dsa = 0x13d3210, is_urgent = false, replica_flags = 29} (gdb) p *((struct dreplsrv_service *) 0x1b52190)->ops.notifies->next->next->next->next->next->next $14 = {prev = 0x1c43510, next = 0xe4ce80, service = 0x1b52190, uSN = 123905, source_dsa = 0x164c100, is_urgent = false, replica_flags = 29} We can reuse this operations, while they're not yet started. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Nov 5 07:15:04 UTC 2010 on sn-devel-104
* s4/auth: Add logon_parameters to authenticate_username_pwAnatoliy Atanasov2010-11-053-8/+14
| | | | | | | | We need to be able to set the logon parameters in the same way as in the ntlm server so we can handle openldap simple authentication call correctly. Autobuild-User: Anatoliy Atanasov <anatoliy@samba.org> Autobuild-Date: Fri Nov 5 06:32:43 UTC 2010 on sn-devel-104
* s4/test: Added test for simple bind with machine accountAnatoliy Atanasov2010-11-051-0/+116
| | | | | Samba4 returns error on simple bind, when we do it using openldap simple_bind_s api.
* talloc: Add python talloc module, move convenience functions to it.Jelmer Vernooij2010-11-055-62/+12
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
* waf: Put private libraries in a separate directory when building.Jelmer Vernooij2010-11-052-2/+3
| | | | Thanks to Tridge for pointing out what exactly I had to change. :-)
* selftest: Allow some tests to output empty subunit data.Jelmer Vernooij2010-11-051-1/+1
|
* s4-ldap_server Don't DEBUG() at level 2 every time a caller disconnectsAndrew Bartlett2010-11-051-3/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Nov 5 00:12:37 UTC 2010 on sn-devel-104
* s4: don't run etags over .inst filesAndrew Tridgell2010-11-041-2/+2
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 4 22:51:06 UTC 2010 on sn-devel-104
* s4:ldap.py/passwords.py - just use objectclass "user" for usersMatthias Dieter Wallnöfer2010-11-042-7/+7
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 4 21:09:00 UTC 2010 on sn-devel-104
* s4:dsdb/objectclass_attrs: not all objects have delete protected attributes ↵Stefan Metzmacher2010-11-041-0/+14
| | | | | | | | | | | | | | | | as must contain Before we got the following error, while starting samba after a 'samba-tool vampire': Failed to store repsFrom - objectclass_attrs: delete protected attribute 'objectSid' on entry 'DC=ForestDnsZones,DC=alpha,DC=sz,DC=salzgitter-ag,DC=lab' missing! metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 4 17:01:59 UTC 2010 on sn-devel-104
* s4:dsdb/samdb: optimize samldb_prim_group_change()Stefan Metzmacher2010-11-041-60/+60
| | | | | | We should only do searches when we have to. metze
* s4:dsdb/common: fix memory leak in samdb_ntds_settings_dn()Stefan Metzmacher2010-11-041-1/+1
| | | | | | fetch and set should use the same name! metze
* s4:dsdb/kcc: fix memory leak in kcctpl_copy_output_edges()Stefan Metzmacher2010-11-041-0/+1
| | | | metze
* s4-ldb_module.h: use LDB error code for ldb_error() macro rather than ↵Kamen Mazdrashki2010-11-041-1/+1
| | | | | | | | | | | | | LDB_DEBUG_FATAL We end up calling ldb_error_at() which expects an LDB error, but LDB_DEBUG_FATAL is not such code. It is actually equal to LDB_SUCCESS. Thus the effect is that we report a *fatal* error, but return LDB_SUCCESS in many places. Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Nov 4 12:57:33 UTC 2010 on sn-devel-104