Richard Sharpe
78dfa74852
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.
(This used to be commit f4d9abcac7f8b8fc1b3d380b76fc8c95688b5d5d)
2001-07-24 12:17:00 +00:00
Tim Potter
9521c7c85d
make nsswitch target wasn't building the winbind pam module.
...
(This used to be commit 2484f0fc39f931d9c50dff2b89c4d30536ac8c60)
2001-07-24 06:54:58 +00:00
Richard Sharpe
5408d8bb39
Commit an updated configure, but the build_farm should run autoconf!
...
(This used to be commit 81e39790f64fbccc6bdd967635a22a2e0ca666cc)
2001-07-24 01:44:22 +00:00
Jeremy Allison
76f36b8c36
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.
(This used to be commit c343e4f49070011986fc2ed4acd4ce690d5f1d71)
2001-07-24 01:18:43 +00:00
Richard Sharpe
a4947d1f45
Another fine mess, err, fine tune to the Slowaris build ...
...
(This used to be commit e8ee01eb779c1971fa269840cb14d2207b9d8569)
2001-07-24 00:34:45 +00:00
Richard Sharpe
15f3232da1
Make the Slowaris build a bit nicer with cc
...
(This used to be commit ea1a70fb42b3537524bbbf19b2d41a499411ff4e)
2001-07-24 00:18:20 +00:00
Jeremy Allison
a9ab7eaa5d
Fix case insensitive password change code.
...
Fixed crash bug with un-zeroed talloced memory.
Jeremy.
(This used to be commit eea1c30df246e081e672d7132345d0fd35ad9841)
2001-07-23 22:06:05 +00:00
Jeremy Allison
cab11894ec
Same fix for resume as for pause.
...
Jeremy.i
(This used to be commit 9444fc554ba31ef516d0d98bbfe7f1af883e3970)
2001-07-23 20:47:55 +00:00
Jeremy Allison
c0d02ca380
Fix for CUPS pause/restart code.
...
Jeremy.
(This used to be commit 592ef3d8eaea6421db758f39b694c84e8f66ec20)
2001-07-23 20:40:16 +00:00
Jeremy Allison
6b53da146e
Fix for cups compile.
...
Jeremy.
(This used to be commit e90ad081ada5f3e11abe833b16a6416025ebcea5)
2001-07-23 19:50:36 +00:00
Richard Sharpe
7867341747
Fix some fscked up things that I added to the Solaris CC build of shared libs
...
(This used to be commit f214f6b5d5157782884f3325cb4e39713c454264)
2001-07-23 14:13:19 +00:00
Richard Sharpe
6b42464172
One more possible fix for Solaris CC and GCC
...
(This used to be commit 98e5e022319a6c90a928fecab1ea27e55f74d98a)
2001-07-23 12:22:08 +00:00
Richard Sharpe
022db351e8
Fix the POOBAD_CC on Slowaris so we can handle things correctly ...
...
Lets see how this goes.
(This used to be commit d63b03f7536abb0745ad2a084c44108a3c19a8b6)
2001-07-23 11:22:29 +00:00
Richard Sharpe
6a3132d876
Try and build shared on SCO. Assume that it is like others, but uses
...
-KPIC, which it does!
(This used to be commit bc0317678299028cd9f9de8c0daf9f06318cce13)
2001-07-23 07:22:11 +00:00
Tim Potter
881d72acde
In wb_samr_query_dispinfo() pass back the 32-bit status code from
...
cli_samr_query_dispinfo().
(This used to be commit d5f12bc53074d574a503e7183887fdcec9bb9dd4)
2001-07-23 07:21:52 +00:00
Tim Potter
516eeb0b79
cli_samr_query_dispinfo() can return STATUS_MORE_ENTRIES which isn't an
...
entry.
(This used to be commit 12e44e40298b5469f6f1fea3495cfa023305411d)
2001-07-23 07:20:46 +00:00
Richard Sharpe
36d3a9d5dd
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!
(This used to be commit f38b5ba1946327714e1c9cc3ff91b0063906bd9c)
2001-07-23 07:18:03 +00:00
Tim Potter
cb6e6acb8d
Call cli_samr_lookup_rids() in bunches of < 1000 rids to avoid crashing
...
NT. Note this can be done completely anonymously.
(This used to be commit 96bd7bdd0b4f6572c678c7b1bc5ffe733e632fda)
2001-07-23 03:06:40 +00:00
Tim Potter
10fa3f878b
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.
(This used to be commit 375636b7630d117da5a57b51e11929c3a38646df)
2001-07-23 03:05:01 +00:00
Andrew Tridgell
5f1130746f
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.
(This used to be commit 2097abb76c1845a69a7136af388cef09243ca066)
2001-07-22 10:50:21 +00:00
Andrew Tridgell
4951426613
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.
(This used to be commit 594f84b4e39182dcf344c02dc0185376a2726395)
2001-07-22 07:38:32 +00:00
Andrew Tridgell
512351db92
switch from UCS2 to UCS-2LE
...
(This used to be commit e236a3e29e4af24b20ec6af357ce67abf82b4528)
2001-07-22 00:27:30 +00:00
Andrew Bartlett
9cbe6e8166
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
(This used to be commit 7cb517329b0fa2dec427a890a985c75cd467a3b0)
2001-07-21 02:23:19 +00:00
Andrew Bartlett
d0e0578c59
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
(This used to be commit d5ebbe6c12313b717777f221af004104b4361d57)
2001-07-20 10:06:35 +00:00
Tim Potter
f905c74d9a
^$&%&*$&)% 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.
(This used to be commit f0b7593ef54f8f093018ee2a8325e6f4422a4bbd)
2001-07-20 07:46:39 +00:00
Tim Potter
57933a9c6f
In cli_lsa_lookup_sids() don't append a separator character between domain
...
and name if there is no name.
(This used to be commit e0ebbc9ae3277a5a389eef021f32509a017cbd4d)
2001-07-20 06:25:12 +00:00
Tim Potter
8db78af970
Started adding some help/usage info for rpcclient commands.
...
(This used to be commit 37052a1bcc5cd049918c3d5ac4c41c3a669290af)
2001-07-20 04:38:58 +00:00
Tim Potter
31fe984d2f
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 (!!)
(This used to be commit 2accab2589d8c3decc489fb6af8d65d437a506e7)
2001-07-20 01:35:00 +00:00
Tim Potter
8678c6d6f6
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.
(This used to be commit e5b62b4961769e45bc377be6180ca61ef5f6c22e)
2001-07-20 01:32:56 +00:00
Tim Potter
d3f1d7f7b6
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.
(This used to be commit 36413784aec5819c83e5e469ce4c7bb5d468e980)
2001-07-19 09:18:23 +00:00
Tim Potter
921761fb97
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.
(This used to be commit 5edfb53d7c3fe809256f080d5cd46ebc62c194fb)
2001-07-19 09:06:50 +00:00
Tim Potter
cdcf646c65
#ifdef'ed out some unused functions.
...
(This used to be commit ab5ccce2edd6118db0389701ff9e325ee1f818c7)
2001-07-19 07:44:59 +00:00
Tim Potter
1253b8ea43
Reran autoconf.
...
(This used to be commit fa4901eaf23004f16c529037491c1d809efb2905)
2001-07-19 07:19:53 +00:00
Andrew Tridgell
e8c2eeb0d8
the nss and pam modules in winbind don't have strchr_m() yet, so use
...
strchr() for the moment
(This used to be commit c2c1f2027e6e623bba59610e3aa41618773e6361)
2001-07-18 21:50:20 +00:00
Andrew Tridgell
45635a4a79
removed some unnecessary code
...
(This used to be commit 1436c9f424abbac2752e952172ddbdf15ec73f91)
2001-07-18 21:48:36 +00:00
Richard Sharpe
aefa7e1c3f
Fix the PIC flag for IRIX
...
(This used to be commit 6a7645f90b8c89fa5a74c0f2eb7667228f6d8c06)
2001-07-18 02:58:19 +00:00
Herb Lewis
e6866f1851
don't test for root ownership of profile shared memory segment
...
(This used to be commit d7023b881a3e36199f20dba36bd930454d5131cb)
2001-07-18 01:13:16 +00:00
Jeremy Allison
54068ae8f3
Tidied up calling yield_connection on connection allocation fail.
...
Restore debug message to level zero.
Jeremy.
(This used to be commit 0b13f495b31887d526b46a48a812fa3fd418ce8e)
2001-07-17 22:04:46 +00:00
Jeremy Allison
c2aa4b762f
Connection record not existing is not a debug level 0.
...
Jeremy.
(This used to be commit d7da59f54eed69d50490205d6233bf4801c16998)
2001-07-17 21:32:33 +00:00
Jeremy Allison
c6b51500af
Fixes from Jens-Uwe.Walther@force.de to make the -l option behave
...
consistently.
Jeremy.
(This used to be commit f591ca9f25c54d3cdd0b76df472411e44c95ea47)
2001-07-17 20:42:59 +00:00
Simo Sorce
0cf44bb347
move the global_machine_password_needs_changing where we need it.
...
(This used to be commit 8a2f6fbacd275acc7b356169f4022df4860a813e)
2001-07-17 08:34:12 +00:00
Jeremy Allison
3015fde980
Fix usermanager for domains - we were returning no memory when we
...
should have been returning empty space at end of enumeration.
Jeremy.
(This used to be commit 175c6406925cbd798c3aa049912ab63802f44de4)
2001-07-17 02:26:04 +00:00
Jeremy Allison
e091298907
iFix from "Shahms E. King" <shahms@shahms.com> to get cups user name
...
right.
Jeremy.
(This used to be commit 34244c2a8d02d09b60dfba30b239b9764b60d35a)
2001-07-17 00:39:07 +00:00
Jeremy Allison
a92134c5a4
Fix for incorrect creation of print job names, based on a patch by
...
Jos M.Rodrguez <josemi@iies.es>
Jeremy.
(This used to be commit 7ebf284ef7597ee347deb5245d6ba222a102f55d)
2001-07-16 23:39:26 +00:00
Jeremy Allison
edfd138e87
Fix from bernd@arresum.inka.de for broken krb configure.
...
Jeremy.
(This used to be commit 956e2a4e3783beec13b1baddb6384deac60389a9)
2001-07-16 22:58:47 +00:00
Jeremy Allison
11837682c7
Fix from Jim Vopni - muliple definitions of "letter".
...
Jeremy.
(This used to be commit 5aa3b18f69646669c8548d1f49214a47dcb39a36)
2001-07-16 19:36:44 +00:00
Simo Sorce
e3fbb09ced
Test if machine password has expired.
...
This test was lost somehow...
(This used to be commit 065d8f69d5f4a8ffc062bc5592386ee1ac652969)
2001-07-16 12:16:48 +00:00
Richard Sharpe
57673d585a
A few tweaks around linking libsmbclient
...
(This used to be commit 83334fc474008d9f338204e73eacc5665e26bf0c)
2001-07-14 02:52:41 +00:00
Tim Potter
afa7300006
Changed instances of TRUE, FALSE to True, False as some compilers don't
...
have the first set of symbols.
(This used to be commit ad0cbfbd790bc5d6003ffcff2835d82fb0140625)
2001-07-12 22:27:00 +00:00
Tim Potter
5f4a1aa3c3
Removed unused variable.
...
(This used to be commit 914e78f05356c66665ede6948ec18814c2c2c503)
2001-07-12 22:19:39 +00:00