Age | Commit message (Collapse) | Author | Files | Lines |
|
- Enhance test for "distinguishedName"
- Add a test for single-valued attributes
- Add a test for multi-valued attributes
- Add a test for empty messages
- Add a test for empty attributes
|
|
|
|
|
|
|
|
|
|
- Clean up and reorder it a bit
- Test which adds invalid attributes
- Test which makes sure that the 'distinguishedName' attribute cannot be modified
- Test which makes sure that we cannot change the RDN/'name' attribute through a modify request
|
|
|
|
These are updated second eddition unittests using ldb.add_ldif()
and ldb.modify_ldif(). Unittests are found to work when using
the right local domain SID. Negative test separated.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
|
|
This passes the Windows Server behaviour. Also SAMBA 4 should match it.
Also some small enhancement.
|
|
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
|
|
|
|
Tests for the right behaviour of this introduced constructed attribute.
Since we don't support the read-only-ness of those attributes yet, I commented
some lines out.
Also I had to add a function for python which converts domain SIDs in RIDs.
And a small fix for the "groupType" test.
|
|
|
|
This uses groupType as the example, but this actually applies to all
integer types in AD.
Andrew Bartlett
|
|
The parentGUID test didn't clean up after itself correctly.
Andrew Bartlett
|
|
This is made up of 4 parts:
1) change our schema to include the parentGUID attribute type
2) in the add hook in the objectclass module, get the objectGUID of
the parent and add it to the message as parentGUID
3) in the rename hook in the objectclass module, get the objectGUID
of the new parent, and insert an async modify request after the
renmam is done
4) added a simple test suite
|
|
here locally).
|
|
|
|
|
|
|
|
|
|
by Python2.3.
|
|
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
This attribute is critical for the operation of nearly all the
Microsoft Mangement Console tools
Andrew Bartlett
|
|
|
|
is not guaranteed
|
|
(This used to be commit 6028404a9a9db64d4025ef6e685ee13c4aadca2e)
|
|
(This used to be commit 233dd885c2a2b4ee7cc2287efe7d6e03625d4981)
|
|
This reads the schema from the in-memory structure, when the magic
attributes are requested. The code is a modified version of that used
in the ad2oLschema tool (now shared).
The schema_fsmo module handles the insertion of the generated result.
As such, this commit also removes these entries from the setup/schema.ldif
Metze's previous stub of this functionality is also removed.
Andrew Bartlett
(This used to be commit c7c32ec7b42bdf0f7b669644516438c71b364e60)
|
|
(This used to be commit 63c80c885dc3fb2228f082be8db752bb29e3962e)
|
|
This will go away when this is handled in an internal transation.
Andrew Bartlett
(This used to be commit f567e17758cfe937249beafae0a9087b67b27755)
|
|
This requires a patched OpenLDAP checked out from their CVS HEAD. I
hope to see the patches incorporated soon.
Andrew Bartlett
(This used to be commit 963bcfc777679ba122189ea6cf7f94b8d46cdce7)
|
|
Allow LDAP backend to return parts of the DN in a different case, when
verifying memberOf.
Andrew Bartlett
(This used to be commit daddfae9fd8b7375bd4f469808378edc60a55be0)
|
|
(This used to be commit 9c220c0dce31fbe4b2f6433f40a52162d21c03f7)
|
|
We should now (need to review and compare them once more) be able to
remove ldap.js (and once samba3sam.js is done, smbscript).
Andrew Bartlett
(This used to be commit f65e43e9456e8e951d172779cba53ab417114b20)
|
|
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
|
|
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
|
|
This fixes up the python credentials interface in a number of areas,
with the aim of supporting '-k yes' as a command line option. (This
enables the use of kerberos).
As such, I've had to change the get_credentials call to take a
loadparm context, so that the credentials can be initialised
correctly.
The test_kinit script has been modified to prove that this continues
to work, as well as to provide greater code coverage of the kerberos
paths.
Andrew Bartlett
(This used to be commit 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
|
|
(This used to be commit e4d7cd8ba77aa05c11dad457c3f2c2c6252c5966)
|
|
(This used to be commit 501259ff31641bf52e337b597881d1fedc6b2a63)
|
|
(This used to be commit 1868a42108012183aa78fe5d4f524d45f4505a3e)
|
|
We don't get this far in the test at the moment however.
Andrew Bartlett
(This used to be commit c3098d5c52505e143a6ce498273a5ce6a66220b0)
|
|
and default to using system smb.conf.
(This used to be commit b3afde0f00ab5093b577b139a062c233d4db2524)
|
|
(This used to be commit 0885dc9f813e19cd6c28d8259eaeccf1e9b26210)
|
|
(This used to be commit 874c00b1c1ef011c85226135144fafdc97d91116)
|
|
(This used to be commit 3a0d14f33532d88ace770d037c50375fe822dbb6)
|
|
(This used to be commit 017aa400c7097cf6132f2bec969b9bbb5237f4d8)
|
|
(This used to be commit 0c27eabbc40657493dc72f12b4fbdb07b0a3200f)
|
|
(This used to be commit 52f64afd4324eb185303ca192b88ccb632ee8587)
|
|
(This used to be commit d7a3f9612c40000cb265279598c09f6983305656)
|