vlendec/samba-autobuild/.git
23 years agoMore %d (uid_t) stuff...
Jeremy Allison [Fri, 27 Apr 2001 22:02:23 +0000 (22:02 +0000)]
More %d (uid_t) stuff...
Jeremy.
(This used to be commit 73b425121a8c99af3ed7adbdcff3f6f0cec92ac7)

23 years agoMore acl -> the_acl, %d with uid_t issues.
Jeremy Allison [Fri, 27 Apr 2001 21:49:22 +0000 (21:49 +0000)]
More acl -> the_acl, %d with uid_t issues.
Jeremy.
(This used to be commit 30edd7fdf1d791d76351a7cc23a83f97386c3087)

23 years agoDon't use variables called "acl" as it's the name of a function in Solaris.
Jeremy Allison [Fri, 27 Apr 2001 21:20:20 +0000 (21:20 +0000)]
Don't use variables called "acl" as it's the name of a function in Solaris.
Jeremy.
(This used to be commit 277eb517e25eb3910057336b2bee18875dffe6cc)

23 years agoTidy up args to DEBUG Statements - found by gcc on Solaris.
Jeremy Allison [Fri, 27 Apr 2001 21:14:18 +0000 (21:14 +0000)]
Tidy up args to DEBUG Statements - found by gcc on Solaris.
Jeremy.
(This used to be commit a60ecb4e53a6c8a3a6a37a89042ae943202263fe)

23 years agoFixes for problems in NFS server code from Michael Gerdts <Michael.Gerdts@usa.alcatel...
Jeremy Allison [Fri, 27 Apr 2001 19:56:15 +0000 (19:56 +0000)]
Fixes for problems in NFS server code from Michael Gerdts <Michael.Gerdts@usa.alcatel.com>.
Jeremy.
(This used to be commit 2fd5e0bf141807d31f6f1a817d271548d0ccfadc)

23 years agoPatch from Frédéric Blanc <el_blaf@yahoo.fr> to correctly uninstall
Jeremy Allison [Fri, 27 Apr 2001 19:03:29 +0000 (19:03 +0000)]
Patch from Frédéric Blanc <el_blaf@yahoo.fr> to correctly uninstall
codepages.
Jeremy.
(This used to be commit 231f1f44c314d5d614c9f2745a108839a26cfc0d)

23 years agoFix from matthew.hart@veritas.com - bad error return from linux_oplock_receive_message().
Jeremy Allison [Fri, 27 Apr 2001 18:03:12 +0000 (18:03 +0000)]
Fix from matthew.hart@veritas.com - bad error return from linux_oplock_receive_message().
Jeremy.
(This used to be commit b35ca2c6b13877bc6e09c7c4179d9529a7d3e0b3)

23 years agoAdded Herb's comment fix.
Jeremy Allison [Fri, 27 Apr 2001 17:32:46 +0000 (17:32 +0000)]
Added Herb's comment fix.
Jeremy.
(This used to be commit f4f4aae675f55d3319aca8489621afc92aaf8de1)

23 years agofix a bug in printer name handling that jerry reported.
Jean-François Micouleau [Fri, 27 Apr 2001 17:08:33 +0000 (17:08 +0000)]
fix a bug in printer name handling that jerry reported.

names can be \\server -> print server
\\server\printer -> printer
printer -> printer

J.F.
(This used to be commit ec576722b79e3c5384dd40c532d4233dd6b1b9a8)

23 years agoC99 test for snprintf
Andrew Tridgell [Fri, 27 Apr 2001 13:09:55 +0000 (13:09 +0000)]
C99 test for snprintf
(This used to be commit fcd100eec51034cc4ea1e781e971b6dd65801b31)

23 years agoadded much better snprintf code, plus new function asprintf
Andrew Tridgell [Fri, 27 Apr 2001 02:45:08 +0000 (02:45 +0000)]
added much better snprintf code, plus new function asprintf
(This used to be commit 10327ad11f9a97bf536dc772c9577d8f6809c829)

23 years agoadded test for C99 compliant vsnprintf
Andrew Tridgell [Fri, 27 Apr 2001 02:35:42 +0000 (02:35 +0000)]
added test for C99 compliant vsnprintf
(This used to be commit 9ebd90904e512c49cc80c584ab3d5902340ddcae)

23 years agofixed typo
Andrew Tridgell [Fri, 27 Apr 2001 02:11:47 +0000 (02:11 +0000)]
fixed typo
(This used to be commit ed9d93c9c3c42b13b021e5e8f84f4d865cd28724)

23 years agoFixed REPLACE_GETPASS test.
Jeremy Allison [Thu, 26 Apr 2001 18:36:38 +0000 (18:36 +0000)]
Fixed REPLACE_GETPASS test.
Jeremy.
(This used to be commit 3cfcaaca5ba54ada898680ac9943086316d262b4)

23 years agoremoved references to SMBRUN
Gerald Carter [Thu, 26 Apr 2001 13:25:46 +0000 (13:25 +0000)]
removed references to SMBRUN
(This used to be commit 822511eb3c8daa89e96b3fab7573555312415262)

23 years agoremoved SMBRUN references
Gerald Carter [Thu, 26 Apr 2001 02:24:45 +0000 (02:24 +0000)]
removed SMBRUN references
(This used to be commit bab7bb2d4e3d1706315ff30cc406588b9dec59a1)

23 years agoSync with default perm changes in 2.2.
Jeremy Allison [Wed, 25 Apr 2001 23:25:58 +0000 (23:25 +0000)]
Sync with default perm changes in 2.2.
Jeremy.
(This used to be commit f02e67a096b3bcf84615c4a6949c5e6283e07af0)

23 years agoconverted the passdb smbpasswd implementation to using talloc
Gerald Carter [Wed, 25 Apr 2001 22:12:13 +0000 (22:12 +0000)]
converted the passdb smbpasswd implementation to using talloc
for memory allocation.  This fixes a long standing seg fault
(i knew i would get around to it one day :) )

Tested with NT4 and Win2k.  Needs a little more testing with the
"create the machine account on the fly" code for NT4.

Simo, this is probably going to break the tdb passdb code.
Can you look at that when you get a chance and see what you think?
(This used to be commit 1c13110873e456748dc09fd51749f664643fe888)

23 years agoRe-ran autoheader; autoconf to fix pam_smb build.
Jeremy Allison [Wed, 25 Apr 2001 19:03:57 +0000 (19:03 +0000)]
Re-ran autoheader; autoconf to fix pam_smb build.
Jeremy.
(This used to be commit c6f25e84d3e15319d263386c101727d787cf0679)

23 years agoFixed %U and %D substitutions. %U is lowercase user name, %D is uppercase
Jeremy Allison [Wed, 25 Apr 2001 18:39:31 +0000 (18:39 +0000)]
Fixed %U and %D substitutions. %U is lowercase user name, %D is uppercase
domain name.
Jeremy.
(This used to be commit 5f005952f6d8c281cf91ac0855e83342a2fd7e45)

23 years agoadded solaris wrapper from tng
Andrew Tridgell [Wed, 25 Apr 2001 06:45:27 +0000 (06:45 +0000)]
added solaris wrapper from tng
(This used to be commit d854d01d1197300f637eb38c243f8b0b80cf24ba)

23 years agomerge some of the nsswitch code from tng to head
Andrew Tridgell [Wed, 25 Apr 2001 05:47:50 +0000 (05:47 +0000)]
merge some of the nsswitch code from tng to head
the libnss_winbind.so from head now works with
the winbindd from tng
(This used to be commit 67ccfd2826548a6ca22562f9fb3ae156a57bd7db)

23 years agomerge from 2_2
Andrew Tridgell [Wed, 25 Apr 2001 01:52:54 +0000 (01:52 +0000)]
merge from 2_2
(This used to be commit b9137b613dc8cb45cbebfc6e57e20fde0517347a)

23 years agoMore paranioa fixes against nmbd lengths.
Jeremy Allison [Wed, 25 Apr 2001 01:07:33 +0000 (01:07 +0000)]
More paranioa fixes against nmbd lengths.
Jeremy.
(This used to be commit 53f35a71c6fc46814eca914573506622d7db4e08)

23 years agoFix bad length in dgram.
Jeremy Allison [Tue, 24 Apr 2001 23:51:57 +0000 (23:51 +0000)]
Fix bad length in dgram.
Jeremy.
(This used to be commit 8bd27845f0d8b19409ba79c028ce54732d7276e1)

23 years agoAdded Steve Langasek <vorlon@netexpress.net> pam_smbpass support
John Terpstra [Tue, 24 Apr 2001 21:13:48 +0000 (21:13 +0000)]
Added Steve Langasek <vorlon@netexpress.net> pam_smbpass support
(This used to be commit 550cc5c182e88f742ac2052d80208da5f98e2543)

23 years agoAdded Steve Langasek <vorlon@netexpress.net> pam_smbpass PAM module code.
John Terpstra [Tue, 24 Apr 2001 20:00:12 +0000 (20:00 +0000)]
Added Steve Langasek <vorlon@netexpress.net> pam_smbpass PAM module code.
Note: Still have to add build stuff - not ready yet.
(This used to be commit 1de7022f98b64b15503aaf48c8d729789fc49781)

23 years agosyncing up with 2.2
Gerald Carter [Tue, 24 Apr 2001 19:10:40 +0000 (19:10 +0000)]
syncing up with 2.2
(This used to be commit ff4cdb5a346bd864d169f18a10f318f13f1afcd8)

23 years agosyncing up changes in 2.2
Gerald Carter [Tue, 24 Apr 2001 19:09:42 +0000 (19:09 +0000)]
syncing up changes in 2.2
(This used to be commit ffbbe67dbfde7f7ce4bb70becfc696c395dbf6b2)

23 years agofix typo
Herb Lewis [Tue, 24 Apr 2001 18:53:15 +0000 (18:53 +0000)]
fix typo
(This used to be commit ed2dfae0e503367671c54ad8f1f49ac3af0b1c6a)

23 years agoPatch for nmbd core dump in printing debug packets. No length check.
Jeremy Allison [Tue, 24 Apr 2001 18:01:40 +0000 (18:01 +0000)]
Patch for nmbd core dump in printing debug packets. No length check.
Jeremy.
(This used to be commit eacb96396d57d6b622b750d64b3686e6fbeaf68c)

23 years agodon't allow both add and delete user to be set at the same time
Herb Lewis [Tue, 24 Apr 2001 16:44:28 +0000 (16:44 +0000)]
don't allow both add and delete user to be set at the same time
(This used to be commit 9db84de46a3823878c2a9356ac4ae4fd179d5847)

23 years agoset "vfs object" and "vfs options" to be setable by SWAT on advanced page
Herb Lewis [Tue, 24 Apr 2001 16:24:36 +0000 (16:24 +0000)]
set "vfs object" and "vfs options" to be setable by SWAT on advanced page
change "host msdfs" to be strictly a global parameter on advanced page
change "printer admin" to be on printers page not share page (caught by
Ingo Kilian <ikilian@web.de> )
(This used to be commit 93034985e02bdb9a00a9c509b851442561f4ad68)

23 years agoupdating changes with 2.2 (comment lines in ./configure --help)
Gerald Carter [Tue, 24 Apr 2001 14:31:45 +0000 (14:31 +0000)]
updating changes with 2.2 (comment lines in ./configure --help)
(This used to be commit cf9e34c79be4c09b84d648134933b9007a06dc92)

23 years agoadded Mandrake support from 2.2
Gerald Carter [Tue, 24 Apr 2001 05:08:50 +0000 (05:08 +0000)]
added Mandrake support from 2.2
(This used to be commit 9f8cb4906f98403d4a8f2577197720d72bdf6b4f)

23 years agorow of asteriks that indicates new entry must start at beginning of line.
Herb Lewis [Mon, 23 Apr 2001 23:44:25 +0000 (23:44 +0000)]
row of asteriks that indicates new entry must start at beginning of line.
(This used to be commit df4a31580c537b2008db76a2009d21f7f9ac7285)

23 years agoFix "proc num out of range" error. Missing rpc call.
Jeremy Allison [Mon, 23 Apr 2001 23:31:09 +0000 (23:31 +0000)]
Fix "proc num out of range" error. Missing rpc call.
Jeremy.
(This used to be commit 6248fb22926d72fddaecad5af117af1bdd08fda3)

23 years agoFixed memory leak in new session code.
Jeremy Allison [Mon, 23 Apr 2001 23:07:31 +0000 (23:07 +0000)]
Fixed memory leak in new session code.
Jeremy.
(This used to be commit 43b69e5d6e78a30563d7c1d03c7e920d529487b5)

23 years agoAdded "obey pam restrictions" parameter - default to "off".
Jeremy Allison [Mon, 23 Apr 2001 20:43:20 +0000 (20:43 +0000)]
Added "obey pam restrictions" parameter - default to "off".
Only set this to "on" if you know you have your PAM set up correctly.....
NB. Doesn't apply to plaintext password authentication, which must use
pam when compiled in.
Jeremy.
(This used to be commit 59aa99f3901d098b7afbe675021bda53b62ee496)

23 years agoFix more free twice bugs.
Jeremy Allison [Mon, 23 Apr 2001 06:22:02 +0000 (06:22 +0000)]
Fix more free twice bugs.
Jeremy.
(This used to be commit 4db22afeed659a871a4a1f719d5fa1f2df07e24d)

23 years agoFix for bug in code for pam_session failure - pam_end called twice.
Jeremy Allison [Mon, 23 Apr 2001 06:09:27 +0000 (06:09 +0000)]
Fix for bug in code for pam_session failure - pam_end called twice.
Jeremy.
(This used to be commit c4048fcdb6ff3a890b69be8ef4832e9bd958cfec)

23 years agoAdded smb_ prefix to all Samba wrapper pam functions.
Jeremy Allison [Mon, 23 Apr 2001 04:15:35 +0000 (04:15 +0000)]
Added smb_ prefix to all Samba wrapper pam functions.
Fixed off by one bug using StrnCpy instead of strdup().
Jeremy.
(This used to be commit d4b1c0be2e700c86a4338bb497777f97e3c960a7)

23 years agoCommit of a modified version of Andrew Bartlett's patch that removes the
Jeremy Allison [Sun, 22 Apr 2001 07:20:24 +0000 (07:20 +0000)]
Commit of a modified version of Andrew Bartlett's patch that removes the
horrid utmp hostname parameter - now uses the client name instead.
Also tidies up some of the unencrypted password checking when PAM
is compiled in.
FIXME ! An pam_accountcheck() is being called even when smb encrypted
passwords are negotiated. Is this the correct thing to do when winbindd
is running ! This needs *SEVERE* testing....
Jeremy.
(This used to be commit 071c799f479dd25efdb9c41745fc8f2beea7b568)

23 years agoFinally got name & SID returns correct.
Jeremy Allison [Sun, 22 Apr 2001 06:13:14 +0000 (06:13 +0000)]
Finally got name & SID returns correct.
Jeremy.
(This used to be commit 2a5b513c4459782fa95756f1483235c186ba4a08)

23 years agoa couple of minor merges from 2_2
Andrew Tridgell [Sun, 22 Apr 2001 03:16:04 +0000 (03:16 +0000)]
a couple of minor merges from 2_2
(This used to be commit 67aa587eb2ee9044574ee212dfd7d52895f868c0)

23 years agomerging from 2.2 to head
Andrew Tridgell [Sun, 22 Apr 2001 02:54:04 +0000 (02:54 +0000)]
merging from 2.2 to head
(This used to be commit bfcc6f88271025760732271f03933839b1cbe0de)

23 years agoJF pointed out we were returning the wrong info for Domain member with info
Jeremy Allison [Sat, 21 Apr 2001 23:06:59 +0000 (23:06 +0000)]
JF pointed out we were returning the wrong info for Domain member with info
levels 3 and 5. I *hate* LSAQueryInfoPolicy() :-).
Jeremy.
(This used to be commit 37581bdf1e1f24dabe67befdc27f54f516d3f08e)

23 years agoFix proto's in old code.
Jeremy Allison [Sat, 21 Apr 2001 07:53:40 +0000 (07:53 +0000)]
Fix proto's in old code.
Jeremy.
(This used to be commit 86c7c654effcfb86c99daac63e68844e1a4aaf56)

23 years agoFixed compile bug when using --with-pam but not --with-utmp.
Jeremy Allison [Sat, 21 Apr 2001 07:43:54 +0000 (07:43 +0000)]
Fixed compile bug when using --with-pam but not --with-utmp.
Jeremy.
(This used to be commit 1e098744677e022547707ebff500fb4515402871)

23 years agomerge from 2.2
Gerald Carter [Fri, 20 Apr 2001 15:39:51 +0000 (15:39 +0000)]
merge from 2.2
(This used to be commit f87f3707f3d5f205d0287381d71380264a711666)

23 years agoOops. Typos.
John Terpstra [Fri, 20 Apr 2001 00:19:49 +0000 (00:19 +0000)]
Oops. Typos.
(This used to be commit 44f96771c384b319290ab5e14cad6ba8f3fb5383)

23 years agoAdded error reporting to pam_session code.
John Terpstra [Thu, 19 Apr 2001 23:52:45 +0000 (23:52 +0000)]
Added error reporting to pam_session code.
(This used to be commit 72812e4cf199d804418dc52cc0b0ba683b8a2e5c)

23 years agomerge from 2.2
Gerald Carter [Thu, 19 Apr 2001 23:13:38 +0000 (23:13 +0000)]
merge from 2.2
(This used to be commit 79f4c4ad74149f4b1a8a5a82d8ca8d2474a23ab3)

23 years agobad link
Gerald Carter [Thu, 19 Apr 2001 22:09:29 +0000 (22:09 +0000)]
bad link
(This used to be commit 19dba7fa1133120d54dbd3750b6dc82d067c50ba)

23 years agomerge from 2.2
Gerald Carter [Thu, 19 Apr 2001 21:51:08 +0000 (21:51 +0000)]
merge from 2.2
(This used to be commit aec000bf50289ce4118f27c419460343556d4afe)

23 years agomeger from 2.2
Gerald Carter [Thu, 19 Apr 2001 21:46:33 +0000 (21:46 +0000)]
meger from 2.2
(This used to be commit 6322dd0c9e54ef69924686fee7d6b9a8ff7c64a5)

23 years agomerge
Gerald Carter [Thu, 19 Apr 2001 21:43:29 +0000 (21:43 +0000)]
merge
(This used to be commit 6b38c1cb253c2918f2d57b8540c32d9e5bf9bb02)

23 years agomerge from 2.2
Gerald Carter [Thu, 19 Apr 2001 21:41:48 +0000 (21:41 +0000)]
merge from 2.2
(This used to be commit 6270765ed5d4e94d34af6d512f17f403b9624699)

23 years agoanother merge from 2.2
Gerald Carter [Thu, 19 Apr 2001 21:41:01 +0000 (21:41 +0000)]
another merge from 2.2
(This used to be commit f8e4876a04add168a17652431e85a9c2b5b6c619)

23 years agolarge sync up with 2.2
Gerald Carter [Thu, 19 Apr 2001 21:33:44 +0000 (21:33 +0000)]
large sync up with 2.2
(This used to be commit 96523293da19df201703fed6130f1ff9ba25324b)

23 years agosyncing up with 2.2
Gerald Carter [Thu, 19 Apr 2001 21:30:20 +0000 (21:30 +0000)]
syncing up with 2.2
(This used to be commit dd83f412e9c60c02bf1d5e11a13a6122c71375ca)

23 years agobeginning of big merge of docs from 2.2
Gerald Carter [Thu, 19 Apr 2001 21:07:17 +0000 (21:07 +0000)]
beginning of big merge of docs from 2.2
(This used to be commit 30e385a737e386015d4256f8b3e11b35a35b2268)

23 years agodon't make extra copy of README file
Herb Lewis [Thu, 19 Apr 2001 19:37:47 +0000 (19:37 +0000)]
don't make extra copy of README file
(This used to be commit fbd05be7238cd5055fef0d63491f5891f0fc6b30)

23 years agomerge from 2_2
Andrew Tridgell [Thu, 19 Apr 2001 13:47:12 +0000 (13:47 +0000)]
merge from 2_2
(This used to be commit 5e9a2084bfa555295f60485fc83f9bb9245f3fd4)

23 years agoa missing string conversion.
Jean-François Micouleau [Wed, 18 Apr 2001 17:57:53 +0000 (17:57 +0000)]
a missing string conversion.

J.F.
(This used to be commit 9513eb87c2d113fe27bcea2add05226495c33cb8)

23 years agonew files for head
Andrew Tridgell [Wed, 18 Apr 2001 16:42:07 +0000 (16:42 +0000)]
new files for head
(This used to be commit c0d4a1f5dd34e49843c879dd88fc78c7dffd9269)

23 years agomerge from 2.2
Andrew Tridgell [Wed, 18 Apr 2001 16:41:04 +0000 (16:41 +0000)]
merge from 2.2
(This used to be commit f52a5014ee325f9d91f266f88eac51b6136a75b9)

23 years agoRemoved mktemp from HEAD - same as done in 2.2.
Jeremy Allison [Wed, 18 Apr 2001 05:12:46 +0000 (05:12 +0000)]
Removed mktemp from HEAD - same as done in 2.2.
Jeremy.
(This used to be commit 121b59669fbcd1aaedb08011ff36169fc6561c55)

23 years agopatch from Steve Langasek <vorlon@netexpress.net> to make sure we
Jeremy Allison [Wed, 18 Apr 2001 04:34:42 +0000 (04:34 +0000)]
patch from Steve Langasek <vorlon@netexpress.net> to make sure we
don't use pam_setcred() if we haven't called pam_authenticate()
Merge from 2.2
Jeremy.
(This used to be commit 89589895e3adce75ecd6205547392326cf291543)

23 years agoMerge of changes from 2.2.
Jeremy Allison [Wed, 18 Apr 2001 04:33:24 +0000 (04:33 +0000)]
Merge of changes from 2.2.
Jeremy.
(This used to be commit df912162bbe93611c80defe830641f580687edbb)

23 years agoRememver to use VFS at all times... even in new user_can_read_file code :-).
Jeremy Allison [Wed, 18 Apr 2001 02:27:23 +0000 (02:27 +0000)]
Rememver to use VFS at all times... even in new user_can_read_file code :-).
Jeremy.
(This used to be commit 0d10113d01d6d15f470359259a76e4f107a06c73)

23 years agoMerged Andrew's wfw fix (2).
Jeremy Allison [Tue, 17 Apr 2001 07:09:42 +0000 (07:09 +0000)]
Merged Andrew's wfw fix (2).
Jeremy.
(This used to be commit a4fb755a48d27f21bd0a5d9e9d1227a08c13bdff)

23 years agoAIX ACLs donated by IBM.
Jeremy Allison [Tue, 17 Apr 2001 05:41:07 +0000 (05:41 +0000)]
AIX ACLs donated by IBM.
Merge Andrew's fnmatch fix for WfW.
Jeremy.
(This used to be commit 1d4438f07745df3d02ed8ab3ef048e20016816b6)

23 years agohide unreadable patch from idra
Andrew Tridgell [Mon, 16 Apr 2001 15:16:31 +0000 (15:16 +0000)]
hide unreadable patch from idra
(This used to be commit 7b6cfe243002a92f5dfb52413e9b3550c61cecfb)

23 years agoAdded --with-codepagedir as RedHat 6.2 and 7.x place them differently.
Jeremy Allison [Mon, 16 Apr 2001 07:10:55 +0000 (07:10 +0000)]
Added --with-codepagedir as RedHat 6.2 and 7.x place them differently.
Jeremy.
(This used to be commit 1cfc542685f3ad6c16e922ca35043a1a9ce57f8e)

23 years agoGrr - fixed compile error in smbwrapper stuff.
Tim Potter [Mon, 16 Apr 2001 02:42:10 +0000 (02:42 +0000)]
Grr - fixed compile error in smbwrapper stuff.
(This used to be commit 11a7c5e3d61348dc8c5dfdc782a95974a1547e4d)

23 years agoGetting medieval with compiler warnings as Jeremy puts it.
Tim Potter [Mon, 16 Apr 2001 02:35:35 +0000 (02:35 +0000)]
Getting medieval with compiler warnings as Jeremy puts it.
(This used to be commit d05c3cf0f47a3c863adbed7ad4ab8f3248cd072d)

23 years agoFinally got the semantics right (hurrah!).
Jeremy Allison [Mon, 16 Apr 2001 00:34:03 +0000 (00:34 +0000)]
Finally got the semantics right (hurrah!).
Jeremy.
(This used to be commit 362574c5a32005d4247c7ac75a5aa9e35e894db0)

23 years agoCorrect fix for open readonly with truncate.
Jeremy Allison [Mon, 16 Apr 2001 00:02:29 +0000 (00:02 +0000)]
Correct fix for open readonly with truncate.
Jeremy.
(This used to be commit 6706e258e17c3d69d617b95feb3407124f50852d)

23 years agoFixed potential bug in "become_guest" pointed out by elrond. Get_Pwnam()
Jeremy Allison [Sun, 15 Apr 2001 23:36:05 +0000 (23:36 +0000)]
Fixed potential bug in "become_guest" pointed out by elrond. Get_Pwnam()
returns a pointer to changable storage so ensure we save the details and
don't use the pointer directly.
Jeremy.
(This used to be commit d9fdaae54ee3a267aebd02ff6058a98aefc084c2)

23 years agoPatch from "Christoph Zwerschke" <zwerschke@zuv.uni-heidelberg.de> to
Jeremy Allison [Sun, 15 Apr 2001 22:29:36 +0000 (22:29 +0000)]
Patch from "Christoph Zwerschke" <zwerschke@zuv.uni-heidelberg.de> to
map usernames before calling password change.
Jeremy.
(This used to be commit ce2a236dc61d819e083b32556a2d9f827944b91c)

23 years agoAdded Darwin guess.
Jeremy Allison [Sun, 15 Apr 2001 22:21:04 +0000 (22:21 +0000)]
Added Darwin guess.
lib/util_str.c: Excellent patch from  Kenichi Okuyama <okuyamak@dd.iij4u.or.jp>
to speed up trim_string handling !
Jeremy.
(This used to be commit 4bb63ba615c735a298a6cbda2c87242695104978)

23 years agoFix from "Darrin B. Jewell" <jewell@bdi.com> to allow anything other than
Jeremy Allison [Sun, 15 Apr 2001 21:22:18 +0000 (21:22 +0000)]
Fix from "Darrin B. Jewell" <jewell@bdi.com> to allow anything other than
nmbd to talk to nmbd if it's a WINS server.
Jeremy.
(This used to be commit 0e8147aecaf6941c77fd05b4b705ca31c1ec5760)

23 years agoFix from Tony Butt - shouldn't set got_pass for -c option.
Jeremy Allison [Sun, 15 Apr 2001 20:40:08 +0000 (20:40 +0000)]
Fix from Tony Butt - shouldn't set got_pass for -c option.
Jeremy.
(This used to be commit 83aa76205858a0d0a0fa2a22648e727b796908f2)

23 years agoRemoved one samba-bugs ref. from source.
Jeremy Allison [Sat, 14 Apr 2001 21:26:45 +0000 (21:26 +0000)]
Removed one samba-bugs ref. from source.
Jeremy.
(This used to be commit d40ee1707d1d3cf04358bca7fad16ebc15bd4845)

23 years agoThis little piece of insanity is inspired by the
Jeremy Allison [Sat, 14 Apr 2001 20:47:30 +0000 (20:47 +0000)]
This little piece of insanity is inspired by the
fact that an NT client can open a file for O_RDONLY,
but set the create disposition to FILE_EXISTS_TRUNCATE.
If the client *can* write to the file, then it expects to
truncate the file, even though it is opening for readonly.
Quicken uses this stupid trick in backup file creation...
Thanks *greatly* to "David W. Chapman Jr." <dwcjr@inethouston.net>
for helping track this one down. It didn't bite us in 2.0.x
as we always opened files read-write in that release.
Jeremy.
(This used to be commit 5baef56831f9bc4fa10a851abd5f9305b974fb3b)

23 years agoAdded POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. Changed
Jeremy Allison [Sat, 14 Apr 2001 19:46:28 +0000 (19:46 +0000)]
Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. Changed
a bit to use AC_TRY_LINK to ensure functions are available for link
instead of AC_TRY_COMPILE.
Jeremy.
(This used to be commit c23628746342b6afa28cb34b0b4eaa61189ad390)

23 years agoPatch from Mandrakesoft to ensure we close all files.
John Terpstra [Sat, 14 Apr 2001 18:39:32 +0000 (18:39 +0000)]
Patch from Mandrakesoft to ensure we close all files.
(This used to be commit 8051406588987005f621cb095067d3628638d250)

23 years agoFix for True64 treating readonly as a reserved word !
Jeremy Allison [Sat, 14 Apr 2001 00:41:15 +0000 (00:41 +0000)]
Fix for True64 treating readonly as a reserved word !
Jeremy.
(This used to be commit d6889b1954bd863fd04cf43fb25f178b1d1ab67f)

23 years agoconfigure:
Jeremy Allison [Sat, 14 Apr 2001 00:19:12 +0000 (00:19 +0000)]
configure:
configure.in:
include/config.h.in:
include/profile.h:
smbd/vfs-wrap.c:
smbd/vfs.c:
Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway).
smbd/dosmode.c:
smbd/files.c:
printing/printfsp.c:
smbd/close.c:
smbd/open.c:
Fixed "dos filemode" correctly so there are no race conditions. Forces test
of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls
standard close function that preserves POSIX locks due to POSIX-me-harder
braindamage. :-). Andrew please review this code.
Also - in removing the tmpdir param in smbrun an extra NULL parameter
was missed in each print_run_command() call (which is a varargs fn.).
Now fixed.
Jeremy.
(This used to be commit 32397e5bc6d995ce7ca37c82d6aedc1e5b1b6fbd)

23 years agoMichael Davidson <md@sco.COM> pointed out that acl_get_qualifier can potentially
Jeremy Allison [Fri, 13 Apr 2001 21:11:57 +0000 (21:11 +0000)]
Michael Davidson <md@sco.COM> pointed out that acl_get_qualifier can potentially
return a malloced area so added sys_acl_free_qualifier() calls to all supported
ACL interfaces to code with this (only Linux needs actual free call).
Jeremy.
(This used to be commit 5870e6019b82d2088b99acdc0f84e9e4847a1fa5)

23 years agoFixed potential file descriptor leak with MS-Access fix.
Jeremy Allison [Fri, 13 Apr 2001 20:49:11 +0000 (20:49 +0000)]
Fixed potential file descriptor leak with MS-Access fix.
Jeremy.
(This used to be commit 192887fe72157a141b8df1977085f479e5204782)

23 years agoAdded fix from "Eric Boehm" <boehm@nortelnetworks.com> to try and set hard
Jeremy Allison [Fri, 13 Apr 2001 19:33:26 +0000 (19:33 +0000)]
Added fix from "Eric Boehm" <boehm@nortelnetworks.com> to try and set hard
limit before setting soft limit.
Jeremy.
(This used to be commit a1eb2752a8bee9cc7d92c664c3de84e02620933d)

23 years agoMerge of Andrew's changes in 2.2.
Jeremy Allison [Fri, 13 Apr 2001 19:12:06 +0000 (19:12 +0000)]
Merge of Andrew's changes in 2.2.
Jeremy.
(This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)

23 years agoAdding the "Using Samba" book to the packaging in HEAD.
Shirish Kalele [Fri, 13 Apr 2001 18:18:25 +0000 (18:18 +0000)]
Adding the "Using Samba" book to the packaging in HEAD.
(This used to be commit 4f06373bc450b27692619ae877d29767ad160297)

23 years agoUpdated with Andrew Bartlett patch.
John Terpstra [Fri, 13 Apr 2001 04:27:50 +0000 (04:27 +0000)]
Updated with Andrew Bartlett patch.
(This used to be commit 02e84267f74b26bdf7f76c0fc9dbaecbc8574d58)

23 years agoUpdated Major/Minor version to 4.50 - see notes.
John Terpstra [Fri, 13 Apr 2001 02:51:58 +0000 (02:51 +0000)]
Updated Major/Minor version to 4.50 - see notes.
(This used to be commit bdb68cf37e9b512e9f72f1cf20b7ca265888319e)

23 years agoAs Andrew suggested, make smbrun return a fd for a deleted file which can then
Jeremy Allison [Fri, 13 Apr 2001 00:37:00 +0000 (00:37 +0000)]
As Andrew suggested, make smbrun return a fd for a deleted file which can then
be read.
Jeremy.
(This used to be commit e7d59d6de89a5fdd201e4b5c6072dab08b1519db)

23 years agoforgot one thing
Gerald Carter [Thu, 12 Apr 2001 22:15:57 +0000 (22:15 +0000)]
forgot one thing
(This used to be commit a17f2471571596e97b212ff9de1c8b45dac12eb6)

23 years agostill working on it
Gerald Carter [Thu, 12 Apr 2001 22:14:20 +0000 (22:14 +0000)]
still working on it
(This used to be commit ff7c5be88a05c0f1858fedb966ccfc038299bbc9)