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
Andrew Tridgell
089d8c544f
added more complete C99 snprintf test
...
(This used to be commit 4d7565342d5b53dd038bf25dd6c6afc7132ba2aa)
2001-05-01 04:16:28 +00:00
Andrew Tridgell
7e82811d2d
fixed some uninitialised variables
...
(This used to be commit 5d899e51a4fc4e872da550b88ef603dbd2d8391f)
2001-05-01 04:05:53 +00:00
Andrew Tridgell
e51cc47cec
fixed comment-in-comment
...
(This used to be commit 4c456c82642649a6dfaadf578488119d195c5b6b)
2001-05-01 04:02:15 +00:00
Jeremy Allison
a290cd597d
Allow pam code to compile on Solaris (which doesn't have PAM_AUTHTOK_RECOVER_ERR).
...
Jeremy.
(This used to be commit 6b2dd14205a4170c11067c4f851db11ab9154fce)
2001-05-01 01:26:15 +00:00
Jeremy Allison
8bd2a11c86
Added code from "Nigel Williams" <nigel@veritas.com> (yes, the same famous
...
Nigel Williams who did NIS/GINA !) to implement add/modify/delete shares
for Win2k. Needs testing as I made a few mods to the original code.
Jeremy.
(This used to be commit 9b3dd801765fad28c0f9d58e5af2537cfccdd4ee)
2001-05-01 01:01:19 +00:00
Jeremy Allison
0901dd473a
Fixing consts in pam code.
...
Jeremy.
(This used to be commit c4d3df4f145dc28d1b285fad64c787cebb613e70)
2001-04-30 23:14:44 +00:00
Jeremy Allison
75da59c8ad
Fixed password entry caching bug pointed out by Elrond.
...
Jeremy.
(This used to be commit dc31b47deda188cb88288a8f33dc09faed9b2c41)
2001-04-30 22:56:52 +00:00
Jeremy Allison
e3ca9f33bb
Ensure correct password change script gets selected --with-pam.
...
Jeremy.
(This used to be commit 6703f621ea798bd1877bd3baa523307ee288dccd)
2001-04-30 22:12:38 +00:00
Jeremy Allison
c3a999409d
Based on an original PAM patch by Andrew Bartlett, re-written by me to
...
remove global static PAM variables, and to tidy up the PAM internals code.
Now looks like the rest of Samba.
Still needs testing.
Jeremy.
(This used to be commit 1648ac64a75de74d1a1575eb49cccc4f75488bfa)
2001-04-30 21:05:58 +00:00
Andrew Tridgell
07a229ec55
make clean should remove PROGS
...
(This used to be commit 783728fa8c6527e1dfc4434a587d5753886ad8ec)
2001-04-29 04:54:56 +00:00
John Terpstra
b7b452625c
Adding developer mode option.
...
(This used to be commit 6473085645cc0ecfcb982f6e40bfde606424dc7b)
2001-04-28 21:34:43 +00:00
Andrew Tridgell
668e1b5526
fixed %u/%U example
...
(This used to be commit 40e7834bb9c7440feba250832c3b85757ae4c9f9)
2001-04-28 14:11:09 +00:00
Andrew Tridgell
63602d15af
- fixed some compiler warnings
...
- fixed slprintf and vsprintf macros
(This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)
2001-04-28 14:01:02 +00:00
Andrew Tridgell
3c71214d47
don't need slprintf.c any more
...
(This used to be commit 025285e179924024f069a31a65b124bd45a249af)
2001-04-28 13:52:50 +00:00
Andrew Tridgell
d095b5249c
- added test for vasprintf
...
- cleaned up GNUC printf attribute macros
- added enum handling in mkproto
- removed non-vararg code
- made slprintf and vslprintf just macros for snprintf and vsnprintf
- don't need slprintf code any more
(This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)
2001-04-28 13:49:34 +00:00
Andrew Tridgell
944aeb7de4
use asprintf for hideunreadable option
...
(This used to be commit 338d5ca8addb3079e0ab4a68338596d6e3b17ddb)
2001-04-28 12:43:15 +00:00
Andrew Tridgell
fd5c6d72d3
added asprintf test
...
(This used to be commit 8bda86c0bfd3693420e334a10d19bed61b131bae)
2001-04-28 12:35:00 +00:00
Andrew Tridgell
5671e632f8
got asprintf defn right
...
(This used to be commit 531ab0917004cc1dbbdc4a2b6b8d41f354dd2da7)
2001-04-28 12:27:37 +00:00
Gerald Carter
3a44e2364b
few cleanups to bring in line with 2.2
...
(This used to be commit 0feaac00a1847af41464d4ce35821ff851cded9c)
2001-04-28 01:07:27 +00:00
Gerald Carter
a8e0600654
removing the references to rpc_client_proto.h
...
(This used to be commit e7ef88dfeef658928f1a2dd79f3d142417be2015)
2001-04-28 00:35:05 +00:00
Gerald Carter
e40449fa72
rpcclient merge from 2.2 (including Jeremy's non-void return fix)
...
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)
2001-04-28 00:32:56 +00:00
Jeremy Allison
b238f4a2ff
rpcclient/rpcclient.c: Non-void return in void function.
...
smbd/sec_ctx.c: Fixed potential memory leak spotted by
Kenichi Okuyama@Tokyo Research Lab, IBM-Japan, Co.
utils/nmblookup.c: gcc warning on Solaris fix.
Jeremy.
(This used to be commit 1be60597cd62af2b30a1496d06ea5704e87d3b7d)
2001-04-28 00:05:11 +00:00
Jeremy Allison
8f11c24b74
More gcc compile on solaris tidyups.
...
Jeremy.
(This used to be commit 956201c4fb6e604407911b9709574f0c24dcb84f)
2001-04-27 22:42:10 +00:00
Jeremy Allison
7d72ec3eda
Mismatched format and args.
...
Jeremy.
(This used to be commit d57feb2c85f973ad22098054b8d6d049869e2a69)
2001-04-27 22:19:25 +00:00
Jeremy Allison
c11887e325
More debug %d -> %u issues.
...
Jeremy.
(This used to be commit 6fcb600dcd23c61d1a7d2ce8c2b7b2eea2e58623)
2001-04-27 22:17:10 +00:00
Jeremy Allison
5345d9eb57
More %d (uid_t) stuff...
...
Jeremy.
(This used to be commit 73b425121a8c99af3ed7adbdcff3f6f0cec92ac7)
2001-04-27 22:02:23 +00:00
Jeremy Allison
9b78339875
More acl -> the_acl, %d with uid_t issues.
...
Jeremy.
(This used to be commit 30edd7fdf1d791d76351a7cc23a83f97386c3087)
2001-04-27 21:49:22 +00:00
Jeremy Allison
c08fc869ce
Don't use variables called "acl" as it's the name of a function in Solaris.
...
Jeremy.
(This used to be commit 277eb517e25eb3910057336b2bee18875dffe6cc)
2001-04-27 21:20:20 +00:00
Jeremy Allison
38959a2105
Tidy up args to DEBUG Statements - found by gcc on Solaris.
...
Jeremy.
(This used to be commit a60ecb4e53a6c8a3a6a37a89042ae943202263fe)
2001-04-27 21:14:18 +00:00
Jeremy Allison
8f88c7cf4e
Fixes for problems in NFS server code from Michael Gerdts <Michael.Gerdts@usa.alcatel.com>.
...
Jeremy.
(This used to be commit 2fd5e0bf141807d31f6f1a817d271548d0ccfadc)
2001-04-27 19:56:15 +00:00
Jeremy Allison
7c7770a366
Patch from Frdric Blanc <el_blaf@yahoo.fr> to correctly uninstall
...
codepages.
Jeremy.
(This used to be commit 231f1f44c314d5d614c9f2745a108839a26cfc0d)
2001-04-27 19:03:29 +00:00
Jeremy Allison
77429f8717
Fix from matthew.hart@veritas.com - bad error return from linux_oplock_receive_message().
...
Jeremy.
(This used to be commit b35ca2c6b13877bc6e09c7c4179d9529a7d3e0b3)
2001-04-27 18:03:12 +00:00
Jeremy Allison
b8a2c65a18
Added Herb's comment fix.
...
Jeremy.
(This used to be commit f4f4aae675f55d3319aca8489621afc92aaf8de1)
2001-04-27 17:32:46 +00:00
Jean-François Micouleau
30c0777c1f
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)
2001-04-27 17:08:33 +00:00
Andrew Tridgell
9872e1320c
C99 test for snprintf
...
(This used to be commit fcd100eec51034cc4ea1e781e971b6dd65801b31)
2001-04-27 13:09:55 +00:00
Andrew Tridgell
975f67c55a
added much better snprintf code, plus new function asprintf
...
(This used to be commit 10327ad11f9a97bf536dc772c9577d8f6809c829)
2001-04-27 02:45:08 +00:00
Andrew Tridgell
dfc07f6174
added test for C99 compliant vsnprintf
...
(This used to be commit 9ebd90904e512c49cc80c584ab3d5902340ddcae)
2001-04-27 02:35:42 +00:00
Andrew Tridgell
9d32e3a528
fixed typo
...
(This used to be commit ed9d93c9c3c42b13b021e5e8f84f4d865cd28724)
2001-04-27 02:11:47 +00:00
Jeremy Allison
9f60d55b02
Fixed REPLACE_GETPASS test.
...
Jeremy.
(This used to be commit 3cfcaaca5ba54ada898680ac9943086316d262b4)
2001-04-26 18:36:38 +00:00
Gerald Carter
f0d22b5413
removed references to SMBRUN
...
(This used to be commit 822511eb3c8daa89e96b3fab7573555312415262)
2001-04-26 13:25:46 +00:00
Gerald Carter
98489e9490
removed SMBRUN references
...
(This used to be commit bab7bb2d4e3d1706315ff30cc406588b9dec59a1)
2001-04-26 02:24:45 +00:00