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

286 Commits

Author SHA1 Message Date
Jeremy Allison
f98f86394a r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a UNIX vendor
not understanding abstract data types :-(.
Jeremy.
(This used to be commit be5b4e2fa3)
2007-10-10 11:01:11 -05:00
Lars Müller
910f3dd348 r9038: Revert svn rev 414. Discussed with Jerry and Metze.
We need the option to add an 'a' if we're already in pre or rc state
with the next release.

Bugzilla Bug 2618
(This used to be commit 26bf1d223e)
2007-10-10 11:00:24 -05:00
Gerald Carter
b549e4903d r8992: More make test work. Adding a way to order tests (might change
my mind on this later).
(This used to be commit 136fe3f15e)
2007-10-10 11:00:23 -05:00
Gerald Carter
c731d11471 r8990: First trivial example of 'make test'
(This used to be commit 11c8863949)
2007-10-10 11:00:23 -05:00
Gerald Carter
9451a51b59 r8834: fixing SWAT install after docs changeswat/help/welcome.html
(This used to be commit 6fb371f0c8)
2007-10-10 11:00:18 -05:00
Gerald Carter
1d4eb57323 r8388: fix typo in installman script
(This used to be commit 30b03519c0)
2007-10-10 11:00:04 -05:00
Gerald Carter
c25a9f4122 r7944: BUG 2808: don't try to install manpages if they are not present
(This used to be commit 1ce5cc2a5f)
2007-10-10 10:58:03 -05:00
Jeremy Allison
19ca97a70f r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us
from using C++ reserved keywords in our code.
Jeremy
(This used to be commit 9506b8e145)
2007-10-10 10:58:00 -05:00
Tim Potter
0b8bc68b50 r7788: Update install swat message to reflect the fact that swat/README
no longer exists.  Bugzilla #2808.
(This used to be commit 88a3faf84e)
2007-10-10 10:57:21 -05:00
Volker Lendecke
5084d49052 r7243: Don't look at gencache.tdb for the trusted domains if winbind is around.
Volker
(This used to be commit 94acb93f57)
2007-10-10 10:57:05 -05:00
Stefan Metzmacher
0895eae509 r6925: merge rev 6920 from 4_0:
display the SVN revision in svk build of tree's directly mirrored from samba.org

metze
(This used to be commit 110c0f6f36)
2007-10-10 10:56:57 -05:00
Stefan Metzmacher
6cc85bbe72 r6354: merge from 4_0 rev 6353:
we need the english output from the svn commands

metze
(This used to be commit 6b84f30e3d)
2007-10-10 10:56:38 -05:00
Jelmer Vernooij
b62fae5edc r5915: Remove --with-manpages-languages= from configure (we only have them in one
lanuage, English, at the moment). Fixes #2261. If other languages
might are added in the future, this parameter will still not be needed.
(This used to be commit d41e790b4b)
2007-10-10 10:56:08 -05:00
Gerald Carter
46e5effea9 r4805: Last planned change to the privileges infrastructure:
* rewrote the tdb layout of privilege records in account_pol.tdb
  (allow for 128 bits instead of 32 bit flags)
* migrated to using SE_PRIV structure instead of the PRIVILEGE_SET
  structure.  The latter is now used for parsing routines mainly.

Still need to incorporate some client support into 'net' so
for setting privileges.  And make use of the SeAddUserPrivilege
right.
(This used to be commit 41dc7f7573)
2007-10-10 10:53:55 -05:00
Gerald Carter
07d8bf0f8f r3924: fix installswat once again after the image target location had changed in the docs
(This used to be commit ddb5823ac2)
2007-10-10 10:53:24 -05:00
Jeremy Allison
f1688d61df r2112: Simplify the mangle hash code to use an in-memory tdb.
Should be ready for the new directory code now...
Jeremy.
(This used to be commit c2eff8ef1b)
2007-10-10 10:52:32 -05:00
Gerald Carter
c1a0b0a9e7 r1410: fix another bug caused by the docs target directories change
(This used to be commit e13d15994d)
2007-10-10 10:52:10 -05:00
Gerald Carter
0122d4ef5e r1407: revert change that broke the build on systems w/o krb5 files
(This used to be commit 89a11b5d7c)
2007-10-10 10:52:10 -05:00
Gerald Carter
824bc32be7 r1399: applying heimdal krb5 fixes from Guenther and fixing compile warnings in libadskerberos_keyatb.c
(This used to be commit 837f56ec8b)
2007-10-10 10:52:10 -05:00
Jeremy Allison
569177a194 r1317: Patch from Joe Meadows "Joe Meadows" <jameadows@webopolis.com> to
add a timeout to the ldap open calls. New parameter, ldap timeout
added.
Jeremy.
(This used to be commit e5b3094c4c)
2007-10-10 10:52:06 -05:00
Jeremy Allison
2b76b28932 r1236: Heimdal fixes from Guenther Deschner <gd@sernet.de>, more to come before
it compiles with Heimdal.
Jeremy.
(This used to be commit dd07278b89)
2007-10-10 10:52:01 -05:00
Jeremy Allison
2fc57c9a2c r1085: Now it's had some proper user testing, merge in the deferred open fix. I'm
still doing more testing, but it fixes a behaviour that we've been wrong
on ever since the start of Samba.
Jeremy.
(This used to be commit 894cc6d162)
2007-10-10 10:51:54 -05:00
Stefan Metzmacher
b4594cec6e r824: merge from: SAMBA_4_0:
use 'Last Change Rev:' instead of 'Revision:' from the svn info output
for setting the SVN_REVISION in version.h

metze
(This used to be commit 7cc35ba066)
2007-10-10 10:51:47 -05:00
Gerald Carter
4f9c8e28ac r496: fixing swat welcome page -- added links to example guide, devel guide, and howto (all in multi page format)
(This used to be commit 984d9fe271)
2007-10-10 10:51:26 -05:00
Stefan Metzmacher
65d9febf9a r413: merge from 4_0:
as we decide to not do 3.0.2a releases anymore,
remove the generation stuff from VERSION and mkversion.sh

metze
(This used to be commit 25cbca89ba)
2007-10-10 10:51:22 -05:00
Stefan Metzmacher
1cd9d74016 r215: merge over svk fixes from 4_0
metze
(This used to be commit 2326c9e0a2)
2007-10-10 10:51:14 -05:00
Stefan Metzmacher
f8c418a0af r208: merge the version schema changes from 4_0
metze
(This used to be commit 4d9d8e83aa)
2007-10-10 10:51:14 -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
Jeremy Allison
a79b205d92 Fix gcc warnings. Fix mkproto with new type.
Jeremy.
(This used to be commit 00fa66df3e)
2004-03-19 01:29:14 +00:00
Gerald Carter
08d03a7039 BUG 1129: patch from shiro@miraclelinux.com (Shiro Yamada) to install image files for SWAT
(This used to be commit a01a7fdbd9)
2004-03-02 18:10:12 +00:00
Herb Lewis
727bc707b6 merge old change from 2.2 branch to give legend in heading
(This used to be commit ed4af810cf)
2004-02-12 20:43:23 +00:00
Gerald Carter
f5bb18bfcb disable template accounts by default
(This used to be commit 02899224a1)
2004-01-29 20:15:12 +00:00
Gerald Carter
ad40c8a1f4 BUG 958; don't use the -N option when invoking smbclient from the smbtar script
(This used to be commit c51eaec4f0)
2004-01-15 17:18:39 +00:00
Gerald Carter
5c8b533638 patch from TAKEDA yasuma to bypass any missing language files
(This used to be commit a3b0cc9f5b)
2003-12-10 14:10:26 +00:00
Rafal Szczesniak
daea4804c3 Omit html documentation tree because it has been moved to the separate
module. Install though, in case one recreates the tree as it was before.


rafal
(This used to be commit d6857d191c)
2003-11-12 13:02:25 +00:00
Gerald Carter
6ebde91c44 * only install swat html files once
* revert the change that prevent the guest
  account from being added to a passdb backend
  since it broke the build farm.
* apply patch from Alex Deiter to fix the
  "smbldap_open: cannot access when not root
  error" messages when looking up group
  information (bug 281)
(This used to be commit 9b8bf6a950)
2003-11-07 23:04:06 +00:00
Tim Potter
9f154119e8 Final round of printf warnings fixes for the moment.
(This used to be commit 0519a7022b)
2003-11-06 22:11:08 +00:00
Tim Potter
f95e40197f Generate 64-bit clean printf's for build options.
(This used to be commit 1814c29b7d)
2003-11-04 19:47:40 +00:00
Gerald Carter
629120a0a1 cosmetic fix when DESTDIR=/ (default)
(This used to be commit e660b5752a)
2003-10-06 19:24:17 +00:00
Simo Sorce
b1f610ebb1 split some security related functions in their own files.
(no need to include all of smbd files to use some basic sec functions)

also minor compile fixes
couldn't compile to test these due to some kerberos problems wirh 3.0,
but on HEAD they're working well, so I suppose it's ok to commit
(This used to be commit c78f2d0bd1)
2003-10-06 01:38:46 +00:00
Gerald Carter
a234b822d4 fixed for /sbin/mount.smbfs link when using $DESTDIR; bug 525
(This used to be commit dc6d14c2bd)
2003-10-02 21:22:58 +00:00
Tim Potter
a6b3104042 Fix bug #456 for 3.0.0 release.
More work on SWAT i18n support to appear in later releases.
(This used to be commit c326774905)
2003-09-24 01:27:39 +00:00
Alexander Bokovoy
5715e01481 Fix scripts to generate correct tables for compilers which have character constants as signed chars instead of unsigned
(This used to be commit e4dda8cb22)
2003-09-17 17:49:35 +00:00
Gerald Carter
1f32535d60 fix some output formatting
(This used to be commit 0283b0152e)
2003-09-05 13:25:49 +00:00
Gerald Carter
2d5cf1d451 reformatting
(This used to be commit 5c3094ee55)
2003-09-05 13:21:35 +00:00
Gerald Carter
605caa4172 fix some problems with the findsmb script due to changes in smbclient & nmblookup
(This used to be commit 50bb063f3b)
2003-09-05 13:07:41 +00:00
Tim Potter
7444f0fc7b Removed {OLD,NEW}_NTDOMAIN cruft from mkproto.awk
(This used to be commit 061decb608)
2003-09-04 23:55:44 +00:00
Alexander Bokovoy
39abb5cacc Proper fix for #380 -- use different algorithm to generate codepages
source code which allows to take gaps into account thus making unneccessary
extended [index] = value, syntax in to_ucs2 array
(This used to be commit 4ab08a4bb8)
2003-09-01 11:33:42 +00:00
Gerald Carter
9809c98f24 make sure using_samba 2ed. files get installed ok
(This used to be commit 55b6129bd1)
2003-08-28 21:23:04 +00:00
Alexander Bokovoy
e83031c84d Refactor charset plugins a bit and add CP437 module.
Now all 8-bit charsets with gaps (not all symbols defined) could be produced through
one macro -- SMB_GENERATE_CHARSET_MODULE_8_BIT_GAP(CHARSETNAME) within source file
with three charset tables. Full source code for such modules can be generated by
source/script/gen-8bit-gap.sh script which was taken from GNU libc and changed slightly
to follow our data types and structure.
(This used to be commit 37042c7bc0)
2003-08-28 17:16:27 +00:00
Gerald Carter
a1be0fbbb4 don't complain if the using_samba book is not in the tree
(This used to be commit 20603faf2c)
2003-08-22 16:23:56 +00:00
Gerald Carter
f8c3883996 remove unneedced script
(This used to be commit 9c9cc30093)
2003-08-21 13:05:09 +00:00
Alexander Bokovoy
6cdfb4aa63 Ignore only getdate.* in modules/, not the whole directory. Fixes static builds of modules
(This used to be commit df6eeca5f6)
2003-08-21 08:46:48 +00:00
Gerald Carter
8bfe26b62d metze's autogenerate patch for version.h
(This used to be commit ae452e51b0)
2003-08-20 17:13:38 +00:00
Gerald Carter
caa5b47390 missing backtic
(This used to be commit bf271aadcf)
2003-08-19 22:59:45 +00:00
Alexander Bokovoy
ec8b32df56 Ignore modules/*.c in make proto
(This used to be commit eaf883abc0)
2003-08-19 21:52:33 +00:00
Jelmer Vernooij
fd4c40a00d Create symlinks for modules that register multiple functions (fixes bug #91 )
(This used to be commit 3000a99b2d)
2003-08-13 04:11:50 +00:00
Gerald Carter
6810e37aee removing outdated scripts
(This used to be commit b47b6f5825)
2003-07-16 04:53:57 +00:00
Gerald Carter
eb2b683022 fix cache coherency bug in print handle print_info_2 cache.
Needs to be rewritten to use a reference counter, but this
will work for now.

also the memory allocation in the printing code needs to be cleaned
up to use talloc exclusively.
(This used to be commit 3d29302756)
2003-07-14 19:51:34 +00:00
Jelmer Vernooij
46d115148c Move find_missing_doc.pl to the docs system
(This used to be commit 087e9af450)
2003-07-09 18:51:18 +00:00
Jelmer Vernooij
dd663f3f6f Update for docbook XML
(This used to be commit a61804b5eb)
2003-07-09 18:31:03 +00:00
Gerald Carter
16ff7b26f6 Large set of changes to add UNIX account/group management
to winbindd.  See README.idmap-and-winbind-changes for details.
(This used to be commit 1111bc7b0c)
2003-07-09 16:44:47 +00:00
Jelmer Vernooij
2e31bdaeb1 Add smb_event_id to list of return types (patch from metze)
(This used to be commit 95c4c801fe)
2003-07-04 21:24:31 +00:00
Gerald Carter
93bcb9963b merge of the netsamlogon caching code from APPLIANCE_HEAD
This replaces the universal group caching code (was originally
based on that code).  Only applies to the the RPC code.

One comment: domain local groups don't show up in 'getent group'
that's easy to fix.

Code has been tested against 2k domain but doesn't change anything
with respect to NT4 domains.

netsamlogon caching works pretty much like the universal group
caching code did but has had much more testing and puts winbind
mostly back in sync between branches.
(This used to be commit aac01dc7bc)
2003-06-21 04:05:01 +00:00
Tim Potter
4e8052640e More fixes for builddir != srcdir.
- Use absolute directories for $builddir and $srcdir in the Makefile

 - Don't try and combine source files in $builddir and $srcdir to build
   proto.h.  It's just too hard to get it right across all targets we
   wish to compile on.  Use a hand created prototype for the single
   function in smbd/build_options.c that we need.  This allows us to ditch
   all the extra sed work that was causing problems: \t not portable - hah!

 - Fix bogus delheaders target to remove the correct files

This appears to work quite nicely now.  Let's see how it goes on the
buildfarm machines.
(This used to be commit 456184463d)
2003-05-27 02:35:53 +00:00
Tim Potter
53e8a1cf6d Ignore autogenerated file.
(This used to be commit de8180a280)
2003-05-26 07:02:02 +00:00
Tim Potter
1f84a14b0b Bug 83: fixes for building when $srcdir != $builddir from David Lee
<t.d.lee@durham.ac.uk>
(This used to be commit e48a8b5e9c)
2003-05-23 01:59:43 +00:00
Andrew Bartlett
df31340b5d Fix for format string warning from vance
(This used to be commit 0369d4432b)
2003-04-29 03:04:05 +00:00
Andrew Bartlett
53004910eb Patch by Vance Lankhaar <vlankhaar@linux.ca> to automaticly regenerate the
build options, so we will always have the right values for how and when
an smbd was built.

In particular, this is indended to address bitrot caused by configure.in
changes.

Andrew Bartlett
(This used to be commit 2be258071c)
2003-04-23 14:19:03 +00:00
Jelmer Vernooij
858137d0dd - Fix modules build of pdb_mysql and pdb_xml
- Fix typo in script/installswat.sh
(This used to be commit 8d2aec7a73)
2003-04-21 01:04:17 +00:00
Jelmer Vernooij
fbc62e3bfc Use XML format instead of SGML format (merge from HEAD)
(This used to be commit 858017b16f)
2003-04-15 17:04:10 +00:00
Tim Potter
7a3a921748 Merge: add PAC_DATA as valid return type.
(This used to be commit a9df8ec587)
2003-04-14 05:27:04 +00:00
Gerald Carter
89393d93b0 autogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
findsmb - use @PERL@
(This used to be commit f869db787b)
2003-02-10 17:31:25 +00:00
Andrew Bartlett
6789cc3de6 Merge from HEAD - fix to findsmb by Waider
(This used to be commit 28258224de)
2003-01-29 13:14:18 +00:00
Gerald Carter
99cdb46208 *lots of small merges form HEAD
*sync up configure.in
*don't build torture tools in make all
*make sure to remove torture tools as part of make clean
(This used to be commit 0fb724b321)
2003-01-15 18:57:41 +00:00
Gerald Carter
e4819ee88b more unused files
(This used to be commit d223ea87ae)
2003-01-15 16:32:06 +00:00
Gerald Carter
c9fce34d00 remving more unused files
(This used to be commit e3f9b68dee)
2003-01-15 16:29:38 +00:00
Herb Lewis
1cee6e571e fix broken incremental tar - merge from 2.2
found by "Jacob Anawalt" <anawaltaj@hotmail.com>
(This used to be commit cfef980566)
2002-12-10 21:56:21 +00:00
Tim Potter
f3e3a56ea9 Merge a bunch of trivial changes from HEAD. The difference remaining
should actual functional differences between HEAD and 3.0.

 - Mostly reformatting
 - Removal of unecessary #include "smb.h"
 - Merge of dyn_DRIVERFILE removal
 - Silly bug fix for python code
(This used to be commit d3998307ad)
2002-11-29 02:58:59 +00:00
Gerald Carter
72948b91a0 * fixing RedHat spec file for 3.0
* updating Makefile & configure script to use CONFIGDIR & VFSLIBDIR
* set LIBDIR to ${prefix}/lib/samba when --with-fhs is enabled
* make installdirs take an arbitrary number of arguements
(This used to be commit f0d09cf676)
2002-11-26 23:18:35 +00:00
cvs2svn Import User
ed3d7fd7b5 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 2662e351f2) 2002-11-15 13:53:03 +00:00
Jelmer Vernooij
97bec3fc3e Remove obsolete scripts and put in module install/uninstall
(This used to be commit d777bba508)
2002-11-13 20:38:56 +00:00
Jeremy Allison
2f194322d4 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit f755711df8)
2002-11-12 23:20:50 +00:00
Jeremy Allison
250c980119 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit 82b8f749a3)
2002-11-12 23:15:52 +00:00
Jelmer Vernooij
66d95b8f45 Sync with HEAD
(This used to be commit a3d9fd65eb)
2002-10-28 19:37:02 +00:00
Jelmer Vernooij
5b29a8f6ef Be less verbose
(This used to be commit 65c4a1060b)
2002-10-02 18:38:04 +00:00
Jelmer Vernooij
f15c47d24d Update find_missing_doc.pl:
- Report references in smb.conf that point to non-existent entries
 - Report entries that are not referenced in the list
 - Report entries that are documented, but don't exist in loadparm.c
 - Report entries that are in loadparm.c, but are not documented
(This used to be commit bf5a84efb3)
2002-10-02 18:36:38 +00:00
Volker Lendecke
dc262e3f39 An example of a group creation command that can handle failures
of groupadd.

Volker
(This used to be commit 3f78923a6f)
2002-09-27 09:47:02 +00:00
Jelmer Vernooij
1ceb135b6c Don't report missing "-valid"
(This used to be commit f9018f4560)
2002-08-20 17:57:07 +00:00
Jelmer Vernooij
4c8b313a23 Add script to find undocumented smb.conf options
(This used to be commit 77152b4033)
2002-08-19 14:55:06 +00:00
Gerald Carter
ea27af285a simple perl script for retreiving cvs log messages for a file
after a given date.  I use it to help update the WHATSNEW.txt for a
release.

	./cvslog.pl SAMBA_2_2 '>2002-06-18' configure.in

The output is a little messy right now, but I plan to clean that up.
(This used to be commit 8812223e2a)
2002-07-29 16:22:37 +00:00
Tim Potter
c74a8d72f9 Merge from APPLIANCE_HEAD:
>When creating an automatically generated prototype make sure the
>destination directory exists.
(This used to be commit 9ffca4824c)
2002-07-29 03:26:31 +00:00
Andrew Tridgell
03e9a50305 fixed man install
samba-patches 961
(This used to be commit 935996e1c7)
2002-07-28 05:57:23 +00:00
Gerald Carter
a12ed7f506 done! printer_info_2, devicemode, sec_desc, & printer data all enumerate
and display correctly in regedit.exe.

Not sure about REG_SZ values in PrinterDriverData.  If we store these
in UNICODE, I'll have to fix up a few things.

REG_BINARY & REG_DWORD are fine.
(This used to be commit 2a30c243ec)
2002-07-24 08:58:03 +00:00
Gerald Carter
6dd9f24d05 another intermediate checkin on the way to enumerating forms
via the registry.  There is a seg fault here which shouldn't
bother anyone until I can get it fixed.  I just need
a check point in case I need to roll back to this version later on.
(This used to be commit e62ae94823)
2002-07-20 13:23:57 +00:00
Gerald Carter
06ae9ac5d9 virtual registry framework with initial printing hooks.
(This used to be commit a43d9788fa)
2002-07-18 23:00:24 +00:00
Andrew Tridgell
9930b0b065 used findstatic.pl to make some variables static and remove some dead
code
(This used to be commit 91ad9041e9)
2002-07-01 09:12:41 +00:00
Andrew Tridgell
fe082a8ff5 much better findstatic script
(This used to be commit 2947b7624f)
2002-06-24 06:27:30 +00:00
Andrew Tridgell
2154ebce84 a useful script for finding global variables or functions that could
be static

very very slow ... I leave it as an exercise for the reader to make
this O(n) instead of O(n^2)
(This used to be commit 7c035d473c)
2002-06-13 07:06:19 +00:00
Andrew Bartlett
58e1fe62cc A few things in this commit:
cleanup some of the code in net_rpc_join re const warnings and
fstrings.

Passdb:

Make the %u and %U substituions in passdb work.
This is done by declaring these paramters to be 'const' and doing
the substitution manually.  I'm told this is us going full circle,
but I can't really see a better way.

Finally these things actually seem to work properly...

Make the lanman code use the pdb's recorded values for homedir etc
rather than the values from lp_*()

Add code to set the plaintext password in the passdb, where it can
decide how to store/set it.  For use with a future 'ldap password
change' option, or somthing like that...

Add pdb_unix, so as to remove the 'not in passdb' special cases from the
local_lookup_*() code.  Quite small, as it uses the new 'struct passwd ->
SAM_ACCOUNT' code that is now in just one place.  (also used by pdb_smbpasswd)

Other:
Fix up the adding of [homes] at session setup time to actually pass
the right string, that is the unix homedir, not the UNC path.

Fix up [homes] so that for winbind users is picks the correct name.
(bad interactions with the default domain code previously)

Change the rpc_server/srv_lsa_nt.c code to match NT when for the
SATUS_NONE_MAPPED reply:  This was only being triggered on
no queries, now it is on the 'no mappings' (ie all mappings failed).
Checked against Win2k.

Policy Question:  Should SID -> unix_user.234/unix_group.364 be
considered a mapping or not?  Currently it isn't.

Andrew Bartlett
(This used to be commit c28668068b)
2002-05-18 05:52:52 +00:00