Tim Potter
ebb900cf3e
iAdditional files for winbind merge.
...
(This used to be commit 38ab3b31b5dc39fb59f224b399bb9c2269f1c933)
2001-05-07 05:03:40 +00:00
Tim Potter
a36f9250e7
Preliminary merge of winbind into HEAD. Note that this compiles and links
...
but I haven't actually run it yet so it probably doesn't work. (-:
(This used to be commit 59f95416b66db6df05289bde224de29c721978e5)
2001-05-07 04:32:40 +00:00
Andrew Tridgell
c2887d57b5
rebuild proto.h
...
(This used to be commit 2e2073447490e192ccb838dd488feb335dfba265)
2001-05-07 04:10:40 +00:00
Andrew Tridgell
6056766247
merge some fixes from 2.2
...
(This used to be commit 7e57adf2a039cb5b6458496f9190c9c642645600)
2001-05-07 03:55:54 +00:00
Andrew Tridgell
fe6b398a79
fix interfaces.c for aix 3.2.5
...
(This used to be commit a69532ffde761453f3d9189be2fbf1036c2ed196)
2001-05-07 03:21:23 +00:00
Tim Potter
3762d48404
Some versions of readline don't have rl_completion_func_t. )-:
...
Spotted by http://build.samba.org/
(This used to be commit da5a0f5c5b0917148fb6b668d4316aa4924708a1)
2001-05-07 02:03:32 +00:00
Tim Potter
8e84cde71d
iAdded querydispinfo and querydominfo functions.
...
Allow rid to be specified in lookupuser.
(This used to be commit 1ea5aa4a80f9da56b071b403fb8f1cfa0ff79b8d)
2001-05-07 02:00:28 +00:00
Tim Potter
b4092fea16
Some reformatting (sorry Gerald).
...
Cleanup of exit paths.
Added query domain info and query display info.
(This used to be commit ff9e222e2ff3f50f4966d3c5859738a831c7adc9)
2001-05-07 01:55:08 +00:00
Andrew Tridgell
a636c642b5
new mput code from idra that doesn't need a call to find
...
(This used to be commit 5dac4cdee40b906455d984f4d7a7333ab411f876)
2001-05-07 01:51:56 +00:00
Tim Potter
350dc55c6e
Fixed a compiler warning. Still more const warnings though. )-:
...
(This used to be commit a345b477a22f6261613d21d079b1632a9409c914)
2001-05-07 01:48:03 +00:00
Tim Potter
3bb92410a4
Fixed compiler warning.
...
(This used to be commit 063c2dea920dbf415e22d0359baa7b36bf513f09)
2001-05-07 01:08:41 +00:00
Jeremy Allison
998fcd3f1e
Patch from David_Tiller@ccnotes.ccity.com finally applied now I've thought
...
about it to stop account lockouts with "security=server" mode. Sorry for
the delay David.
Jeremy.
(This used to be commit e8819715038ed49b07ed5639b1b88ad12e994b53)
2001-05-06 20:56:14 +00:00
Andrew Tridgell
9074322761
replace modf so we don't need the math library
...
(This used to be commit 79c0d24a3092098d3d8e58ebe07cf61db7d898e5)
2001-05-06 15:19:25 +00:00
Andrew Tridgell
289b92de51
allow env variable TESTDIR for directory for fcntl_lock test
...
(This used to be commit b6645402b12cf8eaa7d9edf7dba3fae1f5ec0356)
2001-05-06 14:09:10 +00:00
Andrew Tridgell
a808ca914f
add an alarm to fcntl test to stop tru64 from freezing on the test
...
(This used to be commit 6b1ced1674217343ab4e5f966608a21c66bf650c)
2001-05-06 12:47:32 +00:00
Andrew Tridgell
cd2643f8be
clearer tdb_mmap code
...
(This used to be commit ce6598c465e3d1e26592af9b90eb271ee837f290)
2001-05-06 02:05:00 +00:00
Andrew Tridgell
906a512e0b
merge from 2.2
...
(This used to be commit 13bf966cb8ed8df6b02018dceff94c275def8200)
2001-05-06 01:28:17 +00:00
Jeremy Allison
887d796a28
Fix problem with OpenBSD mmap and write not being coherent.
...
Jeremy.
(This used to be commit 4c6a8273c6dd3e2aeda5a63c4a62aa55bc133099)
2001-05-04 22:23:37 +00:00
Jean-François Micouleau
f35157f392
Big cleanup of passdb and backends.
...
I did some basic tests but I have probably broken something. Notably the
password changing. So don't cry ;-)
J.F.
(This used to be commit a4a4c02b12f030a3b9e6225b999c90689dfc4719)
2001-05-04 15:44:27 +00:00
Gerald Carter
1f7a451c1e
merge from 2.2 in password_ok() to ensure that we check the
...
return code from smb_pam_accountcheck()
(This used to be commit d5d6f01aaf8d344bb44dbe047c2f760ca220529e)
2001-05-04 14:28:28 +00:00
Gerald Carter
e62b35ac69
make proto
...
(This used to be commit 09b287e1782938bc4472b88921ed1604eb91ac27)
2001-05-04 14:01:54 +00:00
Gerald Carter
ba411ebf0c
fixes from Simo
...
(This used to be commit 7703fbb30d9695b5a71ee0bcca9520bed4880bbd)
2001-05-04 14:01:33 +00:00
Tim Potter
6fb863c3f8
make proto
...
(This used to be commit a56badc206abb88ae1e648004c168db71c862340)
2001-05-04 07:36:51 +00:00
Tim Potter
5cf3467dc8
Merge of struct acct_info from TNG.
...
(This used to be commit 2eb28b3d516325725678a67f8b0030aec8ec61d7)
2001-05-04 07:36:09 +00:00
Tim Potter
b8adb72139
Added queryaliasmem function.
...
Moved fetch_domain_sid() calls out of harms way so they didn't spam out
queries on SAMR pipe.
(This used to be commit 982195c89d2ea0e66c24f6426f50c7d2f35800e0)
2001-05-04 07:35:25 +00:00
Tim Potter
a8be5dced6
Tidyup of server vs servername, username vs user to remove compiler
...
warnings.
(This used to be commit d4f6ce9422ae53fb5b0cc72407131d5a9e1bd36d)
2001-05-04 07:34:16 +00:00
Tim Potter
5d58cf895c
Renamed unknown field to access mask in open alias parsing functions.
...
(This used to be commit d384cae5707889f34ac19ccd80737ab6eb5fdb98)
2001-05-04 07:33:10 +00:00
Tim Potter
d7387f8fb5
Added some missing winbind parameters. Yes they're already documented.
...
(-:
(This used to be commit 657f95c89e593e6cdfc6fb9c7a9e67f9a518c1a5)
2001-05-04 07:32:28 +00:00
Tim Potter
5ffe6fd4cd
Zero fnum when initialising a cli_state.
...
(This used to be commit 5a387f59c441d355fe4535eae5c2c924ae9dd451)
2001-05-04 07:28:41 +00:00
Tim Potter
7948967c06
Added cli_samr_query_aliasmem() and cli_samr_open_alias() functions.
...
(This used to be commit 0b3bc4375b8984fc16c8972d2b62762c1657f675)
2001-05-04 07:27:52 +00:00
Tim Potter
97bfe81cf9
renamed unknown field to access mask in open alias structures.
...
(This used to be commit 4d0ac3c71d930ab9cf88bd688c23c72ce5a53179)
2001-05-04 07:26:46 +00:00
Tim Potter
4ca3b30aec
Added a SMB_ASSERT() so that two cli_state structures aren't opened
...
on different pipes. This seriously confuses NT. Unfortunately HEAD
branch is limited to one rpc pipe per connection as the fnum is stored
inside the cli_state structure. It should really be broken out into
it's own structure so multiple pipes can be opened on one TCP/IP socket.
What a good idea! But look over here! I've already done it in another
workarea but it will require a day or two to refactor some of the internal
samba rpc client stuff (i.e netlogon requests) so it will remain uncommitted
for another while.
(This used to be commit 657804f3be2b621c8ee15bdb905879e208f9ca2f)
2001-05-04 07:25:43 +00:00
Tim Potter
206a2a61da
Added cmd_samr_enum_dom_groups() function.
...
(This used to be commit 23427a57da8b18506bbd970e5d7491c0917f6d06)
2001-05-04 04:17:39 +00:00
Tim Potter
da5faba277
Added cli_samr_enum_dom_groups() function.
...
(This used to be commit 5a3b7d8b1302fd11321c4a65161de169b41f5d9e)
2001-05-04 04:16:59 +00:00
Tim Potter
0eaa469aa8
More usability fixes.
...
(This used to be commit 3434e0bf7fe5cdc8478518c6b1311dda7a7d3e81)
2001-05-04 04:15:48 +00:00
Tim Potter
1bbc3d193b
Allow ctrl-d to exit rpcclient.
...
Don't try to run anything if user just presses return at rpcclient prompt.
(This used to be commit 37cdf37fee8414183c4ecb49e68a468ad235787d)
2001-05-04 01:04:23 +00:00
Tim Potter
401b3cc7a7
Merge from TNG branch.
...
(This used to be commit 1e7b1c71b9c409859bcf0aeb3d5785acc4aee027)
2001-05-04 00:43:20 +00:00
Jeremy Allison
548d16869a
Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.h
...
and using autoconf tests.
Added "restrict acl with mask" parameter.
Jeremy.
(This used to be commit 7792e32ba7fd734cc68b354f31c382ac11521fe8)
2001-05-03 19:47:30 +00:00
Jeremy Allison
1475474425
Merging Gerald's "no printer driver" fix from 2.2.
...
Jeremy.
(This used to be commit 409b1e4d1b996b26eee80bf5cb4edd962e4a4c76)
2001-05-03 02:51:08 +00:00
Jeremy Allison
c6e8e75a64
Merging Gerald's PDC SAM name fix.
...
Jeremy.
(This used to be commit d31799850440c6c2267a4edb217d447df75aab5a)
2001-05-03 02:50:11 +00:00
Jeremy Allison
aac630b382
Had to add a "pam password change" parameter (defaults to "off") and inlined
...
the pam password change code to ensure that existing and working password
chat scripts don't break with 2.2.1. PAM password changing has to be explicitly
requested.
Allowed wildcards in pam password change matching (matches password chat
script matching). Had to add const (sorry Tim :-) to ms_fnmatch() to
stop warnings. Don't worry - the const changes are isolated and don't
cause any other warnings :-).
Jeremy.
(This used to be commit 47b4d82536c09bffe3a0d9917fa31d935f1be7d8)
2001-05-02 23:32:09 +00:00
Jeremy Allison
dea501bc5f
Fix noticed by John Trostel - we need to return our account SID for level 5.
...
Jeremy.
(This used to be commit acf32f277d1a45f49fa3bf6af82850e35df9ae5a)
2001-05-02 20:32:17 +00:00
Jeremy Allison
3c525aaaa3
Remove embedded '/*' in comment.
...
Jeremy.
(This used to be commit 9a85dc9cdbc6409e25a528be4be960d4eb3ac117)
2001-05-02 08:14:00 +00:00
Andrew Tridgell
71ac074517
use O_EXCL for fcntl_lock.c test in case some fool runs on /tmp
...
(This used to be commit 4d3d7a0d673b80f1de411a5fb5a23ae06cf80f43)
2001-05-02 07:58:40 +00:00
Andrew Tridgell
1107dc4c4f
added sys/wait.h to fcntl_lock test
...
(This used to be commit ed151605e57b7db3457cdf0c87f71c86e84c8f5b)
2001-05-02 06:54:52 +00:00
Andrew Tridgell
9019718582
added error msgs to fcntl_lock test
...
(This used to be commit db5d38736d0d91acb55f4e4a67f33a2c0b5fdca3)
2001-05-02 06:52:25 +00:00
Jeremy Allison
f5eab4421c
Fixup smbcacls. Don't return memory already freed, don't free memory allocated
...
with talloc.
Jeremy.
(This used to be commit 0ae0d024f5898f7e47e4b1d4487b15447096780c)
2001-05-01 23:07:30 +00:00
Jeremy Allison
0961f7b494
Runtime check for broken PAM systems with no appdata_ptr support. This
...
should eventually be an autoconf test with a #ifdef workaround. I *HATE* pam :-).
Jeremy.
(This used to be commit 52a9226a5aaa769e960619c2bd0a561dd9b0493d)
2001-05-01 18:25:20 +00:00
Jeremy Allison
e2a997f7a9
Stop coredump on pam password change with pam_pwdb.so module on error.
...
Jeremy.
(This used to be commit d9b960b4a5997e4cd09e3da9ea4754cbae1e29b3)
2001-05-01 18:19:15 +00:00
Jeremy Allison
5197ccfef4
Added Andrew Bartlett's fixes to my changes to his original patch (at the
...
court of king caractacus, was just passing by... :-).
Jeremy.
(This used to be commit acc3e7a057ad7fb0c2fb1cafff0c623ec0524d04)
2001-05-01 17:19:42 +00:00