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

6053 Commits

Author SHA1 Message Date
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
5edfb53d7c Added some documentation for using -U with -j in order to join a domain
without first having to create an account using the server manager.
-
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.
-
Jeremy Allison
34244c2a8d iFix from "Shahms E. King" <shahms@shahms.com> to get cups user name
right.
Jeremy.
-
Jeremy Allison
7ebf284ef7 Fix for incorrect creation of print job names, based on a patch by
Jos M.Rodrguez <josemi@iies.es>
Jeremy.
-
Jeremy Allison
956e2a4e37 Fix from bernd@arresum.inka.de for broken krb configure.
Jeremy.
-
Jeremy Allison
5aa3b18f69 Fix from Jim Vopni - muliple definitions of "letter".
Jeremy.
-
Simo Sorce
065d8f69d5 Test if machine password has expired.
This test was lost somehow...
-
Richard Sharpe
83334fc474 A few tweaks around linking libsmbclient -
Tim Potter
ad0cbfbd79 Changed instances of TRUE, FALSE to True, False as some compilers don't
have the first set of symbols.
-
Tim Potter
914e78f053 Removed unused variable. -
Richard Sharpe
b8b5603e0f Fix a stupid error in passing options to CC under AIX -
Jeremy Allison
8db233c8b5 Toomas Soome's fix for joining a domain the old way.
Jeremy.
-
Andrew Bartlett
9bfc480bda Some minor doco on what the build_farm dir does -
Andrew Bartlett
93ff9f6101 I think this was just a typo... If there was some method to the madness then
please yell, but the build has been broken for long enough.

Andrew Bartlett
-
Andrew Bartlett
bd3c2a0cdd This backs out my last change, which broke some of the finer points of RPC
coding :-).  I'll be more carfull in this area in future.

This does not back out the cli_login change, so domain logons still work, but
only for english.

Andrew Bartlett
-
Richard Sharpe
7b392f9f68 A serious set of changes to build libsmbclienmt. Copied much ofthis from
CUPS.
-
Christopher R. Hertel
bbf14e2d4e Andrew B and I were commiting the same fix at the same time in different
trees.  This change simply brings HEAD and 2.2 in line with one another.
Otherwise the code would be differnt but the meaning would be the same,
which is awkward.
Chris 'fifty-seven commits per line changed' Hertel -)-----
-
Andrew Bartlett
cad6f53433 Fix tree breakage, the last change was entirly non-portable, and we already
have this nice variable to do exactly this...
-
Andrew Bartlett
cf1d1cd9d6 This fixes security=domain, which has been broke since the big charset
changeover.  For my own sainity I have created a new function to fill out both
the header and buffer for a string in an RPC struct.  This DOES NOT take a
length argument, only the actual string to be placed.

The RPC code is currently littered with code that does init_uni_hdr() followed
immidiatly by init_unistr2(), and often the length argument is wrong.  (It was
for the code I changed, even before the charset stuff).  Another bug where we
made strings AT LEAST MAX_UNICODE_LEN long hid this bug.

This works for loopback connections to Samba, and can't be any more broke than
it was before :-).  (We had double and revese conversions, fun...).

In particular this makes us multibyte complient.

In any case, if there are no objections I will slowly convert other bits of
code to the same system.
-
Christopher R. Hertel
22ea0770d8 Fix from John Malmberg. When I added the additional information to the
debug block that reports multiple query responses I did not notice that
the local answer_ip variable was only selectively set.

Chris -)-----
-