Volker Lendecke [Sat, 7 May 2005 06:59:00 +0000 (06:59 +0000)]
r6640: Attempt to fix 'make everything' with the paranoid malloc checker.
Volker
(This used to be commit
3db2799822da3711b47b60ba13daa07205ced45f)
Volker Lendecke [Sat, 7 May 2005 06:46:37 +0000 (06:46 +0000)]
r6639: Attempt to fix the build with talloc
Volker
(This used to be commit
f3836831da317660a3a1bb356d238f50320e1512)
Jelmer Vernooij [Fri, 6 May 2005 16:21:20 +0000 (16:21 +0000)]
r6635: Fix build of the various sql pdb backends after new talloc.
(This used to be commit
0a7eabd46d40ddbd9dfbb7602653b28fd84dcf6f)
Gerald Carter [Fri, 6 May 2005 15:22:05 +0000 (15:22 +0000)]
r6634: merge smbmount malloc checker fixes from trunk
(This used to be commit
ca678b9690c9487af7004c09e696ba0f11121683)
Jeremy Allison [Fri, 6 May 2005 13:26:54 +0000 (13:26 +0000)]
r6633: Added "check_path_syntax_posix()" in preparation for handling
POSIX pathnames. Not yet used.
Jeremy.
(This used to be commit
381da9b55d6a3fda2ba4a3f12bee50853b7fd3b3)
Jeremy Allison [Fri, 6 May 2005 10:55:56 +0000 (10:55 +0000)]
r6631: More typo's. Sorry.
Jeremy.
(This used to be commit
2673ccd19f194d1f7756a154afe4200e386ca1b3)
Jeremy Allison [Fri, 6 May 2005 10:47:52 +0000 (10:47 +0000)]
r6629: Fix stupid typo. Thanks Gunther.
Jeremy.
(This used to be commit
8693df2551fce145f7c919dee67a26d8fb8dfd1d)
Volker Lendecke [Fri, 6 May 2005 10:08:34 +0000 (10:08 +0000)]
r6627: Fix debug message
(This used to be commit
6a5a9f17fb3c18e9dd8d447889b527055e5e3bd5)
Jeremy Allison [Fri, 6 May 2005 08:07:39 +0000 (08:07 +0000)]
r6625: Remove another global variable left over from a long time ago (magic char).
Jeremy.
(This used to be commit
b1bfa9cb37deb22d1d08bc60ba44d61334f6446e)
Herb Lewis [Fri, 6 May 2005 01:28:02 +0000 (01:28 +0000)]
r6623: This change fixes a few broken commands plus adds some
new commands. It also restructures it so you can execute
a single command from the command line. Input strings are
parsed to allow input of arbitrary characters using the
\xx syntax for hex values.
(This used to be commit
94e53472666edfb390605b8a7e9f9dffc3c845f5)
Jeremy Allison [Wed, 4 May 2005 16:19:23 +0000 (16:19 +0000)]
r6613: Merge back fix for PARANOID_MALLOC checker.
Jeremy.
(This used to be commit
9c8d0efbfdcf9f4558ef3c7d5623558e7142d7ad)
Gerald Carter [Tue, 3 May 2005 14:01:39 +0000 (14:01 +0000)]
r6601: fixing query and set alias info calls (level 1 from the
MMC manage computer plugin.
(This used to be commit
c43c1ec80cb52569ccabcdf95e4004386ecb29d6)
Jeremy Allison [Tue, 3 May 2005 07:33:49 +0000 (07:33 +0000)]
r6595: This is Volkers new-talloc patch. Just got the go-ahead from
Volker to commit. Woo Hoo !
Jeremy.
(This used to be commit
316df944a456f150944761dab34add5e8c4ab699)
Jeremy Allison [Tue, 3 May 2005 07:27:44 +0000 (07:27 +0000)]
r6594: Fix silly typo causing tdb to be freed twice.
Jeremy.
(This used to be commit
4f431dfc6b57e1609672c4daa53ab5d62613f6d1)
Herb Lewis [Mon, 2 May 2005 21:30:57 +0000 (21:30 +0000)]
r6588: just include includes.h to get prototypes here.
(This used to be commit
5565606560ef017f289c2dc941bf4135fc1a9faa)
Herb Lewis [Mon, 2 May 2005 17:49:43 +0000 (17:49 +0000)]
r6586: get rid of a few more compiler warnings
(This used to be commit
173375f8d88bf8e8db8d60e5d5f0e5dcc28767d9)
Jelmer Vernooij [Mon, 2 May 2005 16:23:02 +0000 (16:23 +0000)]
r6585: Fix socket-wrapper-enabled build for the tdb tools
(This used to be commit
93ee9cfe22b60a35bb7f7c45c4c71a31665dca45)
Simo Sorce [Mon, 2 May 2005 15:00:51 +0000 (15:00 +0000)]
r6575: use samba4 torture please message on samba 3 torture
(This used to be commit
36eb9aa48a3bee73962b66e21d1489187fd46977)
Jelmer Vernooij [Mon, 2 May 2005 10:12:36 +0000 (10:12 +0000)]
r6570: Add socket_wrapper library to 3.0. Can be enabled by passing
--enable-socket-wrapper to configure
(This used to be commit
9c6cdd23ead427a4cb20177dad1c87da9594a4fe)
Gerald Carter [Sun, 1 May 2005 20:05:16 +0000 (20:05 +0000)]
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)
Jeremy Allison [Sun, 1 May 2005 10:13:08 +0000 (10:13 +0000)]
r6553: Added Linux per-socket TCP settings patch from "Ed Boraas" <ed.boraas@concordia.ab.ca>.
Jeremy.
(This used to be commit
96f0e2d3fc68010f9e956802710ce0bdb8d7c664)
Jeremy Allison [Sun, 1 May 2005 10:00:14 +0000 (10:00 +0000)]
r6550: Move function make_dir_struct from util to dir.c
Jeremy.
(This used to be commit
5b86e3dcdf31dec61449d2faede61d24c3a8d79f)
Jeremy Allison [Sun, 1 May 2005 09:30:18 +0000 (09:30 +0000)]
r6548: Fix bug #2622 - remove DPTR_MASK as it makes no sense.
Jeremy.
(This used to be commit
927681c8c4458c77de2622557f1465fd5ca1c28b)
Jeremy Allison [Sun, 1 May 2005 07:01:18 +0000 (07:01 +0000)]
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)
Volker Lendecke [Sat, 30 Apr 2005 13:21:13 +0000 (13:21 +0000)]
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)
Jeremy Allison [Sat, 30 Apr 2005 12:28:25 +0000 (12:28 +0000)]
r6533: Fix for bad comment from Andreas Gruenbacher <agruen@suse.de>.
Jeremy.
(This used to be commit
60325ab1281ebbe70665b5f763065ca60ee9f682)
Steve French [Thu, 28 Apr 2005 22:28:11 +0000 (22:28 +0000)]
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)
Steve French [Thu, 28 Apr 2005 05:09:30 +0000 (05:09 +0000)]
r6505: Add missing remount flag handling
(This used to be commit
37685979bb4075a42018b89f3aee230fead5a7a4)
Herb Lewis [Wed, 27 Apr 2005 18:32:37 +0000 (18:32 +0000)]
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)
Derrell Lipman [Wed, 27 Apr 2005 14:05:02 +0000 (14:05 +0000)]
r6501: correct deprecated lvalue casts in testsuite/libsmbclient
(This used to be commit
6d22c3c3434812d3a6ab7f216bec34cdb3b622a0)
Steve French [Wed, 27 Apr 2005 03:24:11 +0000 (03:24 +0000)]
r6499: Add two newer mount options to syntax help for mount.cifs
(This used to be commit
2ed6b5ecab1c4d503207615d576b4520dfc15451)
Jeremy Allison [Tue, 26 Apr 2005 23:52:21 +0000 (23:52 +0000)]
r6497: Ensure yield_connection() is called on all appropriate error conditions.
Jeremy.
(This used to be commit
f895f087adbc367a984bfa073f31f890db25a286)
Jeremy Allison [Tue, 26 Apr 2005 20:07:28 +0000 (20:07 +0000)]
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)
Gerald Carter [Tue, 26 Apr 2005 15:14:15 +0000 (15:14 +0000)]
r6493: we're at 3.0.15pre3 now
(This used to be commit
d92e9b1def29333810c792da8a218169b8dbbe4f)
Gerald Carter [Tue, 26 Apr 2005 14:42:48 +0000 (14:42 +0000)]
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)
Gerald Carter [Tue, 26 Apr 2005 14:14:16 +0000 (14:14 +0000)]
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)
Volker Lendecke [Tue, 26 Apr 2005 12:26:32 +0000 (12:26 +0000)]
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)
Steve French [Tue, 26 Apr 2005 05:19:22 +0000 (05:19 +0000)]
r6482: Add support so umount.cifs can update mtab
(This used to be commit
66ec66ed1b9ac8ec2db12f3afecf4031a621eca6)
Jeremy Allison [Mon, 25 Apr 2005 23:15:48 +0000 (23:15 +0000)]
r6473: Fix for bug #2644 - test for special files to be ignored was reversed.
Jeremy.
(This used to be commit
7c173dec2efcbe3fe42ffb9a2e85f3fbc8710ec4)
Gerald Carter [Mon, 25 Apr 2005 02:30:12 +0000 (02:30 +0000)]
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)
Steve French [Sun, 24 Apr 2005 02:59:40 +0000 (02:59 +0000)]
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)
Volker Lendecke [Sat, 23 Apr 2005 18:07:01 +0000 (18:07 +0000)]
r6445: Make us survive the PARANOID_MALLOC_CHECKER. Should we enable that for
--enable-developer=yes?
Volker
(This used to be commit
61d40ac60dd9c8c9bbcf92e4fc57fe1d706bc721)
Gerald Carter [Thu, 21 Apr 2005 17:13:50 +0000 (17:13 +0000)]
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)
Jeremy Allison [Thu, 21 Apr 2005 07:57:52 +0000 (07:57 +0000)]
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)
Tim Potter [Thu, 21 Apr 2005 05:09:05 +0000 (05:09 +0000)]
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)
Tim Potter [Thu, 21 Apr 2005 05:00:29 +0000 (05:00 +0000)]
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)
Tim Potter [Thu, 21 Apr 2005 01:46:18 +0000 (01:46 +0000)]
r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560.
(This used to be commit
5921fcadd5bdf8e600132db6d5cc6393f3d26f58)
Tim Potter [Thu, 21 Apr 2005 01:40:44 +0000 (01:40 +0000)]
r6407: Fix for bugzilla 2623 and 2630: $< and $* are not valid in explicit
rules according to POSIX.
(This used to be commit
3216125bed39cbfe20bb8ac98d7489f660f9dfa0)
Volker Lendecke [Wed, 20 Apr 2005 07:30:03 +0000 (07:30 +0000)]
r6401: Fix a debug message
(This used to be commit
fb561fe26cc61272e24965b81e276fa5420b146d)
Deryck Hodge [Tue, 19 Apr 2005 21:35:42 +0000 (21:35 +0000)]
r6395: Fix for Bug 2137, from Jay Fenlason <fenlason@redhat.com>
Encode quotes for display in HTML.
deryck
(This used to be commit
b9b18a09ea3bf3edba15dc073dd20b195bc6082b)
Derrell Lipman [Tue, 19 Apr 2005 19:23:49 +0000 (19:23 +0000)]
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)
Gerald Carter [Tue, 19 Apr 2005 14:03:08 +0000 (14:03 +0000)]
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)
Jeremy Allison [Tue, 19 Apr 2005 07:12:44 +0000 (07:12 +0000)]
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)
Jeremy Allison [Mon, 18 Apr 2005 22:53:51 +0000 (22:53 +0000)]
r6378: Other systems may not return 1 for checking WRITE permission.
Canaonicalise any +ve return to 1.
Jeremy.
(This used to be commit
e594222d0ba7713088420f6c6603a74c1d5def8e)
Gerald Carter [Mon, 18 Apr 2005 17:48:31 +0000 (17:48 +0000)]
r6373: minor changes to solaris packaging readme to bring it up to date
(This used to be commit
4213739ca28afe18fe9a352ccd8b867336c1f8ae)
Gerald Carter [Mon, 18 Apr 2005 17:46:46 +0000 (17:46 +0000)]
r6372: removing outdated Mandrake packaging files and pointing at Mandriva cooker (after clearing with Buchan)
(This used to be commit
f8fb342d4371dcbbedd63de84535e8e4dc35ce7a)
Volker Lendecke [Mon, 18 Apr 2005 16:07:49 +0000 (16:07 +0000)]
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)
Jeremy Allison [Sun, 17 Apr 2005 07:57:45 +0000 (07:57 +0000)]
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)
Gerald Carter [Sat, 16 Apr 2005 20:48:04 +0000 (20:48 +0000)]
r6358: merging SMB_ASSERT() changes from the release branch
(This used to be commit
70178d5d27900d56ad1da3c99f3a63d863fb324c)
Stefan Metzmacher [Fri, 15 Apr 2005 15:39:00 +0000 (15:39 +0000)]
r6354: merge from 4_0 rev 6353:
we need the english output from the svn commands
metze
(This used to be commit
6b84f30e3d746a13613d94071501430fef8ee2ca)
Volker Lendecke [Fri, 15 Apr 2005 13:41:49 +0000 (13:41 +0000)]
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)
Steve French [Fri, 15 Apr 2005 05:42:03 +0000 (05:42 +0000)]
r6349: Update cifs umount utility
(This used to be commit
c3030229512455657d86f5e8f01ece03047b0abb)
Jeremy Allison [Fri, 15 Apr 2005 00:39:03 +0000 (00:39 +0000)]
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)
Jeremy Allison [Thu, 14 Apr 2005 23:32:56 +0000 (23:32 +0000)]
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)
Jeremy Allison [Thu, 14 Apr 2005 21:01:01 +0000 (21:01 +0000)]
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)
Herb Lewis [Tue, 12 Apr 2005 21:56:34 +0000 (21:56 +0000)]
r6319: add prototype so -Wstrict-prototypes will not fail
(This used to be commit
b92e8b1c82ff3aa497b614a01ebbca4fbc9d00c4)
Herb Lewis [Tue, 12 Apr 2005 18:59:49 +0000 (18:59 +0000)]
r6318: don't include smbwrapper stuff unless asked for
(This used to be commit
ce38ead0fccf434f90671201d3c50cd79b3f3ed4)
Jeremy Allison [Tue, 12 Apr 2005 17:30:14 +0000 (17:30 +0000)]
r6316: Remove over-cautious asserts. Damn wish I'd made the release
with this....
Jeremy.
(This used to be commit
11c464268df2a0a5155e93d4a7d053d2920fcff0)
Gerald Carter [Tue, 12 Apr 2005 06:47:04 +0000 (06:47 +0000)]
r6311: setting version to 3.0.15pre2
(This used to be commit
005427f73f4438bffc0d8d085f4b40a634e3f381)
Jeremy Allison [Tue, 12 Apr 2005 01:20:23 +0000 (01:20 +0000)]
r6307: Ensure info requested bitmask is printed in log when querying security descriptors.
Jeremy.
(This used to be commit
4db288e3143c1ce691ae586a7353da00fec85879)
Jeremy Allison [Tue, 12 Apr 2005 00:00:19 +0000 (00:00 +0000)]
r6302: OS/2 fix from Marcel Müller <mueller@maazl.de>. Don't check for mangled names
if mangled names is off.
Jeremy.
(This used to be commit
b2330c38881baceaafe1ef6b7ce00d1b5cd8d5c7)
Jeremy Allison [Mon, 11 Apr 2005 20:52:02 +0000 (20:52 +0000)]
r6297: Fix bug in our trans2 secondary processing. We need to pass in the
trans2 call info from the primary trans2 packet as it isn't present
in secondary transs packets. We only need to do this for functions that
satisfy more than one case in the switch statement. Found by Marcel Müller <mueller@maazl.de>.
Jeremy.
(This used to be commit
62edc3d5dc68fbfe6cd77c588791453e29274dd9)
Gerald Carter [Mon, 11 Apr 2005 19:41:47 +0000 (19:41 +0000)]
r6296: add message about known interoperability issue with Windows 2003 SP1 DCs
(This used to be commit
88c2ed1534d5239273458768b7b3f05102a2af16)
Gerald Carter [Mon, 11 Apr 2005 03:34:27 +0000 (03:34 +0000)]
r6291: BUG 2588: force smbclient messages to port 139 unless someone set the -p option
(This used to be commit
40f573e202096088957bfff8ca2eb49f5b4985bd)
Gerald Carter [Mon, 11 Apr 2005 00:15:28 +0000 (00:15 +0000)]
r6290: and now the development tree becomes 3.0.15pre1
(This used to be commit
5ea3fdff1b2781322a048e9c1334be5fa7f9a1f8)
Volker Lendecke [Sun, 10 Apr 2005 17:12:25 +0000 (17:12 +0000)]
r6282: Before converting enum_dom_groups, better get the previous version a bit
closer to being correct. 'svn blame' shows CVSIN, but somehow I get the
feeling this is my code...
Volker
(This used to be commit
5d34bd617535a26ae121a72add41dc7b8cec4580)
Volker Lendecke [Sun, 10 Apr 2005 15:54:18 +0000 (15:54 +0000)]
r6281: Fix the build for FreeBSD 4 -- no winbind
(This used to be commit
1ce9a0159d36c2e4f154fb60c86cebcfbc2038dc)
Volker Lendecke [Sun, 10 Apr 2005 15:45:46 +0000 (15:45 +0000)]
r6279: Convert the RAP enum functions to the pdb_search API. Who is using this
nowadays? This looks rather broken, but survives basic tests with 'net'.
Volker
(This used to be commit
7ae1b94e3eda574729272238cd08e83a33278a7e)
Volker Lendecke [Sun, 10 Apr 2005 15:26:37 +0000 (15:26 +0000)]
r6277: This implements a new caching API for enumerating the pdb elements. It is
modeled after query_displayinfo and should hide the differences between users,
groups and aliases while allowing a cache analog load_sampw_entries:
struct pdb_search *pdb_search_users(uint16 acct_flags);
struct pdb_search *pdb_search_groups(void);
struct pdb_search *pdb_search_aliases(const DOM_SID *sid);
uint32 pdb_search_entries(struct pdb_search *search, uint32 start_idx,
uint32 max_entries,
struct samr_displayentry **result);
void pdb_search_destroy(struct pdb_search *search);
Why this API? Eventually we will need to apply the work gd has started on
enumerating users with paged ldap searches to groups and aliases. Before doing
that I want to clean up the search routines we have.
The sample application (more to follow) is 'net maxrid'.
Volker
(This used to be commit
8b4f67a1e9d459145cde10b1064781d58d62b805)
Volker Lendecke [Sun, 10 Apr 2005 14:44:56 +0000 (14:44 +0000)]
r6275: Implement RAP version of enumusers/enumgroups level 0. No, I've not gone mad,
this is to test future changes to enumeration functions...
This can successfully list users from nt4 and w2k3sp1.
Volker
(This used to be commit
c73f2656fd89e227a8a3e2ab20f7393ff2c515c7)
Volker Lendecke [Sun, 10 Apr 2005 14:20:29 +0000 (14:20 +0000)]
r6273: Remove some unused code, minor cleanup
(This used to be commit
b451434e378e52e8ab6b932d7b26657ea9d0353c)
Jeremy Allison [Sun, 10 Apr 2005 06:57:55 +0000 (06:57 +0000)]
r6269: With help from Marcel Müller <mueller@maazl.de> in tracking down the bug,
fix trans2 and nttrans secondary packet processing. We were being too strict checking
the incoming packet (by 1 byte).
Jeremy.
(This used to be commit
3eea1ff4b7428325c7f304bcac61d6297209a4b8)
Jeremy Allison [Sun, 10 Apr 2005 04:27:14 +0000 (04:27 +0000)]
r6266: Add includes for sys/extattr.h and sys/uio.h for FreeBSD xattr code.
Jeremy.
(This used to be commit
695d45bcadbcc1528900255534be47f135160529)
Volker Lendecke [Sat, 9 Apr 2005 11:46:40 +0000 (11:46 +0000)]
r6263: Get rid of generate_wellknown_sids, they are const static and initializable
statically.
Volker
(This used to be commit
3493d9f383567d286e69c0e60c0708ed400a04d9)
Steve French [Sat, 9 Apr 2005 05:01:00 +0000 (05:01 +0000)]
r6262: Minor updates to cifs umount helper
(This used to be commit
cd8b93edc6d488ab6f6652ef533ce13e885b265b)
Jeremy Allison [Sat, 9 Apr 2005 00:50:12 +0000 (00:50 +0000)]
r6261: Tidyup message str printf. Ensure tvs struct is zeroed.
Jeremy.
(This used to be commit
6c9f227ef400f32def85268f411691b569d29889)
Jeremy Allison [Sat, 9 Apr 2005 00:41:38 +0000 (00:41 +0000)]
r6258: Fix found by OS/2 set_ea call. When setting specific info remember to terminate
once we've done that and not "break" into the generic file metadata set code.
Jeremy.
(This used to be commit
f1e12be9ed0ca0077bac8e5f32051758e1d84ad7)
Jeremy Allison [Fri, 8 Apr 2005 22:58:07 +0000 (22:58 +0000)]
r6256: Fix fprintf errors in smbpasswd. Fix for bug #2585 Ulf Härnhammar <metaur@telia.com>
Jeremy.
(This used to be commit
3dfa6c40fc726ddf38d4cfc6e0604ceed0035d18)
Steve French [Fri, 8 Apr 2005 22:46:31 +0000 (22:46 +0000)]
r6255: Initial checkin of cifs umount utility
(This used to be commit
8f7c36a6c442ce5030be546b761f807fd2fa8087)
Jeremy Allison [Fri, 8 Apr 2005 21:05:14 +0000 (21:05 +0000)]
r6253: Add FreeBSD EA API support. Bug #2576 - patch donated by Timur Bakeyev <timur@com.bat.ru>
Jeremy.
(This used to be commit
059a2e30c94f7bbcf01c1f4c5539f0b0f5ab0e09)
Jeremy Allison [Fri, 8 Apr 2005 19:21:41 +0000 (19:21 +0000)]
r6252: Re-order position of become_root() to allow directory to be
read first.
Jeremy.
(This used to be commit
9fa32282ebe78c3ecd433e8ece600881774560b7)
Jeremy Allison [Fri, 8 Apr 2005 17:04:59 +0000 (17:04 +0000)]
r6249: Get the comparison the right way around...
Jeremy.
(This used to be commit
1d542eee571b80259568d49bd5dc2eb14fd80d01)
Gerald Carter [Fri, 8 Apr 2005 04:13:19 +0000 (04:13 +0000)]
r6243: Yes. I *will* hate myself in the morning for this one.
I need to gather some more information to know if these
extra context id's may be used later. But for now,
pw changes via CTL+ALT+DEL from win2k3sp1 clients work.
(This used to be commit
e7189a4e4b2211ce396944559d38056fa5b57f65)
Gerald Carter [Thu, 7 Apr 2005 22:37:03 +0000 (22:37 +0000)]
r6242: after talking to jeremy, we can actually consolidate
the 2 BOOL flags in dfs_redirect() down to one since
they both are used in essentially the same context
(from what we can tell).
Tested Win98SE, WinXP sp 1 & 2, Win2k3 sp1, and WIn2k Sp4.
All dfs operations still seem to work.
(This used to be commit
59ffacf59c98f2f8277d76ec22712e438fd40618)
Jeremy Allison [Thu, 7 Apr 2005 20:59:37 +0000 (20:59 +0000)]
r6240: Fix for bug #2581. Add size limit (in kb) to stat cache.
Jeremy.
(This used to be commit
836b73d0018c3137b7a924b6345e69ae5d23431d)
Gerald Carter [Thu, 7 Apr 2005 19:43:19 +0000 (19:43 +0000)]
r6237: fix my breakage of WinXP sp2 msdfs support.
We did need the special case for RESOLVE_DFSPATH
in the findfirst() code.
Jeremy, please verify I haven't broken the allow_wcard
code you added to resolve_dfs_path()
(This used to be commit
29983398e2f7f1dc609d4d981e20f594918243bb)
Jeremy Allison [Thu, 7 Apr 2005 19:39:34 +0000 (19:39 +0000)]
r6235: Partial fix for bugid #2581. Ensure if realloc fails on an internal
tdb we fail gracefully.
Jeremy.
(This used to be commit
28772dfca1f9e7afd01f7ea522cb2e697c318e22)
Jeremy Allison [Thu, 7 Apr 2005 18:27:28 +0000 (18:27 +0000)]
r6234: Fix for possible root squash nfs bugs from psz@maths.usyd.edu.au
Jeremy.
(This used to be commit
dbf021a2e04e74dd7f072c927a34043fd8c3ae30)
Gerald Carter [Thu, 7 Apr 2005 04:58:38 +0000 (04:58 +0000)]
r6232: more cleanups; remove BUFFER3; rename BUFFER4 -> RPC_DATA_BLOB; rename REG_CREATE_VALE -> REG_SET_VALUE
(This used to be commit
28d433351cf813c7fb57ebac0e0f4973c85f73e8)
Gerald Carter [Thu, 7 Apr 2005 03:24:02 +0000 (03:24 +0000)]
r6231: Herb, I think this checkin was a mistake. Are you sure this is
what you meant to change?
Fix build breakage....
(This used to be commit
b3643b732ba35af6e329dbda82bb05da81e5da64)