summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* | enum_group_mapping takes an enum not an intAndrew Tridgell2002-07-151-1/+1
| |
* | checking for NULL really is counter-productive, and this one was alsoAndrew Tridgell2002-07-151-5/+0
| | | | | | | | generating a warning
* | fixed a call to get_current_groups()Andrew Tridgell2002-07-151-1/+1
| |
* | don't use C++ comments in C - it doesn't work on many compilersAndrew Tridgell2002-07-151-1/+1
| |
* | fixed a problem with getgroups() where it could include our currentAndrew Tridgell2002-07-154-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)
* | don't report the faiilure of non-blocking locks. They are supposed toAndrew Tridgell2002-07-151-1/+1
| | | | | | | | fail sometimes, thats why they are non-blocking :)
* | after thinking about the env variable hack for avoiding group membershipAndrew Tridgell2002-07-141-14/+20
| | | | | | | | | | | | enumeration I realised it could be a security hole for setuid progs. This adds a proper nss function instead.
* | addedd new (t)alloc_sub_* functionsSimo Sorce2002-07-145-44/+318
| | | | | | | | | | they will get a const string and return a (t)alloced epanded one. also modified passdb/* stuff to use this one.
* | this is a trick to work around the fact that posix does not supplyAndrew Tridgell2002-07-146-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)
* | Show the account flags in the 'verbose' listing of pdbedit.Andrew Bartlett2002-07-141-0/+2
| | | | | | | | Andrew Bartlett
* | Apply patch from "Kai Krueger" <kai@kruegernetz.de> to make it easier toAndrew Bartlett2002-07-141-51/+116
| | | | | | | | | | | | determine what access masks should be applied to various SAMR calls. Andrew Bartlett
* | Fix up a botched prevoius commit.Andrew Bartlett2002-07-141-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
* | removed some meaningless const casts that were causing thousands ofAndrew Tridgell2002-07-141-12/+11
| | | | | | | | warnings (literally!) for the irix compiler
* | move opt_machine_pass to keep some compilers happyAndrew Tridgell2002-07-141-1/+1
| |
* | Move nttrans.c into the NTSTATUS age.Andrew Bartlett2002-07-141-41/+29
| | | | | | | | | | | | This could do with another eye looking over it, but it seems to work. Andrew Bartlett
* | added useful 'net rpc info' commandAndrew Tridgell2002-07-131-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.
* | added --machine-pass option to net. This allows you to authenticate asAndrew Tridgell2002-07-131-1/+21
| | | | | | | | | | the current machine account and password. This is useful both for diagnostics and domain leave.
* | make this a ZERO_STRUCTP for consitancy with the rest of Samba.Andrew Bartlett2002-07-131-1/+1
| |
* | Make smbmnt a standalone program from a linker point of view. Hopefully thisAndrew Bartlett2002-07-132-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
* | I just noticed that I never added my copyright when I messed with thisAndrew Bartlett2002-07-131-0/+1
| | | | | | | | | | | | previously. Fix that. Andrew Bartlett
* | Make smbpasswd behave like all the other backends, where a NULL or invalidAndrew Bartlett2002-07-131-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 makes smbcacls a bit easier to use and debug.Andrew Bartlett2002-07-131-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
* | fix directory listing on win9x.Andrew Tridgell2002-07-131-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.
* | Some fix ups but committing so Andrew can look at the problem I have.Richard Sharpe2002-07-132-44/+12
| |
* | Fix up the include file that had problems as well.Richard Sharpe2002-07-132-16/+251
| |
* | Add these two files I forgot.Richard Sharpe2002-07-132-0/+476
| |
* | Fix some multibyte problems that I forgot about.Richard Sharpe2002-07-131-6/+6
| |
* | fixed a stdin bug in XFILE that prevented 'print -' from workingAndrew Tridgell2002-07-131-4/+4
| |
* | - fixed a crash bug for 'print -'Andrew Tridgell2002-07-132-3/+4
| | | | | | | | - removed an unused variable
* | The changes in make_sec_desc to make us match W2K broke the ↵Jeremy Allison2002-07-122-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.
* | We must ZERO_STRUCT before using the buffer in copy_unistr2.Jeremy Allison2002-07-121-0/+3
| | | | | | | | | | Fixes addprinterdriverex. Jeremy.
* | fix setting machine passwords in the case where a user account of theAndrew Tridgell2002-07-121-1/+5
| | | | | | | | | | same name as the machine name exists. (we ended up setting the users password, not the machines password!)
* | Commit Tom Jansen's changes to head.Richard Sharpe2002-07-112-820/+902
| |
* | Regenerated.Tim Potter2002-07-111-11/+12
| |
* | Usage fixes from APPLIANCE_HEAD.Tim Potter2002-07-111-1/+2
| |
* | Another compile fix.Tim Potter2002-07-111-2/+2
| |
* | Compile fix for flags field to cli_full_connection()Tim Potter2002-07-111-1/+1
| |
* | Merge of init_domain_list() fix from APPLIANCE_HEAD.Tim Potter2002-07-111-3/+0
| |
* | added copyrightGerald Carter2002-07-111-0/+1
| |
* | added copyrightGerald Carter2002-07-113-2/+4
| |
* | this implements a completely new strategy for fetching groupAndrew Tridgell2002-07-112-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.
* | last check in for tonight.Gerald Carter2002-07-113-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 fixes the ads dump codeAndrew Tridgell2002-07-111-3/+3
| | | | | | | | a char** isn't quite the same thing as a struct berval** :)
* | all that is left to do is to actually perform theGerald Carter2002-07-113-19/+183
| | | | | | | | | | file deletion now. I have the file list. One more commit should do it.
* | intermediate work on DeletePrinterDriverEx(). This callGerald Carter2002-07-113-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
* | Up the printing tdb version number to 5 as I've changed it.Jeremy Allison2002-07-111-1/+1
| | | | | | | | Jeremy.
* | *Experimental* new large-scaling printer code. Splits printing.tdb intoJeremy Allison2002-07-118-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.
* | If we get a SID from group mapping, no need to check it's prefix.Andrew Bartlett2002-07-101-6/+6
| | | | | | | | | | | | Just set it directly. Andrew Bartlett
* | some support functions to ease the next commit.Simo Sorce2002-07-091-6/+96
| |
* | 8-byte alignment needed for beginning driver_info_level_6.Gerald Carter2002-07-093-23/+36
| | | | | | | | | | Verified by looking at NT4 and 2k servers. First time for everything I guess.