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

401 Commits

Author SHA1 Message Date
Tim Potter
35d0f987db Build libnss_wins.so as part of nsswitch target. Fix for bug #160
found by andreas@conectiva.com.br
(This used to be commit fa24fd6f5b)
2003-06-16 03:28:27 +00:00
Andrew Tridgell
8cd67d7668 reverted locale patch put in by jht (originally from vorlon).
There are lots of things wrong with this patch, including:

1) it overrides a user chosen configuration option

2) it adds lots of complexity inside a loop when a tiny piece of code
   outside the loop would do the same thing

3) it does no error checking, and is sure to crash on some systems

If you want this functionality then try something like this at the end
of charset_name():

#ifdef HAVE_NL_LANGINFO
	if (strcasecmp(ret, "LOCALE") == 0) {
		const char *ln = nl_langinfo(CODESET);
		if (ln) {
			DEBUG(5,("Substituting charset '%s' for LOCALE\n", ln));
			return ln;
		}
	}
#endif

then users can set 'display charset = LOCALE' to get the locale based
charset. You could even make that the default for systems that have
nl_langinfo().
(This used to be commit 382b9b806b)
2003-06-16 02:22:52 +00:00
John Terpstra
489956c823 Patch from vorlon@debian.org, see bugzilal #122
Samba should preferentially use the locale information from the native system,
and only fall back on 'display charset' if this is unavailable or unsupported.
(This used to be commit 1e445fb422)
2003-06-15 06:07:53 +00:00
Herb Lewis
9960487103 get rid of IRIX o32 builds - some libraries (kerberos and ldap) are only
n32 so smbwrapper fails to link.
(This used to be commit 392f207a35)
2003-06-06 23:55:24 +00:00
Gerald Carter
71298881c4 * add in David Lee's utmp patch (defaults to on if available)
* one more try at fixing builds when --with-ldap=no
(This used to be commit b516ab7bde)
2003-06-06 22:33:43 +00:00
Gerald Carter
711f8d0a13 * break out more common code used between pdb_ldap and idmap_ldap
* remove 'winbind uid' and 'winbind gid' parameters (replaced
  by current idmap parameter)
* create the sambaUnixIdPool entries automatically in the 'ldap
  idmap suffix'
* add new 'ldap idmap suffix' and 'ldap group suffix' parametrer
* "idmap backend = ldap" now accepts 'ldap:ldap://server/' format
  (parameters are passed to idmap init() function
(This used to be commit 1665926281)
2003-06-06 13:48:39 +00:00
Jeremy Allison
d155f6ea54 Fixup the check for attr libraries, used ',' instead of ' '.
Jeremy.
(This used to be commit af62b6612e)
2003-06-06 05:10:26 +00:00
Jeremy Allison
8e047054e8 Get ready for EA code... Add Linux interface.
Jeremy.
(This used to be commit 4885314074)
2003-06-05 20:29:55 +00:00
Gerald Carter
3bdfd57a2d working draft of the idmap_ldap code.
Includes sambaUnixIdPool objectclass

Still needs cleaning up wrt to name space.
More changes to come, but at least we now have a
a working distributed winbindd solution.
(This used to be commit 8241758544)
2003-06-05 02:34:30 +00:00
Gerald Carter
10c241d2a0 added idmap_ldap to wrong branch.
(This used to be commit eafd53a7e7)
2003-06-03 19:25:39 +00:00
Jeremy Allison
df73ef2da5 Redhat 9 needs an explicit -lattr to be able to add POSIX ACLs.
Jeremy.
(This used to be commit 71bac46c51)
2003-06-03 06:33:20 +00:00
Jelmer Vernooij
69b50029f4 Add smb_register_idmap(). Based on a patch from metze
(This used to be commit 7e352f5c62)
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 456184463d)
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 e48a8b5e9c)
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 6cb3d3cc60)
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 014350196d)
2003-05-20 18:26:06 +00:00
Jeremy Allison
15c003782b FreeBSD5 ACL fix.
Jeremy.
(This used to be commit 6669c38ed0)
2003-05-19 18:00:44 +00:00
Tim Potter
c05858c893 Merge of incorrect emacs mode fix.
(This used to be commit 9d973bdfb7)
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 3786695c72)
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 0e58085978)
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 7c2395d7cd)
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 73cf63a27f)
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 4bf022ce9e)
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 7af282e7ff)
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 af083d2760)
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 a4ec8a6151)
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 34f15bff6f)
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 531c2df8d4)
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 f277cd54ea)
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 2a99e77e91)
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 8d17a4dc21)
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 706090a1be)
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 5c36308d14)
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 3ad260ced9)
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 8a20162db6)
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 6e9b780233)
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 3e283989ff)
2003-04-15 12:02:24 +00:00
Jelmer Vernooij
8284032ec5 Fix typo in configure.in (merge from HEAD)
(This used to be commit 30658cd63d)
2003-04-15 11:39:56 +00:00
Jelmer Vernooij
10bf059b62 Backport my backtrace patch from HEAD
(This used to be commit 66fcf6b493)
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 ea38b0d7f0)
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 675333350a)
2003-04-12 17:12:31 +00:00
Jelmer Vernooij
192f0cbd82 Replace .so by .$SHLIBEXT
(This used to be commit 57bd342c30)
2003-04-04 23:32:51 +00:00
Jelmer Vernooij
298c282468 Use $SHLIBEXT rather then so
(This used to be commit 657e6b6ca0)
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 5e9c494a24)
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 2aa2767ed5)
2003-03-28 02:03:31 +00:00
Jeremy Allison
b39659bcbe Add defines for platforms that need them.
Jeremy.
(This used to be commit 7787815da4)
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 70634d248e)
2003-03-22 22:01:48 +00:00
Andrew Bartlett
20e73a71f1 This caused problems on the build farm.
(This used to be commit f16a70a405)
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 6bf04c41ed)
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 c5b604e2ee)
2003-03-18 11:22:52 +00:00