1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-21 01:59:07 +03:00

12497 Commits

Author SHA1 Message Date
Alexander Bokovoy
e4dda8cb22 Fix scripts to generate correct tables for compilers which have character constants as signed chars instead of unsigned -
Jelmer Vernooij
4765e56f92 Fix typo. Found by Aurelien Degremont -
Tim Potter
e3cb0cd0d6 Applied Steve Langasek's patch for bug #450. -
Jeremy Allison
c816aacefb Fix #442 which Alexander considered a showstopper. Allow us to join mixed
mode domains.
Jeremy.
-
Jeremy Allison
c8bfde5be9 Fix from gregory@networksentry.co.za, don't clobber the comment if it
exists.
Jeremy.
-
Jeremy Allison
6e6769c206 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.
-
Jeremy Allison
d512650340 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
-
Christopher R. Hertel
be06e52ce0 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.
-
Simo Sorce
fa7dea1710 fix online help
-w option need the password on the command line
-
Alexander Bokovoy
c248cd4784 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 -
Tim Potter
e2b5dd7d9b Fixed typo in debug. -
Tim Potter
ec49fc8ab7 This ldap_value_free() looks like it was part of Jeremy's recent rampage
so I'm putting it back in.
-
Tim Potter
299eb0abd3 I think this is a bugfix that somehow was dropped from the 3.0 tree. -
Jeremy Allison
fdc5dda44f Patch from Gregory Hinton Nietsky <gregory@networksentry.co.za>,
ensure the desired access is read from the incoming RPC request.
Jeremy.
-
Tim Potter
d71a7470d7 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.
-
Jeremy Allison
8a57f1a72c Fix for typo in darwin detection.
Jeremy.
-
Jeremy Allison
f23acb4ca5 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.
-
Jeremy Allison
f23c9d36b0 Fix from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Revered
condition meant fast-path in strchr_m was not being used. Doh !
Jeremy.
-
Jeremy Allison
aa40a86cbe Fix from Craig Barratt <cbarratt@users.sourceforge.net> to fix restore
with filenames > 100 chars.
Jeremy.
-
Gerald Carter
8382cd6796 fix unitiailized timestamp where merging print_jobs and lpq listing -
Gerald Carter
eb02fcf3c2 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.
-
Tim Potter
bc8a181477 Fix error message when calling namedtogid() fails adding a group map
entry.  Bug #431.
-
Jeremy Allison
b5d953bc26 Ensure we consistantly translate to/from utf8 for talking to LDAP.
Jeremy.
-
Jeremy Allison
41e4479aa9 Still on my mb rampage. Ensure smbldap_make_mod() correctly detects old
values.
Jeremy.
-
Jeremy Allison
910d21d316 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.
-
Jeremy Allison
963b24ac1a 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.
-
Jeremy Allison
c5ed59b37b Fix stupid typo bug causing CPU spin. Spotted by Markus Ungermann <ungermann@elzet80.de>
Jeremy.
-
Alexander Bokovoy
424b13823b Back out --with-good-getgrouplist patch -
Alexander Bokovoy
e53622c114 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
-
Tim Potter
0c35ba2cd6 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).
-
Tim Potter
d7bd3c1efb 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
-
Tim Potter
c030d14019 Formatting fixups for help output. -
Tim Potter
c972fac195 Remove tags file for distclean. -
Jeremy Allison
035f595995 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.
-
Gerald Carter
5c0c9d68b4 remove references to 'strip dot' -
Gerald Carter
fb69ca974d bumping new version to CVS 3.01pre1; optmistic about RC3 -
Jeremy Allison
514d9361c7 Don't double-increment p in hash calculation. Found by valgrind.
Jeremy.
-
Jeremy Allison
6fc0e529f7 Fix valgrind-found read of uninit variable (ensure length is right).
Jeremy.
-
Jeremy Allison
abf54b58e9 Tidy up some formatting. Get ready for allowing bad password lockout. (based
on a patch posted from Richard Renard <rrenard@idealx.com>.
Jeremy.
-
Jeremy Allison
a9f9dd71da Protect against core dump if ioctl for print job sends invalid fid. Found
by Iskantharajah T <is@tracetec.com.my>.
Jeremy.
-
Jeremy Allison
28631ef23f Fix for incorrect error message - found by Alex Davis <alex14641@yahoo.com>.
Jeremy.
-
Gerald Carter
52bea54d35 make sure we substitute basic variables in read/write list -
Gerald Carter
15d53fd53c fix compile error on HP-UX 10.20 -
Gerald Carter
02ae82fb3f fix valgrind errors; don't access cli_state pointer after it has been shutdown -
Tim Potter
7f2533207e Set PICFLAG="-fPIC" for gcc under HPUX. -
Tim Potter
7907c44414 Fix for bug #299.
There was some confusion over dynamically allocated lists of pointers
(i.e you have to make space for the list of pointers and what they are
pointing too) in the memory buffer passed in from libc.

Valgrind is much happer now and as a bonus there is no segfault.
-
Tim Potter
9b0b0256a8 Rename FOOLIBS to FOO_LIBS to be consistent with the rest of the
library variable names.
-
Tim Potter
695aa39c5d Fix for bug #334. We don't unmarshall the trusted domain or secrets
info delta correctly and thus crash when doing a net rpc samdump.

The easiest thing at the moment it to comment out these functions as
they seriously don't correspond with reality (netmon/ethereal) and the
data in the containers aren't used anyway.
-
Tim Potter
3aab7a3bc7 Reformat debug. -
Tim Potter
cebb2abd2e When enumerating dfs shares loop from 0 to lp_numservices() instead of
relying on lp_servicename(n) to return an empty string for invalid
service numbers.  For some reason it is returning NULL now.

Fixes bug 403.
-