summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-07-21This patch fixes up a few issues where we would do lookups in the local systemAndrew Bartlett1-38/+42
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-20This should fix the build, I think tpot just missed the file for his CVSAndrew Bartlett1-0/+1
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^$&%&*$&)% readline uses \n characters instead of letting the terminal wrapTim Potter1-13/+34
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-20In cli_lsa_lookup_sids() don't append a separator character between domainTim Potter1-1/+2
and name if there is no name. (This used to be commit e0ebbc9ae3277a5a389eef021f32509a017cbd4d)
2001-07-20Started adding some help/usage info for rpcclient commands.Tim Potter7-68/+128
(This used to be commit 37052a1bcc5cd049918c3d5ac4c41c3a669290af)
2001-07-20Changed the cli_lsa_lookup_sids() function to unpack the domain and user orTim Potter1-3/+7
group using rpcstr_pull_unistr2_fstring rather than pull_ascii_fstring (!!) (This used to be commit 2accab2589d8c3decc489fb6af8d65d437a506e7)
2001-07-20It looks like the rpc client code in libsmb hasn't been converted to theTim Potter1-0/+10
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-19Merged across rewritten version of winbindd_kill_connections(). This nowTim Potter1-22/+15
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-19Added some documentation for using -U with -j in order to join a domainTim Potter1-40/+56
without first having to create an account using the server manager. (This used to be commit 5edfb53d7c3fe809256f080d5cd46ebc62c194fb)
2001-07-19#ifdef'ed out some unused functions.Tim Potter1-0/+8
(This used to be commit ab5ccce2edd6118db0389701ff9e325ee1f818c7)
2001-07-19Reran autoconf.Tim Potter1-604/+607
(This used to be commit fa4901eaf23004f16c529037491c1d809efb2905)
2001-07-18the nss and pam modules in winbind don't have strchr_m() yet, so useAndrew Tridgell6-11/+11
strchr() for the moment (This used to be commit c2c1f2027e6e623bba59610e3aa41618773e6361)
2001-07-18removed some unnecessary codeAndrew Tridgell1-10/+0
(This used to be commit 1436c9f424abbac2752e952172ddbdf15ec73f91)
2001-07-18Fix the PIC flag for IRIXRichard Sharpe1-1/+1
(This used to be commit 6a7645f90b8c89fa5a74c0f2eb7667228f6d8c06)
2001-07-18don't test for root ownership of profile shared memory segmentHerb Lewis1-0/+2
(This used to be commit d7023b881a3e36199f20dba36bd930454d5131cb)
2001-07-17Tidied up calling yield_connection on connection allocation fail.Jeremy Allison2-1/+6
Restore debug message to level zero. Jeremy. (This used to be commit 0b13f495b31887d526b46a48a812fa3fd418ce8e)
2001-07-17Connection record not existing is not a debug level 0.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d7da59f54eed69d50490205d6233bf4801c16998)
2001-07-17Fixes from Jens-Uwe.Walther@force.de to make the -l option behaveJeremy Allison2-2/+2
consistently. Jeremy. (This used to be commit f591ca9f25c54d3cdd0b76df472411e44c95ea47)
2001-07-17move the global_machine_password_needs_changing where we need it.Simo Sorce2-2/+2
(This used to be commit 8a2f6fbacd275acc7b356169f4022df4860a813e)
2001-07-17Fix usermanager for domains - we were returning no memory when weJeremy Allison1-10/+22
should have been returning empty space at end of enumeration. Jeremy. (This used to be commit 175c6406925cbd798c3aa049912ab63802f44de4)
2001-07-17iFix from "Shahms E. King" <shahms@shahms.com> to get cups user nameJeremy Allison1-6/+6
right. Jeremy. (This used to be commit 34244c2a8d02d09b60dfba30b239b9764b60d35a)
2001-07-16Fix for incorrect creation of print job names, based on a patch byJeremy Allison1-2/+2
José M.Rodríguez <josemi@iies.es> Jeremy. (This used to be commit 7ebf284ef7597ee347deb5245d6ba222a102f55d)
2001-07-16Fix from bernd@arresum.inka.de for broken krb configure.Jeremy Allison3-799/+788
Jeremy. (This used to be commit 956e2a4e3783beec13b1baddb6384deac60389a9)
2001-07-16Fix from Jim Vopni - muliple definitions of "letter".Jeremy Allison1-2/+0
Jeremy. (This used to be commit 5aa3b18f69646669c8548d1f49214a47dcb39a36)
2001-07-16Test if machine password has expired.Simo Sorce1-0/+6
This test was lost somehow... (This used to be commit 065d8f69d5f4a8ffc062bc5592386ee1ac652969)
2001-07-14A few tweaks around linking libsmbclientRichard Sharpe2-3/+5
(This used to be commit 83334fc474008d9f338204e73eacc5665e26bf0c)
2001-07-12Changed instances of TRUE, FALSE to True, False as some compilers don'tTim Potter4-26/+26
have the first set of symbols. (This used to be commit ad0cbfbd790bc5d6003ffcff2835d82fb0140625)
2001-07-12Removed unused variable.Tim Potter1-1/+0
(This used to be commit 914e78f05356c66665ede6948ec18814c2c2c503)
2001-07-12Fix a stupid error in passing options to CC under AIXRichard Sharpe1-1/+1
(This used to be commit b8b5603e0f789014a1237c358db478cf6211e215)
2001-07-11Toomas Soome's fix for joining a domain the old way.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 8db233c8b5866df2b3f9f4ed64e7de95807cf371)
2001-07-11Some minor doco on what the build_farm dir doesAndrew Bartlett1-0/+3
(This used to be commit 9bfc480bda8ee3478d17d657cf2fc1a846707130)
2001-07-11I think this was just a typo... If there was some method to the madness thenAndrew Bartlett1-1/+1
please yell, but the build has been broken for long enough. Andrew Bartlett (This used to be commit 93ff9f6101b8569aa375ac805a5efd94bbaa19f2)
2001-07-11This backs out my last change, which broke some of the finer points of RPCAndrew Bartlett2-58/+11
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 (This used to be commit bd3c2a0cddc71daa4165e1a0916208d0c650d55a)
2001-07-11A serious set of changes to build libsmbclienmt. Copied much ofthis fromRichard Sharpe2-34/+36
CUPS. (This used to be commit 7b392f9f6873c3a1ddd26f619f7827e0a9ce180a)
2001-07-10Andrew B and I were commiting the same fix at the same time in differentChristopher R. Hertel1-4/+1
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 -)----- (This used to be commit bbf14e2d4e054e2af4f9cbbb05b86f6ac41084c6)
2001-07-10Fix tree breakage, the last change was entirly non-portable, and we alreadyAndrew Bartlett1-1/+3
have this nice variable to do exactly this... (This used to be commit cad6f53433a9345c06ae94c5ef63434e72a2daea)
2001-07-10This fixes security=domain, which has been broke since the big charsetAndrew Bartlett3-20/+60
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. (This used to be commit cf1d1cd9d6362f6e32ed9c2f6d2f6f25c47705ad)
2001-07-10Fix from John Malmberg. When I added the additional information to theChristopher R. Hertel1-0/+3
debug block that reports multiple query responses I did not notice that the local answer_ip variable was only selectively set. Chris -)----- (This used to be commit 22ea0770d87b2faece2e5dfc098ccf27f4da155f)
2001-07-10Try to avoid clashes with OpenSSL when built --with-ssl, they also have md5.h,Andrew Bartlett1-0/+4
but with a more 'interesting' licence. (This used to be commit 9c9fe2674de0f35da67ba2c3b59861f087932934)
2001-07-10Change the order of the -fPIC and -KPIC tests to ensure that UnixWareRichard Sharpe1-6/+7
is handled. (This used to be commit 7631bade9c52c7ebde0c7170a5d4d4ade6bb723c)
2001-07-10much better handling of broken DNS serversAndrew Tridgell1-16/+2
we no longer lookup our own name when we create a socket in open_socket_in(). That makes things work much better with the broken DNS server at VA (This used to be commit a83d506e5cd6cef23298211b2fe4e0e25c9e5f48)
2001-07-10added winbind_exclude_domain() so smbd can tell the winbind clientAndrew Tridgell2-0/+22
code not to do lookups for a particular domain. This allows winbind to operate on a Samba PDC (This used to be commit d472ee3a690fb6db03fd4536e4093a18fc37ddbb)
2001-07-10Removed unused local variables.Tim Potter1-8/+0
(This used to be commit fa1dfb681b2c7e2de59d6b439ceea738d6f11aff)
2001-07-09implement:Jean-François Micouleau4-3/+1032
LSA_ENUM_PRIVS LSA_PRIV_GET_DISPNAME LSA_ENUM_ACCOUNTS LSA_OPENACCOUNT LSA_ENUMPRIVSACCOUNT LSA_GETSYSTEMACCOUNT It's a work in progress. nobody should expect it to work J.F. (This used to be commit 3056357cd8d4b2460f73ba8a8931a143f07fa2a6)
2001-07-09add query user info level 20 (for RAS)Jean-François Micouleau3-22/+297
add query dominfo level 5 some cleanup, don't free talloced memory. implement delete domain and local groups. J.F. (This used to be commit 3f14dda2a21850edfd540be2624867e5f70a382c)
2001-07-09when converting ascii to unicode, if the ascii string is NULL, don'tJean-François Micouleau1-0/+7
convert it, rpcstr_push doesn't like it. (This used to be commit a8006e6f3eb1e06f4d48727de31e1229d6eef58a)
2001-07-09split the nt_drivers.tdb in 3 separate tdb files. Should speed-up lookupsJean-François Micouleau1-32/+114
J.F. (This used to be commit c08e22713ea4ddbc4951dc8dcc40609eb0039ddb)
2001-07-09when retrieving by sid fill also the map.sid fieldJean-François Micouleau1-5/+6
(This used to be commit f47797fa9595fb19d9e29ef43c5d0135268db455)
2001-07-09allow to rename an NT groupJean-François Micouleau1-2/+5
(This used to be commit 42fc4f4154ccf2e93322da6b0b234f8f846991dc)
2001-07-08fixed anonymous login in rpcclientAndrew Tridgell1-4/+7
(This used to be commit b2a4a62b5ed581bf89fe20cdf427c1740fd73266)