1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

5260 Commits

Author SHA1 Message Date
Tim Potter
6e698d65ec Merge of change machine account password race fix from appliance branch. -
Andrew Tridgell
e6773b08a4 got rid of INFO: msgs at debug level 1 -
Andrew Tridgell
b840d7d65e nicer smbtree output -
Andrew Tridgell
2ec59f731d ucs2 is always a multiple of 2 bytes
this gets rid of a bunch of iconv warnings
-
Andrew Tridgell
7b3d030e1f a better test for unix domain sockets -
Andrew Tridgell
cfb6e67bb9 added a --with-libiconv=BASEDIR/ option to allow easier use of an
alternative iconv library
-
Andrew Tridgell
e2ab5e09d0 build smbtree by default. It's a very useful utility. -
Tim Potter
09af934c4a Store winbindd in the sbin directory. Make the winbind pam module also as
a sbin program.

Currently the pam and nss modules are installed into @prefix@/sbin - I'm
not sure whether this is a good idea or not.  Perhaps they should be left
in the build tree and copied across as needed by hand or a packaging tool.
-
Simo Sorce
7257d07563 Convert other parameters (read list, write list, valid users...) to the P_LIST format.
changed functions to use list instead of strings
addedd lp_list_substitute function
-
Richard Sharpe
f4d9abcac7 Make sure that a shared library build of libsmbclient causes build
breakage if there are problems. I will take this out tomorrow if it
causes too many problems.
-
Tim Potter
2484f0fc39 make nsswitch target wasn't building the winbind pam module. -
Richard Sharpe
81e39790f6 Commit an updated configure, but the build_farm should run autoconf! -
Jeremy Allison
c343e4f490 We were making an assumption in the oplock
break code path that was invalid (ie. we were assuming
we could infer a non-levelII oplock when such an oplock
was detected - this may no longer be valid once we've
processed the break process dealing with the break will
change the state of it anyway.
This prevents the state where we get the following packet
trace :

client                      server
NTcreate ->
                         <- NTcreate resp
NTcreate ->
                         <- break to level II
ok - broken ->
                         <- break to none

Thanks to Alan Romeril for providing the trace that allowed
me to track this down.

Jeremy.
-
Richard Sharpe
e8ee01eb77 Another fine mess, err, fine tune to the Slowaris build ... -
Richard Sharpe
ea1a70fb42 Make the Slowaris build a bit nicer with cc -
Jeremy Allison
eea1c30df2 Fix case insensitive password change code.
Fixed crash bug with un-zeroed talloced memory.
Jeremy.
-
Jeremy Allison
9444fc554b Same fix for resume as for pause.
Jeremy.i
-
Jeremy Allison
592ef3d8ea Fix for CUPS pause/restart code.
Jeremy.
-
Jeremy Allison
e90ad081ad Fix for cups compile.
Jeremy.
-
Richard Sharpe
f214f6b5d5 Fix some fscked up things that I added to the Solaris CC build of shared libs -
Richard Sharpe
98e5e02231 One more possible fix for Solaris CC and GCC -
Richard Sharpe
d63b03f753 Fix the POOBAD_CC on Slowaris so we can handle things correctly ...
Lets see how this goes.
-
Richard Sharpe
bc03176782 Try and build shared on SCO. Assume that it is like others, but uses
-KPIC, which it does!
-
Tim Potter
d5f12bc530 In wb_samr_query_dispinfo() pass back the 32-bit status code from
cli_samr_query_dispinfo().
-
Tim Potter
12e44e4029 cli_samr_query_dispinfo() can return STATUS_MORE_ENTRIES which isn't an
entry.
-
Richard Sharpe
f38b5ba194 OK, I think I have fscking IRIX figured out for building PIC code.
You have to check which fsking compiler is used and do different things!
-
Tim Potter
96bd7bdd0b Call cli_samr_lookup_rids() in bunches of < 1000 rids to avoid crashing
NT.  Note this can be done completely anonymously.
-
Tim Potter
375636b763 Added a warning debug if cli_samr_lookup_rids is called with more than 1000
rids as this seems to crash LSASS.EXE more often than not.
-
Andrew Tridgell
2097abb76c if EILSEQ doesn't exist then use EIO. It doesn't really matter what
error code we use, as long as its not another one that iconv() can
give.
-
Andrew Tridgell
594f84b4e3 changed the iconv interface to go via ucs2 for all conversions. This
fixes some problems wih some character sets and allows for using
internal charsets in conjunction with ionv charsets
this makes us slower but more correct. speed will come later.
-
Andrew Tridgell
e236a3e29e switch from UCS2 to UCS-2LE -
Andrew Bartlett
7cb517329b This patch fixes up a few issues where we would do lookups in the local system
on username we already know are perfectly valid, and in their final form.  In
particular we don't want to do a lookup for DOMAIN\nobody, it just does not
make sense, nor should we do map_username and the like if the username is as
specified in the vuid - we have done it already.

Andrew Bartlett
-
Andrew Bartlett
d5ebbe6c12 This should fix the build, I think tpot just missed the file for his CVS
commit.  It seems to work fine, but if its not the right fix then just yell.

Andrew Bartlett
-
Tim Potter
f0b7593ef5 ^$&%&*$&)% readline uses \n characters instead of letting the terminal wrap
the screen.  This mucks up expect something severe.  )-:

Don't use readline if the CLI_NO_READLINE environment variable is set.
-
Tim Potter
e0ebbc9ae3 In cli_lsa_lookup_sids() don't append a separator character between domain
and name if there is no name.
-
Tim Potter
37052a1bcc Started adding some help/usage info for rpcclient commands. -
Tim Potter
2accab2589 Changed the cli_lsa_lookup_sids() function to unpack the domain and user or
group using rpcstr_pull_unistr2_fstring rather than pull_ascii_fstring (!!)
-
Tim Potter
e5b62b4961 It looks like the rpc client code in libsmb hasn't been converted to the
new internal string stuff.  The main problem is that some unicode strings
are null terminated and some aren't.  There's no rhyme or reason to it -
some pipes have 99% of the strings terminated and some have 99%
unterminated.  To avoid having to actually know the termination policy, I
propose a set of functions that take a UNISTR2* and use the length
contained there.

Added rpcstr_pull_unistr2_string() function to convert a unicode string of
dubious termination to a fstring.
-
Tim Potter
36413784ae Merged across rewritten version of winbindd_kill_connections(). This now
works much better with trusted domains whose DCs cannot be reached.

I'm pretty impressed with how much faster winbindd is in HEAD rather than
TNG.  A lot fewer unecessary name lookups are performed and it feels a lot
zippier now.
-
Tim Potter
ab5ccce2ed #ifdef'ed out some unused functions. -
Tim Potter
fa4901eaf2 Reran autoconf. -
Andrew Tridgell
c2c1f2027e the nss and pam modules in winbind don't have strchr_m() yet, so use
strchr() for the moment
-
Andrew Tridgell
1436c9f424 removed some unnecessary code -
Richard Sharpe
6a7645f90b Fix the PIC flag for IRIX -
Herb Lewis
d7023b881a don't test for root ownership of profile shared memory segment -
Jeremy Allison
0b13f495b3 Tidied up calling yield_connection on connection allocation fail.
Restore debug message to level zero.
Jeremy.
-
Jeremy Allison
d7da59f54e Connection record not existing is not a debug level 0.
Jeremy.
-
Jeremy Allison
f591ca9f25 Fixes from Jens-Uwe.Walther@force.de to make the -l option behave
consistently.
Jeremy.
-
Simo Sorce
8a2f6fbacd move the global_machine_password_needs_changing where we need it. -
Jeremy Allison
175c640692 Fix usermanager for domains - we were returning no memory when we
should have been returning empty space at end of enumeration.
Jeremy.
-