Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit c9b209be2b17c2e4677cc30b46b1074f48878f43)
|
|
We now always read the Domain SID out of LDAP. If the local secrets.tdb
is ever different to LDAP, it is overwritten out of LDAP. We also
store the 'algorithmic rid base' into LDAP, and assert if it changes.
(This ensures cross-host synchronisation, and allows for possible
integration with idmap). If we fail to read/add the domain entry, we just
fallback to the old behaviour.
We always use an existing DN when adding IDMAP entries to LDAP, unless
no suitable entry is available. This means that a user's posixAccount
will have a SID added to it, or a user's sambaSamAccount will have a UID
added. Where we cannot us an existing DN, we use
'sambaSid=S-x-y-z,....' as the DN.
The code now allows modifications to the ID mapping in many cases.
Likewise, we now check more carefully when adding new user entires to LDAP,
to not duplicate SIDs (for users, at this stage), and to add the sambaSamAccount
onto the idmap entry for that user, if it is already established (ensuring
we do not duplicate sambaSid entries in the directory).
The allocated UID code has been expanded to take into account the space
between '1000 - algorithmic rid base'. This much better fits into what
an NT4 does - allocating in the bottom part of the RID range.
On the code cleanup side of things, we now share as much code as
possible between idmap_ldap and pdb_ldap.
We also no longer use the race-prone 'enumerate all users' method for
finding the next RID to allocate. Instead, we just start at the bottom
of the range, and increment again if the user already exists. The first
time this is run, it may well take a long time, but next time will just
be able to use the next Rid.
Thanks to metze and AB for double-checking parts of this.
Andrew Bartlett
(This used to be commit 9c595c8c2327b92a86901d84c3f2c284dabd597e)
|
|
(This used to be commit 6237fae9b8407ee04226b984a932150799191d29)
|
|
(This used to be commit f3fd321b61dbf53b1dc33a42afe8a943c94c1135)
|
|
(This used to be commit 56d2049561e5d5c22ac9d76cb013643083d9644e)
|
|
(This used to be commit be82b3d9dfef938030731e1021076df4dcfdb443)
|
|
(This used to be commit 8c18174a899e9578e0e82d17c7602e84b342644c)
|
|
Jeremy
(This used to be commit 7c4cc2086d59e163ab89366c24ba399994a49462)
|
|
Includes sambaUnixIdPool objectclass
Still needs cleaning up wrt to name space.
More changes to come, but at least we now have a
a working distributed winbindd solution.
(This used to be commit 824175854421f7c27d31ad673a8790dd018ae350)
|
|
and one for transparent. Also add configure support for compiling third-party modules. Patch from Stefan Metzmacher <metze@metzemix.de>
(This used to be commit fcdf215753630d4173e50b7d93d6bc8ba254a5ff)
|
|
which one should be used for new servers. I'll add a note about uncommenting the older items for ldapsam_compat in the release notes
(This used to be commit 469c5ad1acfb452617b10653e06ce3b34ec9e146)
|
|
(This used to be commit 0714dda7cc4a1df73e1b9d11daae80a1f46583de)
|
|
(This used to be commit 925c60f5e2f5301da90fc26dddc1bad610eea0d0)
|
|
Net::LDAP::LDIF
(This used to be commit 9cde1aa32aed55a3d7cb28881c6acd9800b02065)
|
|
New objectclass named sambaSamAccount which uses attribute
prefaced with the phrase 'samba' to prevent future name clashes.
Change in functionality of the 'ldap filter' parameter. This always
defaults to "(uid=%u)" now and is and'd with the approriate objectclass
depending on whether you are using ldapsam_compat or ldapsam
conversion script for migrating from sambaAccount to
sambaSamAccount will come next.
(This used to be commit 998586e65271daa919e47e1206c0007454cbca66)
|
|
primaryGroupID (rid). This is consistant with the move from 'rid' to ntSid
for the primary user identifier.
Also cope with legacy installations where primaryGroupID might have been
stored as 0.
Andrew Bartlett
(This used to be commit 0e432817cb927b41af7b49fb0b5081ffdb46f85e)
|
|
(This used to be commit 94780f0947f7ad7d5bc83e61681148637b59d7ab)
|
|
(This used to be commit ee1374cabf38c3d99e66a45316e232d1c2cfbe6a)
|
|
(This used to be commit a7520177b088589eec7f3989273020dab89d90b5)
|
|
function. Patch by metze with some minor modifications.
(This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
|
|
(This used to be commit e112dc1641c47c7185e098918980df1a4d950bd7)
|
|
This patch removes 'non unix account range' (same as idra's change in HEAD),
and uses the winbind uid range instead.
More importanly, this patch changes the LDAP schema to use 'ntSid' instead
of 'rid' as the primary attribute. This makes it in common with the group
mapping code, and should allow it to be used closely with a future idmap_ldap.
Existing installations can use the existing functionality by using the
ldapsam_compat backend, and users who compile with --with-ldapsam will get
this by default.
More importantly, this patch adds a 'sambaDomain' object to our schema -
which contains 2 'next rid' attributes, the domain name and the domain sid.
Yes, there are *2* next rid attributes. The problem is that we don't 'own'
the entire RID space - we can only allocate RIDs that could be 'algorithmic'
RIDs. Therefore, we use the fact that UIDs in 'winbind uid' range will be
mapped by IDMAP, not the algorithm.
Andrew Bartlett
(This used to be commit 3e07406ade81e136f67439d4f8fd7fe1dbb6db14)
|
|
(This used to be commit 528c56176b186d9fa43f6a0c9831562c123ec25d)
|
|
(This used to be commit bd2444322956cd34a95159114547b5ddc804df9e)
|
|
the HOWTO Collection.
(This used to be commit 31ce815283fcf81cf50f8026a91da04ea4a05071)
|
|
because we don't generate Makefile from configure anymore
(This used to be commit 0d322968cbf445df79153c0abc0d041edcf223ee)
|
|
(This used to be commit a65b54a08eace793e23b8d6bc193b81ef08f77f5)
|
|
(This used to be commit 7f0fd03f699f24094e32a92dbb0ec55d9a602c36)
|
|
Volker
(This used to be commit 5acb9f421c149126370e79d66d3d9ace6be9a695)
|
|
Volker
(This used to be commit da83d97eb50c3c3a67985e22410842100207431f)
|
|
(This used to be commit 81bfd9a4d9c80b87b020b998e9722750339c422d)
|
|
(This used to be commit db3901827fe776041fa38900e80ab2fab94c28a6)
|
|
(This used to be commit 902a1dc1d5f74ce94496d03327c07416bc2061be)
|
|
(This used to be commit f6121fb55b27178f1bcae00a7225e03028f9e7d4)
|
|
* removed unused variable from rpcclient code
* added container option to net command (patch from SuSE)
* Makefile patch for examples/VFS from SuSE
(This used to be commit 25a9681ddda47a41fac8fdc97ca50b7f4c579eaf)
|
|
on nis.schema.
add $(LDFLAGS) to libsmbclient build
(This used to be commit cd16064784a5e5fd9d2a67d4dfba605f7d8046ac)
|
|
used to be commit 953ae9d182788308fe4ee97cf98e30ed4fa3c4c0)
|
|
(This used to be commit c09c1e090525aeccb9ee7762a44aba286c4d71f9)
|
|
(This used to be commit 152c530089191d1867ad018a54bba02a1a85c31e)
|
|
(This used to be commit bdf0d66577c78c92e8bf0f7e6a23d7812b2f76dd)
|
|
(This used to be commit 93cfbb000f8e28f3c4c600e7779dd81bac6ce9a4)
|
|
- Move working VFS modules to source/
- Move documentation to SGML
(This used to be commit be4894815cf7a8e3d792d9801fe9a343f2060c3e)
|
|
(This used to be commit 0674d5a2b0f7ee621940c93b3b58960efd91a763)
|
|
(This used to be commit b0772a1a0531896d5b343863434622d4d0ff437f)
|
|
(This used to be commit b10541b71ba288783976e8c124b6667b7df3b12d)
|
|
(This used to be commit 72e0cfbb42b474404a2f8040f84d3136d8abc97c)
|
|
(This used to be commit 4cffb29d27253e0e2ca270640d86b21315cab91f)
|
|
(This used to be commit 9c811e447821e9c934f9ecf841a38f7e1f7aa626)
|
|
(This used to be commit 14b129e301c94ccf47b9105bda1bd9d142feb1b5)
|
|
(This used to be commit b8c7ce0381e857c2de5658b25e917622ebea954e)
|