summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-07-15fixed a number of real bugs found by warnings on the 64 bit irix compilerAndrew Tridgell5-11/+8
(This used to be commit 04de6bbc8055e5547af41b10e284b722f40e726d)
2002-07-15enum_group_mapping takes an enum not an intAndrew Tridgell1-1/+1
(This used to be commit 67a3ca2f235e011472dbe505ce7c34b26f92c44c)
2002-07-15checking for NULL really is counter-productive, and this one was alsoAndrew Tridgell1-5/+0
generating a warning (This used to be commit cd82ba41b8df024f034fcfa24e967ed8c3c8d035)
2002-07-15fixed a call to get_current_groups()Andrew Tridgell1-1/+1
(This used to be commit 61c524e8102d4f5cdcf7c949b55b5dc67a320c74)
2002-07-15don't use C++ comments in C - it doesn't work on many compilersAndrew Tridgell1-1/+1
(This used to be commit cf853314f9eda479c6f18bfc725fa0b5d88d0a38)
2002-07-15fixed a problem with getgroups() where it could include our currentAndrew Tridgell4-14/+65
effective gid which could mean that the user gets group 0 in their group list for acl interpretation this is a replacement fix for the one richard did in 2.2 (which didn't cope wiith variable behaviour depending on which nss module was in use) (This used to be commit cfc5ca3416cea5ea5d2ac34f5521cb6367e42cd2)
2002-07-15don't report the faiilure of non-blocking locks. They are supposed toAndrew Tridgell1-1/+1
fail sometimes, thats why they are non-blocking :) (This used to be commit 775b918b8c63b1fcd9a8db1743505ab718978c19)
2002-07-14after thinking about the env variable hack for avoiding group membershipAndrew Tridgell1-14/+20
enumeration I realised it could be a security hole for setuid progs. This adds a proper nss function instead. (This used to be commit c7c49d87af5e9a0bef058e6d79188d8b11fefc02)
2002-07-14addedd new (t)alloc_sub_* functionsSimo Sorce5-44/+318
they will get a const string and return a (t)alloced epanded one. also modified passdb/* stuff to use this one. (This used to be commit d378ac1e2efb0efc9a0f983d69cf678ca6255fd5)
2002-07-14this is a trick to work around the fact that posix does not supplyAndrew Tridgell6-9/+53
a getgr*() function that lists groups without numerating all the group members. Instead of definiing a new nss method (which might cause problems) I added an environment variable WINBIND_GETGRLST that tells winbind not to fill in the group members in a gergrent() request. This can speed up group listing by a factor of 20 or more (on my test system with 50000 groups it reduces the time from an hour to 2 minutes) (This used to be commit e3f73256d31ab9914daae49f41e984a534996870)
2002-07-14Show the account flags in the 'verbose' listing of pdbedit.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit b5ec92d7a2e5ba33b641267d2319d101d70a0d9a)
2002-07-14Apply patch from "Kai Krueger" <kai@kruegernetz.de> to make it easier toAndrew Bartlett1-51/+116
determine what access masks should be applied to various SAMR calls. Andrew Bartlett (This used to be commit dbf28f992bcd4859a9b7d78ac1d33e4063617f94)
2002-07-14Fix up a botched prevoius commit.Andrew Bartlett1-11/+10
The idea here is to allow invalid LM passwords in otherwise valid accounts. This happens when we create an account without a password, for example. Previously we would stop at the LM password, and not read things like the account flags correctly. Now we process the record, and just set the password to NULL. (Note, 'no password for access' is decided only on the basis of the Account Control bits, not on the 'NULL' value of the password feild.). Andrew Bartlett (This used to be commit c590e0c970b5babf370924cef51530e5e215eaf2)
2002-07-14removed some meaningless const casts that were causing thousands ofAndrew Tridgell1-12/+11
warnings (literally!) for the irix compiler (This used to be commit 35b6b46bc67104671298641e2993225bad2c9a39)
2002-07-14move opt_machine_pass to keep some compilers happyAndrew Tridgell1-1/+1
(This used to be commit 39e11ef5b1090e51c6c447c8037a43b52e04b881)
2002-07-14Move nttrans.c into the NTSTATUS age.Andrew Bartlett1-41/+29
This could do with another eye looking over it, but it seems to work. Andrew Bartlett (This used to be commit e6746db60daa4a61a3ed4302e4105345984af6ac)
2002-07-13added useful 'net rpc info' commandAndrew Tridgell1-0/+76
this also gives a way to distinguish a 'native mode' server from a non-native server. This call will fail for a native mode server. (This used to be commit a7663428e05bdd41a1975d0db9be6537b7238b95)
2002-07-13added --machine-pass option to net. This allows you to authenticate asAndrew Tridgell1-1/+21
the current machine account and password. This is useful both for diagnostics and domain leave. (This used to be commit 73b246981fd5b27cc1d835946b89e82f5b78f332)
2002-07-13make this a ZERO_STRUCTP for consitancy with the rest of Samba.Andrew Bartlett1-1/+1
(This used to be commit 587a3d91b7226f4e96c4320322f62c6490a3c6ac)
2002-07-13Make smbmnt a standalone program from a linker point of view. Hopefully thisAndrew Bartlett2-4/+3
will make it easier to prove this package correct from an audit point of view. smbumount to follow, but it uses pstrcpy() so I'll need to decide what to do with that. Andrew Bartlett (This used to be commit 62c56f97248109ca80cc155974584bea9704cd50)
2002-07-13I just noticed that I never added my copyright when I messed with thisAndrew Bartlett1-0/+1
previously. Fix that. Andrew Bartlett (This used to be commit c552910477f0baca4d2173c2bdf4748de3c3b8ad)
2002-07-13Make smbpasswd behave like all the other backends, where a NULL or invalidAndrew Bartlett1-7/+4
LM password isn't anything special. All the users check the ACB nowadays, and this allows us to correctly return flags set via usermgr. Andrew Bartlett (This used to be commit 89eb765d398de7654ba6bac7c51df727830c2591)
2002-07-13This makes smbcacls a bit easier to use and debug.Andrew Bartlett1-8/+15
Allow connection in the form of //server/share instead of just \\server\share and show the reason for failure from cli_full_connection(). Andrew Bartlett (This used to be commit 4687fac69d995e49a0f3701fb170d64af1ba4a47)
2002-07-13fix directory listing on win9x.Andrew Tridgell1-3/+7
it turns out this is tricky to get right for both win9x and w2k with and without unicode. This patch seems to do the trick. (This used to be commit 01ebe5fff2b3cb29f083afb224b1257364ac5d80)
2002-07-13Some fix ups but committing so Andrew can look at the problem I have.Richard Sharpe2-44/+12
(This used to be commit 146ba3eb49bade732d57691d8ce181ef6608e0cb)
2002-07-13Fix up the include file that had problems as well.Richard Sharpe2-16/+251
(This used to be commit 753df0b89767261420f242da21d5dfb5403c966b)
2002-07-13Add these two files I forgot.Richard Sharpe2-0/+476
(This used to be commit 5706e6af168b14a40cb1e306c2911182260ff0d3)
2002-07-13Fix some multibyte problems that I forgot about.Richard Sharpe1-6/+6
(This used to be commit 481a70f4f005a778a24e2193f8e760217ee3c946)
2002-07-13fixed a stdin bug in XFILE that prevented 'print -' from workingAndrew Tridgell1-4/+4
(This used to be commit e66e354421b8be64a1b6774bde4d187532ee7690)
2002-07-13- fixed a crash bug for 'print -'Andrew Tridgell2-3/+4
- removed an unused variable (This used to be commit 66af95716de470600b0db58bdf8a1f0c15dba036)
2002-07-12The changes in make_sec_desc to make us match W2K broke the ↵Jeremy Allison2-20/+25
marshalling/unmarshalling of security descriptors. We need to calculate the maximum offset and set the offset back after reading/writing every field in the SEC_DESC. This was *nasty* to find.... Jeremy. (This used to be commit 175d43980e57c25582d8ab859f5730283e82f3b2)
2002-07-12We must ZERO_STRUCT before using the buffer in copy_unistr2.Jeremy Allison1-0/+3
Fixes addprinterdriverex. Jeremy. (This used to be commit d3c73e59708eeb1ee4642fb31fcfc0ec2fd28070)
2002-07-12fix setting machine passwords in the case where a user account of theAndrew Tridgell1-1/+5
same name as the machine name exists. (we ended up setting the users password, not the machines password!) (This used to be commit fe1e6233c6f0a5654bcc3ab34f65bb570efc69b1)
2002-07-11Commit Tom Jansen's changes to head.Richard Sharpe2-820/+902
(This used to be commit d3fdce07ab5955abd1f923127ae9eb5006aea505)
2002-07-11Regenerated.Tim Potter1-11/+12
(This used to be commit 7ead9602ce8c30a57cb83d56fb76228945a7599f)
2002-07-11Usage fixes from APPLIANCE_HEAD.Tim Potter1-1/+2
(This used to be commit 952d722a3bba15b7a10b4cbabb5548f4dde682d7)
2002-07-11Another compile fix.Tim Potter1-2/+2
(This used to be commit ef5c9698b06c5df99ec07ee781cc54d2e348ba8a)
2002-07-11Compile fix for flags field to cli_full_connection()Tim Potter1-1/+1
(This used to be commit 802f30a1b34888823c1fc80121b3917cb6825119)
2002-07-11Merge of init_domain_list() fix from APPLIANCE_HEAD.Tim Potter1-3/+0
(This used to be commit 66c9cab369e38284c71572bfb3643538e253a451)
2002-07-11added copyrightGerald Carter1-0/+1
(This used to be commit 0bb3d0f1ca9504d2430471558e1a0125d72ee82f)
2002-07-11added copyrightGerald Carter3-2/+4
(This used to be commit dcb6d70706a0e86881588c3828ff5bd4d63d415f)
2002-07-11this implements a completely new strategy for fetching groupAndrew Tridgell2-33/+118
membership from an ADS server. We now use a 'member' query on the group and do a separate call to convert the resulting distinguished name to a name, rid etc. This is *much* faster for very large numbers of groups (on a quantum test system with 10000 groups it drops the time from an hour to about 35 seconds). strangely enough, this actually *increases* the amount of ldap traffic, its just that the MS LDAP server answers these queries much faster. (This used to be commit 5538048e4f6dd224b2990f3c6a3e99fd07065f77)
2002-07-11last check in for tonight.Gerald Carter3-56/+139
* DeletePrinterDriverEx() now has the ability to delete driver files. I need to do some more testing tro veriofy that we are in fact not deleting a file out from under another driver, but it looks ok so far. * DeletePrinterDriver() noiw deletes all versions of the specified driver (cversion == 0, 1, 2, 3) (This used to be commit 17bb780e1327663fa2fcd6a3cb25dd461a29c537)
2002-07-11this fixes the ads dump codeAndrew Tridgell1-3/+3
a char** isn't quite the same thing as a struct berval** :) (This used to be commit a92834ea9460bc49be99d6d5b0d41a817e6f0824)
2002-07-11all that is left to do is to actually perform theGerald Carter3-19/+183
file deletion now. I have the file list. One more commit should do it. (This used to be commit 7207662504f585352b0ceeb99f8998ef58db7f15)
2002-07-11intermediate work on DeletePrinterDriverEx(). This callGerald Carter3-97/+180
will actually delete driver files ( not yet though I don't think). Just wanted to get it in since Jeremy and I are both working on nt_printing.c (This used to be commit 3fa6c3132950c9ff1c6a532d8264ee34a6b2b0ff)
2002-07-11Up the printing tdb version number to 5 as I've changed it.Jeremy Allison1-1/+1
Jeremy. (This used to be commit f4eff4a99edd49ab11d0fc061fdb4efe96e713f5)
2002-07-11*Experimental* new large-scaling printer code. Splits printing.tdb intoJeremy Allison8-162/+424
a separate tdb per printer, but only keeps (currently one) tdb open at a time (although this is easily changed by changing a #define). Needs scalability testing with large numbers of printers now.... Jeremy. (This used to be commit b0909cfa14fc7ef29d2b98b56d52723570da782a)
2002-07-10If we get a SID from group mapping, no need to check it's prefix.Andrew Bartlett1-6/+6
Just set it directly. Andrew Bartlett (This used to be commit 202202bc475f3b8500423b1a9ccf0adc80a4dc49)
2002-07-09some support functions to ease the next commit.Simo Sorce1-6/+96
(This used to be commit 4be1c882be56ae0fe18bb134a1513e0e6f6965b0)