16 years agonew swat icons from Marc Jacobsen @ HP
Gerald Carter [Fri, 25 Jul 2003 03:48:56 +0000 (03:48 +0000)]
new swat icons from Marc Jacobsen @ HP
(This used to be commit 01919208c658c79fdd2251ec460be5dc5853bf0e)

16 years agocall chkconfig --del winbind on removal (bug #238)
Gerald Carter [Fri, 25 Jul 2003 03:26:03 +0000 (03:26 +0000)]
call chkconfig --del winbind on removal (bug #238)
(This used to be commit 942c3ae6e0dc69c1ed4bbc6b765bec0c98582e7f)

16 years agofix libsmbclientr symlink (patch by Alex Duggan for bug #247)
Gerald Carter [Fri, 25 Jul 2003 02:38:23 +0000 (02:38 +0000)]
fix libsmbclientr symlink (patch by Alex Duggan for bug #247)
(This used to be commit 67f3a26c26c3e88f3764bb1c34e94c1f6cbc58c0)

16 years agofix bug config file path in winbind init script (bug #237)
Gerald Carter [Fri, 25 Jul 2003 02:24:47 +0000 (02:24 +0000)]
fix bug config file path in winbind init script (bug #237)
(This used to be commit 92b59848ca9cfab52b9434e364bcaa1dad2afbaf)

16 years agoSchannel, once setup, may be used on *ANY* TCP/IP connection until the
Andrew Bartlett [Fri, 25 Jul 2003 01:26:19 +0000 (01:26 +0000)]
Schannel, once setup, may be used on *ANY* TCP/IP connection until the
connection that set it up has been shut down.

(Also, pipes still connected, and reconnections to the same pipe (eg SAMR)
may continue to use that session key until their TCP/IP connection is shut

Allow further testing by printing out the session key, and allowing it's input
into rpcclient.

Next step is automatic storage in a TDB.

Andrew Bartlett
(This used to be commit fa4d7be1619b51aacec37ddf995c940b8100aef9)

16 years agoMake wbinfo -p work again. Fixes bug 251.
Tim Potter [Fri, 25 Jul 2003 01:18:10 +0000 (01:18 +0000)]
Make wbinfo -p work again.  Fixes bug 251.
(This used to be commit ad4dd4909ffa29dbfbbd9a4f234e976fd253846b)

16 years agoJean-Baptiste Marchand on the ethereal list used some auditing tricks to
Tim Potter [Fri, 25 Jul 2003 00:39:06 +0000 (00:39 +0000)]
Jean-Baptiste Marchand on the ethereal list used some auditing tricks to
discover names for the SAMR specific permissions that were previously unknown.

The existing constant names differ from what win2k calls them but since they
aren't heavily used in Samba at the moment I'll leave them as they are.

Jean-Baptiste's data is at:

(This used to be commit ae77e9e55438a9807da3696fd0d31fba6d0f7370)

16 years agoMore printf fixes - size_t is long on some architectures.
Tim Potter [Thu, 24 Jul 2003 23:46:27 +0000 (23:46 +0000)]
More printf fixes - size_t is long on some architectures.
(This used to be commit ba4d334b822248d8ab929c9568533431603d967e)

16 years agoFix from matt.zinkevicius@hp.com to stop files being created on read-only
Jeremy Allison [Thu, 24 Jul 2003 19:10:52 +0000 (19:10 +0000)]
Fix from matt.zinkevicius@hp.com to stop files being created on read-only
shares in some circumstances.
(This used to be commit b826e8c8980d26e932da55384f109f0fe6a124c7)

16 years agoFix packet signing with asynchronous oplock breaks. Removed bad error message
Jeremy Allison [Thu, 24 Jul 2003 19:05:32 +0000 (19:05 +0000)]
Fix packet signing with asynchronous oplock breaks. Removed bad error message
due to w2k bug. I think this code is now working.... Need more testing of course
but works on all the obvious cases I can think of.
(This used to be commit a6e537f6611cc1357fffea0b69901fba7c9ad6ea)

16 years agoAdd a macro to check whether module-specific data set already or not. Returns True...
Alexander Bokovoy [Thu, 24 Jul 2003 14:23:54 +0000 (14:23 +0000)]
Add a macro to check whether module-specific data set already or not. Returns True or False. Should support further encapsulation of VFS-specific structs
(This used to be commit 180e617f54021ced270c7c8cb86dd478d809d041)

16 years agoRise debug level to 5 for not-found-nt-quota message (quota setting for user wasn...
Alexander Bokovoy [Thu, 24 Jul 2003 11:37:11 +0000 (11:37 +0000)]
Rise debug level to 5 for not-found-nt-quota message (quota setting for user wasn't found)
(This used to be commit 422dffdc40742091df027fcffbc074eb2b1396dc)

16 years agoSome fclose -> x_fclose found by Tony Jago.
Jeremy Allison [Thu, 24 Jul 2003 07:02:55 +0000 (07:02 +0000)]
Some fclose -> x_fclose found by Tony Jago.
(This used to be commit 919078cf397155ede0169ce95a726d0fdbef696a)

16 years agoEnsure everywhere we defer an incoming SMB request (blocking lock queue,
Jeremy Allison [Thu, 24 Jul 2003 06:56:56 +0000 (06:56 +0000)]
Ensure everywhere we defer an incoming SMB request (blocking lock queue,
in oplock break state, change notify queue) we also push the MID onto
the deferred signing queue. Tomorrow I will test this with valgrind and
oplock tests.
(This used to be commit 33a377f3726c85379ba5b962dd7c8ead337b892f)

16 years agoSMB signing is now working with change notify. Need to fix the disconnect
Jeremy Allison [Thu, 24 Jul 2003 06:19:37 +0000 (06:19 +0000)]
SMB signing is now working with change notify. Need to fix the disconnect
when bad signature received, plus check the oplock breaks....
(This used to be commit dd83931a00ec0a2c4b78b939c54bc101ec82312f)

16 years agoServer side NTLM signing works - until the first async packet. Working on this
Jeremy Allison [Thu, 24 Jul 2003 04:25:37 +0000 (04:25 +0000)]
Server side NTLM signing works - until the first async packet. Working on this
(This used to be commit eff74a1fcc597497a4c70589a44c1b70e93ab549)

16 years agoSome more [ug]id_t printf fixes.
Tim Potter [Thu, 24 Jul 2003 00:01:10 +0000 (00:01 +0000)]
Some more [ug]id_t printf fixes.
(This used to be commit 165d1ae55622ca1e89c94fc5e40bdf5cddbcab45)

16 years agoEnsure a prototype is generated for smb_snprintf()
Tim Potter [Wed, 23 Jul 2003 23:30:46 +0000 (23:30 +0000)]
Ensure a prototype is generated for smb_snprintf()

Final bit for bug 187.
(This used to be commit 13840704f5434bedef0ce21242e2dff7c2a0bddb)

16 years agoconnect to the right realm or domain for trusted AD domains
Gerald Carter [Wed, 23 Jul 2003 19:58:01 +0000 (19:58 +0000)]
connect to the right realm or domain for trusted AD domains
(This used to be commit 83376671c511be4bb10d3fca8e49e5f6ef792b9c)

16 years agofix typo
Gerald Carter [Wed, 23 Jul 2003 12:42:48 +0000 (12:42 +0000)]
fix typo
(This used to be commit 9de53f309ca686abbe970d8d452bb75398214a6d)

16 years agoconvert snprintf() calls using pstrings & fstrings
Gerald Carter [Wed, 23 Jul 2003 12:33:59 +0000 (12:33 +0000)]
convert snprintf() calls using pstrings & fstrings
to pstr_sprintf() and fstr_sprintf() to try to standardize.
lots of snprintf() calls were using len-1; some were using
len.  At least this helps to be consistent.
(This used to be commit 9f835b85dd38cbe655eb19021ff763f31886ac00)

16 years agofixed segv in calls to pstrcpy() in cliprint.c
Andrew Tridgell [Wed, 23 Jul 2003 10:09:29 +0000 (10:09 +0000)]
fixed segv in calls to pstrcpy() in cliprint.c
(This used to be commit 36bc2b99b4fec2c14f8471d89381b2d6c2f9d339)

16 years agoFix out of date comment.
Tim Potter [Wed, 23 Jul 2003 07:14:33 +0000 (07:14 +0000)]
Fix out of date comment.
(This used to be commit 2e5bd1665430768b06da99beba5ac11a59c9bf07)

16 years agoMove a function to avoid a warning.
Tim Potter [Wed, 23 Jul 2003 06:37:51 +0000 (06:37 +0000)]
Move a function to avoid a warning.
(This used to be commit a3b4c57503e0966145b0adab247297e4c8e0f165)

16 years agoTypo in comment.
Tim Potter [Wed, 23 Jul 2003 06:11:38 +0000 (06:11 +0000)]
Typo in comment.
(This used to be commit 6a9bfcd3b8996a0322f733689fd5e8bf24f224c8)

16 years agoDon't check in two places for signing turned off...
Jeremy Allison [Wed, 23 Jul 2003 06:04:20 +0000 (06:04 +0000)]
Don't check in two places for signing turned off...
(This used to be commit f4b02e52e25556e5b101d493e2e6404563bf96dd)

16 years agoA fix for bug 174. I'm pushing this to the tree to test it on one of
Tim Potter [Wed, 23 Jul 2003 03:59:57 +0000 (03:59 +0000)]
A fix for bug 174.  I'm pushing this to the tree to test it on one of
the build farm machines that I don't have direct access to (hpntc9I).
(This used to be commit b01965823341bbabb74dcbc09d379b43db2ec680)

16 years agoFix two memory leaks in the smb module:
Tim Potter [Wed, 23 Jul 2003 01:26:46 +0000 (01:26 +0000)]
Fix two memory leaks in the smb module:

 - free talloc context when cli_query_secdesc() fails

 - dispose of cli_state when python cli_state_object is garbage collected
(This used to be commit 36052f95ffad4f227596e8038d3f056312d0ad82)

16 years agoremoving unused function
Gerald Carter [Tue, 22 Jul 2003 15:08:34 +0000 (15:08 +0000)]
removing unused function
(This used to be commit b8394a107d3448434f1a34076eaab8e6dd9a8a9d)

16 years agobumping version string
Gerald Carter [Tue, 22 Jul 2003 15:02:39 +0000 (15:02 +0000)]
bumping version string
(This used to be commit e4cd21222dbd1a7a7f79618762799373230d4905)

16 years agoFix comment
Alexander Bokovoy [Tue, 22 Jul 2003 14:43:05 +0000 (14:43 +0000)]
Fix comment
(This used to be commit 04f1577a39b926317911f59714de5c5ca87f02bd)

16 years agosync from bea3 release
Gerald Carter [Tue, 22 Jul 2003 13:10:57 +0000 (13:10 +0000)]
sync from bea3 release
(This used to be commit e42cc1e920601883cd404e9b2292ca58554ccf63)

16 years agoAnother round of uid/gid/pid format string changes I missed the
Tim Potter [Tue, 22 Jul 2003 06:52:39 +0000 (06:52 +0000)]
Another round of uid/gid/pid format string changes I missed the
first time.
(This used to be commit 6616485dbad74dab7506609c6bfd183fc9c1f93c)

16 years agoFixup a bunch of printf-style functions and debugs to use unsigned long when
Tim Potter [Tue, 22 Jul 2003 04:31:20 +0000 (04:31 +0000)]
Fixup a bunch of printf-style functions and debugs to use unsigned long when
displaying pid_t, uid_t and gid_t values.  This removes a whole lot of warnings
on some of the 64-bit build farm machines as well as help us out when 64-bit
uid/gid/pid values come along.
(This used to be commit f93528ba007c8800a850678f35f499fb7360fb9a)

16 years agoUse %p for a pointer type in a printf-style format string. Also casting
Tim Potter [Tue, 22 Jul 2003 01:18:24 +0000 (01:18 +0000)]
Use %p for a pointer type in a printf-style format string.  Also casting
a pointer to a uint32 value is incorrect on a 64-bit architecture.
(This used to be commit afed2cbbcc07de9e453156972250f5f9d22e8e83)

16 years agoReplace the eight (!) copies of dummy become/unbecome root with a single one.
Tim Potter [Tue, 22 Jul 2003 00:20:53 +0000 (00:20 +0000)]
Replace the eight (!) copies of dummy become/unbecome root with a single one.
(This used to be commit 8b818ce381595cdcb36631a2440d6aa0038805f1)

16 years agoUse lp_idmap_[ug]id() instead of lp_winbind_[ug]id()
Tim Potter [Tue, 22 Jul 2003 00:16:39 +0000 (00:16 +0000)]
Use lp_idmap_[ug]id() instead of lp_winbind_[ug]id()
(This used to be commit cfb86b4503c13b34583a61ef01ca8e1ed00fb9e4)

16 years agoMetze's AD/LDAP detection patches mainly to do with library detection.
Tim Potter [Mon, 21 Jul 2003 23:42:45 +0000 (23:42 +0000)]
Metze's AD/LDAP detection patches mainly to do with library detection.
Tested on a large combination of operating systems and versions.
Hopefully the build farm will find any remaining nasties if they
(This used to be commit 2e42fa3d7217615d90ad64261513bd1e8a65f535)

16 years agoClarify a debug log a little. The path might not exist, so say so.
Richard Sharpe [Mon, 21 Jul 2003 20:20:09 +0000 (20:20 +0000)]
Clarify a debug log a little. The path might not exist, so say so.
(This used to be commit 8409cf3e470df79f219f9a21c0cb780e9257186c)

16 years agoThis creates passdb backend files automatically when adding first account.
Rafal Szczesniak [Sun, 20 Jul 2003 21:43:41 +0000 (21:43 +0000)]
This creates passdb backend files automatically when adding first account.
An extra message notifying that needed file didn't exist is displayed.
There's still a little catch with tdb backend, but it's better than it was,
from end-user's point of view.

This fixes #198

(This used to be commit b0be700605c289ce8e9dd3abe49d78ac77256911)

16 years agoTypo fixes.
Rafal Szczesniak [Sun, 20 Jul 2003 14:50:38 +0000 (14:50 +0000)]
Typo fixes.
(This used to be commit 85df8213fc67a9c8e8712cb64f27e5559dc11af9)

16 years agoFix typo
Jelmer Vernooij [Sun, 20 Jul 2003 00:34:24 +0000 (00:34 +0000)]
Fix typo
(This used to be commit ee4b69c539000b17db31ea3d41d0c7145f0ca25c)

16 years agoFix memleak
Volker Lendecke [Sat, 19 Jul 2003 11:28:15 +0000 (11:28 +0000)]
Fix memleak
(This used to be commit defc71d4cb9bb1efcb39157bad2806f73b3cc3f5)

16 years agoFix StrCaseCmp() to avoid calling smb_panic() on invalid multibyte strings.
Andrew Bartlett [Sat, 19 Jul 2003 00:36:43 +0000 (00:36 +0000)]
Fix StrCaseCmp() to avoid calling smb_panic() on invalid multibyte strings.

This fix results in
 - we no longer use fixed-size buffers in StrCaseCmp (previously limited to
   a pstring)
 - we return strcmp(s, t) if either of the strings is invalid
 - for non-ascii cases, we call iconv twice, not 4 times.

The basic idea with this fix is that if a string is not valid in the currnet
charset, then (unless it is byte-equivilant) it cannot be case-equivilant
to any other string.

This should address the majority of our smb_panic() cases on this matter.  It
will not fix them all - we still call unix_strupper(), aka strupper_m()
elsewhere, but this was being called on every file in the directory when
we performed unix_convert().

Tested with the stf unit tests for this routine.

Andrew Bartlett
(This used to be commit 9918fa73145a22b1d7adf001f0a9cf0e1bda4136)

16 years agoAccording to the result of voting, net has default debug level with
Rafal Szczesniak [Sat, 19 Jul 2003 00:23:08 +0000 (00:23 +0000)]
According to the result of voting, net has default debug level with
ability to change it by command line instead of turn-off cmdline switch
for debug messages.
It's a bit more comfortable to use now.
(This used to be commit b65fe75bec8170ad48d1ad0a9017ccc4de651eba)

16 years agoFix memleak
Volker Lendecke [Fri, 18 Jul 2003 11:36:16 +0000 (11:36 +0000)]
Fix memleak
(This used to be commit 228fe54f0d65b895bef9e095ad996a48edf964df)

16 years agoFix two memleaks in pdb_ldap.c.
Volker Lendecke [Fri, 18 Jul 2003 09:05:30 +0000 (09:05 +0000)]
Fix two memleaks in pdb_ldap.c.

Whoever put the private.backend_private_data_free_fn thingy into
SAM_ACCOUNT, could you please revisit my change to pdb_get_set.c and
comment on my comment there?


(This used to be commit 922ec277d1c80b5532f5cac0ee99ae7cd20f83f1)

16 years agomake sure we don't allow the creation of directories containing
Andrew Tridgell [Fri, 18 Jul 2003 07:07:29 +0000 (07:07 +0000)]
make sure we don't allow the creation of directories containing
wildcard characters. I've only put this in mkdir at the moment, but I
suspect this will apply to all places that can create new filenames.

We need to allow the opening of existing filenames that contain
wildcards, but not allow the creation of new ones.
(This used to be commit 2fd5569938b8970f3e9d761eecad5bc0b8bb267e)

16 years agothis fixes a bug where Samba would under some circumstances return
Andrew Tridgell [Fri, 18 Jul 2003 06:48:28 +0000 (06:48 +0000)]
this fixes a bug where Samba would under some circumstances return
incomplete directory listings. The problem was the exact_match
optimisation that short circuited directory listings on exact
matches. This optimisation doesn't work when the unix filename
contains Microsoft wildcard characters.
(This used to be commit 84cee2c3fcc34fe6356e842821a5f0a361477637)

16 years agoFix spelling typo.
Tim Potter [Fri, 18 Jul 2003 03:04:13 +0000 (03:04 +0000)]
Fix spelling typo.
(This used to be commit 5cb7d92751b6da58bb3ecd97cced5c963d348bed)

16 years agoUninstall modules as part of uninstall. Partial fix for 236.
Tim Potter [Fri, 18 Jul 2003 02:57:43 +0000 (02:57 +0000)]
Uninstall modules as part of uninstall.  Partial fix for 236.

We still don't uninstall swat or the man pages properly.
(This used to be commit 90157b9bd3d4122e647faa48b17a44d63b07e32e)

16 years agofixed the pstrcpy() bug in directory recursion properly
Andrew Tridgell [Fri, 18 Jul 2003 01:36:11 +0000 (01:36 +0000)]
fixed the pstrcpy() bug in directory recursion properly
(This used to be commit 132d6fdf635eb2bf2a1afd6e850d0f6967260f84)

16 years agoSigning so far... the client code fails on a SMBtrans2 secondary transaction
Jeremy Allison [Fri, 18 Jul 2003 00:53:34 +0000 (00:53 +0000)]
Signing so far... the client code fails on a SMBtrans2 secondary transaction
I think (my changes haven't affected this I believe). Initial support on the
server side for smbclient. Still doesn't work for w2k clients I think...
Work in progress..... (don't change).
(This used to be commit e5714edc233424c2f74edb6d658f32f8e0ec9275)

16 years agoFormatting tidyups to match the rest of the source.
Jeremy Allison [Thu, 17 Jul 2003 18:55:40 +0000 (18:55 +0000)]
Formatting tidyups to match the rest of the source.
(This used to be commit 86c5ebcf8f5eb57e9885627b3da4e486ee3f62d9)

16 years agoDisconnect an idle LDAP connection after 150 seconds.
Volker Lendecke [Thu, 17 Jul 2003 11:24:54 +0000 (11:24 +0000)]
Disconnect an idle LDAP connection after 150 seconds.

Not strictly a bugfix, but it should considerably reduce the load we
put on LDAP servers given that at least nss_ldap on Linux keeps a
connection open.

And it should also stress our reconnect-code a bit more ;-)

Thanks to metze for this!

(This used to be commit e68d8eabeb9c64dc45d057619f9b3dd0cd507444)

16 years agoBan getgrouplist on linux glibc systems with glibc <= 2.3.
Volker Lendecke [Thu, 17 Jul 2003 10:03:37 +0000 (10:03 +0000)]
Ban getgrouplist on linux glibc systems with glibc <= 2.3.

This segfaults when you have to many group membership entries
in /etc/group.

Fixed in glibc CVS end of April 2003.

(This used to be commit 61bfdf0b12457689b08c19a6269259abf3d15410)

16 years agoFix for bug 222 from Marcin Owsiany.
Tim Potter [Thu, 17 Jul 2003 04:17:58 +0000 (04:17 +0000)]
Fix for bug 222 from Marcin Owsiany.

Don't get stuck in an infinite loop listing directories recursively
if the server returns an empty directory name.  This can happen with
incorrect i18n configuration on a Samba server.
(This used to be commit f93a2831f1b4e5751ca86d46a6e5ede9adf660cb)

16 years agoDon't use pstrcpy on non-pstrings.
Tim Potter [Thu, 17 Jul 2003 03:53:43 +0000 (03:53 +0000)]
Don't use pstrcpy on non-pstrings.
(This used to be commit 3498624d941fe200b06f114ece3373d4c4cfb2d1)

16 years agoIn the presense of RPC fragments, schannel is not strictly request/reply,
Andrew Bartlett [Thu, 17 Jul 2003 01:34:05 +0000 (01:34 +0000)]
In the presense of RPC fragments, schannel is not strictly request/reply,
so the shared sequence number will not be strictly odd/even.

Andrew Bartlett
(This used to be commit 77c3e69aef545d3f9b7cec9efdc366cbeb0c745e)

16 years agoCorrectly toggle the signing state to what it was previosly when sending
Jeremy Allison [Thu, 17 Jul 2003 00:58:14 +0000 (00:58 +0000)]
Correctly toggle the signing state to what it was previosly when sending
an oplock break.
(This used to be commit 9515de83a864250c417cf490b7be714c8e1e127e)

16 years agoDon't allow read/write raw when signing is active.
Jeremy Allison [Thu, 17 Jul 2003 00:53:37 +0000 (00:53 +0000)]
Don't allow read/write raw when signing is active.
(This used to be commit 8d2a848052df03dad7bfeb5e7be96f8e9a509bbf)

16 years agoPutting the framework for server signing in place. Ensure we don't use
Jeremy Allison [Thu, 17 Jul 2003 00:48:21 +0000 (00:48 +0000)]
Putting the framework for server signing in place. Ensure we don't use
sendfile when signing (I need to add this for readbraw/writebraw too...).
(This used to be commit f2e84f1ba67b13ff29e24a38099b559d9033a680)

16 years agoRefactor signing code to remove most dependencies on 'struct cli'.
Jeremy Allison [Wed, 16 Jul 2003 22:57:56 +0000 (22:57 +0000)]
Refactor signing code to remove most dependencies on 'struct cli'.
Ensure a server can't do a downgrade attack if client signing is mandatory.
Add a lp_server_signing() function and a 'server signing' parameter that
will act as the client one does.
(This used to be commit 203e4bf0bfb66fd9239e9a0656438a71280113cb)

16 years agoFurther Debian fixes.
Eloy Paris [Wed, 16 Jul 2003 21:30:02 +0000 (21:30 +0000)]
Further Debian fixes.
(This used to be commit 8f86cb196f9f2eaa4d6406f1082397dcf01897bf)

16 years agoAdd API framework for server SMB signing.
Jeremy Allison [Wed, 16 Jul 2003 21:06:21 +0000 (21:06 +0000)]
Add API framework for server SMB signing.
(This used to be commit 61fc9a7b2eafdf8cbed1f8d9aae016b828c91a08)

16 years agoAdd krb5_princ_component to Heimdal. Remove cli_ from mark packet signed.
Jeremy Allison [Wed, 16 Jul 2003 19:17:33 +0000 (19:17 +0000)]
Add krb5_princ_component to Heimdal. Remove cli_ from mark packet signed.
(This used to be commit dd46f8b22d6e8411081a1279e1cd32929e40370b)

16 years agoReformatting fixes to bring in line with the rest of the source.
Jeremy Allison [Wed, 16 Jul 2003 18:06:27 +0000 (18:06 +0000)]
Reformatting fixes to bring in line with the rest of the source.
(This used to be commit 3c11d9362379f16bb0d14449f64e731efad97ffe)

16 years agoadding command for moving a record from one tdb to another
Gerald Carter [Wed, 16 Jul 2003 16:51:51 +0000 (16:51 +0000)]
adding command for moving a record from one tdb to another
(This used to be commit d0d85dd49c41c55e086714a45990d5cd6c36fa10)

16 years agomake tdbtool deal with NULL and non-NULL terminated keys
Gerald Carter [Wed, 16 Jul 2003 16:26:40 +0000 (16:26 +0000)]
make tdbtool deal with NULL and non-NULL terminated keys
(This used to be commit 5df7b9a3efaf5b7828d0405bc14504d14d9e833a)

16 years agosync with release tree
Gerald Carter [Wed, 16 Jul 2003 15:01:26 +0000 (15:01 +0000)]
sync with release tree
(This used to be commit dd10e7c9bbef0d28f3c5330605ff3b18c278eeef)

16 years agoFix memleak
Volker Lendecke [Wed, 16 Jul 2003 13:57:53 +0000 (13:57 +0000)]
Fix memleak
(This used to be commit 42a59d691019ee328920be25a1c505037f74151f)

16 years agotypo
Volker Lendecke [Wed, 16 Jul 2003 13:35:23 +0000 (13:35 +0000)]
(This used to be commit 09e00970d4b3ec80467a4a292c39650d6c945847)

16 years agoSpelling.
Tim Potter [Wed, 16 Jul 2003 05:51:10 +0000 (05:51 +0000)]
(This used to be commit 2750418752e491c5e87f0f2adf253291e31ee4c2)

16 years agoDocumentation Update for Beta3.
John Terpstra [Wed, 16 Jul 2003 05:42:10 +0000 (05:42 +0000)]
Documentation Update for Beta3.
(This used to be commit a88dc502cb3b6b2d905106675f50680bf22e2cfa)

16 years agoremoving outdated scripts
Gerald Carter [Wed, 16 Jul 2003 04:53:57 +0000 (04:53 +0000)]
removing outdated scripts
(This used to be commit b47b6f5825753b4ad130cdd372dbd023f78d3fd9)

16 years agoremove outdated doc
Gerald Carter [Wed, 16 Jul 2003 04:50:45 +0000 (04:50 +0000)]
remove outdated doc
(This used to be commit ee44d72a1bf24ecf99d485f4d9ff8359d54e19c3)

16 years agoadding another missing doc
Gerald Carter [Wed, 16 Jul 2003 03:54:08 +0000 (03:54 +0000)]
adding another missing doc
(This used to be commit ec92d856734e6d32189c3e90411fd02a20b8fe83)

16 years agoupdating WHATSNEW
Gerald Carter [Wed, 16 Jul 2003 03:51:25 +0000 (03:51 +0000)]
updating WHATSNEW
removing old readme (not part of WHATSNEW)
(This used to be commit c9c5f68eeab5a36b279673c728411672b4b4449b)

16 years agoFix up our auth_pipe code to always cope with fragmented datagrams,
Andrew Bartlett [Wed, 16 Jul 2003 03:22:43 +0000 (03:22 +0000)]
Fix up our auth_pipe code to always cope with fragmented datagrams,

(Try not to deal with a general case as individual special cases...)

Andrew Bartlett
(This used to be commit 6ca77bd28f16f9f65ff40bf8996e39356de5b4f8)

16 years agofix typo in debug log
Gerald Carter [Wed, 16 Jul 2003 02:51:28 +0000 (02:51 +0000)]
fix typo in debug log
(This used to be commit 074da426708555de082d0c2e5ae3a5cddaadcdf4)

16 years agofixes for 'net rpc vampire'. I can now take a blank Samba host
Gerald Carter [Wed, 16 Jul 2003 02:20:53 +0000 (02:20 +0000)]
fixes for 'net rpc vampire'.  I can now take a blank Samba host
and migrate an NT4 domain and still logon from domain members
(tested logon scripts, system policies, profiles, & home directories)
(passdb backend = tdbsam)

removed call to idmap_init_wellknown_sids() from winbindd.c
since the local domain should be handled by the guest passdb backend
(and you don't really always want the Administrator account to be root)
...and we didn't pay attention to this anyways now.
(This used to be commit 837d7c54d3ca780160aa0d6a2f0a109bb691948e)

16 years agoVolker's patch for open_socket_out() to speed up connections
Gerald Carter [Wed, 16 Jul 2003 02:17:55 +0000 (02:17 +0000)]
Volker's patch for open_socket_out() to speed up connections
(This used to be commit 7d63b690004a59316a70059db0d9ad0ea9001288)

16 years agoFix from Dragan Krnic for handling files in tar archives > 8GB.
Tim Potter [Wed, 16 Jul 2003 00:13:40 +0000 (00:13 +0000)]
Fix from Dragan Krnic for handling files in tar archives > 8GB.

Fixes bug 102.
(This used to be commit b54183a7b23d1046faad0890de3fdda3df0fec88)

16 years agoAdded the "required" keyword to the "client signing" parameter to force it
Jeremy Allison [Tue, 15 Jul 2003 23:05:57 +0000 (23:05 +0000)]
Added the "required" keyword to the "client signing" parameter to force it
on. Fail if missmatch. Small format tidyups in smbd/sesssetup.c. Preparing
to add signing on server side.
(This used to be commit c390b3e4cd68cfc233ddf14d139e25d40f050f27)

16 years agoAdd a cli_ prefix to a few functions to ensure everything that takes a struct cli_state
Jeremy Allison [Tue, 15 Jul 2003 22:26:47 +0000 (22:26 +0000)]
Add a cli_ prefix to a few functions to ensure everything that takes a struct cli_state
is so marked.
(This used to be commit 0b8724ed65799f94f2af5d1dbb9ba20f1bac53a7)

16 years agofix schannel processing on fragmented PDUs. 'net rpc vampire' works again.
Gerald Carter [Tue, 15 Jul 2003 21:33:28 +0000 (21:33 +0000)]
fix schannel processing on fragmented PDUs.  'net rpc vampire' works again.
(This used to be commit ff0c71148e405eeb49efbc51461325c7f2207433)

16 years agoFix memleak
Volker Lendecke [Tue, 15 Jul 2003 17:27:39 +0000 (17:27 +0000)]
Fix memleak
(This used to be commit 517bb4d0df4cd120ef0ffc3cd879897971f0982e)

16 years agoWe should report if a group mapping fails. This should fix bug#225.
Volker Lendecke [Tue, 15 Jul 2003 17:23:36 +0000 (17:23 +0000)]
We should report if a group mapping fails. This should fix bug#225.

Jerry, this is assigned to you. Do you want to answer it?

However, we have to decide what to do if a mapping is to be done for a
unix group not in LDAP....

(This used to be commit bf449d467cfe4987df17010490a16ab0472c0803)

16 years agoDebian updates. Brings files in packaging/Debian on par with the
Eloy Paris [Tue, 15 Jul 2003 17:22:38 +0000 (17:22 +0000)]
Debian updates. Brings files in packaging/Debian on par with the
latest Debian official packages for Debian unstable. Also fixes
patches that got out of date in the beta2->beta3 development process.
(This used to be commit 03871fd574bf9c0f6d88c96423f77e9ada7b16f7)

16 years agoAdd support for MSG_SMB_CONF_UPDATED and MSG_SHUTDOWN to all daemons (smbd, nmbd...
Alexander Bokovoy [Tue, 15 Jul 2003 17:21:21 +0000 (17:21 +0000)]
Add support for MSG_SMB_CONF_UPDATED and MSG_SHUTDOWN to all daemons (smbd, nmbd, winbindd). Reviewed by jerry and tridge.
(This used to be commit 02c5e2fc6f0721ebd82a9e6a2b34190607de55fe)

16 years agoFix memleaks
Volker Lendecke [Tue, 15 Jul 2003 17:00:11 +0000 (17:00 +0000)]
Fix memleaks
(This used to be commit 26134ac302f3296df6a65182f2585201a3ad833a)

16 years agoFix memleak
Volker Lendecke [Tue, 15 Jul 2003 16:46:20 +0000 (16:46 +0000)]
Fix memleak
(This used to be commit 6770d69942a8841fb25448a8a238af7987ec860c)

16 years agoJim, could you please look at this? smbpasswd -a <username> was broken
Volker Lendecke [Tue, 15 Jul 2003 16:07:50 +0000 (16:07 +0000)]
Jim, could you please look at this? smbpasswd -a <username> was broken
for me without this patch. I'm not sure if I interpreted your patch to
this code right.


(This used to be commit 46ec022f873416d2258fc8d84430b17319dce70f)

16 years agoMandrake packaging updates from Buchan
Gerald Carter [Tue, 15 Jul 2003 16:02:51 +0000 (16:02 +0000)]
Mandrake packaging updates from Buchan
(This used to be commit 3fec31d0fd91de6196d56fc7eae145f10c12483c)

16 years agoAccept --with-expsam=no as valid option (do nothing on it). Simplifies automatic...
Alexander Bokovoy [Tue, 15 Jul 2003 13:00:20 +0000 (13:00 +0000)]
Accept --with-expsam=no as valid option (do nothing on it). Simplifies automatic option generation for spec files
(This used to be commit 4042d965f26d8cc056792df50d0a2a6f3f640e50)

16 years agoFix cut&paste bug in strdup() usage example. Found by Metze
Alexander Bokovoy [Tue, 15 Jul 2003 12:12:15 +0000 (12:12 +0000)]
Fix cut&paste bug in strdup() usage example. Found by Metze
(This used to be commit 38f85593c41b5d9ea1c67beb626724b9e14a5dab)

16 years agoAdd mandir to installdir target. Otherwise installman fails for clean DESTDIR
Alexander Bokovoy [Tue, 15 Jul 2003 09:50:44 +0000 (09:50 +0000)]
Add mandir to installdir target. Otherwise installman fails for clean DESTDIR
(This used to be commit bb31276c3dfd10bfbc41b7e77e1e1aca1f051453)

16 years agoodding some more docs
Gerald Carter [Tue, 15 Jul 2003 04:38:20 +0000 (04:38 +0000)]
odding some more docs
(This used to be commit 6fdf9f8cd53833294d34aa6dc8d660957c530ae5)

16 years agoadding docs on hew parameters I added.
Gerald Carter [Tue, 15 Jul 2003 04:33:37 +0000 (04:33 +0000)]
adding docs on hew parameters I added.
(This used to be commit 7c91c4360ffd5683f063ac2ce8ebadb4b4db9342)

16 years agoupdate docs to reflect the change in default behavior for winbindd
Gerald Carter [Tue, 15 Jul 2003 04:24:37 +0000 (04:24 +0000)]
update docs to reflect the change in default behavior for winbindd
(This used to be commit 140e2fd5d710f5c800399e20a64c8ac4349a7003)