Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Formatting fixups. | Jeremy Allison | 2002-07-18 | 1 | -66/+73 | |
| | | | | | | | | Jeremy. | |||||
* | | Another bug found by valgrind. Don't AND a src length of -1. | Jeremy Allison | 2002-07-18 | 1 | -1/+2 | |
| | | | | | | | | Jeremy. | |||||
* | | virtual registry framework with initial printing hooks. | Gerald Carter | 2002-07-18 | 11 | -335/+1329 | |
| | | ||||||
* | | The previous code would not allow things like string_sub(str, "\\", "/", 0). | Gerald Carter | 2002-07-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | It complained about an overflow of 0 bytes. Jeremy please check since you modified this last. | |||||
* | | Unneded extra check on len | Simo Sorce | 2002-07-18 | 1 | -1/+1 | |
| | | ||||||
* | | We have to look at the length before checking for "~" as the string | Jeremy Allison | 2002-07-18 | 1 | -3/+3 | |
| | | | | | | | | | | may be shorter than 6 chars. Caught by valgrind. Jeremy. | |||||
* | | Use of uninitialized variable caught by valgrind. | Jeremy Allison | 2002-07-18 | 1 | -1/+1 | |
| | | | | | | | | Jeremy. | |||||
* | | Gone back to explicit queue number passing as snum - removed encoding of | Jeremy Allison | 2002-07-17 | 9 | -287/+170 | |
| | | | | | | | | | | | | queueid in job number. This means we must have an internal tdb to store mapping from 16 bit RAP jobid's to 32 bit RPC jobids. Jeremy. | |||||
* | | Lanman print jobs are *16* bits, not 32. arggggh. Map them.... | Jeremy Allison | 2002-07-17 | 3 | -9/+88 | |
| | | | | | | | | Jeremy. | |||||
* | | print_jobid in the fsp struct should be uint32. | Jeremy Allison | 2002-07-16 | 1 | -1/+1 | |
| | | | | | | | | Jeremy. | |||||
* | | Use codepage 850 as a default for the dos character set. | Tim Potter | 2002-07-16 | 1 | -0/+3 | |
| | | | | | | | | Tridge, is this OK? | |||||
* | | Put printing tdbs in a subdirectory to prevent name collisions. | Jeremy Allison | 2002-07-16 | 1 | -1/+6 | |
| | | | | | | | | Jeremy. | |||||
* | | splitting off storage/retrieval routines for abstracting the | Gerald Carter | 2002-07-15 | 4 | -326/+366 | |
| | | | | | | | | registry view front end. Now to plug in the various hooks. | |||||
* | | preparing for release of 3.0-alpha18 | Samba Release Account | 2002-07-15 | 2 | -1/+7 | |
| | | ||||||
* | | fixed a number of real bugs found by warnings on the 64 bit irix compiler | Andrew Tridgell | 2002-07-15 | 5 | -11/+8 | |
| | | ||||||
* | | enum_group_mapping takes an enum not an int | Andrew Tridgell | 2002-07-15 | 1 | -1/+1 | |
| | | ||||||
* | | checking for NULL really is counter-productive, and this one was also | Andrew Tridgell | 2002-07-15 | 1 | -5/+0 | |
| | | | | | | | | generating a warning | |||||
* | | fixed a call to get_current_groups() | Andrew Tridgell | 2002-07-15 | 1 | -1/+1 | |
| | | ||||||
* | | don't use C++ comments in C - it doesn't work on many compilers | Andrew Tridgell | 2002-07-15 | 1 | -1/+1 | |
| | | ||||||
* | | fixed a problem with getgroups() where it could include our current | Andrew Tridgell | 2002-07-15 | 4 | -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 to | Andrew Tridgell | 2002-07-15 | 1 | -1/+1 | |
| | | | | | | | | fail sometimes, thats why they are non-blocking :) | |||||
* | | after thinking about the env variable hack for avoiding group membership | Andrew Tridgell | 2002-07-14 | 1 | -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_* functions | Simo Sorce | 2002-07-14 | 5 | -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 supply | Andrew Tridgell | 2002-07-14 | 6 | -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 Bartlett | 2002-07-14 | 1 | -0/+2 | |
| | | | | | | | | Andrew Bartlett | |||||
* | | Apply patch from "Kai Krueger" <kai@kruegernetz.de> to make it easier to | Andrew Bartlett | 2002-07-14 | 1 | -51/+116 | |
| | | | | | | | | | | | | determine what access masks should be applied to various SAMR calls. Andrew Bartlett | |||||
* | | Fix up a botched prevoius commit. | Andrew Bartlett | 2002-07-14 | 1 | -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 of | Andrew Tridgell | 2002-07-14 | 1 | -12/+11 | |
| | | | | | | | | warnings (literally!) for the irix compiler | |||||
* | | move opt_machine_pass to keep some compilers happy | Andrew Tridgell | 2002-07-14 | 1 | -1/+1 | |
| | | ||||||
* | | Move nttrans.c into the NTSTATUS age. | Andrew Bartlett | 2002-07-14 | 1 | -41/+29 | |
| | | | | | | | | | | | | This could do with another eye looking over it, but it seems to work. Andrew Bartlett | |||||
* | | added useful 'net rpc info' command | Andrew Tridgell | 2002-07-13 | 1 | -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 as | Andrew Tridgell | 2002-07-13 | 1 | -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 Bartlett | 2002-07-13 | 1 | -1/+1 | |
| | | ||||||
* | | Make smbmnt a standalone program from a linker point of view. Hopefully this | Andrew Bartlett | 2002-07-13 | 2 | -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 this | Andrew Bartlett | 2002-07-13 | 1 | -0/+1 | |
| | | | | | | | | | | | | previously. Fix that. Andrew Bartlett | |||||
* | | Make smbpasswd behave like all the other backends, where a NULL or invalid | Andrew Bartlett | 2002-07-13 | 1 | -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 Bartlett | 2002-07-13 | 1 | -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 Tridgell | 2002-07-13 | 1 | -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 Sharpe | 2002-07-13 | 2 | -44/+12 | |
| | | ||||||
* | | Fix up the include file that had problems as well. | Richard Sharpe | 2002-07-13 | 2 | -16/+251 | |
| | | ||||||
* | | Add these two files I forgot. | Richard Sharpe | 2002-07-13 | 2 | -0/+476 | |
| | | ||||||
* | | Fix some multibyte problems that I forgot about. | Richard Sharpe | 2002-07-13 | 1 | -6/+6 | |
| | | ||||||
* | | fixed a stdin bug in XFILE that prevented 'print -' from working | Andrew Tridgell | 2002-07-13 | 1 | -4/+4 | |
| | | ||||||
* | | - fixed a crash bug for 'print -' | Andrew Tridgell | 2002-07-13 | 2 | -3/+4 | |
| | | | | | | | | - removed an unused variable | |||||
* | | The changes in make_sec_desc to make us match W2K broke the ↵ | Jeremy Allison | 2002-07-12 | 2 | -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 Allison | 2002-07-12 | 1 | -0/+3 | |
| | | | | | | | | | | Fixes addprinterdriverex. Jeremy. | |||||
* | | fix setting machine passwords in the case where a user account of the | Andrew Tridgell | 2002-07-12 | 1 | -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 Sharpe | 2002-07-11 | 2 | -820/+902 | |
| | | ||||||
* | | Regenerated. | Tim Potter | 2002-07-11 | 1 | -11/+12 | |
| | | ||||||
* | | Usage fixes from APPLIANCE_HEAD. | Tim Potter | 2002-07-11 | 1 | -1/+2 | |
| | |