summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2001-07-08removed remnants of libtoolAndrew Tridgell5-8316/+729
(This used to be commit abe01facea99f4cda76330d1265edde32b3c0a86)
2001-07-08improved the command line parsing of rpcclientAndrew Tridgell1-16/+17
(This used to be commit 29d8f9bcb3f55365740a5bbafc75dd2dffc107a9)
2001-07-08allow winbindd to run as non-root so we can test it more easilyAndrew Tridgell2-9/+7
(This used to be commit 001129e2153633dbd079889b11331e9c27786e5b)
2001-07-08formatting fixAndrew Tridgell1-1/+1
(This used to be commit 3dc9fd076a2c4c352d51f7b9dfa8b570a231c9e2)
2001-07-08added sec_initial_uid() function so we can ask if a file is owned byAndrew Tridgell1-0/+8
the initial uid (This used to be commit 9449544428c9c3153f9e757c57bccda382fa2882)
2001-07-08fixed the auto-initialisation of the iconv descriptorsAndrew Tridgell1-11/+11
(This used to be commit 66632782c583356550446638a832cc46a99f9f62)
2001-07-08Update tests, start testing password server code, now I have it working andAndrew Bartlett4-4/+4
know what it does... Andrew Bartlett (This used to be commit 51903dbfee2fa2b5d94b1d16ebdbb3356e13884d)
2001-07-08This removes unused paramaters from various authtication functions, and shouldAndrew Bartlett7-41/+24
not change behaviour. This should make my later diffs smaller, where I actualy start cleaning up this mess... Andrew Bartlett (This used to be commit 04f090c224bb7ac3b53c430a591fce1fc939a81c)
2001-07-08Fix the loading of configuration files using the include syntax.Andrew Bartlett1-15/+19
We had a problem where if a % macro in the smb.conf could be ignored if the various files it pointed to had the same time-stamp. This changes the code to insted check that the both the time-stamp and the substituted filename are the same over each change. This was picked up only becouse the build-farm automaticly generates its config files, and hence gets identical timestamps. (Why this doesn't happen all the time I'm not entirly sure, somthing to do with the 'test' paramater to reload_services(), but this fixes this problem). Andrew Bartlett (This used to be commit ebd2f9b07c89cce505e821f1caaa6817bbb26db9)
2001-07-07fixed some unicode and LANMAN2 bugs in trans2 find first/nextAndrew Tridgell1-39/+3
(This used to be commit d5097b2f20c55ddcf4ae8da4d1d0a2fe91938a6b)
2001-07-07fixed some unicode and LANMAN2 bugs in trans2 find firstAndrew Tridgell1-103/+77
(This used to be commit dc99b9ddf847c210c72921ba1dedcdc34fd32aab)
2001-07-07Add a new paramater: add machine scriptAndrew Bartlett2-3/+15
This allows the administrator to define different scripts for adding unix users and automaticly adding machines. If it is not defined, it falls back to the value of 'add user script'. Andrew Bartlett (This used to be commit 7a478e050f3ab33bd0141a58c698d748f0d2b204)
2001-07-07Add backend encryption support for NTLMv2.Andrew Bartlett10-13/+546
The leg-work for this was done by the folks at samba-tng.org, I'm just bringing it accross to HEAD. The MD5 implementation is seperatly derived, and does not have the copyright problems that the one in TNG has. Also add const to a few places where it makes sence. Andrew Bartlett (This used to be commit 8df8e841445dfe09fc7a06bb55d12adc3fecb345)
2001-07-07You can't dump_data() a function pointer...Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 4f7b2f51b071ee02b9a2ac7decd9fa7d9e078c1a)
2001-07-07Update smbtorture in line with SAMBA_2_2Andrew Bartlett1-5/+34
Andrew Bartlett (This used to be commit dc588ee87ae16e207324d42f926d7889b70362de)
2001-07-06Password changing via PAM works now. DONT CHANGE THIS UNLESS YOU RE-TEST !!!!!!Jeremy Allison2-4/+38
Jeremy. (This used to be commit 79574c07ed5de7194a17c9ee8d189370d8e42bcc)
2001-07-06fixed strrchr_mAndrew Tridgell1-4/+3
(This used to be commit f4359b5f7ff891d7fcb5772b589756376ae5d412)
2001-07-06Don't try and open tdb secrets file in non-root/local mode.Jeremy Allison1-2/+1
Jeremy. (This used to be commit e78a114425129d980f79db812dbea368123913ed)
2001-07-06Wrapped dlerror() in the same way as the other dlxxx() calls.Jeremy Allison3-3/+12
Jeremy. (This used to be commit ed5a1f70c6d155788b62e9e6e8c5d97a5ca0858d)
2001-07-06Added JF's fix for max_entries being 0.Jeremy Allison1-0/+15
Jeremy. (This used to be commit 5059fbbb76ffa24658a878080a36e355df4894f5)
2001-07-06formatting fixesAndrew Tridgell1-7/+7
(This used to be commit 67ca6cd8eb20621d3f5926e19822b479ac80cb9c)
2001-07-06check for initialisation in convert_string()Andrew Tridgell1-0/+6
otherwise initial load in smb.conf can fail (This used to be commit e9c53606de237f91712bb9d2a9fdf84b80bce38d)
2001-07-06A program to display a tree of domains, servers and shares similar to theTim Potter1-0/+419
network neighbourhood graph. Still needs a bit of work. (This used to be commit 6b4559506d1434e6114d9707dd11fdc8ee8d54be)
2001-07-06fixed a silly bug in the internal UTF8 implementationAndrew Tridgell1-1/+14
(This used to be commit 95a9a1814f1a1ac07c316cc920c7493a86d5a09b)
2001-07-06fixed bug where we looked at the first byte of a password to determineAndrew Tridgell1-12/+2
if the password is blank. That ain't valid with encrypted passwords! Jeremy, this changes the semantics of session setup. We no longer automatically set guest=True when the client happens to choose their username == the guest username. Instead we rely on the map_to_guest code. I'm pretty sure this is now the right thing, but please look at it carefully before putting it in 2.2 This is the bug that was causing the build farm to sometimes fail. Basically we failed every 256 attempts - ie. when the first byte of the encrypted password happened to be 0 (This used to be commit 4b35a3494c53fe38532fc12cf1c57e1a3715ad0f)
2001-07-06got rid of insanely verbose debug messages on startupAndrew Tridgell1-1/+1
(This used to be commit c3a21fc0f21b3f493031cb0c9a6a990528b276d9)
2001-07-06fixed inetd operation as non-rootAndrew Tridgell1-4/+0
(This used to be commit 9a9da44455fc35cb9b1625ffefd12a9c5fe48d6b)
2001-07-06added some comments and removed an unnecessary checkAndrew Tridgell1-3/+2
(This used to be commit 25c4b3f19315bdef57041da79c12271b72015701)
2001-07-05Fix race where wrong action (created or opened) could be returned.Jeremy Allison1-0/+8
Jeremy. (This used to be commit af5b649b017f703a14a69f77a9067efb9c6a8269)
2001-07-05Fix for enumerating large numbers of users.Jeremy Allison3-35/+50
Jeremy. (This used to be commit c8c138c1fbb49799a2dd4c6e781bd89f51c0c0c5)
2001-07-05Fix for rabbit-pellet mode. Chris please test this. Thanks for Dave CBJeremy Allison1-0/+6
for help on this. Jeremy. (This used to be commit 7efaefdf60e1880cf4ab97e1901248abd00acd79)
2001-07-05Allow user to specify CFLAGS even when using configure.developerAndrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 8452300c769b2b046fc4b2fd078e7da0b93cd316)
2001-07-05removed an unreachable statementAndrew Tridgell1-1/+0
(This used to be commit 6503f53abe2642b002d8c9c64a2e0534c2b39b8c)
2001-07-05Allow us to vary the log-level, so we can run at level 1 normally,Andrew Bartlett4-8/+12
and push it to 10 when we fail (we redo the test). Also disable the server-level security testing till it know what it does Andrew Bartlett (This used to be commit 805c20452e98c5e3d3fb24537ce722d4318ffa90)