ira/wip.git
16 years agor11395: Update the Debian packaging.
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)

16 years agor11389: Attempt to fix bug #3212 - ignore bogus OS/2 EA set values on
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)

16 years agor11383: Patch from Alex Masterov <alex@infobit.ru> to fix
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)

16 years agor11381: Correctly connect to 445 and 139 after a successful getdcname.
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)

16 years agor11379: Remove external dependencies from sharemodes library.
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)

16 years agor11375: Update to the latest config.guess and config.sub files.
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)

16 years agor11368: Remove a memleak that just cost me half an hour: If we terminate inside a
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)

16 years agor11346: Fix for bug found by Dina Fine. If in case sensitive mode then
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)

16 years agor11344: I don't think share mode conflicts occur on deleting
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)

16 years agor11341: Put directory opens into the share mode db so we
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)

16 years agor11338: Move knowledge of \\ needed into rpc_client/cli_netlogon
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)

16 years agor11336: Start to get my control back :-). Volker, I think
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)

16 years agor11332: eventlog API uses NTSTATUS, not WERROR for return codes
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)

16 years agor11328: Actually verify that the bind on a pipe succeeded with a samr_connect or
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)

16 years agor11327: Make user domain settable by pdbedit
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)

16 years agor11326: Fix alignment in getdc response
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)

16 years agor11324: Re-formatting before I can get a very *narrow* focus on the bugs in here...
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)

16 years agor11323: Fix usage of rpccli_netlogon_getdcname. Add some debug messages.
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)

16 years agor11320: Fix error handling for rpccli_netlogon_getdcname. Jeremy, the other functions
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)

16 years agor11319: read_buf_len and write_buf_len are no longer used, remove them.
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)

16 years agor11301: why would you look for printf in -lnsl[_s]? Fixing configure checks
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)

16 years agor11296: removing unused variable and ifdef'd out code
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)

16 years agor11295: new service hashing code has assumign that the service
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)

16 years agor11292: Missed merge from Samba 2.2 many years ago....
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)

16 years agor11286: Fix a potential segfault
Volker Lendecke [Tue, 25 Oct 2005 09:42:22 +0000 (09:42 +0000)]
r11286: Fix a potential segfault
(This used to be commit f4c310d55624ab726e3cdc49dcc69f9162c797aa)

16 years agor11283: Move to using sival_int from sival_ptr. Part of bug #2922.
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)

16 years agor11280: BUG 3201: make sure request structure is cleared prior to sending the request...
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)

16 years agor11275: patch from Chris to remove the empty struct in libmsrpc.h (fix build with...
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)

16 years agor11269: Ensure the new canonicalize_servicename() is mb safe.
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)

16 years agor11266: Speed up loading smb.conf for large numbers of share definitions. The problem
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)

16 years agor11256: Remove use of long long and strtoll in libsmbclient (we
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)

16 years agor11253: Fix an annoying timeout when no nmbd is around
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)

16 years agor11251: Fix a comment
Volker Lendecke [Fri, 21 Oct 2005 21:25:26 +0000 (21:25 +0000)]
r11251: Fix a comment
(This used to be commit 1ce6d12898c6f24c83e54561862735586b5a41b4)

16 years agor11242: use LDAP bitwise machting rule when searching for groups in ADS.
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)

16 years agor11240: * fix invalid read reported by valgrind in the
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)

16 years agor11237: Fix acl evaluation bug found by Marc Cousin <mcousin@sigma.fr>
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)

16 years agor11236: Implement user rename for smbpasswd and ldap backends. Some cleanup on
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)

16 years agor11235: fix segfault in addprinter due to mixing talloc() and malloc()'d memory
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)

16 years agor11233: Forgot to add the statvfs file. Oops.
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)

16 years agor11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.
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)

16 years agor11230: Remove the '//' i was using to test something...oops
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)

16 years agor11229: an even bigger speedup spotted by Volker. string_to_sid() is now taking...
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)

16 years agor11228: Speed up string_to_sid by removing next_token calls, thus eliminating
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)

16 years agor11227: patch from brian moran to fix typo in eventlog message file registry value...
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)

16 years agor11224: Add feature to get our configuration from config.log into installman.sh.
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)

16 years agor11213: Fix the build
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)

16 years agor11190: Fix enhancement request #3192.
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)

16 years agor11183: add small helper function to return a PAC_LOGON_INFO.
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)

16 years agor11170: root free pass on eventlog open access check
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)

16 years agor11169: removing duplicate 'map read only' entry
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)

16 years agor11167: -lsec should be include in $ACL_LIBS and not $LIBS on solaris
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)

16 years agor11166: missed a specfile fix for redhat
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)

16 years agor11165: deparate the library install commands from the logic of whether to build...
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)

16 years agor11164: solaris packaging fixes
Gerald Carter [Tue, 18 Oct 2005 19:32:19 +0000 (19:32 +0000)]
r11164: solaris packaging fixes
(This used to be commit 6a7b8d0d7d071c8f52f9b24f94d488a9ce191e93)

16 years agor11163: fix installation of libmsrpc
Gerald Carter [Tue, 18 Oct 2005 18:55:29 +0000 (18:55 +0000)]
r11163: fix installation of libmsrpc
(This used to be commit 2f94df322232ace14cddc8e24c8949a5ed1fad32)

16 years agor11161: another regression from merge; make sure to build vfs_full_audit modulebranch...
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)

16 years agor11159: Added some const to fix warnings.
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)

16 years agor11158: more RedHat spec file fixes; I think this is the last one for 3.0.21pre1
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)

16 years agor11156: Remove valgrind disabling ifdef that got added by mistake.
Jeremy Allison [Tue, 18 Oct 2005 18:08:23 +0000 (18:08 +0000)]
r11156: Remove valgrind disabling ifdef that got added by mistake.
Jeremy.
(This used to be commit fc9eca51e02022ccffbad2a4f2450f85e558e151)

16 years agor11155: Remove warning in torturous logic.
Jeremy Allison [Tue, 18 Oct 2005 18:02:37 +0000 (18:02 +0000)]
r11155: Remove warning in torturous logic.
Jeremy.
(This used to be commit c7373b39bae6dca8281d45d1ff3f2161465838df)

16 years agor11152: fix some regressions caused by the trunk->3.0 merge when install docs with...
Gerald Carter [Tue, 18 Oct 2005 17:20:50 +0000 (17:20 +0000)]
r11152: fix some regressions caused by the trunk->3.0 merge when install docs with SWAT
(This used to be commit e3c68738663701fde21baef03c36de303e7f1636)

16 years agor11150: fix solaris acl linking problem on sunos5.9; not quite sure how this got...
Gerald Carter [Tue, 18 Oct 2005 16:05:34 +0000 (16:05 +0000)]
r11150: fix solaris acl linking problem on sunos5.9; not quite sure how this got broken
(This used to be commit 490dbc64f7ae2006624039da6b450ba4aca56dd4)

16 years agor11147: Fedora packaging fixes for libmsrpc
Gerald Carter [Tue, 18 Oct 2005 15:50:33 +0000 (15:50 +0000)]
r11147: Fedora packaging fixes for libmsrpc
(This used to be commit b4af105b859c0e20c89c3d8a12f1b30f85583312)

16 years agor11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4
Jeremy Allison [Tue, 18 Oct 2005 03:24:00 +0000 (03:24 +0000)]
r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4
x86_64 box.
Jeremy.
(This used to be commit d720867a788c735e56d53d63265255830ec21208)

16 years agor11136: patches from Brian Moran for eventlogadm utility
Gerald Carter [Tue, 18 Oct 2005 03:21:59 +0000 (03:21 +0000)]
r11136: patches from Brian Moran for eventlogadm utility
(This used to be commit 47b626a8f72629fd1bbabf35b68e24d202df2555)

16 years agor11135: should fix seg fault in addprinter code reported by Marcin. Allocate memory...
Gerald Carter [Tue, 18 Oct 2005 02:37:13 +0000 (02:37 +0000)]
r11135: should fix seg fault in addprinter code reported by Marcin.  Allocate memory in convert_printer_info() if necessary
(This used to be commit 7ada5da8e94a08a9a3e488172fa04ce688882299)

16 years agor11133: updating maintainers file
Gerald Carter [Tue, 18 Oct 2005 02:36:01 +0000 (02:36 +0000)]
r11133: updating maintainers file
(This used to be commit 57b038c630ad2008814ccde917886f30c8a73ac1)

16 years agor11131: updating indent resource file from trunk
Gerald Carter [Tue, 18 Oct 2005 02:33:07 +0000 (02:33 +0000)]
r11131: updating indent resource file from trunk
(This used to be commit 6f32785bcdb99a630e7c94e3f03275c1ca324b11)

16 years agor11130: r10092@cabra: derrell | 2005-10-17 15:29:03 -0400
Derrell Lipman [Mon, 17 Oct 2005 19:29:11 +0000 (19:29 +0000)]
r11130:  r10092@cabra:  derrell | 2005-10-17 15:29:03 -0400
 let's now actually add the new test file
(This used to be commit b58237f98d924752a45f689d7a9fd2e8e447c100)

16 years agor11129: r10090@cabra: derrell | 2005-10-17 15:26:27 -0400
Derrell Lipman [Mon, 17 Oct 2005 19:27:19 +0000 (19:27 +0000)]
r11129:  r10090@cabra:  derrell | 2005-10-17 15:26:27 -0400
 added example to read a file and test download time
(This used to be commit 4fad0c49b5bf7819d0f9782b60369c5d078c5854)

16 years agor11127: patch from S Murthy Kambhampaty <smk_va@yahoo.com> to not start nmbd is ...
Gerald Carter [Mon, 17 Oct 2005 17:10:44 +0000 (17:10 +0000)]
r11127: patch from S Murthy Kambhampaty <smk_va@yahoo.com> to not start nmbd is 'disable netbios = yes'
(This used to be commit decaf8da598b09ea4c5382dc1f6c4be1664e20c7)

16 years agor11126: adding libmsrpc to solaris, redhat, and fedora packaging
Gerald Carter [Mon, 17 Oct 2005 16:58:53 +0000 (16:58 +0000)]
r11126: adding libmsrpc to solaris, redhat, and fedora packaging
(This used to be commit c3bb9f6514eba302929bb7c8edea396a547bdf28)

16 years agor11125: remove unused variables
Gerald Carter [Mon, 17 Oct 2005 16:55:23 +0000 (16:55 +0000)]
r11125: remove unused variables
(This used to be commit d404919d926be6bc4e21d7d5aaf2dfe795ba2726)

16 years agor11124: Commit Chris' fixes for libmsrpc after the rpc_client
Gerald Carter [Mon, 17 Oct 2005 16:44:26 +0000 (16:44 +0000)]
r11124: Commit Chris' fixes for libmsrpc after the rpc_client
rewrite.  His comments:

        I've gotten the libmsrpc code to work with TRUNK.
        I've put the patch at:
        www.uoguelph.ca/~cnicholl/libmsrpc_trunk_v1.patch.gz

        It is from revision 11093.

        I also fixed a minor bug in the svcctl code, the timeout
        parameter for all the control functions was working
        in milliseconds instead of seconds.

Also fixed bug in Makefile when building libmsrpc.a
(This used to be commit d3a52900ec223316779e59a13cea87ecb500bccc)

16 years agor11123: * patches from Brian Moran for creating new eventlog
Gerald Carter [Mon, 17 Oct 2005 15:53:12 +0000 (15:53 +0000)]
r11123: * patches from Brian Moran for creating new eventlog
  source keys
* my patches to get registry utility functions linking
  with eventlogadm tool
(This used to be commit 24e7663086f5d15c7e3fd8069667169b91d1acda)

16 years agor11079: Narrowing down on the #1828 PPC bug. The PPC client sends an
Jeremy Allison [Sat, 15 Oct 2005 00:46:38 +0000 (00:46 +0000)]
r11079: Narrowing down on the #1828 PPC bug. The PPC client sends an
initial NTLMSSP negotiate blob of only 16 bytes - no strings
added ! (So don't try parsing them).
Jeremy.
(This used to be commit e15b758f5fa6f500214bb60599a89f3c795c9fed)

16 years agor11075: Still working on bug #1828, PPC hell. The PPC client sends the
Jeremy Allison [Fri, 14 Oct 2005 21:59:36 +0000 (21:59 +0000)]
r11075: Still working on bug #1828, PPC hell. The PPC client sends the
NTLMSSP client and domain strings as Unicode, even when setting
flags as OEM. Cope with this.
Jeremy.
(This used to be commit 458da8987e8f406cdfd5bd602b3c3cf315675725)

16 years agor11073: safety checks on pointers to prevent crashing when converting REG_MULTI_SZ
Gerald Carter [Fri, 14 Oct 2005 21:46:32 +0000 (21:46 +0000)]
r11073: safety checks on pointers to prevent crashing when converting REG_MULTI_SZ
(This used to be commit db8d85aa1ec5c486f061f97627b6b18a0e17cd34)

16 years agor11072: add routines for converting REG_MULTI_SZ to and from char**
Gerald Carter [Fri, 14 Oct 2005 21:43:13 +0000 (21:43 +0000)]
r11072: add routines for converting REG_MULTI_SZ to and from char**
(This used to be commit e858eed813b5a9a8d57262142c5bbde2951b5590)

16 years agor11069: make sure to zero memory when allocating a a REGVAL_CTR struct
Gerald Carter [Fri, 14 Oct 2005 21:09:56 +0000 (21:09 +0000)]
r11069: make sure to zero memory when allocating a a REGVAL_CTR struct
(This used to be commit bfdcbb7572352b3a3b7941249438a927eb91e18d)

16 years agor11066: adding eventlogadm to packaging files
Gerald Carter [Fri, 14 Oct 2005 18:54:12 +0000 (18:54 +0000)]
r11066: adding eventlogadm to packaging files
(This used to be commit 081a2f17fc1f7d5830811fa54125bffcbd4a2f54)

16 years agor11065: rename wr_eventlog to eventlogadm
Gerald Carter [Fri, 14 Oct 2005 18:38:03 +0000 (18:38 +0000)]
r11065: rename wr_eventlog to eventlogadm
(This used to be commit 9a63b52efaf0b49982d56dc7c301f59bbb076a6e)

16 years agor11063: merging missing error code for event logs
Gerald Carter [Fri, 14 Oct 2005 17:32:37 +0000 (17:32 +0000)]
r11063: merging missing error code for event logs
(This used to be commit 1aeb7950d36b8faee529cb6dcd36c05809cfe1d0)

16 years agor11060: merging new eventlog code from trunk
Gerald Carter [Fri, 14 Oct 2005 16:07:00 +0000 (16:07 +0000)]
r11060: merging new eventlog code from trunk
(This used to be commit 1bcf7e82ede63a851a244162a3b939373787b693)

16 years agor11054: patch from Brian Moran; fix error code return in _srv_net_name_validate()
Gerald Carter [Fri, 14 Oct 2005 14:51:48 +0000 (14:51 +0000)]
r11054: patch from Brian Moran; fix error code return in _srv_net_name_validate()
(This used to be commit b4e78520ccb8c896a52e3f3e7a52e19e3b2c33bf)

16 years agor10979: After discussions on IRC about profile shares,
Jeremy Allison [Fri, 14 Oct 2005 01:09:37 +0000 (01:09 +0000)]
r10979: After discussions on IRC about profile shares,
added new parameter : map readonly = [yes|no|permissions]
If yes: map inverse of user "w" bit to mean readonly.
If no: never set DOS readonly bit.
If permissions: check file permissions for user and set readonly
bit if the current user cannot write.
If store dos attributes is set to yes then this parameter
is ignored.
Jeremy.
(This used to be commit da4238d18c7a57d1264db8517fb027a10a11baed)

16 years agor10977: Get rid of tons of new warnings when building with OpenLDAP 2.3.7 or higher.
Günther Deschner [Thu, 13 Oct 2005 23:03:30 +0000 (23:03 +0000)]
r10977: Get rid of tons of new warnings when building with OpenLDAP 2.3.7 or higher.

Guenther
(This used to be commit 380c6133240f8cb2da79453d08e77778d157d176)

16 years agor10976: Fix the build with openssl-0.9.8a.
Günther Deschner [Thu, 13 Oct 2005 22:11:18 +0000 (22:11 +0000)]
r10976: Fix the build with openssl-0.9.8a.

Guenther
(This used to be commit 081409a724fce1f6e6f29bfcc824fd3f5ec6d9ff)

16 years agor10974: Get closer to trying to fix #1825 (PcoketPC spnego bug). Ensure we
Jeremy Allison [Thu, 13 Oct 2005 19:45:24 +0000 (19:45 +0000)]
r10974: Get closer to trying to fix #1825 (PcoketPC spnego bug). Ensure we
set keylen to zero if no spnego.
Jeremy.
(This used to be commit 57ed94e6e4a095422496d92a0095dc48cfecdd68)

16 years agor10970: Fix bug #3166 - null pointer dereference if $HOME not
Jeremy Allison [Thu, 13 Oct 2005 18:08:25 +0000 (18:08 +0000)]
r10970: Fix bug #3166 - null pointer dereference if $HOME not
defined. Also clarified confusing error messages.
Jeremy.
(This used to be commit e2639ac9ff8319dde04fc6b4a0c257f7af29cf44)

16 years agor10964: BUG 1051: store the directory path so we can send the full name in the unlink...
Gerald Carter [Thu, 13 Oct 2005 15:51:25 +0000 (15:51 +0000)]
r10964: BUG 1051: store the directory path so we can send the full name in the unlink call (del tmp\foo)
(This used to be commit 49b8d7d7f5ed93a2b9b21404194452f35bcf7b26)

16 years agor10962: fix setting of quotas on linux kernel with the
Stefan Metzmacher [Thu, 13 Oct 2005 14:59:47 +0000 (14:59 +0000)]
r10962: fix setting of quotas on linux kernel with the
struct if_dqblk interface

metze
(This used to be commit 1eafe33c887194d828d685ac8677469917b6c419)

16 years agor10961: remove unused variables (patch from Jason Mader)
Gerald Carter [Thu, 13 Oct 2005 13:20:26 +0000 (13:20 +0000)]
r10961: remove unused variables (patch from Jason Mader)
(This used to be commit d6c6562d33cc88827cb8560a412e8ea51f9a5352)

16 years agor10960: merging changes to specfile from 3.0.20b release
Gerald Carter [Thu, 13 Oct 2005 12:35:33 +0000 (12:35 +0000)]
r10960: merging changes to specfile from 3.0.20b release
(This used to be commit f07b38f408af90623763cce890bd72f37de52d69)

16 years agor10947: Fix bugs #3133 and #1828 - SPNEGO not working with PocketPC 2003.
Jeremy Allison [Wed, 12 Oct 2005 23:08:49 +0000 (23:08 +0000)]
r10947: Fix bugs #3133 and #1828 - SPNEGO not working with PocketPC 2003.
Our sessionsetup code now handles raw NTLMSSP connects, so we can go
back to doing what W2K3 does here which is to send no OID's in
the negprot reply when not in a security=ads mode.
Jeremy.
(This used to be commit 38a70185b7ca20677026103d40f61608e7ad0c90)

16 years agor10943: Unused variable. Bug #3160 from jason@ncac.gwu.edu
Jeremy Allison [Wed, 12 Oct 2005 21:42:03 +0000 (21:42 +0000)]
r10943: Unused variable. Bug #3160 from jason@ncac.gwu.edu
Jeremy.
(This used to be commit 5647a5d4b0b7e9083963bfe899e9e0f348ec8bf2)

16 years agor10933: include mount.cifs in Fedora spec file (based on patch from smk_va@yahoo...
Gerald Carter [Wed, 12 Oct 2005 20:01:12 +0000 (20:01 +0000)]
r10933: include mount.cifs in Fedora spec file (based on patch from smk_va@yahoo.com)
(This used to be commit 37bcb8d17ab958e8f5961c5ade44c93b6b41f732)

16 years agor10930: Fix erroneous debug spotted by Herb.
Jeremy Allison [Wed, 12 Oct 2005 18:20:34 +0000 (18:20 +0000)]
r10930: Fix erroneous debug spotted by Herb.
Jeremy.
(This used to be commit b2e22e7d128dc22d62f56fda294dc7abc076dc64)

16 years agor10927: bug 1473 & 3090: quota compile fixes on Solaris
Gerald Carter [Wed, 12 Oct 2005 16:52:08 +0000 (16:52 +0000)]
r10927: bug 1473 & 3090: quota compile fixes on Solaris
(This used to be commit b70b888699fd02b6ac567fcef3b1d2832a0b4719)

16 years agor10921: BUG 3070: fix crash bug in qfsinfo when retrieving quota info
Gerald Carter [Wed, 12 Oct 2005 13:07:37 +0000 (13:07 +0000)]
r10921: BUG 3070: fix crash bug in qfsinfo when retrieving quota info
(This used to be commit 1599fc38ab2f2beb5d1a240941b879603ce27ae6)