1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

5460 Commits

Author SHA1 Message Date
Jeremy Allison
3e4c6d130c Fix "proc num out of range" error. Missing rpc call.
Jeremy.
(This used to be commit 6248fb22926d72fddaecad5af117af1bdd08fda3)
2001-04-23 23:31:09 +00:00
Jeremy Allison
30daf2e939 Fixed memory leak in new session code.
Jeremy.
(This used to be commit 43b69e5d6e78a30563d7c1d03c7e920d529487b5)
2001-04-23 23:07:31 +00:00
Jeremy Allison
70b55a9abc 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)
2001-04-23 20:43:20 +00:00
Jeremy Allison
e00451106b Fix more free twice bugs.
Jeremy.
(This used to be commit 4db22afeed659a871a4a1f719d5fa1f2df07e24d)
2001-04-23 06:22:02 +00:00
Jeremy Allison
d6a5dec6f2 Fix for bug in code for pam_session failure - pam_end called twice.
Jeremy.
(This used to be commit c4048fcdb6ff3a890b69be8ef4832e9bd958cfec)
2001-04-23 06:09:27 +00:00
Jeremy Allison
ae8418d0c4 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)
2001-04-23 04:15:35 +00:00
Jeremy Allison
e277c08631 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)
2001-04-22 07:20:24 +00:00
Jeremy Allison
130f31f571 Finally got name & SID returns correct.
Jeremy.
(This used to be commit 2a5b513c4459782fa95756f1483235c186ba4a08)
2001-04-22 06:13:14 +00:00
Andrew Tridgell
d3e438d54f a couple of minor merges from 2_2
(This used to be commit 67aa587eb2ee9044574ee212dfd7d52895f868c0)
2001-04-22 03:16:04 +00:00
Andrew Tridgell
ac9e221c3e merging from 2.2 to head
(This used to be commit bfcc6f88271025760732271f03933839b1cbe0de)
2001-04-22 02:54:04 +00:00
Jeremy Allison
a626bb3a23 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)
2001-04-21 23:06:59 +00:00
Jeremy Allison
9319a9484c Fix proto's in old code.
Jeremy.
(This used to be commit 86c7c654effcfb86c99daac63e68844e1a4aaf56)
2001-04-21 07:53:40 +00:00
Jeremy Allison
e129db422b Fixed compile bug when using --with-pam but not --with-utmp.
Jeremy.
(This used to be commit 1e098744677e022547707ebff500fb4515402871)
2001-04-21 07:43:54 +00:00
Gerald Carter
911975c88f merge from 2.2
(This used to be commit f87f3707f3d5f205d0287381d71380264a711666)
2001-04-20 15:39:51 +00:00
John Terpstra
790588eda4 Oops. Typos.
(This used to be commit 44f96771c384b319290ab5e14cad6ba8f3fb5383)
2001-04-20 00:19:49 +00:00
John Terpstra
80187366f2 Added error reporting to pam_session code.
(This used to be commit 72812e4cf199d804418dc52cc0b0ba683b8a2e5c)
2001-04-19 23:52:45 +00:00
Gerald Carter
0fc676c335 merge from 2.2
(This used to be commit 79f4c4ad74149f4b1a8a5a82d8ca8d2474a23ab3)
2001-04-19 23:13:38 +00:00
Gerald Carter
fac561cedc bad link
(This used to be commit 19dba7fa1133120d54dbd3750b6dc82d067c50ba)
2001-04-19 22:09:29 +00:00
Gerald Carter
46c21a9b27 merge from 2.2
(This used to be commit aec000bf50289ce4118f27c419460343556d4afe)
2001-04-19 21:51:08 +00:00
Gerald Carter
96594ad62b meger from 2.2
(This used to be commit 6322dd0c9e54ef69924686fee7d6b9a8ff7c64a5)
2001-04-19 21:46:33 +00:00
Gerald Carter
db04d7a878 merge
(This used to be commit 6b38c1cb253c2918f2d57b8540c32d9e5bf9bb02)
2001-04-19 21:43:29 +00:00
Gerald Carter
8939efc8c7 merge from 2.2
(This used to be commit 6270765ed5d4e94d34af6d512f17f403b9624699)
2001-04-19 21:41:48 +00:00
Gerald Carter
2cf8efffe2 another merge from 2.2
(This used to be commit f8e4876a04add168a17652431e85a9c2b5b6c619)
2001-04-19 21:41:01 +00:00
Gerald Carter
f95fb5fe39 large sync up with 2.2
(This used to be commit 96523293da19df201703fed6130f1ff9ba25324b)
2001-04-19 21:33:44 +00:00
Gerald Carter
e3fc10eab2 syncing up with 2.2
(This used to be commit dd83f412e9c60c02bf1d5e11a13a6122c71375ca)
2001-04-19 21:30:20 +00:00
Gerald Carter
3cfd1cb50b beginning of big merge of docs from 2.2
(This used to be commit 30e385a737e386015d4256f8b3e11b35a35b2268)
2001-04-19 21:07:17 +00:00
Herb Lewis
344787a4b7 don't make extra copy of README file
(This used to be commit fbd05be7238cd5055fef0d63491f5891f0fc6b30)
2001-04-19 19:37:47 +00:00
Andrew Tridgell
410ad56594 merge from 2_2
(This used to be commit 5e9a2084bfa555295f60485fc83f9bb9245f3fd4)
2001-04-19 13:47:12 +00:00
Jean-François Micouleau
6e4b008829 a missing string conversion.
J.F.
(This used to be commit 9513eb87c2d113fe27bcea2add05226495c33cb8)
2001-04-18 17:57:53 +00:00
Andrew Tridgell
3b4d7082cb new files for head
(This used to be commit c0d4a1f5dd34e49843c879dd88fc78c7dffd9269)
2001-04-18 16:42:07 +00:00
Andrew Tridgell
9ce5a03ccb merge from 2.2
(This used to be commit f52a5014ee325f9d91f266f88eac51b6136a75b9)
2001-04-18 16:41:04 +00:00
Jeremy Allison
6f78636a56 Removed mktemp from HEAD - same as done in 2.2.
Jeremy.
(This used to be commit 121b59669fbcd1aaedb08011ff36169fc6561c55)
2001-04-18 05:12:46 +00:00
Jeremy Allison
a40fe7b47d 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)
2001-04-18 04:34:42 +00:00
Jeremy Allison
0766f84a40 Merge of changes from 2.2.
Jeremy.
(This used to be commit df912162bbe93611c80defe830641f580687edbb)
2001-04-18 04:33:24 +00:00
Jeremy Allison
a5bd9ef712 Rememver to use VFS at all times... even in new user_can_read_file code :-).
Jeremy.
(This used to be commit 0d10113d01d6d15f470359259a76e4f107a06c73)
2001-04-18 02:27:23 +00:00
Jeremy Allison
82afede9fa Merged Andrew's wfw fix (2).
Jeremy.
(This used to be commit a4fb755a48d27f21bd0a5d9e9d1227a08c13bdff)
2001-04-17 07:09:42 +00:00
Jeremy Allison
8a1c2e0298 AIX ACLs donated by IBM.
Merge Andrew's fnmatch fix for WfW.
Jeremy.
(This used to be commit 1d4438f07745df3d02ed8ab3ef048e20016816b6)
2001-04-17 05:41:07 +00:00
Andrew Tridgell
4355098a75 hide unreadable patch from idra
(This used to be commit 7b6cfe243002a92f5dfb52413e9b3550c61cecfb)
2001-04-16 15:16:31 +00:00
Jeremy Allison
8c0a1c61cc Added --with-codepagedir as RedHat 6.2 and 7.x place them differently.
Jeremy.
(This used to be commit 1cfc542685f3ad6c16e922ca35043a1a9ce57f8e)
2001-04-16 07:10:55 +00:00
Tim Potter
bda419be61 Grr - fixed compile error in smbwrapper stuff.
(This used to be commit 11a7c5e3d61348dc8c5dfdc782a95974a1547e4d)
2001-04-16 02:42:10 +00:00
Tim Potter
af08cd21eb Getting medieval with compiler warnings as Jeremy puts it.
(This used to be commit d05c3cf0f47a3c863adbed7ad4ab8f3248cd072d)
2001-04-16 02:35:35 +00:00
Jeremy Allison
71ae6a09cd Finally got the semantics right (hurrah!).
Jeremy.
(This used to be commit 362574c5a32005d4247c7ac75a5aa9e35e894db0)
2001-04-16 00:34:03 +00:00
Jeremy Allison
d5b74f7130 Correct fix for open readonly with truncate.
Jeremy.
(This used to be commit 6706e258e17c3d69d617b95feb3407124f50852d)
2001-04-16 00:02:29 +00:00
Jeremy Allison
18f3f5ff92 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)
2001-04-15 23:36:05 +00:00
Jeremy Allison
06a50f5184 Patch from "Christoph Zwerschke" <zwerschke@zuv.uni-heidelberg.de> to
map usernames before calling password change.
Jeremy.
(This used to be commit ce2a236dc61d819e083b32556a2d9f827944b91c)
2001-04-15 22:29:36 +00:00
Jeremy Allison
78ac23f7e0 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)
2001-04-15 22:21:04 +00:00
Jeremy Allison
452f60e030 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)
2001-04-15 21:22:18 +00:00
Jeremy Allison
c9f2c1fc5e Fix from Tony Butt - shouldn't set got_pass for -c option.
Jeremy.
(This used to be commit 83aa76205858a0d0a0fa2a22648e727b796908f2)
2001-04-15 20:40:08 +00:00
Jeremy Allison
e7a6cb234a Removed one samba-bugs ref. from source.
Jeremy.
(This used to be commit d40ee1707d1d3cf04358bca7fad16ebc15bd4845)
2001-04-14 21:26:45 +00:00
Jeremy Allison
2df39394fe 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)
2001-04-14 20:47:30 +00:00