1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

390 Commits

Author SHA1 Message Date
Jelmer Vernooij
69b50029f4 Add smb_register_idmap(). Based on a patch from metze
(This used to be commit 7e352f5c62c4889bdf2662dded1e74a354890dc7)
2003-05-29 19:08:40 +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 456184463d35c18840c39cb3483b7136247ea764)
2003-05-27 02:35:53 +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 e48a8b5e9c1a75c6e4bffe022d0e25edae89bc58)
2003-05-23 01:59:43 +00:00
Gerald Carter
6c66c80132 better handling of --with-expsam (includes pdb_nisplussam now)
(This used to be commit 6cb3d3cc609c22b54c793ab4d0be645e85e5ad35)
2003-05-20 21:15:49 +00:00
Gerald Carter
6eaf8a3775 wrap pdb_[nisplussam|xml|mysql] in --with-expsam option & some formatting fixes
(This used to be commit 014350196df287beae212e99d22dc63ecbe7d36e)
2003-05-20 18:26:06 +00:00
Jeremy Allison
15c003782b FreeBSD5 ACL fix.
Jeremy.
(This used to be commit 6669c38ed0e209d40aff82867b92d704875c2f80)
2003-05-19 18:00:44 +00:00
Tim Potter
c05858c893 Merge of incorrect emacs mode fix.
(This used to be commit 9d973bdfb70333684912ad18d15fcffc4b67dd29)
2003-05-15 04:17:54 +00:00
Alexander Bokovoy
2c01eef4d7 Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm.
(This used to be commit 3786695c72e6ff6a52a527382ac77142e236971b)
2003-05-14 14:38:11 +00:00
Simo Sorce
c823b191ab And finally IDMAP in 3_0
We really need idmap_ldap to have a good solution with ldapsam, porting
it from the prvious code is beeing made, the code is really simple to do
so I am confident it is not a problem to commit this code in.

Not committing it would have been worst.
I really would have been able to finish also the group code, maybe we can
put it into a followin release after 3.0.0 even if it may be an upgrade
problem.

The code has been tested and seem to work right, more testing is needed for
corner cases.

Currently winbind pdc (working only for users and not for groups) is
disabled as I was not able to make a complete group code replacement that
works somewhat in a week (I have a complete patch, but there are bugs)

Simo.
(This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)
2003-05-12 18:12:31 +00:00
Alexander Bokovoy
fdfcb62364 Forgot to actually change default for quotas to -no- in configure.in
(This used to be commit 7c2395d7cd98b23d58a024a54e5058101fc9d322)
2003-05-12 02:45:29 +00:00
Alexander Bokovoy
f3e2ad6d4d Forgot to actually change default for quotas to -no- in configure.in
(This used to be commit 73cf63a27f4ff53546171aec18952324d1ed983c)
2003-05-12 02:41:41 +00:00
Alexander Bokovoy
e8573c8fa9 Add NT quota support. Patch from Stefan (metze) Metzemacher
1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab
2. Disabled by default and when requested, will be probed and enabled only on Linux where it works
3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far
Documentation to follow
(This used to be commit 4bf022ce9e45be85609426762ba2644ac2031326)
2003-05-12 01:20:17 +00:00
Jim McDonough
1c84123026 Hopefully re-enable building heimdal. It needs -lresolv included in LIBS
to link during configure checks.
(This used to be commit 7af282e7ff9c2cccfab97130dc66515a4852c25f)
2003-05-08 17:02:13 +00:00
Tim Potter
73a3105b57 AIX doesn't append $SHLIB_EXT to NSS libraries.
(This used to be commit af083d2760c79ef33b7e187a5c5a6238667da24e)
2003-05-05 01:40:10 +00:00
Andrew Bartlett
15dec47c96 configure.in updates:
Now the IRIX and non-irix cases for one of these switch statements is the same,
eliminate the statement...

We now use autoconf > 2.50, so we can use some of it's features.

We also need to correctly include the magic for building vfs_fake_perms.
(This used to be commit a4ec8a615195f681f315ce23e799f2e7d35f27f6)
2003-05-03 15:30:41 +00:00
Andrew Bartlett
356d599662 Try to fix IRIX build - add quotes and never call libns_winbind by name - we
should only set that name once.
(This used to be commit 34f15bff6f4f847eb900174793dcbc638f96a5bd)
2003-04-30 14:14:33 +00:00
Gerald Carter
e3ae1a2f23 sync with HEAD and remove --with-misplussam as well
(This used to be commit 531c2df8d443fde8fafdc95250cb9eb809089d59)
2003-04-29 06:06:41 +00:00
Gerald Carter
4d6c97edb2 remove --with-tdbsam since it is always built now
(This used to be commit f277cd54ea6be5cad6ea765d992bc4133765ef92)
2003-04-29 06:03:04 +00:00
Andrew Bartlett
38c0f29c9e Remove the unpopular pdb_unix, which has served it's time well.
Also get charset 'werid' for both --enable-developer options in configure.

Andrew Bartlett
(This used to be commit 2a99e77e91cd214296f12b0aaf30c3c51d5a2c0a)
2003-04-26 13:49:55 +00:00
Jelmer Vernooij
3f3f30549c Fix the weird charset and build it by default for ./configure -enable-developer
(This used to be commit 8d17a4dc2142aa816200f3f91c7f60c3f2c5888c)
2003-04-26 11:48:16 +00:00
Jelmer Vernooij
05793cacef In 3.0, pdb_mysql and pdb_xml are in passdb/
(This used to be commit 706090a1be66b9fffb6c8161092cf9d86965bcfa)
2003-04-24 20:45:41 +00:00
Andrew Bartlett
a04c643158 Make sure that we don't compile pdb_ldap on systems with ldap.h, but without
-lldap.

Andrew Bartlett
(This used to be commit 5c36308d14c622bb2d466b97376d3b15ca7c47b2)
2003-04-24 11:47:21 +00:00
Andrew Bartlett
30a6f801ae Add vfs_fake_perms to Samba 3.0
Andrew Bartlett
(This used to be commit 3ad260ced99dd703d3fb1cb15e4eba7ecf7c858a)
2003-04-24 10:36:23 +00:00
Andrew Bartlett
f957f1aeaf Add configure test for previous ldap modifications - we now check if the
ldap_initialze function exists, not just if we are on a particular OpenLDAP.

Andrew Bartlett
(This used to be commit 8a20162db6a8b3fa7eb0e829663b9b4ced1218c0)
2003-04-22 15:27:38 +00:00
Jelmer Vernooij
ddf662d118 More merges from HEAD:
- Stephan Kulow's changes (fixing warnings in libsmbclient)
 - VFS modules
 - Seperating libs
(This used to be commit 6e9b7802335428c88ecf4e44a0e2395ac58e96b5)
2003-04-16 14:45:11 +00:00
Jelmer Vernooij
37dc79d2b6 Add selection of the modules to configure (merge from HEAD)
(This used to be commit 3e283989ffc41d55f75f9dacbedca0cf920208fb)
2003-04-15 12:02:24 +00:00
Jelmer Vernooij
8284032ec5 Fix typo in configure.in (merge from HEAD)
(This used to be commit 30658cd63d55f2cbaf1e7e506dec71959f9069c3)
2003-04-15 11:39:56 +00:00
Jelmer Vernooij
10bf059b62 Backport my backtrace patch from HEAD
(This used to be commit 66fcf6b4938a87e5ded7c7e5830a6a54e4439544)
2003-04-14 21:49:49 +00:00
Tim Potter
fe5b2c15de Merge a bunch of updates from HEAD:
- winbind nss client cleanups
 - new rpc echo pipe
(This used to be commit ea38b0d7f0b05565bab341294f11d53f0b6f7809)
2003-04-14 01:10:49 +00:00
Jelmer Vernooij
74b163a83a Patch from Armijn Hemel <armijn@nl.linux.org> to fix build on
FreeBSD 5 systems with a broken krb5-config
(This used to be commit 675333350a645cfe209127bfd040b81c2fc42f58)
2003-04-12 17:12:31 +00:00
Jelmer Vernooij
192f0cbd82 Replace .so by .$SHLIBEXT
(This used to be commit 57bd342c308366bbaa16574ba03b7e73f1e4060e)
2003-04-04 23:32:51 +00:00
Jelmer Vernooij
298c282468 Use $SHLIBEXT rather then so
(This used to be commit 657e6b6ca04461178946492b5355542c345fbfcb)
2003-04-04 23:22:19 +00:00
Tim Potter
d2912967f4 Forgot to merge configure.in changes for winbind client tidyup.
(This used to be commit 5e9c494a241102805e76461197dc8b5afcac64d9)
2003-04-02 06:26:55 +00:00
Gerald Carter
a50e82cac2 don't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbpass replacement test
(This used to be commit 2aa2767ed5dc5290d6f71174bbf1be7d75a97d8b)
2003-03-28 02:03:31 +00:00
Jeremy Allison
b39659bcbe Add defines for platforms that need them.
Jeremy.
(This used to be commit 7787815da498382a380230912e0573f41347d0d8)
2003-03-26 19:39:27 +00:00
Jelmer Vernooij
da40f7303a Merge from HEAD - Detect missing -lroken properly on machines without krb5-config
(This used to be commit 70634d248e74395c05d9980b07d53a20327a30a8)
2003-03-22 22:01:48 +00:00
Andrew Bartlett
20e73a71f1 This caused problems on the build farm.
(This used to be commit f16a70a405a702945ada42be638c3d17c59517c0)
2003-03-22 10:46:03 +00:00
Andrew Bartlett
63894f2b5a Merge fixes to libsmbclient (fstring/pstring) from HEAD.
Andrew Bartlett
(This used to be commit 6bf04c41ed88528345f6bb19d48f5909753a8322)
2003-03-22 09:27:42 +00:00
Andrew Bartlett
d5ee9b2f48 Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)
This patch catches up on the rest of the work - as much string checking
as is possible is done at compile time, and the rest at runtime.

Lots of code converted to pstrcpy() etc, and other code reworked to correctly
call sizeof().

Andrew Bartlett
(This used to be commit c5b604e2ee67d74241ae2fa07ae904647d35a2be)
2003-03-18 11:22:52 +00:00
Andrew Bartlett
ec458fa87e Merge from HEAD - sync up SessionSetup code to HEAD, including Luke Howard's
session key and auth verifier patches.

Andrew Bartlett
(This used to be commit 3f9616a68a855acbae3f405c27ee2358fbe7ba2c)
2003-03-17 22:45:16 +00:00
Martin Pool
da3b671f77 In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
etc.  So check for that as well as the old names when including macros
and conditionally defining -DVALGRIND.
(This used to be commit 054ed6d86d0ca61623d61db7bc31999c19269176)
2003-03-13 06:48:06 +00:00
Andrew Bartlett
1502667e92 Merge adding -Wwrite-strings to our CFLAGS when --enable-developer is set
(This used to be commit 1cba3ceae1637974272e595260933985d84942d4)
2003-02-26 12:37:04 +00:00
Andrew Bartlett
ecd7fc59a8 Merge crypt(), ACL lib and shared lib changes from HEAD.
(This used to be commit e380224d8cd265b9845ad80af2b053a56078e790)
2003-02-24 03:22:49 +00:00
Jim McDonough
83a11f7f0e Sync with HEAD for verifying kerberos tickets.
(This used to be commit 77e1178a888f0d380a5ef94911a8f07bf04a7ba3)
2003-02-19 15:48:12 +00:00
Andrew Bartlett
585d50c667 People were being tripped up by the fact that we havn't updated acconfig.h
as we don't need it for autoconf 2.53.  Remove it from CVS, and assert the
newer autotools in configure.in

Andrew Bartlett
(This used to be commit c51065e6073f30296e87bedd06efd7f9a5833f93)
2003-02-17 00:10:37 +00:00
Alexander Bokovoy
019df92bdf Merge from head CFLAGS/CPPFLAGS and LIBS/LDFLAGS sanitizing
(This used to be commit bf1c82a48f89d25af767d73cb9c25f78bd868d30)
2003-02-15 23:07:59 +00:00
Alexander Bokovoy
79613f6146 Merger krb5-config and libtinfo to SAMBA_3_0
(This used to be commit 864809707b0acf34e19b4234960e888b6737b39e)
2003-02-15 19:13:53 +00:00
Jim McDonough
4226279bb7 Bring in line with HEAD version...mostly formatting changes to clean up diffs.
(This used to be commit ef43dff0bf49c942260f9a9a79fceabb5de715e0)
2003-02-14 19:42:54 +00:00
Jim McDonough
49d3f7bc81 merge from HEAD - enable dynamic RPC modules
(This used to be commit d9c485b01017594d113502f9de2248d6c120cfa3)
2003-02-14 00:48:28 +00:00
Jeremy Allison
7fe6742d04 Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
Jeremy.
(This used to be commit e9b4fb8b9aedda9afc01af976264298002be3096)
2003-02-12 20:40:29 +00:00