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

12510 Commits

Author SHA1 Message Date
Jelmer Vernooij
5def5d2bdb Fix typo
(This used to be commit 37db75fc95)
2003-09-21 02:58:08 +00:00
Jelmer Vernooij
52e27c4a58 Fix a bug and warn when configuration file values are incorrect. Thanks to
Wilco Baan Hofman <wilco@andoburg.nl>
(This used to be commit 2c584efae6)
2003-09-20 22:22:41 +00:00
Jeremy Allison
0551426657 Ensure that dup_sec_desc copies the 'type' field correctly. This caused
me to expose a type arguement to make_sec_desc(). We weren't copying
the SE_DESC_DACL_AUTO_INHERITED flag which could cause errors on
auto inherited checks.
Jeremy.
(This used to be commit 28b315a750)
2003-09-19 21:57:43 +00:00
Alexander Bokovoy
593e93b16b Fix pdb_mysql. Jelmer will look into details tonight.
(This used to be commit b00a81b543)
2003-09-19 13:09:10 +00:00
Tim Potter
84aea8346e Put in some DEBUGs for swat language selection. Part of bug 456.
(This used to be commit bbe4ae8af2)
2003-09-19 07:04:29 +00:00
Jeremy Allison
3a48e4b287 The "unknown_5" 32 bit field in the user structs is actually 2 16-bit
fields, bad_password_count and logon_count. Ensure this is stored/fetched
in the various SAMs. As it replaces the unknown_5 field this fits
exactly into the tdb SAM without any binary problems. It also is added
to the LDAP SAM as two extra attributes. It breaks compatibility with
the experimental SAMs xml and mysql. The maintainers of these SAMs must
fix them so upgrades like this can be done transparently. I will insist
on the "experimental" status until this is solved.
Jeremy.
(This used to be commit cd7bd8c2da)
2003-09-18 23:53:48 +00:00
Jeremy Allison
d4df20e96f Oops. Proper fix for #470.
Jeremy.
(This used to be commit 82f98b066d)
2003-09-18 21:19:41 +00:00
Jeremy Allison
9f50a90db1 Fix for #470 - unable to display SIDs in ACLs.
Jeremy.
(This used to be commit 56df89eff3)
2003-09-18 01:17:22 +00:00
Tim Potter
408ecbdd00 Change error message displayed when --without-libiconv is used as
an argument to configure.  Closes bug 468.
(This used to be commit 6957ecd25f)
2003-09-18 00:05:19 +00:00
Jeremy Allison
6fc85b3233 Unregister event fix from metze.
Jeremy.
(This used to be commit 0aee73d457)
2003-09-17 23:36:55 +00:00
Jeremy Allison
273479391f Fix coredump from Samba4 torture suite.
Jeremy.
(This used to be commit 9c1bab9445)
2003-09-17 19:36:38 +00:00
Jeremy Allison
c699cb78ac Obviously correct typo bugfix from Lin Li <linl@xandros.com>.
Jeremy.
(This used to be commit a43ca66290)
2003-09-17 17:56:16 +00:00
Alexander Bokovoy
3b66918aa7 Fix warnings on Sun cc Workshop Compilers 5.0. Reported by "Richard Bollinger" <rabollinger@comcast.net>. Also fixed script/gaptab.awk to produce compatible tables.
(This used to be commit 6134d41ff1)
2003-09-17 17:54:49 +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
Jelmer Vernooij
bf4ab61d57 Fix typo. Found by Aurelien Degremont
(This used to be commit 4765e56f92)
2003-09-16 13:31:41 +00:00
Tim Potter
eb268003f4 Applied Steve Langasek's patch for bug #450.
(This used to be commit e3cb0cd0d6)
2003-09-16 03:54:42 +00:00
Jeremy Allison
1555cacd7c Fix #442 which Alexander considered a showstopper. Allow us to join mixed
mode domains.
Jeremy.
(This used to be commit c816aacefb)
2003-09-16 01:27:46 +00:00
Jeremy Allison
2c21d31c92 Fix from gregory@networksentry.co.za, don't clobber the comment if it
exists.
Jeremy.
(This used to be commit c8bfde5be9)
2003-09-15 21:27:36 +00:00
Jeremy Allison
9b8cbdfc2b Fix OOPS when dealing with mangled names reported by several users.
This was my bug when removing a redundant strlen.
Jerry - last showstopper I knew about.
Jeremy.
(This used to be commit 6e6769c206)
2003-09-15 21:19:43 +00:00
Jeremy Allison
dd50c0ed68 A *curse* upon the person who #ifdefed out the mangle debug statements
by default ! This is code that really needs to be able to be looked at
on a customer system if it's misbehaving !
Jeremy
(This used to be commit d512650340)
2003-09-15 18:53:01 +00:00
Christopher R. Hertel
1e98a1b4cc Fixed test and wording for long share names.
The RAP NetShareEnum() call has a length limit of 12 characters (not 8, as
previously tested).  Took DaveCB's suggested and added a note listing some
of the client systems that might be affected.
(This used to be commit be06e52ce0)
2003-09-15 17:01:26 +00:00
Simo Sorce
1389acb537 fix online help
-w option need the password on the command line
(This used to be commit fa7dea1710)
2003-09-15 14:13:35 +00:00
Alexander Bokovoy
f9b6d0fd10 Alias charset 646 internally as it is same as ASCII. Should solve Solaris problems where ASCII was not detected and 646.so were requested through dynamic loading
(This used to be commit c248cd4784)
2003-09-15 12:42:10 +00:00
Tim Potter
abdc2695e2 Fixed typo in debug.
(This used to be commit e2b5dd7d9b)
2003-09-15 12:22:34 +00:00
Tim Potter
7e7d43d203 This ldap_value_free() looks like it was part of Jeremy's recent rampage
so I'm putting it back in.
(This used to be commit ec49fc8ab7)
2003-09-15 05:20:00 +00:00
Tim Potter
b7ddb77793 I think this is a bugfix that somehow was dropped from the 3.0 tree.
(This used to be commit 299eb0abd3)
2003-09-15 05:12:30 +00:00
Jeremy Allison
0d9410f61d Patch from Gregory Hinton Nietsky <gregory@networksentry.co.za>,
ensure the desired access is read from the incoming RPC request.
Jeremy.
(This used to be commit fdc5dda44f)
2003-09-15 03:36:04 +00:00
Tim Potter
1d7e64e091 For some reason testparm runs at debug level 2 which causes the module probe functions to
display verbose debugs.  Increase the probe debugs to level 3.
(This used to be commit d71a7470d7)
2003-09-15 00:19:25 +00:00
Jeremy Allison
bb3f2a3e63 Fix for typo in darwin detection.
Jeremy.
(This used to be commit 8a57f1a72c)
2003-09-14 19:18:48 +00:00
Jeremy Allison
cba653c30a Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !
(rant off :-). Inspired by work from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>.
Also add MacOSX/Darwin configure fixes.
Jerry - can we put this in 3.0 release ? :-).
Jeremy.
(This used to be commit f23acb4ca5)
2003-09-13 22:41:21 +00:00
Jeremy Allison
76d0a7ca08 Fix from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Revered
condition meant fast-path in strchr_m was not being used. Doh !
Jeremy.
(This used to be commit f23c9d36b0)
2003-09-12 21:41:18 +00:00
Jeremy Allison
a4e5e3f3a5 Fix from Craig Barratt <cbarratt@users.sourceforge.net> to fix restore
with filenames > 100 chars.
Jeremy.
(This used to be commit aa40a86cbe)
2003-09-12 01:25:35 +00:00
Gerald Carter
8ce241cb80 fix unitiailized timestamp where merging print_jobs and lpq listing
(This used to be commit 8382cd6796)
2003-09-11 17:01:26 +00:00
Gerald Carter
1d0329c768 remove getpwnam() calls from init_sam_from_xxx().
This means that %u & %g will no longer expand, but %U
and %G still do.  The payback is that winbindd local
accounts for users work with 'wbinfo -u' when winbind
is running on a PDC.
(This used to be commit eb02fcf3c2)
2003-09-11 16:52:10 +00:00
Tim Potter
5cf58a1b98 Fix error message when calling namedtogid() fails adding a group map
entry.  Bug #431.
(This used to be commit bc8a181477)
2003-09-11 01:57:08 +00:00
Jeremy Allison
4fd6fdd9a9 Ensure we consistantly translate to/from utf8 for talking to LDAP.
Jeremy.
(This used to be commit b5d953bc26)
2003-09-10 23:49:23 +00:00
Jeremy Allison
c068cd37b9 Still on my mb rampage. Ensure smbldap_make_mod() correctly detects old
values.
Jeremy.
(This used to be commit 41e4479aa9)
2003-09-10 23:14:18 +00:00
Jeremy Allison
ca1c6ebb11 Fix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not converting
to/from utf8 for some calls. The libads code gets this right. Wonder why
the passdb code doesn't use it ?
Jeremy.
(This used to be commit 910d21d316)
2003-09-10 22:33:06 +00:00
Jeremy Allison
b5f07b9ca8 Fix for bug #273 - smbd crash on machine account change.
Someone only half changed the code to use dc_name
instead of remote machine... Found via back trace from Dariush Forouher
<dariush@forouher.de>.
Jeremy.
(This used to be commit 963b24ac1a)
2003-09-10 18:34:57 +00:00
Jeremy Allison
ec9f544561 Fix stupid typo bug causing CPU spin. Spotted by Markus Ungermann <ungermann@elzet80.de>
Jeremy.
(This used to be commit c5ed59b37b)
2003-09-10 18:03:24 +00:00
Alexander Bokovoy
85087fbac5 Back out --with-good-getgrouplist patch
(This used to be commit 424b13823b)
2003-09-10 15:39:21 +00:00
Alexander Bokovoy
cf598c5c1c Now that CAN-2003-0689 is published officially, we need to make possible
to build on systems with fixed getgrouplist() in GNU libc < 2.3.2.
Unfortunately, we can't detect correctness of getgrouplist() functioning in
portable way so this is left up to developer/packager.

This patch adds --with-good-getgrouplist[=no] switch to configure which packagers
on Linux platforms could use to specify in their own builds if they now that glibc
on their platform is fixed w.r.t CAN-2003-0689. By default we still think that glibc
is vulnerable and perform our version check.

** This patch does not change default behaviour in Samba 3.0 -- by default we are not
vulnerable on glibc as we are not using getgrouplist()

See http://www.securityfocus.com/bid/8477 for vulnerability description.

Right now there are following Linux vendors released glibc updates for CAN-2003-0689:

RedHat -- https://rhn.redhat.com/errata/RHSA-2003-249.html
ALTLinux -- http://www.altlinux.com/index.php?module=sisyphus&package=glibc
(This used to be commit e53622c114)
2003-09-10 13:39:09 +00:00
Tim Potter
4059dfcca2 Fix error return path memory leaks in vampire code for creating users.
Display an error if we can't create a posix account for the user
(e.g no add user/machine script was specified; bug #323).
(This used to be commit 0c35ba2cd6)
2003-09-10 06:58:41 +00:00
Tim Potter
51297321ba Use opt_target_workgroup instead of lp_workgroup() in vampire code so
we can override the value in smb.conf with the -w option.

Migrating accounts from another domain can now be done like:

# bin/net join bdc -w nt4dom -Uadministrator%password
# bin/net rpc vampire -w nt4dom -U administrator%password
(This used to be commit d7bd3c1efb)
2003-09-10 06:49:13 +00:00
Tim Potter
ab87cee6cb Formatting fixups for help output.
(This used to be commit c030d14019)
2003-09-10 06:15:07 +00:00
Tim Potter
2002fbd72e Remove tags file for distclean.
(This used to be commit c972fac195)
2003-09-10 03:59:07 +00:00
Jeremy Allison
ee51d6aabe Fix mb bug in fast path code. strlen_w() returns number of *characters*
not number of bytes. Reproduce this by trying to rename the file named :
sibrseau -> sibrseaU
from Windows 2000 explorer.
Jeremy.
(This used to be commit 035f595995)
2003-09-10 02:21:24 +00:00
Gerald Carter
b33b228455 remove references to 'strip dot'
(This used to be commit 5c0c9d68b4)
2003-09-10 00:40:32 +00:00
Gerald Carter
6a87470cdd bumping new version to CVS 3.01pre1; optmistic about RC3
(This used to be commit fb69ca974d)
2003-09-09 02:02:33 +00:00
Jeremy Allison
e99b77985d Don't double-increment p in hash calculation. Found by valgrind.
Jeremy.
(This used to be commit 514d9361c7)
2003-09-08 21:33:18 +00:00