1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

14748 Commits

Author SHA1 Message Date
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 be06e52ce05e88f3872563a61ae29f62afd614fc)
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 fa7dea1710bac38f5f68be2e56a24ef5cca09ff5)
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 c248cd4784ac0f8f16813de36d293ab6bf1d259b)
2003-09-15 12:42:10 +00:00
Tim Potter
abdc2695e2 Fixed typo in debug.
(This used to be commit e2b5dd7d9b351984c40876f3c86f2a006e0eec42)
2003-09-15 12:22:34 +00:00
Tim Potter
8a7cf73eee Remove quotes in smb.conf ldap example - the quotes actually turn
up in the ldap filter string.
(This used to be commit 59a292074be65e270a4dbfb64668727ac56bb7b8)
2003-09-15 12:19:54 +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 ec49fc8ab73b26f86da155475df90843650f0e63)
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 299eb0abd36072af51cbcb761fa9fb6a77584585)
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 fdc5dda44f0190af4e4b0782cb2c5c7de3506d12)
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 d71a7470d721be05ecde44010cf278e8de08d9d3)
2003-09-15 00:19:25 +00:00
Jeremy Allison
bb3f2a3e63 Fix for typo in darwin detection.
Jeremy.
(This used to be commit 8a57f1a72c88cde233b126d468183c52c2598420)
2003-09-14 19:18:48 +00:00
John Terpstra
4075819da6 Fix typo.
(This used to be commit 4f03781d2e880fe12f8a8e81df8392487e3a7e2e)
2003-09-14 00:13:04 +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 f23acb4ca5feac8ad2acfa1baf7df31283aba3ea)
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 f23c9d36b0cd4083722012e4a94df8295f29d04c)
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 aa40a86cbe797cba4e281cb8dc09b2ae67e93dc2)
2003-09-12 01:25:35 +00:00
Jim McDonough
150d3d535c Updated 3.0 schema files for IBM Directory Server 5.1
Keeps with IBM convention of separate attributetype and objectclass definitions.
(This used to be commit 5dcf974c22b4bd54193dff876020bacd5b1691b2)
2003-09-11 18:32:44 +00:00
Gerald Carter
8ce241cb80 fix unitiailized timestamp where merging print_jobs and lpq listing
(This used to be commit 8382cd6796992e55bf10f381089cb740052a0bca)
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 eb02fcf3c212eee1dc267959f23da5a26c1eac4f)
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 bc8a181477866d0d97324bf45431bcdff895ad18)
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 b5d953bc26de5c4e0e1a15f70ae56ea2dd2843f2)
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 41e4479aa9f186d68300086984d6f4c8f9fd2a27)
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 910d21d3164c2c64773031fddaad35ea88e72a04)
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 963b24ac1a721a8b0d348b578f25b1d8cb7e2124)
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 c5ed59b37be1bf779e0d0e61c31227b520430afd)
2003-09-10 18:03:24 +00:00
Alexander Bokovoy
85087fbac5 Back out --with-good-getgrouplist patch
(This used to be commit 424b13823b666c122f43d63098cec3e54b4fa353)
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 e53622c114e0368515c50b357567fcdd0b95979e)
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 0c35ba2cd65ff64c5db2b20d5528a0d486cba51e)
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 d7bd3c1efbd02a7ca01ad9a4b242ea4cc4a63c1f)
2003-09-10 06:49:13 +00:00
Tim Potter
ab87cee6cb Formatting fixups for help output.
(This used to be commit c030d1401950b6efcbdf30ad899c25a61efb1814)
2003-09-10 06:15:07 +00:00
Tim Potter
2002fbd72e Remove tags file for distclean.
(This used to be commit c972fac195fd9280ab2a0da28b8ed11aaacd3bff)
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 035f59599514491609078ac0fe5804278c43a9b3)
2003-09-10 02:21:24 +00:00
Gerald Carter
89771b45bb fix some typos
(This used to be commit 6d46fcdaf037a3dd42ea2883f9c518f72bb9d8a8)
2003-09-10 00:49:14 +00:00
Gerald Carter
182718e8b5 small updates to parameter section
(This used to be commit aa6751861115d4caa309b1f486c186b47ff06e25)
2003-09-10 00:45:52 +00:00
Gerald Carter
b33b228455 remove references to 'strip dot'
(This used to be commit 5c0c9d68b44f867bf6c2b24b9fd9ba2408b9f83c)
2003-09-10 00:40:32 +00:00
Gerald Carter
314b7f7cca syncing files
(This used to be commit 88725350d248fe017b77c7609544888ba40b7995)
2003-09-09 03:54:11 +00:00
Gerald Carter
ae83f19cbd removing unneeded files
(This used to be commit 40795992b8d8082bc164978ab8d97c326c012367)
2003-09-09 03:44:44 +00:00
Gerald Carter
6a87470cdd bumping new version to CVS 3.01pre1; optmistic about RC3
(This used to be commit fb69ca974db9aca4aa88952f7872369ce6274e8b)
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 514d9361c7be8cb8ef1a1309773baab1d982eea6)
2003-09-08 21:33:18 +00:00
Jeremy Allison
16e6d22408 Fix valgrind-found read of uninit variable (ensure length is right).
Jeremy.
(This used to be commit 6fc0e529f70253244628017a372257e8dc053294)
2003-09-08 21:26:30 +00:00
Jeremy Allison
07c90e499e Tidy up some formatting. Get ready for allowing bad password lockout. (based
on a patch posted from Richard Renard <rrenard@idealx.com>.
Jeremy.
(This used to be commit abf54b58e95a949cb883d4485853dc560489c03f)
2003-09-08 20:42:33 +00:00
Jeremy Allison
5daacc87b5 Protect against core dump if ioctl for print job sends invalid fid. Found
by Iskantharajah T <is@tracetec.com.my>.
Jeremy.
(This used to be commit a9f9dd71da41801c975303a385ff229788c9498a)
2003-09-08 20:27:28 +00:00
John Terpstra
5304cdb771 Remove inaccurate notation.
(This used to be commit 8e0478fd1afd872acd247e2a74244abd6f12f266)
2003-09-08 19:18:54 +00:00
Jeremy Allison
206d0f4156 Fix for incorrect error message - found by Alex Davis <alex14641@yahoo.com>.
Jeremy.
(This used to be commit 28631ef23f855ce91740fd144e3dc235a3ae7af6)
2003-09-08 18:41:42 +00:00
Eloy Paris
9e9a4f6cd9 Bumping up version number of the Debian packages.
(This used to be commit 65a5b32f8e9eb1ca19ed9444c42d722800bac809)
2003-09-08 17:34:17 +00:00
Eloy Paris
36dd3b26c6 Whoops, fix type in comment.
(This used to be commit a1b2852eaa1c4caa03fe92acbb49a4ff67c790d2)
2003-09-08 17:30:14 +00:00
Eloy Paris
77f827dd36 Fix problem with the python-samba Debian package.
(This used to be commit fa88ba4315b5ae318fe069c9453f3c77481fca50)
2003-09-08 17:28:55 +00:00
Gerald Carter
09ea546e5c samba 3.0 schema filr netscape DS 5.x from Darren Chew
(This used to be commit 3f97a5ce47bbdd3010dd8e234a7aa5838b524b46)
2003-09-08 15:59:45 +00:00
Gerald Carter
d3836426b3 copy from 3.0 release
(This used to be commit 55d712feb0cb3957e08166ecd5e989451ec49e33)
2003-09-08 15:35:09 +00:00
Eloy Paris
69ff20d4b0 Ok, this should put packaging/Debian/ in sync. with rc3.
(This used to be commit b5fd2e75ba9bdd3e9225ccf9b86d0f3345073b79)
2003-09-08 15:27:50 +00:00
Gerald Carter
e56192d0cf make sure we substitute basic variables in read/write list
(This used to be commit 52bea54d35e7fb32c7ed7b067c13afe53761affb)
2003-09-08 15:24:01 +00:00
Gerald Carter
a82d43d4df copy WHATSNEW from the release branch
(This used to be commit 977387f4498a6bcf4beac3cd0946dd900d59ca5f)
2003-09-08 15:08:18 +00:00