1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

14873 Commits

Author SHA1 Message Date
Jeremy Allison
114067ced1 r6594: Fix silly typo causing tdb to be freed twice.
Jeremy.
(This used to be commit 4f431dfc6b57e1609672c4daa53ab5d62613f6d1)
2007-10-10 10:56:46 -05:00
Herb Lewis
0a65865bfe r6588: just include includes.h to get prototypes here.
(This used to be commit 5565606560ef017f289c2dc941bf4135fc1a9faa)
2007-10-10 10:56:46 -05:00
Herb Lewis
1c4bbe0654 r6586: get rid of a few more compiler warnings
(This used to be commit 173375f8d88bf8e8db8d60e5d5f0e5dcc28767d9)
2007-10-10 10:56:46 -05:00
Jelmer Vernooij
714a426fe5 r6585: Fix socket-wrapper-enabled build for the tdb tools
(This used to be commit 93ee9cfe22b60a35bb7f7c45c4c71a31665dca45)
2007-10-10 10:56:45 -05:00
Simo Sorce
4bbef96aba r6575: use samba4 torture please message on samba 3 torture
(This used to be commit 36eb9aa48a3bee73962b66e21d1489187fd46977)
2007-10-10 10:56:45 -05:00
Jelmer Vernooij
2d1e1f7e2e r6570: Add socket_wrapper library to 3.0. Can be enabled by passing
--enable-socket-wrapper to configure
(This used to be commit 9c6cdd23ead427a4cb20177dad1c87da9594a4fe)
2007-10-10 10:56:45 -05:00
Gerald Carter
a7145e26c9 r6566: fix a couple of local group bugs.
* ensure that we set full access on the handle
  returned from _samr_create_dom_alias() so that
  future set_alias commands succeed

* fix bug when looking for internal domains in winbindd
  (caused winbindd_getgrgid() for local groups to fail).
(This used to be commit 4615c96ccb8906af4eb1fbe6d0cbf6bb3bcc3fcf)
2007-10-10 10:56:45 -05:00
Jeremy Allison
8bcfb51f91 r6553: Added Linux per-socket TCP settings patch from "Ed Boraas" <ed.boraas@concordia.ab.ca>.
Jeremy.
(This used to be commit 96f0e2d3fc68010f9e956802710ce0bdb8d7c664)
2007-10-10 10:56:45 -05:00
Jeremy Allison
0483dd60de r6550: Move function make_dir_struct from util to dir.c
Jeremy.
(This used to be commit 5b86e3dcdf31dec61449d2faede61d24c3a8d79f)
2007-10-10 10:56:45 -05:00
Jeremy Allison
431a28a315 r6548: Fix bug #2622 - remove DPTR_MASK as it makes no sense.
Jeremy.
(This used to be commit 927681c8c4458c77de2622557f1465fd5ca1c28b)
2007-10-10 10:56:44 -05:00
Jeremy Allison
fc396cb220 r6543: Fix EDEADLCK problem with deferred open calls. Problem found by
"Hu, David J" <david.hu@hp.com>
Jeremy.
(This used to be commit ec86ac4b28e99df41d3dd77586ea259500e5dfcd)
2007-10-10 10:56:44 -05:00
Volker Lendecke
0838e60486 r6536: Jeremy, did you actually test this part of revision 801? I just tested that
Windows 2003 returns "4 (Local Group)" for

rpcclient -c 'lookupnames "System Operators"'

Before #ifdef'ing that out again I would like to see a sniff how you get a "5"
(WKN_GRP) out of lsa_lookupnames.

Volker
(This used to be commit f6e27305101ab0c7e04e55b4905e91c19b31f9ef)
2007-10-10 10:56:44 -05:00
Jeremy Allison
c6a35c356d r6533: Fix for bad comment from Andreas Gruenbacher <agruen@suse.de>.
Jeremy.
(This used to be commit 60325ab1281ebbe70665b5f763065ca60ee9f682)
2007-10-10 10:56:44 -05:00
Steve French
3a11fdc387 r6514: Allow domain= to be specified in credentials file. Fix umount.cifs help, allow root to unmount someone
else's mount
(This used to be commit ed27740397817c1f1b14ba187139c877dbf22168)
2007-10-10 10:56:44 -05:00
Steve French
ae816fe9f9 r6505: Add missing remount flag handling
(This used to be commit 37685979bb4075a42018b89f3aee230fead5a7a4)
2007-10-10 10:56:44 -05:00
Herb Lewis
ed1f7121a3 r6502: add LOCKING debug class - pull PRINTINGDB class definition from trunk
so our numbers don't get out of sync
(This used to be commit 58e307664e02ebf0415f19ed625d2f166d9cb1cc)
2007-10-10 10:56:43 -05:00
Steve French
65d672f019 r6499: Add two newer mount options to syntax help for mount.cifs
(This used to be commit 2ed6b5ecab1c4d503207615d576b4520dfc15451)
2007-10-10 10:56:43 -05:00
Jeremy Allison
595183b916 r6497: Ensure yield_connection() is called on all appropriate error conditions.
Jeremy.
(This used to be commit f895f087adbc367a984bfa073f31f890db25a286)
2007-10-10 10:56:43 -05:00
Jeremy Allison
7981bd7f04 r6495: Bugfix for #2596 by James Peach @ SGI. Fix become_root link issues and one IRIX
stack backtrace bug.
Jeremy.
(This used to be commit c0b99c692b7e23a2bfe12c7230fd539771020750)
2007-10-10 10:56:43 -05:00
Gerald Carter
ae21b39a9b r6493: we're at 3.0.15pre3 now
(This used to be commit d92e9b1def29333810c792da8a218169b8dbbe4f)
2007-10-10 10:56:43 -05:00
Gerald Carter
d65f313fa7 r6491: BUG 2653: patch from Olaf Imig <Olaf.Imig@bifab.de>; allocate memory for user1* in make_spoolss_q_open_printer_ex()
(This used to be commit f04232cce7f940814828caf80a2ecb8761146b14)
2007-10-10 10:56:43 -05:00
Gerald Carter
fd237d9903 r6490: BUG 1998: patch from Olaf Imig <Olaf.Imig@bifab.de>; fix byte ordering bug when storing 16-bit RAP print job ids
(This used to be commit 2c66a4098a3c9ca0a12160d4193d65085ece1dfe)
2007-10-10 10:56:42 -05:00
Volker Lendecke
ce8dee5c3c r6488: net rpc printer migrate should not try to set stuff that's not there. This
fixes two segfaults. Thanks to Karolin Segger <ks@sernet.de> to find the bug
and test the patch.

Volker
(This used to be commit 5fa5454218acf9975578dee1386d530f09ac7339)
2007-10-10 10:56:42 -05:00
Steve French
7522810acb r6482: Add support so umount.cifs can update mtab
(This used to be commit 66ec66ed1b9ac8ec2db12f3afecf4031a621eca6)
2007-10-10 10:56:42 -05:00
Jeremy Allison
e0c105ece6 r6473: Fix for bug #2644 - test for special files to be ignored was reversed.
Jeremy.
(This used to be commit 7c173dec2efcbe3fe42ffb9a2e85f3fbc8710ec4)
2007-10-10 10:56:41 -05:00
Gerald Carter
2d6e5ad90f r6450: * fix typo in htlm_auth help message
* add synonym for idmap_rid in better lining with
  other idmap backend names
* remove old debug messages when idmap {uid|gid} options
  are not defined
(This used to be commit 03ebf3ebfe83897d8c18e57ed378154d1377874b)
2007-10-10 10:56:41 -05:00
Steve French
d7173b35e9 r6447: Add missing error mapping for EMLINK to NT_STATUS_TOO_MANY_LINKS (we have it the other direction
in clierror already).  This fixes the return code when we try to hardlink from a client.
(This used to be commit ccbdffb94e22c17b03b0a464071df027ebdc6264)
2007-10-10 10:56:41 -05:00
Volker Lendecke
2e0cac8e3e r6445: Make us survive the PARANOID_MALLOC_CHECKER. Should we enable that for
--enable-developer=yes?

Volker
(This used to be commit 61d40ac60dd9c8c9bbcf92e4fc57fe1d706bc721)
2007-10-10 10:56:41 -05:00
Gerald Carter
57eb9f47d0 r6421: use add machine script when creating a user (ACB_NORMAL)
who has a name ending in '$' (usrmgr.exe does this for
domain trusts (that's was jfm's original comment I think).

avoid an assert() call in libldap.
(This used to be commit 0ac57ae94202190ddbe538f7180a0443463b48cf)
2007-10-10 10:56:41 -05:00
Jeremy Allison
d0a0930485 r6417: Strange old IRIX systems return -1 for telldir() when
end of directory reached. Don't check for that and bail
when reading directory entries as it's a valid value.
Excellent work from Cale Fairchild <cale@brocku.ca>
tracked this down.
Jeremy.
(This used to be commit a60fe9aba16eac4f195a2359d8b7672d8c8aa240)
2007-10-10 10:56:41 -05:00
Tim Potter
6b705097d4 r6412: Add fflush(stdout) after displaying username prompt in smbsh if
username not specified on command line.  Bugzilla 2611.
(This used to be commit b568e5188c3bc514d747b4c1c4e612e924fc6a4f)
2007-10-10 10:56:40 -05:00
Tim Potter
a7bdbf13e9 r6411: Remove configure check for FTRUNCATE_NEEDS_ROOT as it's not actually
used anywhere in the code anymore.  Bugzilla 2625.
(This used to be commit 6a50b304e7e028032cf97f2a2a0749c096155d9c)
2007-10-10 10:56:40 -05:00
Tim Potter
e09150948b r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560.
(This used to be commit 5921fcadd5bdf8e600132db6d5cc6393f3d26f58)
2007-10-10 10:56:40 -05:00
Tim Potter
4e95263320 r6407: Fix for bugzilla 2623 and 2630: $< and $* are not valid in explicit
rules according to POSIX.
(This used to be commit 3216125bed39cbfe20bb8ac98d7489f660f9dfa0)
2007-10-10 10:56:40 -05:00
Volker Lendecke
89917b51d7 r6401: Fix a debug message
(This used to be commit fb561fe26cc61272e24965b81e276fa5420b146d)
2007-10-10 10:56:40 -05:00
Deryck Hodge
dd995fcc53 r6395: Fix for Bug 2137, from Jay Fenlason <fenlason@redhat.com>
Encode quotes for display in HTML.

deryck
(This used to be commit b9b18a09ea3bf3edba15dc073dd20b195bc6082b)
2007-10-10 10:56:40 -05:00
Derrell Lipman
1d08b9013a r6392: - Fixes bug 2564: when smbc_opendir() was called with a file rather than
a directory, the errno returned could end up as ENOENT rather than ENOTDIR.

- Fixes some compiler warnings which showed up on IRIX, as reported by
  James Peach.
(This used to be commit 615a62b21f8d2f7f97bde2f166ddd6849d39b95c)
2007-10-10 10:56:40 -05:00
Gerald Carter
67e9fb7c7c r6388: BUG 2626: ensure that the calling_name is set to something after parsing smb.conf (if not set via -n)
(This used to be commit 97c68ec1e86c1de44fa1ab6e5a9d7f58b2843a34)
2007-10-10 10:56:39 -05:00
Jeremy Allison
fecdaec41c r6385: Convert checking of egid and secondary egid list into
iterator functions so it can be used easily in a for loop.
Drops duplicated code from posix_acls.c
Jeremy.
(This used to be commit 81f30bf5985f5c6dc8399c4695dfa6f14140fde1)
2007-10-10 10:56:39 -05:00
Jeremy Allison
7f247f7b4d r6378: Other systems may not return 1 for checking WRITE permission.
Canaonicalise any +ve return to 1.
Jeremy.
(This used to be commit e594222d0ba7713088420f6c6603a74c1d5def8e)
2007-10-10 10:56:39 -05:00
Volker Lendecke
f74f7c933d r6367: Slim down pdb_interface.c a bit. next_entry and search_end are function
pointers now.

Yes, Jeremy, this is about re-inventing C++... :-)

Volker
(This used to be commit a831e54738c7854e68c696e9cbb132c012ff223c)
2007-10-10 10:56:39 -05:00
Jeremy Allison
b39c949ae0 r6365: Wow, how much worse does this get. From info provided by
Eric Stewart <eric@lib.usf.edu> I realised we weren't checking
against the current effective groupid (set by force group) as
well as the group list. Fix this.
Jeremy.
(This used to be commit 0c4058c0732b1faa87ca64b8f95ad2fe3106a69f)
2007-10-10 10:56:38 -05:00
Gerald Carter
b49c586de4 r6358: merging SMB_ASSERT() changes from the release branch
(This used to be commit 70178d5d27900d56ad1da3c99f3a63d863fb324c)
2007-10-10 10:56:38 -05:00
Stefan Metzmacher
6cc85bbe72 r6354: merge from 4_0 rev 6353:
we need the english output from the svn commands

metze
(This used to be commit 6b84f30e3d746a13613d94071501430fef8ee2ca)
2007-10-10 10:56:38 -05:00
Volker Lendecke
d3d6126d94 r6351: This is quite a large and intrusive patch, but there are not many pieces that
can be taken out of it, so I decided to commit this in one lump. It changes
the passdb enumerating functions to use ldap paged results where possible. In
particular the samr calls querydispinfo, enumdomusers and friends have
undergone significant internal changes. I have tested this extensively with
rpcclient and a bit with usrmgr.exe. More tests and the merge to trunk will
follow later.

The code is based on a first implementation by Günther Deschner, but has
evolved quite a bit since then.

Volker
(This used to be commit f0bb44ac58e190e19eb4e92928979b0446e611c9)
2007-10-10 10:56:38 -05:00
Steve French
496c6f0884 r6349: Update cifs umount utility
(This used to be commit c3030229512455657d86f5e8f01ece03047b0abb)
2007-10-10 10:56:38 -05:00
Jeremy Allison
cc7ebb3f14 r6348: Fix for bug #2605 reported by Daniel Patterson <Daniel_Patterson@national.com.au>.
Ensure smbclient doesn't perform commands if the "chdir" fails in a scripted set.
Jeremy.
(This used to be commit 644608ea7db6d8d73a8c028a82cd0767ffe32af6)
2007-10-10 10:56:37 -05:00
Jeremy Allison
f60ad8ded6 r6346: Add a counter for the number of SMB operations per connection/file.
You will need to do a make clean after SVN updating this. Next will
come a smbcontrol message to dump this info. This should be interesting
to profile client activity.
Jeremy.
(This used to be commit 743174da86ac724fc9ee3d4b7bd9a2a97a234bd8)
2007-10-10 10:56:37 -05:00
Jeremy Allison
da70ef7c06 r6344: Fix bug #2601 - it seems that DOS_OPEN_EXEC does mean readonly. Needed
for Win9x and OS/2 clients. More Samba4 tests against W2k3 will be needed
to confirm this but in the meantime get it up and running.
Jeremy.
(This used to be commit 77c0ade9fa1e6a31739823be0faa50799bac2775)
2007-10-10 10:56:37 -05:00
Herb Lewis
7a7f9ab847 r6319: add prototype so -Wstrict-prototypes will not fail
(This used to be commit b92e8b1c82ff3aa497b614a01ebbca4fbc9d00c4)
2007-10-10 10:56:37 -05:00