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

5376 Commits

Author SHA1 Message Date
Gerald Carter
96d0e7c330 Patch from Simo:
o sed 's/pdb_clear_sam/pdb_free_sam/g'
  o add pdb_reset_sam()
  o password changing should be ok now as well.
-
Tim Potter
6bd197714a Removed unused variable. -
Tim Potter
873e672b90 OK so I couldn't be as clever as I wanted to be with winbindd_glue.c
so all the glue functions are prefixed with wb_ to avoid conflicts with
the old rpc_client stuff which is still a dependency of smbd/nmbd.
-
Andrew Tridgell
78f448b7d4 removed need for scandir in client.c
fixed possible bug with readdirname on systems with NAMELEN != strlen
-
Tim Potter
f8c83ce28b Ignore *.po files. -
Tim Potter
38ab3b31b5 iAdditional files for winbind merge. -
Tim Potter
59f95416b6 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.  (-:
-
Andrew Tridgell
2e20734474 rebuild proto.h -
Andrew Tridgell
7e57adf2a0 merge some fixes from 2.2 -
Andrew Tridgell
a69532ffde fix interfaces.c for aix 3.2.5 -
Tim Potter
da5a0f5c5b Some versions of readline don't have rl_completion_func_t. )-:
Spotted by http://build.samba.org/
-
Tim Potter
1ea5aa4a80 iAdded querydispinfo and querydominfo functions.
Allow rid to be specified in lookupuser.
-
Tim Potter
ff9e222e2f Some reformatting (sorry Gerald).
Cleanup of exit paths.

Added query domain info and query display info.
-
Andrew Tridgell
5dac4cdee4 new mput code from idra that doesn't need a call to find -
Tim Potter
a345b477a2 Fixed a compiler warning. Still more const warnings though. )-: -
Tim Potter
063c2dea92 Fixed compiler warning. -
Jeremy Allison
e881971503 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.
-
Andrew Tridgell
79c0d24a30 replace modf so we don't need the math library -
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 -