Paul Green [Thu, 10 Nov 2005 20:32:00 +0000 (20:32 +0000)]
r11653: Declare the correct return value for the static initialization functions.
Some compilers (guess whose) have ABIs that return int values using a
different method than returning struct values.
(This used to be commit
6bf4d88ab584315312934c9866128fb47f8b41e6)
Gerald Carter [Thu, 10 Nov 2005 20:28:23 +0000 (20:28 +0000)]
r11652: Reinstate the netsamlogon_cache in order to work
around failed query_user calls. This fixes
logons to a member of a Samba domain as a user from a
trusted AD domain.
As per comments on samba-technical, I still need to add
(a) cache the PAC info as werll as NTLM net_user_info_3
(b) expire the cache when the SMB session goes away
Both Jeremy and Guenther have signed off on the idea.
(This used to be commit
0c2bb5ba7b92d9210e7fa9f7b70aa67dfe9faaf4)
Gerald Carter [Thu, 10 Nov 2005 19:50:09 +0000 (19:50 +0000)]
r11651: After talking to Jeremy, commit my winbindd "Do the Right Thing" patch.
Still needs some more testing ni domains with multiple DCs. Coming next....
(This used to be commit
aaed605206a8549cec575dab31e56bf6d32f26a6)
Gerald Carter [Thu, 10 Nov 2005 14:30:39 +0000 (14:30 +0000)]
r11645: mklogon updates from Ricky Nance
(This used to be commit
5bfa88225c085238954909fb9aedb34b1b760977)
Gerald Carter [Wed, 9 Nov 2005 19:37:13 +0000 (19:37 +0000)]
r11617: fix typo
(This used to be commit
37d2bf02f37f6d1b5bac9523f085c00625722761)
Jeremy Allison [Wed, 9 Nov 2005 19:35:23 +0000 (19:35 +0000)]
r11614: Replace old crc32 code with one from the FreeBSD tree.
* COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or
* code or tables extracted from it, as desired without restriction.
Jeremy.
(This used to be commit
11c6b8ecd601ff2f6eaf184efeed8e39f54fdcf1)
Gerald Carter [Wed, 9 Nov 2005 18:33:37 +0000 (18:33 +0000)]
r11613: fixing versions
(This used to be commit
b50a264f01c5af2d6cb0eed68b5292818ee06a59)
Gerald Carter [Wed, 9 Nov 2005 02:13:53 +0000 (02:13 +0000)]
r11591: bumping version 3.0.22pre1
(This used to be commit
c1a4329833de01456e0df4abbe7c43e97578ae6a)
Volker Lendecke [Tue, 8 Nov 2005 20:13:26 +0000 (20:13 +0000)]
r11585: Implement the possibility to have AFS users as SIDs in pts.
Volker
(This used to be commit
5b1b72ce7b944c7515a605369cb55a2f0171fe6f)
Derrell Lipman [Tue, 8 Nov 2005 18:23:51 +0000 (18:23 +0000)]
r11583: r10556@cabra: derrell | 2005-11-08 13:20:56 -0500
fix copy/paste error
(This used to be commit
07dd45af840d8336937d1004ff8bdbd97db8d0b7)
Derrell Lipman [Tue, 8 Nov 2005 18:23:47 +0000 (18:23 +0000)]
r11582: r10193@cabra: derrell | 2005-11-08 13:12:39 -0500
Fixed "clean" target -- bin/libmsrpc.a was not being deleted.
Jerry, the shared version of libmsrpc is not using a version number. For consistency, I added LIBMSRPC_MAJOR and LIBMSRPC_MINOR definitions but they are not
currently being used. I don't know if the non-use of version is intentional
or not.
(This used to be commit
b4871a552540169d615d2582a8d059296ad9085b)
Gerald Carter [Tue, 8 Nov 2005 18:22:32 +0000 (18:22 +0000)]
r11580: fix an uninitialized variable that was causing winbindd to die in winbindd_dual_getsidaliases()
(This used to be commit
c0c181826ea535adcbffb8790ad31356f7e9fc04)
Gerald Carter [Tue, 8 Nov 2005 16:33:45 +0000 (16:33 +0000)]
r11579: syncing up perf counter code cfrom trunk
(This used to be commit
59c00924b67aa3d37a933731a56d03963ec7f1b5)
Gerald Carter [Tue, 8 Nov 2005 16:29:15 +0000 (16:29 +0000)]
r11577: adding perl interpreter she-bang to top of parselog.pl script
(This used to be commit
db4eb72142a23224ea93d2a2519b6d8cd7dc8643)
Jeremy Allison [Tue, 8 Nov 2005 06:19:34 +0000 (06:19 +0000)]
r11573: Adding Andrew Bartlett's patch to make machine account
logons work if the client gives the MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT
or MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT flags. This changes
the auth module interface to 2 (from 1). The effect of this is
that clients can access resources as a machine account if they
set these flags. This is the same as Windows (think of a VPN
where the vpn client authenticates itself to a VPN server
using machine account credentials - the vpn server checks
that the machine password was valid by performing a machine
account check with the PDC in the same was as it would a
user account check. I may add in a restriction (parameter)
to allow this behaviour to be turned off (as it was previously).
That may be on by default.
Andrew Bartlett please review this change carefully.
Jeremy.
(This used to be commit
d1caef866326346fb191f8129d13d98379f18cd8)
Jeremy Allison [Mon, 7 Nov 2005 23:28:42 +0000 (23:28 +0000)]
r11566: From metze. Use "interpret_addr(lp_socket_address())" for port 138.
Jeremy.
(This used to be commit
d398a1aeb48422a89cee59d5760a87bbb2d50b03)
Jeremy Allison [Mon, 7 Nov 2005 19:18:00 +0000 (19:18 +0000)]
r11560: Fix core dump if setmntent returns NULL.
Pointed out by Jay Fanlason @ Red Hat.
Jeremy.
(This used to be commit
e8136ae746b5be51b252d900aa732c8106fefcaf)
Volker Lendecke [Mon, 7 Nov 2005 16:00:35 +0000 (16:00 +0000)]
r11556: Fix "make everything"
(This used to be commit
bff03f0cd484c04d5ab6d6b66f30191bef368b68)
Volker Lendecke [Mon, 7 Nov 2005 14:16:50 +0000 (14:16 +0000)]
r11551: Add a few more initialize_krb5_error_table
(This used to be commit
d92c83aa42fe64a0e996094d1a983f0279c7c707)
Gerald Carter [Mon, 7 Nov 2005 13:45:28 +0000 (13:45 +0000)]
r11549: fixing GPL notices
(This used to be commit
26e9c1c1fae8f2fe402374f7cf1d87de48852fa6)
Gerald Carter [Mon, 7 Nov 2005 13:43:06 +0000 (13:43 +0000)]
r11548: adding simple script to tail syslog and write to eventlog tdb
(This used to be commit
9337a286c9169e1e0247b5923942eeeb4467d95a)
Jeremy Allison [Sun, 6 Nov 2005 01:55:09 +0000 (01:55 +0000)]
r11530: Add the "time offset" parameter back in for people who
might use it.
Jeremy.
(This used to be commit
b745114423a482ea8cd1ea4f80ec3fc2a9caa971)
Jeremy Allison [Sat, 5 Nov 2005 04:21:55 +0000 (04:21 +0000)]
r11511: A classic "friday night check-in" :-). This moves much
of the Samba4 timezone handling code back into Samba3.
Gets rid of "kludge-gmt" and removes the effectiveness
of the parameter "time offset" (I can add this back
in very easily if needed) - it's no longer being
looked at. I'm hoping this will fix the problems people
have been having with DST transitions. I'll start comprehensive
testing tomorrow, but for now all modifications are done.
Splits time get/set functions into srv_XXX and cli_XXX
as they need to look at different timezone offsets.
Get rid of much of the "efficiency" cruft that was
added to Samba back in the day when the C library
timezone handling functions were slow.
Jeremy.
(This used to be commit
414303bc0272f207046b471a0364fa296b67c1f8)
Jeremy Allison [Sat, 5 Nov 2005 00:02:01 +0000 (00:02 +0000)]
r11508: Removed incorrect patch hunk. Thanks to Andrew
Bartlett for pointing this out.
Jeremy.
(This used to be commit
c93a08be4a29854354a16c6e8f984477e19f41c0)
Jeremy Allison [Fri, 4 Nov 2005 17:40:35 +0000 (17:40 +0000)]
r11506: Added description of ACL in usage message.
Jeremy.
(This used to be commit
7795fce24e1e6dfe55360bb62617b922973f5f95)
Jeremy Allison [Fri, 4 Nov 2005 17:39:42 +0000 (17:39 +0000)]
r11504: Added Andrew Bartletts removal of another NTLMSSP implementation
patch.
Jeremy.
(This used to be commit
4591984176fd32ba25155fbc6889a1c637019a08)
Jeremy Allison [Fri, 4 Nov 2005 01:21:46 +0000 (01:21 +0000)]
r11494: Finally fix #3192 - remember iDiskfreeCacheTime is
an *integer*, not a pointer. Doh !
Jeremy.
(This used to be commit
f1e0c863637f11f5857663d1980ba7f40fce7357)
Jeremy Allison [Fri, 4 Nov 2005 00:03:55 +0000 (00:03 +0000)]
r11492: Fix bug #3224 (I hope). Correctly use machine_account_name
and client_name when doing netlogon credential setup.
Jeremy.
(This used to be commit
37e6ef9389041f58eada167239fd022f01c5fecb)
Jeremy Allison [Thu, 3 Nov 2005 20:26:24 +0000 (20:26 +0000)]
r11491: If we get a reject ensure we're printing out the server/domain/machine
a/c we were asking for.
Jeremy.
(This used to be commit
3ba5d02cff61d64dbab1fef28f74ea6509f4f8e9)
Jeremy Allison [Wed, 2 Nov 2005 20:32:11 +0000 (20:32 +0000)]
r11482: Arrg. Can't believe this code was in this state. If you
don't initialize the mask then setting "special" access
gets set to *random* permissions !
Jeremy.
(This used to be commit
f1616911a858886da0a635a2f9b95d471215e84c)
Jeremy Allison [Wed, 2 Nov 2005 02:35:48 +0000 (02:35 +0000)]
r11464: Allow smbcacls to modify a SD on W2K3. This may fix several
bugzilla bugs - I need to go through and check. I also
need to test against WNT/W2K and WXP.
Jeremy.
(This used to be commit
881dd7dbf6de0e11a3703afd2a1ba286ff0d62ad)
Jeremy Allison [Wed, 2 Nov 2005 02:13:08 +0000 (02:13 +0000)]
r11460: Improve error messages in parsing security descriptors.
Jeremy.
(This used to be commit
385f128de716b62bdfc82627a403fe6dd69bd39d)
Jeremy Allison [Wed, 2 Nov 2005 00:37:35 +0000 (00:37 +0000)]
r11454: Last 2 uninitialized warnings.
Jeremy.
(This used to be commit
5f10368ff0f5eae646533280a444dc091d732c0d)
Jeremy Allison [Wed, 2 Nov 2005 00:19:26 +0000 (00:19 +0000)]
r11451: Fix -O1 "might be using uninitialized" errors.
Jeremy.
(This used to be commit
cab76c3c33883aad444eefb6562ab1b27d9ca88a)
Jeremy Allison [Tue, 1 Nov 2005 23:49:40 +0000 (23:49 +0000)]
r11448: Move decl before code.
Jeremy.
(This used to be commit
f22822790cdbbe7d5a237421c1eda73a504e488d)
Jeremy Allison [Tue, 1 Nov 2005 23:29:02 +0000 (23:29 +0000)]
r11446: Remove unused fn. Remove unneeded strncpy use.
Jeremy.
(This used to be commit
d202aae3c821f3d78ff063d867bac1f84dca3548)
Jeremy Allison [Tue, 1 Nov 2005 19:24:55 +0000 (19:24 +0000)]
r11443: Fix error code returns on client spoolss code. Fix them
up a *lot*.
Jeremy.
(This used to be commit
762fff4ddb505b90ada1ea54348dba1a8b9af631)
Jeremy Allison [Tue, 1 Nov 2005 02:07:26 +0000 (02:07 +0000)]
r11435: Allow the hash size of the tdb open (locking) database
to be set in local.h. Change from the default (131) to
another prime (1049). Should this be an smb.conf tunable parameter
based on the number of open file descriptors available ?
If so what scaling factor ? More tests to follow.
Jeremy.
(This used to be commit
6a902ec49ffea5d0ca0308d5ff51584cece41043)
Jeremy Allison [Mon, 31 Oct 2005 23:47:57 +0000 (23:47 +0000)]
r11433: Fix for bug #3223 - ensure we're root before doing
any potential lib/smbldap.c calls.
Jeremy.
(This used to be commit
915cfb48f08b3748e22e68ed028eaca6d558cbad)
Jeremy Allison [Mon, 31 Oct 2005 22:30:05 +0000 (22:30 +0000)]
r11428: Fix bug #3192 by actually hooking up the dfree caching
function. Oops.
Jeremy.
(This used to be commit
7edb26e7657fc01710abe563b941779749409ef2)
Jeremy Allison [Mon, 31 Oct 2005 20:11:58 +0000 (20:11 +0000)]
r11420: Fix issue pointed out by Dina Fine <dina@exanet.com>. We can
only tell at parse time from the wire if an incoming name
has wildcards or not. If it's a mangled name and we demangle
the demangled name may contain wildcard characters. Ensure
these are ignored.
Jeremy.
(This used to be commit
4cd8e2a96b98ff711905e8c6f416b22440c16062)
Simo Sorce [Sat, 29 Oct 2005 13:31:57 +0000 (13:31 +0000)]
r11398: Keep s3 in sync with trunk
(This used to be commit
7fc05b79643c93eaf0ef028a7337889ed21c52ba)
Simo Sorce [Sat, 29 Oct 2005 13:19:27 +0000 (13:19 +0000)]
r11395: Update the Debian packaging.
Move form stable to stable distribution names based hives.
(This used to be commit
bb13b3482047b6ab6d84ba9e2839cf8a0fac71aa)
Jeremy Allison [Sat, 29 Oct 2005 00:27:16 +0000 (00:27 +0000)]
r11389: Attempt to fix bug #3212 - ignore bogus OS/2 EA set values on
trans2_mkdir/trans2_open/trans2_setfilepathingo.
Jeremy.
(This used to be commit
71c037dfbb0b51e750f2e14533b03d9932778cb0)
Jeremy Allison [Fri, 28 Oct 2005 22:22:23 +0000 (22:22 +0000)]
r11383: Patch from Alex Masterov <alex@infobit.ru> to fix
XATTR calls on *BSD systems (bug #3218).
Jeremy.
(This used to be commit
3d8faf42e854a720aca5c2e0a4682c85a3dfd365)
Volker Lendecke [Fri, 28 Oct 2005 21:08:31 +0000 (21:08 +0000)]
r11381: Correctly connect to 445 and 139 after a successful getdcname.
Volker
(This used to be commit
440e7b3342e6b7b12208b789853962de72a9cac2)
Jeremy Allison [Fri, 28 Oct 2005 20:36:21 +0000 (20:36 +0000)]
r11379: Remove external dependencies from sharemodes library.
Jeremy.
(This used to be commit
7fb05872612c9e1816ac24d25a020073e3b41950)
Paul Green [Fri, 28 Oct 2005 16:17:46 +0000 (16:17 +0000)]
r11375: Update to the latest config.guess and config.sub files.
(This used to be commit
eee397ea15d0804d541be9707158a5240996aeae)
Volker Lendecke [Fri, 28 Oct 2005 09:15:27 +0000 (09:15 +0000)]
r11368: Remove a memleak that just cost me half an hour: If we terminate inside a
message handler, the list of messages from retrieve_all_messages is not
properly freed. Not important, just confusing :-)
Volker
(This used to be commit
d20388750dcfe7e0680246f7e3e6beb3a6d51a4a)
Jeremy Allison [Fri, 28 Oct 2005 01:42:03 +0000 (01:42 +0000)]
r11346: Fix for bug found by Dina Fine. If in case sensitive mode then
the mangle cache is no good (3 letter extension could be wrong
case - so don't demangle in this case - leave as mangled and
allow the mangling of the directory entry read (which is done
case insensitively) to match instead. This will lead to more
false positive matches but we fail completely without it.
Jeremy.
(This used to be commit
238b35d2e6e21d0e07d500d446f08ec128ea7720)
Jeremy Allison [Thu, 27 Oct 2005 23:30:25 +0000 (23:30 +0000)]
r11344: I don't think share mode conflicts occur on deleting
a directory when you've got permissions. Need to write
a smbtorture test for this.
Jeremy.
(This used to be commit
e959a5be393eb59b8987eb6967a2ee5d11978f41)
Jeremy Allison [Thu, 27 Oct 2005 22:35:08 +0000 (22:35 +0000)]
r11341: Put directory opens into the share mode db so we
can treat them similarly to file opens (delete on
close, share mode violations etc.). This fixes bug
#3216 I will up the default hash size on the locking
db in a later commit as this means more entries.
Jeremy.
(This used to be commit
1134abbbb3fd8e8b88e1a5817aae106476a4c126)
Jeremy Allison [Thu, 27 Oct 2005 18:25:41 +0000 (18:25 +0000)]
r11338: Move knowledge of \\ needed into rpc_client/cli_netlogon
(this is the way it's been done in other functions). Instead
of moving this into the IDL, I think the best solution would
be to write a wrapper function around any call that needs
this (this is what we already do for many of the calls).
Jeremy.
(This used to be commit
aeca4efa11728be53b81967bb5442b5b09d1a975)
Jeremy Allison [Thu, 27 Oct 2005 18:06:29 +0000 (18:06 +0000)]
r11336: Start to get my control back :-). Volker, I think
Andrew Bartlett is right - making lsa code do it the
netlogon way, not vica-versa.
Jeremy.
(This used to be commit
f313757e36215cb3dd956e4a73de6d30258a6974)
Gerald Carter [Thu, 27 Oct 2005 13:30:23 +0000 (13:30 +0000)]
r11332: eventlog API uses NTSTATUS, not WERROR for return codes
(This used to be commit
f5f40633bc3f641a0fef4934375d0d829899b0d7)
Volker Lendecke [Thu, 27 Oct 2005 12:51:24 +0000 (12:51 +0000)]
r11328: Actually verify that the bind on a pipe succeeded with a samr_connect or
lsa_openpolicy and fall back appropriately. In particular an ntlmssp bind
failure can not be detected before the first real rpc request, at least
according to abartlet :-)
Works for me against w2k3, w2k and nt4. Sooner or later I should test against
samba4 ... :-)
Volker
(This used to be commit
48a9e35208ae7b6271508085f59833e5def640e8)
Volker Lendecke [Thu, 27 Oct 2005 12:47:06 +0000 (12:47 +0000)]
r11327: Make user domain settable by pdbedit
(This used to be commit
37267d5ab018bb6df9e297ea68e57deb9a908f28)
Volker Lendecke [Thu, 27 Oct 2005 12:45:10 +0000 (12:45 +0000)]
r11326: Fix alignment in getdc response
(This used to be commit
9741818d2c54240ef1f38762396828adceb92b2a)
Volker Lendecke [Thu, 27 Oct 2005 11:16:36 +0000 (11:16 +0000)]
r11324: Re-formatting before I can get a very *narrow* focus on the bugs in here. ;-)
We can only tell if the bind succeeded on the first real RPC call. So we have
to decide according to success of samrconnect whether we have to fall
back. Similarly for lsaopenpolicy.
Volker
(This used to be commit
0603e1c8456ee87b87b051e0303a35fdbfbcf7ca)
Volker Lendecke [Thu, 27 Oct 2005 11:01:29 +0000 (11:01 +0000)]
r11323: Fix usage of rpccli_netlogon_getdcname. Add some debug messages.
Volker
(This used to be commit
770ad2a8a72ae7bfcdc1b86b72142e11f662d975)
Volker Lendecke [Thu, 27 Oct 2005 08:27:48 +0000 (08:27 +0000)]
r11320: Fix error handling for rpccli_netlogon_getdcname. Jeremy, the other functions
in cli_netlogon look similarly suspicious.
Volker
(This used to be commit
8d7713431efd80bd358daffcbbc4d715611b8b4b)
Volker Lendecke [Thu, 27 Oct 2005 07:57:39 +0000 (07:57 +0000)]
r11319: read_buf_len and write_buf_len are no longer used, remove them.
Volker
(This used to be commit
6948f748f689708c396e52097553ff222b1af744)
Gerald Carter [Wed, 26 Oct 2005 13:44:46 +0000 (13:44 +0000)]
r11301: why would you look for printf in -lnsl[_s]? Fixing configure checks
(This used to be commit
c495059de1675676fe4d9a87ce516a54f16e9c66)
Gerald Carter [Tue, 25 Oct 2005 14:56:22 +0000 (14:56 +0000)]
r11296: removing unused variable and ifdef'd out code
(This used to be commit
88a33c4cf87ada17637579d9261471c219e88de0)
Gerald Carter [Tue, 25 Oct 2005 14:54:41 +0000 (14:54 +0000)]
r11295: new service hashing code has assumign that the service
name stored in the array was normalized. This was causing
records to not be deleted on a reload. As a result,
I was getting the wrong path for various services.
Seems to be ok after this change.
Also converted canonicalize_servicename() to just
use strupper_m() rather than doing the conversion itself.
Jeremy, i think this should be ok but please check.
also cleaned up some things in the hash service code
and added debug messages for sanity purposes.
(This used to be commit
e0bf0581f0aaf1505f653f2101eed61352d03da8)
Gerald Carter [Tue, 25 Oct 2005 12:49:24 +0000 (12:49 +0000)]
r11292: Missed merge from Samba 2.2 many years ago....
Don't count open pipes in the num_files_open on a connection.
conn_idle_all() handles this by looking for open rpc handles
If there are no open handles, we can close the IPC$ share.
(This used to be commit
747fba4dbf06c42495c430cd78c1cded3445f821)
Volker Lendecke [Tue, 25 Oct 2005 09:42:22 +0000 (09:42 +0000)]
r11286: Fix a potential segfault
(This used to be commit
f4c310d55624ab726e3cdc49dcc69f9162c797aa)
Jeremy Allison [Tue, 25 Oct 2005 05:26:53 +0000 (05:26 +0000)]
r11283: Move to using sival_int from sival_ptr. Part of bug #2922.
Jeremy.
(This used to be commit
f68ff32630ee3b06b69bac59674ecc1496880a47)
Gerald Carter [Mon, 24 Oct 2005 16:55:26 +0000 (16:55 +0000)]
r11280: BUG 3201: make sure request structure is cleared prior to sending the request to winbindd (prevents the WB_RECURSE flags from accidentially getting set
(This used to be commit
8c63d6d8a7f50d9a101117338242a9c8b243b43f)
Gerald Carter [Mon, 24 Oct 2005 14:11:16 +0000 (14:11 +0000)]
r11275: patch from Chris to remove the empty struct in libmsrpc.h (fix build with Sun compiler)
(This used to be commit
dd28582efbacd02c4134298be000cd2338c822ad)
Jeremy Allison [Sun, 23 Oct 2005 19:00:40 +0000 (19:00 +0000)]
r11269: Ensure the new canonicalize_servicename() is mb safe.
MB service names may contain embedded ' ' characters.
Jeremy.
(This used to be commit
83d0cda858de5f40ab652e1f438808a3bfac0f81)
Volker Lendecke [Sun, 23 Oct 2005 16:29:02 +0000 (16:29 +0000)]
r11266: Speed up loading smb.conf for large numbers of share definitions. The problem
was a O(n^2) loop: Whenever a service definition was found, we linearly
searched the already loaded share definitions, the patch adds an internal tdb
for this. For a smb.conf with 2000 shares this speeds up loading by about a
factor of 50.
Might be a fix for bug #1117.
Thanks to Michael Adam <ma@sernet.de>,
Volker
(This used to be commit
d07343e0c4022d753f381d368fc0f03972a070f3)
Jeremy Allison [Fri, 21 Oct 2005 22:48:27 +0000 (22:48 +0000)]
r11256: Remove use of long long and strtoll in libsmbclient (we
can't assume long long is always there). Removed unused
var in new a/c rename code.
long long still used in eventlog code but Jerry has promised
to fix that.
Jeremy.
(This used to be commit
f46d8470652b8bc5c4b8cac8e96973c6165ab19a)
Volker Lendecke [Fri, 21 Oct 2005 21:46:49 +0000 (21:46 +0000)]
r11253: Fix an annoying timeout when no nmbd is around
(This used to be commit
10fb32ec52b32b72a46a783b73c6dd1f24625d9b)
Volker Lendecke [Fri, 21 Oct 2005 21:25:26 +0000 (21:25 +0000)]
r11251: Fix a comment
(This used to be commit
1ce6d12898c6f24c83e54561862735586b5a41b4)
Günther Deschner [Fri, 21 Oct 2005 12:50:39 +0000 (12:50 +0000)]
r11242: use LDAP bitwise machting rule when searching for groups in ADS.
This avoids that each time a full-group-dump is requested from ADS; the
bitwise match allows to only query those groups we are interested in.
The ADS LDAP server changed to RFC compliant behaviour when decoding the ldap
filter with extensible match in the latest SPs (fixes). From the patch:
/* Workaround ADS LDAP bug present in MS W2K3 SP0 and W2K SP4 w/o
* rollup-fixes:
*
* According to Section 5.1(4) of RFC 2251 if a value of a type is it's
* default value, it MUST be absent. In case of extensible matching the
* "dnattr" boolean defaults to FALSE and so it must be only be present
* when set to TRUE.
*
* When it is set to FALSE and the OpenLDAP lib (correctly) encodes a
* filter using bitwise matching rule then a buggy AD fails to decode
* the extensible match. As a workaround set it to TRUE and thereby add
* the dnAttributes "dn" field to cope with those older AD versions.
* It should not harm and won't put any additional load on the AD since
* none of the dn components have a bitmask-attribute.
*
* Thanks to Ralf Haferkamp for input and testing */
Guenther
(This used to be commit
db38ed6be607d08515920d46fb8a12f8cb4ddd6e)
Gerald Carter [Fri, 21 Oct 2005 02:14:23 +0000 (02:14 +0000)]
r11240: * fix invalid read reported by valgrind in the
spoolss backchannel connection by rewriting
spoolss_connect_to_client(). Ensure that we
save the cli_state* in the rpc_pipe_client struct.
* fix typo in debug message in cli_start_connection"
(This used to be commit
18400f96628ffdd332c2fb2aa52b5e9aee5cb3ce)
Jeremy Allison [Thu, 20 Oct 2005 21:10:05 +0000 (21:10 +0000)]
r11237: Fix acl evaluation bug found by Marc Cousin <mcousin@sigma.fr>
We should only check the S_IWGRP permissions if we haven't already
seen an owning group SMB_ACL_GROUP_OBJ ace entry. If there is an
SMB_ACL_GROUP_OBJ ace entry then the group bits in st_gid are
the same as the SMB_ACL_MASK bits, not the SMB_ACL_GROUP_OBJ
bits. Thanks to Marc Cousin <mcousin@sigma.fr> for pointing
this out.
Jeremy.
(This used to be commit
7e1318e09bd4b155707020142b08776a546a646e)
Jim McDonough [Thu, 20 Oct 2005 20:40:47 +0000 (20:40 +0000)]
r11236: Implement user rename for smbpasswd and ldap backends. Some cleanup on
tdb as well to make naming consistent.
(This used to be commit
ee91eb9a39cc5e3edd9e97eb040e7557930e4e62)
Gerald Carter [Thu, 20 Oct 2005 20:26:11 +0000 (20:26 +0000)]
r11235: fix segfault in addprinter due to mixing talloc() and malloc()'d memory
(This used to be commit
f6f78877b485be5efd5cf1f3147b2e9fee647e52)
Jeremy Allison [Thu, 20 Oct 2005 18:15:44 +0000 (18:15 +0000)]
r11233: Forgot to add the statvfs file. Oops.
Jeremy.
(This used to be commit
797b9f47e98bed500dc3dd6ec8de51a0ec3e2bd7)
Jeremy Allison [Thu, 20 Oct 2005 17:33:17 +0000 (17:33 +0000)]
r11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.
Jeremy.
(This used to be commit
af8545806770a7530eecc184bdd230ca14999884)
Jim McDonough [Thu, 20 Oct 2005 16:07:36 +0000 (16:07 +0000)]
r11230: Remove the '//' i was using to test something...oops
(This used to be commit
cda5a81bbe52308a81a79eb0354aea63027a9701)
Jim McDonough [Thu, 20 Oct 2005 16:05:12 +0000 (16:05 +0000)]
r11229: an even bigger speedup spotted by Volker. string_to_sid() is now taking 1/5th
the time it used to. Replace strcasecmp with invididual char checks for
"S-" sid prefix.
(This used to be commit
de3d0094b78cb20da7ed958e8d3a428583694309)
Jim McDonough [Thu, 20 Oct 2005 15:09:41 +0000 (15:09 +0000)]
r11228: Speed up string_to_sid by removing next_token calls, thus eliminating
the need for allocating memory to duplicate the string.
(This used to be commit
e5cc94f13ff2dacb219c8a56fa13853d620ecda6)
Gerald Carter [Thu, 20 Oct 2005 14:29:24 +0000 (14:29 +0000)]
r11227: patch from brian moran to fix typo in eventlog message file registry value name
(This used to be commit
34c3fd77b320d4fe5e0f1452aa09ea5ec2797494)
Lars Müller [Thu, 20 Oct 2005 12:58:40 +0000 (12:58 +0000)]
r11224: Add feature to get our configuration from config.log into installman.sh.
This allows us to install for example smbsh.1 only if SMBWRAPPER is set.
Removed also one rm call as we copy and do not append to the same file
in the next step. There is no file permission risk as we chmod 0644 in
any case later.
Replaced one basename call by shell substitution.
(This used to be commit
3944dfbff4f7f951d35e7893f7ab56ed2e9d76b0)
Günther Deschner [Thu, 20 Oct 2005 08:13:00 +0000 (08:13 +0000)]
r11213: Fix the build
Guenther
(This used to be commit
908ac0c9eccd1ba368a6305fee9673770fc74a53)
Jeremy Allison [Wed, 19 Oct 2005 20:02:12 +0000 (20:02 +0000)]
r11190: Fix enhancement request #3192.
This does 2 things.
1). Makes dfree command a per-share parameter (it should be anyway IMHO).
2). Adds a "dfree cache time" parameter in seconds that specifies how long a
dfree command output should be cached for. Default is zero (no caching).
Jeremy.
(This used to be commit
49ef8b88a3e12883148eb28d8e86fb07dbc3d12d)
Günther Deschner [Wed, 19 Oct 2005 14:34:17 +0000 (14:34 +0000)]
r11183: add small helper function to return a PAC_LOGON_INFO.
Guenther
(This used to be commit
a8d5d6b845efb62e73e281549528376f3ee74211)
Gerald Carter [Wed, 19 Oct 2005 02:50:45 +0000 (02:50 +0000)]
r11170: root free pass on eventlog open access check
(This used to be commit
4e3ff41e1ee2e3c323814fd8c6aa44ecab412257)
Gerald Carter [Tue, 18 Oct 2005 22:50:24 +0000 (22:50 +0000)]
r11169: removing duplicate 'map read only' entry
(This used to be commit
0e60813ed0d5c56c44a371d84275d1944bade770)
Gerald Carter [Tue, 18 Oct 2005 21:24:42 +0000 (21:24 +0000)]
r11167: -lsec should be include in $ACL_LIBS and not $LIBS on solaris
(This used to be commit
056bf816284a473b8419fccf62a54813317043b7)
Gerald Carter [Tue, 18 Oct 2005 21:22:49 +0000 (21:22 +0000)]
r11166: missed a specfile fix for redhat
(This used to be commit
178016e7a7e470406ee4e35dcb53fa8d0a2d1c19)
Gerald Carter [Tue, 18 Oct 2005 19:34:42 +0000 (19:34 +0000)]
r11165: deparate the library install commands from the logic of whether to build the library at all. Still needs some more cleanup but this works for now
(This used to be commit
df998bfa8e00a736250eb5a7b31ed53abd6a4241)
Gerald Carter [Tue, 18 Oct 2005 19:32:19 +0000 (19:32 +0000)]
r11164: solaris packaging fixes
(This used to be commit
6a7b8d0d7d071c8f52f9b24f94d488a9ce191e93)
Gerald Carter [Tue, 18 Oct 2005 18:55:29 +0000 (18:55 +0000)]
r11163: fix installation of libmsrpc
(This used to be commit
2f94df322232ace14cddc8e24c8949a5ed1fad32)
Gerald Carter [Tue, 18 Oct 2005 18:26:43 +0000 (18:26 +0000)]
r11161: another regression from merge; make sure to build vfs_full_audit modulebranches/SAMBA_3_0_RELEASE/source/configure.in
(This used to be commit
19e0e48ce09eebc21b800b6ecf13c6f42dfe27f3)
Jeremy Allison [Tue, 18 Oct 2005 18:17:45 +0000 (18:17 +0000)]
r11159: Added some const to fix warnings.
Jeremy.
(This used to be commit
de27b0eef2eb021f28e8bf300c4dd524e30fc7ed)
Gerald Carter [Tue, 18 Oct 2005 18:12:42 +0000 (18:12 +0000)]
r11158: more RedHat spec file fixes; I think this is the last one for 3.0.21pre1
(This used to be commit
2a19033c14adc304ff6b63c248841bab340ba19b)