1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00

4587 Commits

Author SHA1 Message Date
Andrew Tridgell
b6645402b1 allow env variable TESTDIR for directory for fcntl_lock test -
Andrew Tridgell
6b1ced1674 add an alarm to fcntl test to stop tru64 from freezing on the test -
Andrew Tridgell
ce6598c465 clearer tdb_mmap code -
Andrew Tridgell
13bf966cb8 merge from 2.2 -
Jeremy Allison
4c6a8273c6 Fix problem with OpenBSD mmap and write not being coherent.
Jeremy.
-
Jean-François Micouleau
a4a4c02b12 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.
-
Gerald Carter
d5d6f01aaf merge from 2.2 in password_ok() to ensure that we check the
return code from smb_pam_accountcheck()
-
Gerald Carter
09b287e178 make proto -
Gerald Carter
7703fbb30d fixes from Simo -
Tim Potter
a56badc206 make proto -
Tim Potter
2eb28b3d51 Merge of struct acct_info from TNG. -
Tim Potter
982195c89d Added queryaliasmem function.
Moved fetch_domain_sid() calls out of harms way so they didn't spam out
queries on SAMR pipe.
-
Tim Potter
d4f6ce9422 Tidyup of server vs servername, username vs user to remove compiler
warnings.
-
Tim Potter
d384cae570 Renamed unknown field to access mask in open alias parsing functions. -
Tim Potter
657f95c89e Added some missing winbind parameters. Yes they're already documented.
(-:
-
Tim Potter
5a387f59c4 Zero fnum when initialising a cli_state. -
Tim Potter
0b3bc4375b Added cli_samr_query_aliasmem() and cli_samr_open_alias() functions. -
Tim Potter
4d0ac3c71d renamed unknown field to access mask in open alias structures. -
Tim Potter
657804f3be 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.
-
Tim Potter
23427a57da Added cmd_samr_enum_dom_groups() function. -
Tim Potter
5a3b7d8b13 Added cli_samr_enum_dom_groups() function. -
Tim Potter
3434e0bf7f More usability fixes. -
Tim Potter
37cdf37fee Allow ctrl-d to exit rpcclient.
Don't try to run anything if user just presses return at rpcclient prompt.
-
Tim Potter
1e7b1c71b9 Merge from TNG branch. -
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 -
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
-