1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-01 05:47:28 +03:00

5334 Commits

Author SHA1 Message Date
Jeremy Allison
7792e32ba7 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.
-
Jeremy Allison
409b1e4d1b Merging Gerald's "no printer driver" fix from 2.2.
Jeremy.
-
Jeremy Allison
d317998504 Merging Gerald's PDC SAM name fix.
Jeremy.
-
Jeremy Allison
47b4d82536 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.
-
Jeremy Allison
acf32f277d Fix noticed by John Trostel - we need to return our account SID for level 5.
Jeremy.
-
Jeremy Allison
9a85dc9cdb Remove embedded '/*' in comment.
Jeremy.
-
Andrew Tridgell
4d3d7a0d67 use O_EXCL for fcntl_lock.c test in case some fool runs on /tmp -
Andrew Tridgell
ed151605e5 added sys/wait.h to fcntl_lock test -
Andrew Tridgell
db5d38736d added error msgs to fcntl_lock test -
Jeremy Allison
0ae0d024f5 Fixup smbcacls. Don't return memory already freed, don't free memory allocated
with talloc.
Jeremy.
-
Jeremy Allison
52a9226a5a 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.
-
Jeremy Allison
d9b960b4a5 Stop coredump on pam password change with pam_pwdb.so module on error.
Jeremy.
-
Jeremy Allison
acc3e7a057 Added Andrew Bartlett's fixes to my changes to his original patch (at the
court of king caractacus, was just passing by... :-).
Jeremy.
-
Andrew Tridgell
4d7565342d added more complete C99 snprintf test -
Andrew Tridgell
5d899e51a4 fixed some uninitialised variables -
Andrew Tridgell
4c456c8264 fixed comment-in-comment -
Jeremy Allison
6b2dd14205 Allow pam code to compile on Solaris (which doesn't have PAM_AUTHTOK_RECOVER_ERR).
Jeremy.
-
Jeremy Allison
9b3dd80176 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.
-
Jeremy Allison
c4d3df4f14 Fixing consts in pam code.
Jeremy.
-
Jeremy Allison
dc31b47ded Fixed password entry caching bug pointed out by Elrond.
Jeremy.
-
Jeremy Allison
6703f621ea Ensure correct password change script gets selected --with-pam.
Jeremy.
-
Jeremy Allison
1648ac64a7 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.
-
Andrew Tridgell
783728fa8c make clean should remove PROGS -
John Terpstra
6473085645 Adding developer mode option. -
Andrew Tridgell
40e7834bb9 fixed %u/%U example -
Andrew Tridgell
c986a3c51e - fixed some compiler warnings
- fixed slprintf and vsprintf macros
-
Andrew Tridgell
025285e179 don't need slprintf.c any more -
Andrew Tridgell
c7aeb2254d - 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
-
Andrew Tridgell
338d5ca8ad use asprintf for hideunreadable option -
Andrew Tridgell
8bda86c0bf added asprintf test -
Andrew Tridgell
531ab09170 got asprintf defn right -
Gerald Carter
0feaac00a1 few cleanups to bring in line with 2.2 -
Gerald Carter
e7ef88dfee removing the references to rpc_client_proto.h -
Gerald Carter
0a6ceed279 rpcclient merge from 2.2 (including Jeremy's non-void return fix) -
Jeremy Allison
1be60597cd 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.
-
Jeremy Allison
956201c4fb More gcc compile on solaris tidyups.
Jeremy.
-
Jeremy Allison
d57feb2c85 Mismatched format and args.
Jeremy.
-
Jeremy Allison
6fcb600dcd More debug %d -> %u issues.
Jeremy.
-
Jeremy Allison
73b425121a More %d (uid_t) stuff...
Jeremy.
-
Jeremy Allison
30edd7fdf1 More acl -> the_acl, %d with uid_t issues.
Jeremy.
-
Jeremy Allison
277eb517e2 Don't use variables called "acl" as it's the name of a function in Solaris.
Jeremy.
-
Jeremy Allison
a60ecb4e53 Tidy up args to DEBUG Statements - found by gcc on Solaris.
Jeremy.
-
Jeremy Allison
2fd5e0bf14 Fixes for problems in NFS server code from Michael Gerdts <Michael.Gerdts@usa.alcatel.com>.
Jeremy.
-
Jeremy Allison
231f1f44c3 Patch from Frdric Blanc <el_blaf@yahoo.fr> to correctly uninstall
codepages.
Jeremy.
-
Jeremy Allison
b35ca2c6b1 Fix from matthew.hart@veritas.com - bad error return from linux_oplock_receive_message().
Jeremy.
-
Jeremy Allison
f4f4aae675 Added Herb's comment fix.
Jeremy.
-
Jean-François Micouleau
ec576722b7 fix a bug in printer name handling that jerry reported.
names can be \\server -> print server
\\server\printer -> printer
printer -> printer

	J.F.
-
Andrew Tridgell
fcd100eec5 C99 test for snprintf -
Andrew Tridgell
10327ad11f added much better snprintf code, plus new function asprintf -
Andrew Tridgell
9ebd90904e added test for C99 compliant vsnprintf -