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 87c91e4362c51819032bfbebbb273c52e203b227)
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 407e6e695b8366369b7c76af1ff76869b45347b3)
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 37f2191cd364dd6c2223b2e19072920ad2a257d6)
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 34ad8e183cf882913c32b4d03c9ab5fc09181ad2)
2007-10-10 11:19:17 -05:00
Jelmer Vernooij
2036c47c63
r14684: Remove obsolete file (belonged to pdb_xml)
...
(This used to be commit 15c36233fb2e5164ea0fbb2389a066e34838dd20)
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 5b89e8bc24f0fdc8b52d5c9e849aba723df34ea7)
2007-10-10 11:10:25 -05:00
Volker Lendecke
9ca890e414
r13343: More sql cleanup
...
(This used to be commit bd1be2388ebdc332c00289f10f0af17e6cd8b44a)
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 710ce847a79fa9e7ba488de46a2f69fc9d617e62)
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 8e5db6f08ceb969bd2580558031f3737b32f10b1)
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 331748202077ce9e0b5dcf3ed9b3ab6f89e9c0e4)
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 95c8727045fab0c6aa3446871e19e7b29c20382d)
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 80d591f8cc62d513eb99112e6533b93ee901d27d)
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 3a88ee4c444c7b953c9f88b19998a5d84fc5e17c)
2007-10-10 10:52:36 -05:00
Jelmer Vernooij
0bb304d97f
r379: Fix syntax error in example mysql table
...
(This used to be commit 2a7aaedab66e1b69648cff2293f6661541c3a2a4)
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 5bf8f1b31b7b37317e78bbb9fbf3cd25290027b5)
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 5d7a14166af3daf04b570fd5f66469d5db5a3500)
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 58c21bc0d1e9a39e64ce7b9efd637dc776c06029)
2003-11-09 14:09:27 +00:00
Jelmer Vernooij
540e3f889c
Add DTD used by XML passdb backend
...
(This used to be commit f3fd321b61dbf53b1dc33a42afe8a943c94c1135)
2003-06-16 21:33:46 +00:00
Jelmer Vernooij
3786533880
Update for the new modules system
...
(This used to be commit 528c56176b186d9fa43f6a0c9831562c123ec25d)
2003-04-28 01:24:26 +00:00
Jelmer Vernooij
4a6eb741f0
Update for new modules system
...
(This used to be commit bd2444322956cd34a95159114547b5ddc804df9e)
2003-04-28 01:21:59 +00:00
Jelmer Vernooij
b8766e74c6
Fix typo
...
(This used to be commit ad5cb338a1e5e60116757a1c8f2fb844ad062401)
2002-11-11 13:49:39 +00:00
Jelmer Vernooij
289fe8557c
Sync with HEAD
...
(This used to be commit b6359c585a563f9694d8afacd43329dece6af500)
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 37ca4bbf0c7895e3a17544e3ac6d316034424f3d)
2002-11-10 12:07:55 +00:00
Jelmer Vernooij
c9bd108a81
Add example for MySQL
...
(This used to be commit de136d294fce59bdc4d0a65d35071c2837ef92a5)
2002-11-10 12:07:54 +00:00
Jelmer Vernooij
82c714569d
Move pdb_xml to source/
...
(This used to be commit b68106a79e4536fa82d75dd330d07dba51bfeaf4)
2002-11-05 17:08:32 +00:00
Jelmer Vernooij
7dba784b5e
Convert pdb_mysql docs to sgml
...
(This used to be commit 6642f6c5a9d6fa52a41a382850ed8bb3e1ebf701)
2002-11-05 16:55:21 +00:00
Jelmer Vernooij
42f569f06c
Move pdb_mysql to source/passdb
...
(This used to be commit 1d742e14ad18070aee654071d159b8b7410d6f86)
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 91f9c9e1d8b490eb384198ff012f65e22f834c39)
2002-11-04 15:04:26 +00:00
Jelmer Vernooij
0a0cee218a
Don't pass true to pdb_set_* functions
...
(This used to be commit e803bfde3d0b199155a87975e8af65f13babe692)
2002-11-04 15:03:58 +00:00
Jelmer Vernooij
366da1ee37
Adapt to metze's PDB_SET patch
...
(This used to be commit 33c7a296b3bdfab276ed91ea77077eedbeed3757)
2002-11-04 14:36:34 +00:00
Gerald Carter
d9729d81a9
syncing up with HEAD again....
...
(This used to be commit e026b84815ad1a5fa981c24fff197fefa73b4928)
2002-09-26 18:37:55 +00:00
Jelmer Vernooij
791d9e8fac
Change pdb_xml functions to return NTSTATUS
...
(This used to be commit 834fcd23959ed202a84069bf19390103f563540c)
2002-09-26 15:03:26 +00:00
Jelmer Vernooij
f90e9ae244
Change pdb_mysql function to return NTSTATUS
...
(This used to be commit fa056769a08c93f086f05baf9095ee93217f92f1)
2002-09-26 14:52:54 +00:00
Jelmer Vernooij
2ef81d7517
Make functions return NTSTATUS instead of BOOL
...
(This used to be commit 6347d40eff03ad780446bdae0f1dfe0bc9edf824)
2002-09-26 14:29:09 +00:00
Gerald Carter
ec0b8aa704
sync'ing up for 3.0alpha20 release
...
(This used to be commit 803715d96016767c55202362b17096fc80786c59)
2002-09-25 15:05:17 +00:00
Jelmer Vernooij
36e9005cc2
Better coding style
...
(This used to be commit 09cb706dd1347ff29893ef33214332990be86b43)
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 2dc8b48632b0f14834db79f851a06469d2c0c00b)
2002-08-17 16:25:39 +00:00
Jelmer Vernooij
21d26afb2a
sync 3_0 branch with HEAD
...
(This used to be commit 19ab776bf9c91cf4e56887fd7a63d3253b7e36ef)
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 6938b5b98abd9ba055a46583a05c4fc07e32f529)
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 bb1c4501992650a5e26b4bc743aeae551852becc)
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 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
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 4a57c445dd4354034fc41b132a484afe6ab66e16)
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 0a64ff4c9984c751ed6bd9e9bc8d16c70abec02d)
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 2498bc69d4e5c38ec385f640489daa94c508c726)
2002-05-24 09:57:48 +00:00