1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

242 Commits

Author SHA1 Message Date
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
084b2a4c68 removed autogenerated file
(This used to be commit 832faf4b391d73e0dd794769542a6fcbd75e51a6)
2002-09-25 16:16:49 +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
cvs2svn Import User
3054ef8a6e This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 9a5541595f78f2cbba16030552c6e780f6fddcf6) 2002-09-25 12:59:48 +00:00
Jelmer Vernooij
2cd64003e3 - Don't put pointer to sam_domain_handle in sam_methods but single domainsid and domainname
- Allocate sam_methods, set domain_sid, domain_name and backend_name in make_sam_methods_backend_entry instead of in the backend
- Remove sam_context and domain_sid pointers from the sam_init_function - we don't need those arguments anymore since they're
  available in sam_methods as well
(This used to be commit 50d2527eed0eb26c16f2f7e28badbf08d771380e)
2002-09-24 20:18:39 +00:00
Richard Sharpe
05c557c31c Make sure that Alfred Perlstein's changes get into head as smbprint and
that the old one becomes smbprint.old.

We still need to hack smbprint some more to make sure that we can pass
the username and password in a file rather than on the command line where
local hackers can see it.
(This used to be commit ef970a764eb97893ff2090f7cbf2f2ec06911d0f)
2002-09-24 06:44:37 +00:00
Jelmer Vernooij
eaa4ee9bc0 Use SAM debug class in skeleton - patch from metze
Shouldn't we use dynamic debug classes here?
(This used to be commit db0f742e0ea619e69457f15cdb3740ae7c85cebd)
2002-09-09 21:38:42 +00:00
Simo Sorce
79f54d28f8 change parametric option name to vfs_recycle_bin it is more sane and do not pollute standard options namespace too much
changed also the mode options to be indipendente boolean values, make it easier to understand how to configure them

eg:
vfs_recycle_bin:keeptree=yes
vfs_recycle_bin:versions=yes
(This used to be commit d904d50d3945f5f6a80b59850a82f3e37863c125)
2002-09-08 03:55:37 +00:00
Simo Sorce
27cc26cec8 recycle.c:
merged in modifications made my differnt people, cleaned up things, yet some work todo
the code works but there are still some cases to be handled properly

Makefile.in:
this one seem much simpler and effective than the previous hack with file inclusion
it should also be more portable
we still need to find a solution to support multiple platforms or go back to libtool
(This used to be commit e9f4bc77f84eeece82dea25f9c693cfb1d0a8464)
2002-09-07 04:05:42 +00:00
Simo Sorce
d0cef25c27 the current block module is completely broken, jelmer will commit a new one later.
simo
(This used to be commit 830f9910bb77562aa2dbef2f479c01493928692d)
2002-09-06 13:39:46 +00:00
Simo Sorce
afc1a220b7 move everything to flat VFS/ directory
(This used to be commit d383c309d4a259fb28d7541777a8b3b53cca23bf)
2002-09-06 13:37:40 +00:00
Andrew Bartlett
6c8e4faba1 Updates to sam_skel from metze, add sam/group.c and add a DEBUG() to the
SAM_ASSERT if we are not going to crash.
(This used to be commit f91fcb166107e45ffb3de95a3da65c79992341eb)
2002-09-06 13:00:37 +00:00
Jelmer Vernooij
afc5c6b2a1 Adding makefile for sam_skel module
(This used to be commit b91fd5a77c493d0c90b45de6a70fb84bbef3f9f1)
2002-08-29 17:08:13 +00:00
Jelmer Vernooij
408fb927c8 SAM_CONTEXT is const
(This used to be commit 3b4cf8f67c2970e7b099ae2382bdd802b79d1dd2)
2002-08-29 16:39:00 +00:00
Jelmer Vernooij
08d4898a70 Example sam module (skeleton) from metze
(This used to be commit b2b2c8b9cb94ce84938422132279c26faa231bf7)
2002-08-29 07:26:16 +00:00
Jeremy Allison
84a8efbf1a Removed C++ style comment.
Jeremy.
(This used to be commit 3803770edaf4212ceac826e039bb075f098a4fab)
2002-08-28 12:55:20 +00:00
Simo Sorce
995bf62aae patch from metze
(This used to be commit cc8e6ebc0ec840d882211c8327cafdcafbcafbd7)
2002-08-27 09:45:26 +00:00
Simo Sorce
709c7c1674 add the netatalk module
(This used to be commit 2a156995329699c776772fe01672cfe763b3f988)
2002-08-27 09:30:17 +00:00
Simo Sorce
7251f6b9ec avoid using libtool for VFS modules
change a name in block.c it was hiding a function name
add a comment in configure
(This used to be commit 05038f44717ff07ed7d4a3afbdd8f072a3c058cc)
2002-08-27 09:14:21 +00:00
Jelmer Vernooij
ec91716cb7 Add entry about block.so
(This used to be commit 6973344fb5207341e98576b1ddbe58a745225e10)
2002-08-18 20:12:43 +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
Gerald Carter
c4d68a29c9 merge from SAMBA_2_2
(This used to be commit 72d36c9b2596cda6c3c25c18ddb4c58d55519ff8)
2002-07-31 14:56:40 +00:00
Simo Sorce
255288df65 forgot to change the makefile system, sorry
(This used to be commit 3e6a11f56a3878e75c4354db214971208d911be3)
2002-07-31 13:16:14 +00:00
Simo Sorce
edb9158f09 OK!
Finally the cascaded VFS patch is in.
Testing is very welcome, specially with layered multiple vfs modules.
A big thank to Alexander Bokovoy for his work and patience :)

Simo.
(This used to be commit 56283601afe1836dafe0580532f014e29593c463)
2002-07-30 09:59:53 +00:00
Gerald Carter
af3d6270d7 merge from SAMBA_2_2 spotted by Simo
(This used to be commit 590c4ee076dcc14cb516c9ea04b47b1665c48ece)
2002-07-19 16:03:52 +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
cvs2svn Import User
ec167dc9cc This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit b8d39651fb90ef170055735412417239a63afc5d) 2002-07-14 22:15:21 +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
John Terpstra
0dd693bd98 x source path so this thing compiles.
(This used to be commit fb89be135575561f759a299048ed1eb5363183c3)
2002-06-15 07:34:06 +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
Jeremy Allison
3ca09d432c Fixes for recycle bin VFS for FreeBSD from "Scot W. Hetzel" <hetzels@westbend.net>.
Jeremy
(This used to be commit 68b83335de0215314c2234aa83069d8fb8265b80)
2002-05-11 00:33:51 +00:00
Gerald Carter
7a959e81d4 merging some changes from SAMBA_2_2
(This used to be commit e8ede079b5af4187573f1b8ed0d94b6f03cbbd22)
2002-05-08 15:37:14 +00:00
Andrew Bartlett
cc60b06983 This is the 'multiple pdb backends' patch from ctrlsoft, aka Jelmer Vernooij
<jelmer@nl.linux.org>.

This patch also includes major rework of pdbedit to use popt, and the addition
of -i paramter (allowing the user to specify which PDBs is being
operated on) and -e to export a pdb - useful for backup and testing etc.

Use of -i and -e gets us pdb2pdb functionality for transition between backends,
much like the sam2sam in TNG.

Andrew Bartlett
(This used to be commit c10def37f506d3f2bab442418ac08fdb62659b02)
2002-04-13 08:16:41 +00:00
Jeremy Allison
7104dbd245 Set default recycle directory permissions as 0770. Unlink on rename
fail.
Jeremy.
(This used to be commit 42981c819a07dd35296ecc1ee733ea587f69bcce)
2002-03-23 20:48:45 +00:00
Jeremy Allison
0c42e582f8 Sync up the VFS changes from 2.2.x.
Jeremy.
(This used to be commit e758bdc8a8f37e1d1e1fb0d1d27990dba2067920)
2002-03-19 02:51:48 +00:00
Andrew Bartlett
27439c53c5 Also add the matching example pdb module.
(This used to be commit fbfb7ee896469e79043fab02481bacd2621a302d)
2002-02-22 02:57:49 +00:00
Gerald Carter
72f4d55453 merge from 2.2
(This used to be commit bb574aab8f3f4ac2f7ae919790481a419f8173cb)
2002-02-11 13:57:44 +00:00
Gerald Carter
732f5e8f80 fixes from 2,2
(This used to be commit 46bd77a02a47c26c4981472c8cea09e64c2ef4d2)
2002-02-11 13:49:02 +00:00
Christopher R. Hertel
bced3ac18e I added two lines of comments regarding the include= parameter. Someone
here at the UofM was burned today because they had left that line in its
default location.
(This used to be commit fd4d3496e142574e2bd25faab5c8f1534a21558f)
2002-02-06 22:51:07 +00:00
Richard Sharpe
95c914388b Add the new smbprint shell script, smbprint-new.sh that is supposed to fix some problems under *BSD and etc ...
(This used to be commit 6bd91973bbacc718de5d32a6819cc7e6ae98dd6f)
2002-02-04 02:24:29 +00:00
Gerald Carter
5f63565f2d sync up comments with 2.2
(This used to be commit 3d4adad1501fc02ee0c60c69c01a92bdb16a1711)
2002-01-06 23:21:23 +00:00
Gerald Carter
8942e906f0 sync with 2.2
(This used to be commit 9e3b432c57747e6fd876c53a576858ef1227ba8e)
2002-01-04 00:05:23 +00:00
Gerald Carter
6a9ebf8b0c merge from 2.2
(This used to be commit 241b5218ea5ad83ecb02a0f838e84abee0672371)
2001-12-28 02:03:36 +00:00
Gerald Carter
b6bbc39204 sync with 2.2
(This used to be commit aca58b0b72d2eb5024b4d5103fde5b281212d714)
2001-12-26 05:35:40 +00:00