1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

255 Commits

Author SHA1 Message Date
Gerald Carter
86e0015b06 fix case in objectclass name (not that it really matters); patch from Darren Chew <darrenc@vicscouts.asn.au> 0001-01-01 00:00:00 +00:00
Jeremy Allison
019aaaf0df Patch based on work from James Peach <jpeach@sgi.com> to convert over to
using pread/pwrite. Modified a little to ensure fsp->pos is correct.
Fix for #889.
Jeremy.
0001-01-01 00:00:00 +00:00
Volker Lendecke
5d7a14166a Another little one: Make pdb_test.c at least compile, although its way out of
date.

Volker
0001-01-01 00:00:00 +00:00
Gerald Carter
6060afb989 correct typo in delete user script; bug 887 0001-01-01 00:00:00 +00:00
Jeremy Allison
6ce7932520 Small fix from Jérôme Tournier <jerome.tournier@IDEALX.com>
Jeremy.
0001-01-01 00:00:00 +00:00
Volker Lendecke
bc383582b2 When parsing 'param = value', don't split 'value' at spaces.
Thanks to Ralf Spenneberg for the fix.

Volker
0001-01-01 00:00:00 +00:00
Gerald Carter
9a7774306d removing RCS tags 0001-01-01 00:00:00 +00:00
Gerald Carter
3249e69274 * removing extra file
* updating version in Makefile
0001-01-01 00:00:00 +00:00
Tim Potter
f43546d0af Change PICFLAG -> PICFLAGS to keep in line with version from source
directory and fix display bug.
0001-01-01 00:00:00 +00:00
Gerald Carter
b798f30f0a updating top 0.8.2-1 of the smbldap tools 0001-01-01 00:00:00 +00:00
Gerald Carter
d463abb035 sync OID with HEAD 0001-01-01 00:00:00 +00:00
Gerald Carter
1c3c16abc9 support munged dial for ldapsam; patch from Aurlien Degrmont; bug 800 0001-01-01 00:00:00 +00:00
Andrew Tridgell
8d848de45d added a wbtest program that shows how to access winbindd extended nss
functionality directly from an application.

This is under a liberal license as we want application vendors to be
able to use the example code
0001-01-01 00:00:00 +00:00
Richard Sharpe
af42af75a4 Add testacl.c ... from Derrell Lipman. 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
58c21bc0d1 Add new fields bad_password_count and logon_count 0001-01-01 00:00:00 +00:00
Gerald Carter
3f67b2bbfd added note about stripping comments from LDIF; bug 642 0001-01-01 00:00:00 +00:00
Richard Sharpe
1f115c95d6 Apply these patches as well ... not sure if they all build. They don't on
FreeBSD 4.3. They might on Linux.
0001-01-01 00:00:00 +00:00
Gerald Carter
c1546a5311 update smbldap-tool sscripts from Jérôme Tournier 0001-01-01 00:00:00 +00:00
Gerald Carter
5c45b799d1 fix from Brad Langhorst to correctly check if the primaryGroupID has been set 0001-01-01 00:00:00 +00:00
Gerald Carter
bd9b90a391 updates to SunOne DS schema from André Fiebach 0001-01-01 00:00:00 +00:00
Gerald Carter
64fa24dbab insert missing sh-bang 0001-01-01 00:00:00 +00:00
Tim Potter
a9f22ed9d7 The -P option to smbclient no longer works - update all smbprint scripts to
remove it.  Closes bug #473.
0001-01-01 00:00:00 +00:00
Jim McDonough
5dcf974c22 Updated 3.0 schema files for IBM Directory Server 5.1
Keeps with IBM convention of separate attributetype and objectclass definitions.
0001-01-01 00:00:00 +00:00
Gerald Carter
88725350d2 syncing files 0001-01-01 00:00:00 +00:00
Gerald Carter
3f97a5ce47 samba 3.0 schema filr netscape DS 5.x from Darren Chew 0001-01-01 00:00:00 +00:00
Gerald Carter
c9c7150a62 updated schema for 3.0 for eDirectory 8.7 and Netscape DS 4.x 0001-01-01 00:00:00 +00:00
Gerald Carter
9013355807 updating README file after I removed some scripts 0001-01-01 00:00:00 +00:00
Gerald Carter
7105f4bcab remove rcs tag 0001-01-01 00:00:00 +00:00
Gerald Carter
29885eae59 removing outdated scripts and adding comments about 'ldap password syc' 0001-01-01 00:00:00 +00:00
Gerald Carter
5b20494aff add --help to script 0001-01-01 00:00:00 +00:00
Gerald Carter
5f41cd76b7 sync with changes from Jerome Tournier @ IDEALX; should now work with sambaSamAccount schema 0001-01-01 00:00:00 +00:00
Gerald Carter
49457669f3 include enhancements from Buchan Milne to generate LDIF modify output in addition to add 0001-01-01 00:00:00 +00:00
Gerald Carter
25753e2a33 adding old NDS schema so I can update it 0001-01-01 00:00:00 +00:00
Gerald Carter
766a5070d5 checlking in initial version of 2.2 scripts so I can start updating them 0001-01-01 00:00:00 +00:00
Gerald Carter
f72f51d39f fix comments about schema dependencies 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
a1e1421d1e Put 'wins hook' example back in. Fixes bug #268) 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
f27e696cd3 Add some more new common options 0001-01-01 00:00:00 +00:00
Jeremy Allison
80e14b1765 Added by request of "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
3f8c77b116 Test modules for shadow copy by "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy.
0001-01-01 00:00:00 +00:00
Jim McDonough
c9b209be2b Update my copyrights according to my agreement with IBM 0001-01-01 00:00:00 +00:00
Andrew Bartlett
9c595c8c23 This patch cleans up some of our ldap code, for better behaviour:
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
0001-01-01 00:00:00 +00:00
Gerald Carter
6237fae9b8 applying fix for group map conversion (patch from Kristyan Osborne) 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
f3fd321b61 Add DTD used by XML passdb backend 0001-01-01 00:00:00 +00:00
John Terpstra
56d2049561 This patch is Vorlon's fault! 0001-01-01 00:00:00 +00:00
Gerald Carter
be82b3d9df fix typo in description 0001-01-01 00:00:00 +00:00
Gerald Carter
8c18174a89 check that an attribute is defined and not just non-zero 0001-01-01 00:00:00 +00:00
Jeremy Allison
7c4cc2086d Make skeleton VFSs compile with new EA modules.
Jeremy
0001-01-01 00:00:00 +00:00
Gerald Carter
8241758544 working draft of the idmap_ldap code.
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.
0001-01-01 00:00:00 +00:00
Alexander Bokovoy
fcdf215753 Move VFS example skel.c to two different examples: one for opaque operations and one for transparent. Also add configure support for compiling third-party modules. Patch from Stefan Metzmacher <metze@metzemix.de> 0001-01-01 00:00:00 +00:00
Gerald Carter
469c5ad1ac moving the sambaAccount objectclass to 'historical' to prevent confusion on 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 0001-01-01 00:00:00 +00:00