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

52 Commits

Author SHA1 Message Date
Jeremy Allison
306783d6f5 lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *)
Not currently used - no logic changes inside.

This will make it possible to pass down a long-lived talloc
context from the loading function for modules to use instead
of having them internally all use talloc_autofree_context()
which is a hidden global.

Updated all known module interface numbers, and added a
WHATSNEW.

Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Ralph Böhme <slow@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Apr 22 01:17:00 CEST 2017 on sn-devel-144
2017-04-22 01:17:00 +02:00
Stefan Metzmacher
4451d0a5cd examples/pdb: fix and validate pdb_test_init() prototype via static_decl_pdb;
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2015-08-20 16:06:20 +02:00
Günther Deschner
e80e218152 s3-modules: remove the last "init_module" traces.
Guenther
2011-11-14 18:44:41 +01:00
Günther Deschner
b96a9e1c5b s3-waf: make sure we always build example pdb modules with --enable-developer.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 17 17:39:36 CEST 2011 on sn-devel-104
2011-10-17 17:39:36 +02:00
Günther Deschner
bc536d4893 s3-passdb: fix the build of example pdb test module.
Guenther
2011-10-17 16:08:04 +02:00
Andrew Bartlett
cba7f8b827 s3:dom_sid Global replace of DOM_SID with struct dom_sid
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:39:59 +02:00
Andrew Tridgell
153cfb9c83 r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 87c91e4362)
2007-10-10 12:28:27 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b)
2007-10-10 12:28:20 -05:00
Lars Müller
0484aca691 r22805: Inform in examples/pdb about the location of the external support for
the SQL backends.
(This used to be commit 37f2191cd3)
2007-10-10 12:21:59 -05:00
Gerald Carter
23afde616d r16998: patch from Paul Griffith <paulg@cs.yorku.ca> to fix compile of the test.c pdb file
(This used to be commit 34ad8e183c)
2007-10-10 11:19:17 -05:00
Jelmer Vernooij
2036c47c63 r14684: Remove obsolete file (belonged to pdb_xml)
(This used to be commit 15c36233fb)
2007-10-10 11:15:44 -05:00
Günther Deschner
e54786b535 r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16.
* Fix a couple of related parsing issues.
* in the info3 reply in a samlogon, return the ACB-flags (instead of
  returning zero)

Guenther
(This used to be commit 5b89e8bc24)
2007-10-10 11:10:25 -05:00
Volker Lendecke
9ca890e414 r13343: More sql cleanup
(This used to be commit bd1be2388e)
2007-10-10 11:06:25 -05:00
Jelmer Vernooij
64b9f829cf r5705: Have unknown_6 default to 1260 (fixed #892)
(This used to be commit 710ce847a7)
2007-10-10 10:55:56 -05:00
Tim Potter
2eab58d3fd r5112: Fix for shared object creation in examples. Bugzilla #2058.
(This used to be commit 8e5db6f08c)
2007-10-10 10:55:15 -05:00
Tim Potter
e7eb70928c r5111: Fix up changed prototype for setsampwent pdb function.
(This used to be commit 3317482020)
2007-10-10 10:55:15 -05:00
Jelmer Vernooij
1ffbe8fec8 r4653: Output file of "test" pdb backend should be called test.so
(This used to be commit 95c8727045)
2007-10-10 10:53:50 -05:00
Gerald Carter
de72d89877 r2567: Patches from Lars Mueller <lmuelle at suse dot de>:
trivial fix for autoconf and autoheader versions with a
letter in the version string.  This happens in our current beta named
distribution tree.

trivial patch to fix the build with the upcoming libtool
version.  It will be mandatory to use --mode while using libtool.
(This used to be commit 80d591f8cc)
2007-10-10 10:52:46 -05:00
Simo Sorce
fef54a21b1 r2210: Fix misleading comment found by Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
(This used to be commit 3a88ee4c44)
2007-10-10 10:52:36 -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
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
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
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
Jelmer Vernooij
540e3f889c Add DTD used by XML passdb backend
(This used to be commit f3fd321b61)
2003-06-16 21:33:46 +00:00
Jelmer Vernooij
3786533880 Update for the new modules system
(This used to be commit 528c56176b)
2003-04-28 01:24:26 +00:00
Jelmer Vernooij
4a6eb741f0 Update for new modules system
(This used to be commit bd24443229)
2003-04-28 01:21:59 +00:00
Jelmer Vernooij
b8766e74c6 Fix typo
(This used to be commit ad5cb338a1)
2002-11-11 13:49:39 +00:00
Jelmer Vernooij
289fe8557c Sync with HEAD
(This used to be commit b6359c585a)
2002-11-10 12:10:39 +00:00
cvs2svn Import User
ac05b03e5d This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 37ca4bbf0c) 2002-11-10 12:07:55 +00:00
Jelmer Vernooij
c9bd108a81 Add example for MySQL
(This used to be commit de136d294f)
2002-11-10 12:07:54 +00:00
Jelmer Vernooij
82c714569d Move pdb_xml to source/
(This used to be commit b68106a79e)
2002-11-05 17:08:32 +00:00
Jelmer Vernooij
7dba784b5e Convert pdb_mysql docs to sgml
(This used to be commit 6642f6c5a9)
2002-11-05 16:55:21 +00:00
Jelmer Vernooij
42f569f06c Move pdb_mysql to source/passdb
(This used to be commit 1d742e14ad)
2002-11-05 16:48:23 +00:00
Jelmer Vernooij
d4a93bd8f0 Don't pass any booleans to pdb_set_* functions
(This used to be commit 91f9c9e1d8)
2002-11-04 15:04:26 +00:00
Jelmer Vernooij
0a0cee218a Don't pass true to pdb_set_* functions
(This used to be commit e803bfde3d)
2002-11-04 15:03:58 +00:00
Jelmer Vernooij
366da1ee37 Adapt to metze's PDB_SET patch
(This used to be commit 33c7a296b3)
2002-11-04 14:36:34 +00:00
Gerald Carter
d9729d81a9 syncing up with HEAD again....
(This used to be commit e026b84815)
2002-09-26 18:37:55 +00:00
Jelmer Vernooij
791d9e8fac Change pdb_xml functions to return NTSTATUS
(This used to be commit 834fcd2395)
2002-09-26 15:03:26 +00:00
Jelmer Vernooij
f90e9ae244 Change pdb_mysql function to return NTSTATUS
(This used to be commit fa056769a0)
2002-09-26 14:52:54 +00:00
Jelmer Vernooij
2ef81d7517 Make functions return NTSTATUS instead of BOOL
(This used to be commit 6347d40eff)
2002-09-26 14:29:09 +00:00
Gerald Carter
ec0b8aa704 sync'ing up for 3.0alpha20 release
(This used to be commit 803715d960)
2002-09-25 15:05:17 +00:00
Jelmer Vernooij
36e9005cc2 Better coding style
(This used to be commit 09cb706dd1)
2002-08-17 16:27:27 +00:00
Jelmer Vernooij
3312086d7a Better coding style
Move out last Makefile.pdb dependencies
(This used to be commit 2dc8b48632)
2002-08-17 16:25:39 +00:00
Jelmer Vernooij
21d26afb2a sync 3_0 branch with HEAD
(This used to be commit 19ab776bf9)
2002-08-17 14:15:33 +00:00
cvs2svn Import User
592dd24957 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 6938b5b98a) 2002-08-17 07:09:23 +00:00
Jelmer Vernooij
3fce46ac7d Adding pdb_xml and pdb_mysql passdb modules.
Added some consts to pdb_test to follow pdb_methods struct more strictly
(This used to be commit bb1c450199)
2002-08-10 20:14:32 +00:00
Andrew Tridgell
e90b652848 updated the 3.0 branch from the head branch - ready for alpha18
(This used to be commit 03ac082dcb)
2002-07-15 10:35:28 +00:00
Andrew Bartlett
ea7cdc4de0 Add module versioning to the passdb module system
All passdb modules need to include a 'magic' macro that creates simple
'return my version number' function.

(from metze and jelmer)

Also fix up the dir_drive autosubsitute code to correctly use lp_logon_drive().

(from metze)

Andrew Bartlett
(This used to be commit 4a57c445dd)
2002-06-22 12:19:35 +00:00
Andrew Bartlett
a770dd49a4 Add some comments on writing new pdb modules. (from ctrlsoft)
Andrew Bartlett
(This used to be commit 0a64ff4c99)
2002-06-14 02:58:43 +00:00
Andrew Bartlett
98d5699d28 Some of the updates from ctrlsoft's 'Various' patch:
- convert net to popt
- convert status to popt
- adapt examples/pdb/ to multiple passdb system
- add dynamic debug class example to examples/pdb/

and some reformatting to better match the samba coding style.

Andrew Bartlett
(This used to be commit 2498bc69d4)
2002-05-24 09:57:48 +00:00