1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

376 Commits

Author SHA1 Message Date
Jeremy Allison
1c5867502a r1388: Adding password history code for ldap backend, based on a patch from
"Jianliang Lu" <j.lu@tiesse.com>. Multi-string attribute changed to
linearised pstring due to ordering issues. A few other changes to
fix race conditions. I will add the tdb backend code next. This code
compiles but has not yet been tested with password history policy
set to greater than zero. Targeted for 3.0.6.
Jeremy.
(This used to be commit dd54b2a3c4)
2007-10-10 10:52:09 -05:00
John Terpstra
d01371a3f9 r922: Adding notes regarding location of documentation.
(This used to be commit 1b0fd9b5bc)
2007-10-10 10:51:49 -05:00
Gerald Carter
96c6bf93d5 r795: paranoia checks
(This used to be commit c087c51535)
2007-10-10 10:51:38 -05:00
Gerald Carter
b8f32d608f r397: BUG 1199: check logfile before writing debug output
(This used to be commit 52df0905cd)
2007-10-10 10:51:21 -05:00
Jelmer Vernooij
0bb304d97f r379: Fix syntax error in example mysql table
(This used to be commit 2a7aaedab6)
2007-10-10 10:51:21 -05:00
Gerald Carter
1f7900ebda r293: keeping a single default smb.conf to maintain
(This used to be commit 8703139566)
2007-10-10 10:51:17 -05:00
Gerald Carter
4966a7a25c r292: removing some outdated files and directories (I love subversion!)
(This used to be commit 39a2ab4d3d)
2007-10-10 10:51:17 -05:00
Gerald Carter
125efdd608 r291: adding printer and driver migration shell script from Kurt Pfeifle
(This used to be commit 4d806384c0)
2007-10-10 10:51:17 -05:00
Gerald Carter
a329b70e15 r252: add backtrace to examples so people know about it (slight change from lars @suse)
(This used to be commit c9db3da255)
2007-10-10 10:51:16 -05:00
Volker Lendecke
81996162d6 r223: According to Thomas Mueller, thomas.mueller@christ-wasser.de, the two lines
removed (modifiersName and modifyTimestamp) lead to warnings upon startup of
the netscape directory server. I can't check this, but it sounds logical.

Thanks,

Volker
(This used to be commit 770b85c32f)
2007-10-10 10:51:14 -05:00
Gerald Carter
60670f27ab r119: missed a file in volker patch
(This used to be commit bccee79653)
2007-10-10 10:51:10 -05:00
Gerald Carter
931df5850e r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4)
2007-10-10 10:51:05 -05:00
Stefan Metzmacher
7d7b6190b0 change my email address to the samba.org one
metze
(This used to be commit 5bf8f1b31b)
2004-03-24 13:41:06 +00:00
Gerald Carter
447af3949e removing duplicate smbprint example script
(This used to be commit 2426bb4906)
2004-03-20 13:50:03 +00:00
Gerald Carter
fd312721ea missed some of Derrel's changes
(This used to be commit 3aac1e549e)
2004-03-19 17:48:08 +00:00
cvs2svn Import User
07ad7b0e3b This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 73ffc394b5) 2004-03-19 17:36:57 +00:00
Richard Sharpe
8d976560e0 Apply some more of Derrell Lipman's changes.
(This used to be commit a6457e1c81)
2004-03-19 17:36:56 +00:00
Jim McDonough
b9c35e961d Add bad password count/time attributes
(This used to be commit 184bef8413)
2004-02-22 20:25:43 +00:00
Jim McDonough
6ba430dd8e Add bad password count/time attributes
(This used to be commit 51a8d050e9)
2004-02-22 20:25:39 +00:00
Jim McDonough
88129f85c0 Fix whitespace to reduce diff from HEAD
(This used to be commit eba512ee1c)
2004-02-14 14:25:40 +00:00
Jim McDonough
dc0e22109d Sync with openldap schema. Add munged dial and config attrs/ocs.
(This used to be commit 3f8824f7d0)
2004-02-14 14:23:51 +00:00
Jim McDonough
590a53b62c sync IBM Directory Server schema with openldap schema...add munged dial
(This used to be commit 3b1d922ab4)
2004-02-14 14:05:17 +00:00
Gerald Carter
2e2b654820 merge from 3.0
(This used to be commit 309a9a4caf)
2004-02-09 18:48:44 +00:00
Gerald Carter
a870ff546c janitor duty (merges from 3.0) and cleanup compiler warning on SuSE 9 in the end mapper code
(This used to be commit 902d4a647a)
2004-02-02 01:46:30 +00:00
Volker Lendecke
fadc012803 Commit sid<->[ug]id extensions to libnss_winbind.so on Linux, as well as a
factored-out nss_winbind.[ch]. I took tridge's public domain license comment
for the nss_winbind.[ch].

This is probably not the last word on that extension, but as it is quite
non-intrusive to the main samba code, I would like to give it a start.

Volker
(This used to be commit da5944129f)
2004-01-16 13:11:01 +00:00
Tim Potter
913d1745ca Merge of POBAD_CC removal from 3.0
(This used to be commit 835a28337f)
2004-01-15 07:19:12 +00:00
Tim Potter
c92a776bcf Fix for bug 905. Remove POBAD_CC as it doesn't seem to be applicable
anymore.
(This used to be commit 67d25f3de8)
2004-01-15 06:51:20 +00:00
Gerald Carter
077d5b2f69 merging from 3.0
(This used to be commit 694052f8a9)
2004-01-06 14:45:56 +00:00
Gerald Carter
db21c4e336 fix case in objectclass name (not that it really matters); patch from Darren Chew <darrenc@vicscouts.asn.au>
(This used to be commit 86e0015b06)
2004-01-06 14:40:35 +00:00
Jeremy Allison
0d44747df9 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.
(This used to be commit 019aaaf0df)
2004-01-06 01:22:14 +00:00
Jeremy Allison
827c68deb8 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.
(This used to be commit 3a24dc868d)
2004-01-06 01:21:59 +00:00
Volker Lendecke
65586823a7 Another little one: Make pdb_test.c at least compile, although its way out of
date.

Volker
(This used to be commit 0a84173555)
2003-12-30 21:12:57 +00:00
Volker Lendecke
2abf5f928f Another little one: Make pdb_test.c at least compile, although its way out of
date.

Volker
(This used to be commit 5d7a14166a)
2003-12-30 21:12:36 +00:00
Gerald Carter
25a990bde0 correct typo in delete user script; bug 887
(This used to be commit 6060afb989)
2003-12-22 21:32:33 +00:00
Gerald Carter
a7e2a1a919 correct typo in delete user script; bug 887
(This used to be commit 44ef3dd2b3)
2003-12-22 21:26:29 +00:00
Jeremy Allison
2ff5ed9555 Small fix from Jérôme Tournier <jerome.tournier@IDEALX.com>
Jeremy.
(This used to be commit 6ce7932520)
2003-12-16 18:14:10 +00:00
Volker Lendecke
9d97b20473 When parsing 'param = value', don't split 'value' at spaces.
Thanks to Ralf Spenneberg for the fix.

Volker
(This used to be commit bc383582b2)
2003-12-14 17:47:15 +00:00
Gerald Carter
8dc02df11c removing RCS tags
(This used to be commit 9a7774306d)
2003-12-05 14:06:55 +00:00
Gerald Carter
814591c0c5 * removing extra file
* updating version in Makefile
(This used to be commit 3249e69274)
2003-12-05 13:57:02 +00:00
Tim Potter
f6c798f4cc Change PICFLAG -> PICFLAGS to keep in line with version from source
directory and fix display bug.
(This used to be commit f43546d0af)
2003-12-05 11:12:05 +00:00
Gerald Carter
dc058d980b updating top 0.8.2-1 of the smbldap tools
(This used to be commit b798f30f0a)
2003-12-04 21:59:20 +00:00
Gerald Carter
83c64db054 sync OID with HEAD
(This used to be commit d463abb035)
2003-12-04 05:02:53 +00:00
Gerald Carter
f5eed76193 readding schema items that were accidentally deleted
(This used to be commit 14dd4403fe)
2003-12-04 05:02:25 +00:00
Gerald Carter
c6f0190b54 support munged dial for ldapsam; patch from Aurlien Degrmont; bug 800
(This used to be commit acf9eae7b0)
2003-12-04 04:52:49 +00:00
Gerald Carter
5df2fd4175 support munged dial for ldapsam; patch from Aurlien Degrmont; bug 800
(This used to be commit 1c3c16abc9)
2003-12-04 04:52:00 +00:00
Andrew Tridgell
dec5b6c40d 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
(This used to be commit 8d848de45d)
2003-11-19 08:14:09 +00:00
Simo Sorce
c473b3983e add also the schema attributes and object classes need by config_ldap
Jerry,
if you have any problems with these schema additions, let me know, so that
we can arrange the right solution
(This used to be commit e17af6d6cf)
2003-11-15 00:52:06 +00:00
Richard Sharpe
716dd32809 Update Makefile ...
(This used to be commit b92fd87b24)
2003-11-13 21:42:07 +00:00
Richard Sharpe
d3d4c7446e Add this to samba-head.
(This used to be commit d761175f13)
2003-11-13 21:40:27 +00:00
Richard Sharpe
19aff105aa Add testacl.c ... from Derrell Lipman.
(This used to be commit af42af75a4)
2003-11-12 21:46:39 +00:00
Jelmer Vernooij
9da5e6a4da Add new fields bad_password_count and logon_count
(This used to be commit 58c21bc0d1)
2003-11-09 14:09:27 +00:00
Richard Sharpe
018a3cc508 Apply the changes that Derrell Lipman supplied ...
(This used to be commit 600e056a33)
2003-11-05 16:58:25 +00:00
Gerald Carter
34bbe8d2d3 added note about stripping comments from LDIF; bug 642
(This used to be commit 41aefed932)
2003-11-05 04:17:57 +00:00
Gerald Carter
3886d6a7a1 added note about stripping comments from LDIF; bug 642
(This used to be commit 3f67b2bbfd)
2003-11-05 04:17:21 +00:00
Richard Sharpe
966a448f93 Apply these patches as well ... not sure if they all build. They don't on
FreeBSD 4.3. They might on Linux.
(This used to be commit 1f115c95d6)
2003-10-24 20:24:05 +00:00
Gerald Carter
4b10dd9454 more syncs from 3.0
(This used to be commit bb7d5ce376)
2003-09-24 15:08:05 +00:00
Gerald Carter
293421f3c6 syncing up docs, examples, & packaging from 3.0
(This used to be commit dd1348c566)
2003-09-24 15:05:22 +00:00
Gerald Carter
79cb5593a8 update smbldap-tool sscripts from Jérôme Tournier
(This used to be commit c1546a5311)
2003-09-23 20:39:22 +00:00
Gerald Carter
ccb7f73f23 fix from Brad Langhorst to correctly check if the primaryGroupID has been set
(This used to be commit db0d8f76ba)
2003-09-20 15:29:27 +00:00
Gerald Carter
af7ed6225c fix from Brad Langhorst to correctly check if the primaryGroupID has been set
(This used to be commit 5c45b799d1)
2003-09-20 15:28:24 +00:00
Gerald Carter
da33457575 updates to SunOne DS schema from André Fiebach
(This used to be commit ec65dabe9d)
2003-09-20 15:21:46 +00:00
Gerald Carter
d1b4886688 updates to SunOne DS schema from André Fiebach
(This used to be commit bd9b90a391)
2003-09-20 15:20:31 +00:00
Gerald Carter
389bf06cde insert missing sh-bang
(This used to be commit fe2b6317cb)
2003-09-19 18:54:40 +00:00
Gerald Carter
05d50e91cc insert missing sh-bang
(This used to be commit 64fa24dbab)
2003-09-19 18:53:07 +00:00
Tim Potter
48a5e3fa09 Merge from 3.0:
>The -P option to smbclient no longer works - update all smbprint scripts to
>remove it.  Closes bug #473.
(This used to be commit 87e8d584e9)
2003-09-19 06:21:46 +00:00
Tim Potter
804fca6e49 The -P option to smbclient no longer works - update all smbprint scripts to
remove it.  Closes bug #473.
(This used to be commit a9f22ed9d7)
2003-09-19 01:54:57 +00:00
Jim McDonough
d80e9b7e42 Updated 3.0 schema files for IBM Directory Server 5.1
keeps with IBM convention of separate attributetype and objectclass definitions
(This used to be commit 861f3b0d5f)
2003-09-11 18:37:17 +00:00
Jim McDonough
150d3d535c Updated 3.0 schema files for IBM Directory Server 5.1
Keeps with IBM convention of separate attributetype and objectclass definitions.
(This used to be commit 5dcf974c22)
2003-09-11 18:32:44 +00:00
Gerald Carter
3d7cb49747 syncing files
(This used to be commit c74c2903fb)
2003-09-09 03:56:39 +00:00
Gerald Carter
314b7f7cca syncing files
(This used to be commit 88725350d2)
2003-09-09 03:54:11 +00:00
Gerald Carter
edb6755f45 syncing examples
(This used to be commit d31b5df826)
2003-09-09 03:51:06 +00:00
Gerald Carter
09ea546e5c samba 3.0 schema filr netscape DS 5.x from Darren Chew
(This used to be commit 3f97a5ce47)
2003-09-08 15:59:45 +00:00
Gerald Carter
c7dbe58a36 updated schema for 3.0 for eDirectory 8.7 and Netscape DS 4.x
(This used to be commit c9c7150a62)
2003-09-05 04:09:25 +00:00
Gerald Carter
1e5411ca82 updating README file after I removed some scripts
(This used to be commit 9013355807)
2003-08-29 16:56:59 +00:00
Gerald Carter
a75430992f remove rcs tag
(This used to be commit 7105f4bcab)
2003-08-28 17:00:36 +00:00
Gerald Carter
b3f1b28e1e removing outdated scripts and adding comments about 'ldap password syc'
(This used to be commit 29885eae59)
2003-08-28 16:38:59 +00:00
Gerald Carter
bdccf7fca8 add --help to script
(This used to be commit 5b20494aff)
2003-08-27 14:44:36 +00:00
Gerald Carter
5e6c6d766f sync with changes from Jerome Tournier @ IDEALX; should now work with sambaSamAccount schema
(This used to be commit 5f41cd76b7)
2003-08-26 04:36:27 +00:00
Gerald Carter
92d05d1f40 include enhancements from Buchan Milne to generate LDIF modify output in addition to add
(This used to be commit 49457669f3)
2003-08-26 04:17:05 +00:00
Gerald Carter
873f925a51 adding old NDS schema so I can update it
(This used to be commit 25753e2a33)
2003-08-20 21:53:18 +00:00
Gerald Carter
a750624f4d checlking in initial version of 2.2 scripts so I can start updating them
(This used to be commit 766a5070d5)
2003-08-20 21:52:52 +00:00
Gerald Carter
0722fc16a4 fix comments about schema dependencies
(This used to be commit f72f51d39f)
2003-08-20 16:08:39 +00:00
Jelmer Vernooij
134e7f948d Put 'wins hook' example back in. Fixes bug #268)
(This used to be commit a1e1421d1e)
2003-08-14 01:15:42 +00:00
Jelmer Vernooij
225a8ed076 Add some more new common options
(This used to be commit f27e696cd3)
2003-08-13 04:57:28 +00:00
Jeremy Allison
11bf0c0b23 Added by request of "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy.
(This used to be commit 80e14b1765)
2003-08-08 00:53:46 +00:00
Jeremy Allison
4d48737782 Test modules for shadow copy by "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy.
(This used to be commit 3f8c77b116)
2003-08-07 21:49:01 +00:00
Jim McDonough
9f2e6167d2 Update my copyrights according to my agreement with IBM
(This used to be commit c9b209be2b)
2003-08-01 15:21:20 +00:00
Gerald Carter
1caa6b23e4 ading new files from 3.0
(This used to be commit 99feae7b5b)
2003-07-16 05:42:34 +00:00
Gerald Carter
4a090ba06a trying to get HEAD building again. If you want the code
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE
(This used to be commit adb98e7b7c)
2003-07-16 05:34:56 +00:00
Andrew Bartlett
4168d61fb2 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
(This used to be commit 9c595c8c23)
2003-07-04 13:29:42 +00:00
Gerald Carter
a220e983d0 applying fix for group map conversion (patch from Kristyan Osborne)
(This used to be commit 6237fae9b8)
2003-07-01 15:21:43 +00:00
Jelmer Vernooij
540e3f889c Add DTD used by XML passdb backend
(This used to be commit f3fd321b61)
2003-06-16 21:33:46 +00:00
John Terpstra
5d4937c2b6 This patch is Vorlon's fault!
(This used to be commit 56d2049561)
2003-06-15 05:14:28 +00:00
Gerald Carter
af0ddc81d8 fix typo in description
(This used to be commit be82b3d9df)
2003-06-13 02:53:03 +00:00
Gerald Carter
b93851af13 check that an attribute is defined and not just non-zero
(This used to be commit 8c18174a89)
2003-06-12 13:41:13 +00:00
Jeremy Allison
de3f1c7767 Make skeleton VFSs compile with new EA modules.
Jeremy
(This used to be commit 7c4cc2086d)
2003-06-06 07:09:30 +00:00
Gerald Carter
3bdfd57a2d 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.
(This used to be commit 8241758544)
2003-06-05 02:34:30 +00:00
Alexander Bokovoy
bee3d8f410 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>
(This used to be commit fcdf215753)
2003-06-04 13:13:41 +00:00
Gerald Carter
f8a43403de sync LDAP schema with SAMBA_3_0
(This used to be commit 509232dd8d)
2003-05-22 17:26:44 +00:00
Gerald Carter
c527856774 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
(This used to be commit 469c5ad1ac)
2003-05-22 17:18:35 +00:00