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

149 Commits

Author SHA1 Message Date
Jelmer Vernooij
e8475eceb3 Sync with HEAD 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
15b9430d9c Give recycle 3 arguments as required by the VFS interface (patch by metze) 0001-01-01 00:00:00 +00:00
cvs2svn Import User
eb5ce70e2f This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Gerald Carter
93cb8b47c4 README.OtherModules 0001-01-01 00:00:00 +00:00
Gerald Carter
9d9f7bbf87 remove files not in HEAD 0001-01-01 00:00:00 +00:00
Gerald Carter
e026b84815 syncing up with HEAD again.... 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
834fcd2395 Change pdb_xml functions to return NTSTATUS 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
fa056769a0 Change pdb_mysql function to return NTSTATUS 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
6347d40eff Make functions return NTSTATUS instead of BOOL 0001-01-01 00:00:00 +00:00
Gerald Carter
832faf4b39 removed autogenerated file 0001-01-01 00:00:00 +00:00
Gerald Carter
803715d960 sync'ing up for 3.0alpha20 release 0001-01-01 00:00:00 +00:00
cvs2svn Import User
9a5541595f This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
50d2527eed - 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
0001-01-01 00:00:00 +00:00
Richard Sharpe
ef970a764e 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.
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
db0f742e0e Use SAM debug class in skeleton - patch from metze
Shouldn't we use dynamic debug classes here?
0001-01-01 00:00:00 +00:00
Simo Sorce
d904d50d39 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
0001-01-01 00:00:00 +00:00
Simo Sorce
e9f4bc77f8 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
0001-01-01 00:00:00 +00:00
Simo Sorce
830f9910bb the current block module is completely broken, jelmer will commit a new one later.
simo
0001-01-01 00:00:00 +00:00
Simo Sorce
d383c309d4 move everything to flat VFS/ directory 0001-01-01 00:00:00 +00:00
Andrew Bartlett
f91fcb1661 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.
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
b91fd5a77c Adding makefile for sam_skel module 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
3b4cf8f67c SAM_CONTEXT is const 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
b2b2c8b9cb Example sam module (skeleton) from metze 0001-01-01 00:00:00 +00:00
Jeremy Allison
3803770eda Removed C++ style comment.
Jeremy.
0001-01-01 00:00:00 +00:00
Simo Sorce
cc8e6ebc0e patch from metze 0001-01-01 00:00:00 +00:00
Simo Sorce
2a15699532 add the netatalk module 0001-01-01 00:00:00 +00:00
Simo Sorce
05038f4471 avoid using libtool for VFS modules
change a name in block.c it was hiding a function name
add a comment in configure
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
6973344fb5 Add entry about block.so 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
09cb706dd1 Better coding style 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
2dc8b48632 Better coding style
Move out last Makefile.pdb dependencies
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
19ab776bf9 sync 3_0 branch with HEAD 0001-01-01 00:00:00 +00:00
cvs2svn Import User
6938b5b98a This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
bb1c450199 Adding pdb_xml and pdb_mysql passdb modules.
Added some consts to pdb_test to follow pdb_methods struct more strictly
0001-01-01 00:00:00 +00:00
Gerald Carter
72d36c9b25 merge from SAMBA_2_2 0001-01-01 00:00:00 +00:00
Simo Sorce
3e6a11f56a forgot to change the makefile system, sorry 0001-01-01 00:00:00 +00:00
Simo Sorce
56283601af 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.
0001-01-01 00:00:00 +00:00
Gerald Carter
590c4ee076 merge from SAMBA_2_2 spotted by Simo 0001-01-01 00:00:00 +00:00
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 0001-01-01 00:00:00 +00:00
cvs2svn Import User
b8d39651fb This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
4a57c445dd 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
0001-01-01 00:00:00 +00:00
John Terpstra
fb89be1355 x source path so this thing compiles. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
0a64ff4c99 Add some comments on writing new pdb modules. (from ctrlsoft)
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
2498bc69d4 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
0001-01-01 00:00:00 +00:00
Jeremy Allison
68b83335de Fixes for recycle bin VFS for FreeBSD from "Scot W. Hetzel" <hetzels@westbend.net>.
Jeremy
0001-01-01 00:00:00 +00:00
Gerald Carter
e8ede079b5 merging some changes from SAMBA_2_2 0001-01-01 00:00:00 +00:00
Andrew Bartlett
c10def37f5 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
0001-01-01 00:00:00 +00:00
Jeremy Allison
42981c819a Set default recycle directory permissions as 0770. Unlink on rename
fail.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
e758bdc8a8 Sync up the VFS changes from 2.2.x.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
fbfb7ee896 Also add the matching example pdb module. 0001-01-01 00:00:00 +00:00
Gerald Carter
bb574aab8f merge from 2.2 0001-01-01 00:00:00 +00:00