summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* Start handling Big Endian machines as well as little endian.Richard Sharpe2002-11-051-2/+2
|
* pytdbpack_unpack: Handle unpacking Buffers into (LEN, DATA): form listMartin Pool2002-11-051-21/+45
| | | | by appending, rather than preallocating.
* VFStest already has pop_common via smbd, so don't link it twice.Andrew Bartlett2002-11-041-1/+1
| | | | Andrew Bartlett
* Add more test cases that now work.Martin Pool2002-11-041-1/+2
|
* pytdbpack_pack_data: Allow 'd' and 'w' formats to take either IntegerMartin Pool2002-11-041-2/+20
| | | | or Long arguments.
* Make sure uint32 unpacking is unsigned, and generates a Python long soMartin Pool2002-11-041-10/+10
| | | | that it can represent all the unsigned values
* Re-add some tests which do work with both implementationsMartin Pool2002-11-041-6/+6
|
* Comment out test cases where the old and new parser are different.Martin Pool2002-11-041-60/+71
|
* pytdbpack_calc_reqd_len: Correct calculation of packed length ofMartin Pool2002-11-041-5/+8
| | | | string types
* Change to representing buffers ('B') as (LEN, STRING) in Python,Martin Pool2002-11-041-130/+112
| | | | | | rather than as just a string. Makes the code more messy, but needed for compatibility with existing PSA Python code which seems to be too knotty to separate out.
* test_pack_extra: Add additional cases.Martin Pool2002-11-041-7/+12
| | | | test_pack_failures: Remove cases for which old code is too lax.
* test_pack_extra: Better way of testing packing with extra values.Martin Pool2002-11-041-3/+3
|
* pytdbpack_calc_reqd_len: It's no longer an error to supply more dataMartin Pool2002-11-041-8/+2
| | | | values than are consumed.
* DocMartin Pool2002-11-041-2/+5
|
* test_pack_extra: The old code does not complain when there are tooMartin Pool2002-11-041-1/+15
| | | | | many data values for the format. Test that the new code behaves the same way.
* test_pack_failures: The old code does not complain when there are tooMartin Pool2002-11-041-6/+14
| | | | | | many data values for the format, so we don't test that here. test_large: New test case for packing/unpack a thousand values.
* pytdbpack_calc_reqd_len: Make exception be thrown correctly when aMartin Pool2002-11-041-2/+5
| | | | | | | | non-string is used with a string format code. (It was being generated but not thrown.) Also call checked versions of some functions rather than FAST_* versions.
* test_pack_failures: The old and new code is not exactly the same aboutMartin Pool2002-11-041-33/+37
| | | | | error detection, so now we don't care what exact error is returned as long as we get something.
* test_pack: Coercing a dictionary to a sequence as it is packed is notMartin Pool2002-11-041-4/+0
| | | | compatible with the old code, and so it is removed from the test case.
* Add FIXME about --with-pythonMartin Pool2002-11-041-0/+4
|
* Move testsmbc.c to examplesJelmer Vernooij2002-11-041-455/+0
|
* Add @BUILD_POPT@ to smbclientJelmer Vernooij2002-11-041-2/+2
|
* Handle -p correctlyJelmer Vernooij2002-11-041-1/+1
|
* Make IRIX happyJelmer Vernooij2002-11-042-19/+18
|
* Becouse lib/popt_common.c uses POPT, we must not include it in LIB, we mustAndrew Bartlett2002-11-041-10/+14
| | | | | | | | | link it on a per-program basis. Next step is to make -lpopt apply only to the right programs, which might help some of this kind of thing show up on Linux. Andrew Bartlett
* Allow 'normal' accounts in the non-unix-account range for smbpasswd - I hopeAndrew Bartlett2002-11-041-19/+20
| | | | | this will fix some of the problems on the build farm @ Compaq (where they have a *lot* of accounts...).
* Fix debugAndrew Bartlett2002-11-041-1/+1
|
* Move to the use of the 'initialised' flag, rather than the fact the pointer isAndrew Bartlett2002-11-041-8/+9
| | | | | | NULL. Andrew Bartlett
* Try to fix popt dependencies - we were linking to popt before we built with it.Andrew Bartlett2002-11-041-6/+6
| | | | Andrew Bartlett
* Any conversion to POPT must *always* add @BUILD_POPT@ or it just won't work onAndrew Bartlett2002-11-041-2/+2
| | | | | | systems other than linux. Andrew Bartlett
* The fixes from Tom plus a minor update from me.Richard Sharpe2002-11-045-174/+329
|
* Extra little fix to vl's patch. Make sure the passdb and testparm messagesAndrew Bartlett2002-11-032-5/+9
| | | | | | | say exactly the same thing - in particular that we can algorithmic rid base == 1000, and use the BASE_RID macro to avoid the use of magic numbers. Andrew Bartlett
* make_server_info_guest() can need root for the ldapsam backendAndrew Tridgell2002-11-031-1/+4
|
* Force algorithmic rid base to sane values and talk about it.Volker Lendecke2002-11-032-4/+33
| | | | Volker
* Remove obsolete function usage and some unused variablesJelmer Vernooij2002-11-021-27/+1
|
* Remove dummy function I used for testingJelmer Vernooij2002-11-021-7/+0
|
* Convert to popt.Jelmer Vernooij2002-11-021-75/+23
| | | | Removed -o and -a options - these have been broken since 2.2 without complaints from users
* Add more options to popt_common and use them. Current ones are:Jelmer Vernooij2002-11-023-28/+62
| | | | | | | | | -V Version information -n Set netbios name -l Set directory to store log files in -d Set debuglevel -s Load specified configuration file -O Set socket options
* Clean up this a little - add comments describing a bit of what is going onAndrew Bartlett2002-11-021-5/+6
| | | | here.
* Add a 'ldap trust ids' option that lets pdb_ldap check for posixAccountAndrew Bartlett2002-11-022-33/+95
| | | | | | | | | | | | | attributes rather than calling getpwnam() on the user. This should help fix some of metze's performance issues - particularly on enumerations. There is a consequential change to the operation of 'non unix account's in LDAP - they are no longer restricted to being 'within' the NUA range, but will always be added to that range. Finally, there is the doco for this and the previous LDAP SSL changes.
* Make sure that %u is used for SID elements ...Richard Sharpe2002-11-021-1/+1
|
* Return the result code, not false (0 == success) on error...Andrew Bartlett2002-11-021-1/+1
|
* Fixes for pdb_ldap:Andrew Bartlett2002-11-022-111/+105
| | | | | | | | | | | | | - Default is now for start-tls, on the ldap (not ldaps) port - We check for 'I am currently root' in the right place now, and don't accidentily use a cached connection. - We don't loop on failure to be root, or some other errors. - A bit cleaner error reporting for add/modify. - Both the OpenLDAP and manual URI parsing tested. Andrew Bartlett
* Fix --set-auth-user command to delete entries from the secrets file when anTim Potter2002-11-021-12/+68
| | | | | | | | empty username/password is passed on the command line. Previously we were leaving the domain name set and the password set to a NULL character. Added a --get-auth-user command to display the restrict anonymous username information. Can only be run successfully by root.
* Some winbindd cleanups I made trying to fix cr1020:Tim Potter2002-11-022-38/+108
| | | | | | | | | | | | - move winbindd client handling into accessor functions in winbindd_util.c - move some winbindd socket routines into accessor functions in winbindd_utils.c (The deadlock situation mentioned in the appliance branch is probably not applicable since we don't clear the connection cache on SIGHUP. Perhaps we should?)
* Add popt_common_socket_optionsJelmer Vernooij2002-11-021-0/+1
|
* Handle the case where the password used in RPC connections (for restrictTim Potter2002-11-021-3/+8
| | | | anonymous support) is blank.
* Display pipe name in rpc bind failure debug.Tim Potter2002-11-021-1/+2
|
* Convert to poptJelmer Vernooij2002-11-021-87/+30
|
* Add the changes to change the SIDs ...Richard Sharpe2002-11-011-19/+45
| | | | | | | | You must make two passes over NTUSER.DAT, one for the OWNER SID and one for GROUP SID. I have not tested this yet ... that is, I have not tried to use this on a Win2K etc server.