summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2003-09-09syncing filesGerald Carter8-16/+0
(This used to be commit 88725350d248fe017b77c7609544888ba40b7995)
2003-09-09syncing examplesGerald Carter52-504/+6980
(This used to be commit d31b5df82648767203ecee6ecb10030caa477250)
2003-09-08samba 3.0 schema filr netscape DS 5.x from Darren ChewGerald Carter1-74/+35
(This used to be commit 3f97a5ce47bbdd3010dd8e234a7aa5838b524b46)
2003-09-05updated schema for 3.0 for eDirectory 8.7 and Netscape DS 4.xGerald Carter2-251/+259
(This used to be commit c9c7150a627abe93a5d3c866605f2300a3cc5ec9)
2003-08-29updating README file after I removed some scriptsGerald Carter1-42/+19
(This used to be commit 90133558073deb96a0e5baf26e44cf1af1acd538)
2003-08-28remove rcs tagGerald Carter1-2/+0
(This used to be commit 7105f4bcabb29126999b5494f6d60d6f766ab5cc)
2003-08-28removing outdated scripts and adding comments about 'ldap password syc'Gerald Carter4-335/+5
(This used to be commit 29885eae591bdbb899d18ac2e7ae355751cd4be6)
2003-08-27add --help to scriptGerald Carter1-1/+8
(This used to be commit 5b20494aff3da9414ac0100220de96750c3f06a3)
2003-08-26sync with changes from Jerome Tournier @ IDEALX; should now work with ↵Gerald Carter13-511/+682
sambaSamAccount schema (This used to be commit 5f41cd76b793305e1e9e4da76d58daa2d8438c63)
2003-08-26include enhancements from Buchan Milne to generate LDIF modify output in ↵Gerald Carter1-11/+114
addition to add (This used to be commit 49457669f32ed1d8122633e2d0abdebaf05790da)
2003-08-20adding old NDS schema so I can update itGerald Carter1-0/+201
(This used to be commit 25753e2a336a72dc2275a0046003c3a659a0f880)
2003-08-20checlking in initial version of 2.2 scripts so I can start updating themGerald Carter35-0/+6143
(This used to be commit 766a5070d58ada7a871a7fab45b5f7e203264952)
2003-08-20fix comments about schema dependenciesGerald Carter1-3/+4
(This used to be commit f72f51d39ff3e6d22dbda8b9c115ca10e93e7022)
2003-08-14Put 'wins hook' example back in. Fixes bug #268)Jelmer Vernooij2-0/+102
(This used to be commit a1e1421d1ef70088e1cf2308e8cfbf139e25ddaa)
2003-08-13Add some more new common optionsJelmer Vernooij1-14/+25
(This used to be commit f27e696cd38501754fb996ca3ffbe48b28e861ae)
2003-08-08Added by request of "Stefan (metze) Metzmacher" <metze@metzemix.de>.Jeremy Allison1-0/+83
Jeremy. (This used to be commit 80e14b176526a3038ea03214fc3dd0fd00fef922)
2003-08-07Test modules for shadow copy by "Stefan (metze) Metzmacher" <metze@metzemix.de>.Jeremy Allison2-2/+14
Jeremy. (This used to be commit 3f8c77b116b96b01fd333c4b45d84666ef108fe9)
2003-08-01Update my copyrights according to my agreement with IBMJim McDonough1-1/+1
(This used to be commit c9b209be2b17c2e4677cc30b46b1074f48878f43)
2003-07-16ading new files from 3.0Gerald Carter9-0/+2018
(This used to be commit 99feae7b5b1c229a925367b87c0c0f636d9a2d75)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter9-223/+85
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-07-04This patch cleans up some of our ldap code, for better behaviour:Andrew Bartlett1-4/+21
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)
2003-07-01applying fix for group map conversion (patch from Kristyan Osborne)Gerald Carter1-1/+1
(This used to be commit 6237fae9b8407ee04226b984a932150799191d29)
2003-06-16Add DTD used by XML passdb backendJelmer Vernooij1-0/+46
(This used to be commit f3fd321b61dbf53b1dc33a42afe8a943c94c1135)
2003-06-15This patch is Vorlon's fault!John Terpstra1-22/+34
(This used to be commit 56d2049561e5d5c22ac9d76cb013643083d9644e)
2003-06-13fix typo in descriptionGerald Carter1-1/+1
(This used to be commit be82b3d9dfef938030731e1021076df4dcfdb443)
2003-06-12check that an attribute is defined and not just non-zeroGerald Carter1-1/+1
(This used to be commit 8c18174a899e9578e0e82d17c7602e84b342644c)
2003-06-06Make skeleton VFSs compile with new EA modules.Jeremy Allison3-0/+238
Jeremy (This used to be commit 7c4cc2086d59e163ab89366c24ba399994a49462)
2003-06-05working draft of the idmap_ldap code.Gerald Carter1-0/+10
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)
2003-06-04Move VFS example skel.c to two different examples: one for opaque operations ↵Alexander Bokovoy10-491/+1563
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)
2003-05-22sync LDAP schema with SAMBA_3_0Gerald Carter1-150/+142
(This used to be commit 509232dd8d776ec8260a1f0858e1bcc2c1e1f650)
2003-05-22moving the sambaAccount objectclass to 'historical' to prevent confusion on ↵Gerald Carter1-150/+142
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)
2003-05-14fix group mapping in LDAP under new schemaGerald Carter1-1/+1
(This used to be commit 59328b8c8add974c7edaeecdf8eac0fb0d328fc2)
2003-05-14fix group mapping in LDAP under new schemaGerald Carter1-1/+1
(This used to be commit 0714dda7cc4a1df73e1b9d11daae80a1f46583de)
2003-05-14s/primaryGroupSID/sambaPrimaryGroupSID/Gerald Carter1-1/+1
(This used to be commit d6ee6a26523a02834a53f214fd6713f5af591be7)
2003-05-14s/primaryGroupSID/sambaPrimaryGroupSID/Gerald Carter1-1/+1
(This used to be commit 925c60f5e2f5301da90fc26dddc1bad610eea0d0)
2003-05-14perl script to convert from sambaAccount to sambaSamAccount; requires ↵Gerald Carter1-0/+105
Net::LDAP::LDIF (This used to be commit 5b6f22f7c986bc423246adeecc0d5a4bd5f307c6)
2003-05-14syncing LDAP schema changes with Samba_3_0Gerald Carter1-23/+142
(This used to be commit a1326ea34831bf49942f7bcb954999091c3ea820)
2003-05-14perl script to convert from sambaAccount to sambaSamAccount; requires ↵Gerald Carter1-0/+105
Net::LDAP::LDIF (This used to be commit 9cde1aa32aed55a3d7cb28881c6acd9800b02065)
2003-05-14*****LDAP schema changes*****Gerald Carter1-25/+134
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)
2003-05-11As discussed on samba-technical - move to 'primaryGroupSid' insted ofAndrew Bartlett1-1/+11
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)
2003-05-09syncing README to go along with scriptsGerald Carter1-24/+7
(This used to be commit 94780f0947f7ad7d5bc83e61681148637b59d7ab)
2003-05-09syncing import/export smbpasswd file scripts from 2.2Gerald Carter4-231/+114
(This used to be commit ee1374cabf38c3d99e66a45316e232d1c2cfbe6a)
2003-05-01Don't crash if the underlying VFS doesn't support ACL'sJelmer Vernooij1-0/+10
(This used to be commit a7520177b088589eec7f3989273020dab89d90b5)
2003-05-01Don't crash if the underlying VFS doesn't support ACL'sJelmer Vernooij1-0/+10
(This used to be commit 277fa587d596449a6ac15b440ae07d6707d758ac)
2003-04-29Merge Samba 3.0 pdb_ldap from 3.0 into HEAD, so as to allow idra to continueAndrew Bartlett2-9/+37
his IDMAP work. This version also works properly (the HEAD version had suffered from bitrot), and should be a good basis to change into the new IDMAP rules. It also includes UTF8 conversions. Included also are the schema changes, and a note about the now very old scripts in examples/LDAP (they don't work for this, or even the previous schema). Andrew Bartlett (This used to be commit 38a8f2b23a12f6a964d447f7904dd722a1ca046c)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij1-1/+1
function. Patch by metze with some minor modifications. (This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij1-1/+1
function. Patch by metze with some minor modifications. (This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
2003-04-28Add example auth/ moduleJelmer Vernooij2-0/+90
(This used to be commit d16f8f661a2a0be4fd89f7469b7e3e6a42860ad2)
2003-04-28Add example authentication moduleJelmer Vernooij2-0/+90
(This used to be commit e112dc1641c47c7185e098918980df1a4d950bd7)
2003-04-28A new pdb_ldap!Andrew Bartlett1-5/+34
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)