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

13950 Commits

Author SHA1 Message Date
John Terpstra
1b27732404 Updating change from "winbind uid/gid" to "idmap uid/gid"
(This used to be commit 81abfec7fa)
2003-06-20 07:25:35 +00:00
John Terpstra
f17817318b Applied Vance Lankhaar's spelling fixes.
(This used to be commit 7eea35ba9f)
2003-06-20 06:49:48 +00:00
Tim Potter
d7dfff92c1 The default action for AC_CHECK_LIB is to add the library to $LIBS so
this doesn't need to be done explicitly in the Kerberos checks.

Also there was a duplicate AC_CHECK_LIB(resolv, dn_expand) which is done
early on in the configure process.
(This used to be commit fa66e2e1e1)
2003-06-20 06:41:56 +00:00
Tim Potter
5e37c04c03 Back out some of the changes to nsstest. I've kept the NULL pointer
dereference bugfixes but left out the gethostbyname (wins) tests pending
a nicer way to integrate it.
(This used to be commit a7e67aaffe)
2003-06-20 02:31:15 +00:00
Jeremy Allison
be61fcef60 Missed initial param, typo.
Jeremy.
(This used to be commit 036a551b10)
2003-06-20 01:42:13 +00:00
Jeremy Allison
9251afe35b Mapping of Windows ACL inheritance and protected bits onto extended attributes
if available. Adds new parameter "map acl inheritance" (docs coming soon)
off by default. Allows W2K acl inheritance dialogs to work correctly on
POSIX acls.
Jeremy.
(This used to be commit a83595e80a)
2003-06-20 01:12:20 +00:00
Eloy Paris
c7e45a8586 Minor Debian updates.
(This used to be commit f9f5211d79)
2003-06-19 17:22:43 +00:00
Jelmer Vernooij
df24532fa7 Fix typo
(This used to be commit 598a7596f2)
2003-06-18 23:13:17 +00:00
Jelmer Vernooij
87677d90a8 VFS modules are located in the subdirectory vfs of $LIBDIR
(This used to be commit 76182f4738)
2003-06-18 19:03:30 +00:00
Jim McDonough
9c9160c4de Remove short -A option, but still leave in the --set-auth-user option.
This reflects a change made in wbinfo as a result of bug 158.
(This used to be commit 2628259c20)
2003-06-18 16:11:13 +00:00
Jelmer Vernooij
6605fec5dc Add installmodules to install
(This used to be commit 33e8dd8843)
2003-06-18 15:54:21 +00:00
Simo Sorce
75a5c0b307 Ok, this patch removes the privilege stuff we had in, unused, for some time.
The code was nice, but put in the wrong place (group mapping) and not
supported by most of the code, thus useless.

We will put back most of the code when our infrastructure will be changed
so that privileges actually really make sense to be set.

This is a first patch of a set to enhance all our mapping code cleaness and
stability towards a sane next beta for 3.0 code base

Simo.
(This used to be commit e341e7c49f)
2003-06-18 15:24:10 +00:00
Eloy Paris
e900f4ed10 Updated Debian patches so they apply cleanly and without warnings at
build time.
(This used to be commit 37acf55b60)
2003-06-18 15:17:32 +00:00
Jim McDonough
c364128212 Remove the -A option of wbinfo, leaving only the long version,
--set-auth-user.  There was enough confusion, as in bug #158,
when a user accidentally typed -A instead of -a, and would get themselves
stuck with a non-working winbind.

I've made the changes to docs/docbook/manpages/wbinfo.xml, but I'm not
sure what to do beyond that.  Is checking that in enough?
(This used to be commit 70fe85e469)
2003-06-18 14:20:23 +00:00
Volker Lendecke
4a33bc9c73 There's nothing particularly secret in idmap.tdb, so create it with
0644 as the other databases.

Volker
(This used to be commit 5849053930)
2003-06-18 13:28:37 +00:00
Volker Lendecke
e6fd597fce And some more memory leaks in mapping.c and pdb_tdb.c. tdb_nextkey
mallocs its key, so we should free it after use.

Volker
(This used to be commit 9750799ba2)
2003-06-18 12:00:52 +00:00
Volker Lendecke
e48ebd09ff Better panic cleanly than segfault later when no sid can be found and created.
Everybody who calls get_global_sam_sid expects this to return non-NULL, and
there are way too many places where this is called.

Volker
(This used to be commit 2dfa896e6f)
2003-06-18 08:42:04 +00:00
Volker Lendecke
1eb6447727 And more other memory leaks. One new (idmap) and one ancient (groupdb).
Volker
(This used to be commit 2392f460ae)
2003-06-17 12:31:02 +00:00
Volker Lendecke
9606397ab1 Fix a memory leak in pdb_tdb.c.
Simo, I remember you complaining about a memleak there, could it be
this one, or did you resolve it at that time?

Volker
(This used to be commit c660595ded)
2003-06-17 12:03:48 +00:00
Jelmer Vernooij
c0e24984f0 Make static (patch from metze)
(This used to be commit 908b16cc2a)
2003-06-17 10:48:06 +00:00
Jelmer Vernooij
b9bf3252bf Fix building idmap_winbind as shared module
(This used to be commit 2556037796)
2003-06-17 10:41:08 +00:00
Jelmer Vernooij
cafb5c512d The return value of init_module functions is NTSTATUS, not int
(This used to be commit f09df852ac)
2003-06-17 10:38:22 +00:00
Volker Lendecke
7dae7d3fb4 Fix memory leak in idmap. Valgrind is soooo cool.
Volker
(This used to be commit dcdb6683a7)
2003-06-17 10:16:20 +00:00
Volker Lendecke
ea1cec68bb Const fixes by metze
Volker
(This used to be commit c0e35f3be8)
2003-06-17 09:40:35 +00:00
Jelmer Vernooij
ac44100674 Update link to DTD
(This used to be commit 2737518b25)
2003-06-16 21:34:59 +00:00
Jelmer Vernooij
540e3f889c Add DTD used by XML passdb backend
(This used to be commit f3fd321b61)
2003-06-16 21:33:46 +00:00
Jelmer Vernooij
498576b40d Fix for non-bourne shells
(This used to be commit 4ffe0b9f54)
2003-06-16 20:21:14 +00:00
Jelmer Vernooij
aa2e1198ea Fix case
(This used to be commit def4f2e81c)
2003-06-16 20:08:04 +00:00
Richard Sharpe
5dd2d09a37 Squelch one small compiler warning
(This used to be commit d9ac2540dd)
2003-06-16 18:37:54 +00:00
Jelmer Vernooij
563a6c0a1a Patch from metze to update VFS docs to include notes on multiple instances
of the same VFS module
(This used to be commit 32ef93d31c)
2003-06-16 18:31:20 +00:00
Jelmer Vernooij
ab95c86813 - Only put PNG files in CVS, not EPS.
- Remove tag that breaks tex build
(This used to be commit 5696754126)
2003-06-16 17:49:17 +00:00
Richard Sharpe
2740d35a7b Replace all use of bzero with memset ...
(This used to be commit e21aab516b)
2003-06-16 17:49:01 +00:00
Jelmer Vernooij
c207399d16 Fix some information, based on comments by Andrew Bartlett.
(This used to be commit 443b00c949)
2003-06-16 16:06:25 +00:00
Volker Lendecke
979c447060 This glosses over John's problem at SambaXP 2003. When we want to join
a NT4 domain as a BDC with an existing workstation account (existing
bdc is fine), we fail. Print a friendly error message in this case.

The correct solution would probably be to delete the account and try
again. But even this makes us better than NT: NT4 fails in this
situation with an empty warning message box and an unusable BDC. It
has unsuccessfully tried to suck down the domain database, and thus
has no administrator account to log in after reboot....

Volker
(This used to be commit 1ddeea2179)
2003-06-16 15:59:05 +00:00
Volker Lendecke
e2cda4a24e Fix misleading debug message.
Volker
(This used to be commit a4f76f2520)
2003-06-16 10:10:37 +00:00
Tim Potter
6a2b43db9c Make net rpc vampire return an error if the sam sync RPC returns an error.
E.g if we are pointing at a win2k native mode domain we are returned
an NT_STATUS_NOT_SUPPORTED error.
(This used to be commit 6053c30f26)
2003-06-16 05:39:26 +00:00
Tim Potter
3d65c033da Quieten another debug message.
(This used to be commit 2c47893c75)
2003-06-16 05:22:53 +00:00
Tim Potter
94d1dd96d6 Quieten debug message.
(This used to be commit 02d12cc4b9)
2003-06-16 05:20:37 +00:00
Tim Potter
7c16f64e38 Update nsstest to cope with wins NSS module as well as winbind NSS
module.  Use "wins" as the nss name to invoke this behaviour.

Also, fixed nsstest so it doesn't segfault when a nss function can't
be dlopened().  Log an error and abort the test gracefully instead.
(This used to be commit 66bafbe371)
2003-06-16 03:30:53 +00:00
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
ec0303820f we need to call ads_first_entry() before using a ldap result,
otherwise we can segv or return garbage
(This used to be commit d1316656b0)
2003-06-16 02:42:00 +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
Tim Potter
145b01a496 Fix some compiler warnings.
(This used to be commit eec1758e04)
2003-06-16 02:16:58 +00:00
Andrew Tridgell
1209615504 another improved debug statement
(This used to be commit ac69b9c83c)
2003-06-16 01:13:17 +00:00
Andrew Tridgell
a2039bc4c6 made a debug statement more useful
(This used to be commit 3f7a24d183)
2003-06-16 01:12:42 +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
John Terpstra
5d4937c2b6 This patch is Vorlon's fault!
(This used to be commit 56d2049561)
2003-06-15 05:14:28 +00:00
John Terpstra
8f7e94e7e6 Adding last two files.
(This used to be commit 91c6570c47)
2003-06-14 22:30:06 +00:00
John Terpstra
603a3b9242 Adding missing docs to tree.
These docs are needed for SWAT Support. Also, not everyone can build the docs
so we do need to include them.
(This used to be commit a1b6e7007b)
2003-06-14 22:25:31 +00:00
John Terpstra
88c664030a Adding missing documents and man page stothe tree.
(This used to be commit 7c65b3fc62)
2003-06-14 22:21:17 +00:00