Tim Potter [Sun, 14 Apr 2002 01:00:49 +0000 (01:00 +0000)]
Starting work on lsa module.
(This used to be commit
5c44397803622400390b13f1998b49f5da83d2a1)
Tim Potter [Sun, 14 Apr 2002 00:59:50 +0000 (00:59 +0000)]
More open_pipe_creds() refactoring.
(This used to be commit
7f2c814237f1df7008c9a91b7cf3b1de01e6ed87)
Tim Potter [Sun, 14 Apr 2002 00:58:16 +0000 (00:58 +0000)]
Moved open_pipe_creds() function to common file.
(This used to be commit
14e4d889a236dd9c2ba6db68b3133e44195b8a47)
Andrew Bartlett [Sat, 13 Apr 2002 22:52:28 +0000 (22:52 +0000)]
As always, vance looks after the grammer... :-)
(This used to be commit
206f1158bd059de9bf4290935d131f42e4639f99)
Andrew Tridgell [Sat, 13 Apr 2002 13:30:06 +0000 (13:30 +0000)]
two time handling bugfixes
- the pending mtime overrides the current file time in setfileinfo
- a later wtime can override a mtime on setfileinfo
this fixes the date of file copies in win2000
(This used to be commit
79630bb2c0a99c961a0a1c67223899e39685ee2c)
Andrew Bartlett [Sat, 13 Apr 2002 11:45:33 +0000 (11:45 +0000)]
Fix the build on platforms that use our internal popt.
(This used to be commit
3261a210dd0f89e3a8b8524747fa182bcc84bf9f)
Andrew Bartlett [Sat, 13 Apr 2002 10:52:31 +0000 (10:52 +0000)]
Patch for arbitary smb.conf paramaters (to make the life of plugin maintainers
sane) from ab.
Attached is his e-mail to the samba-technical list, as it describes it rather
well:
Andrew Bartlett
Subject:
[PATCH] Parametrical options support for Samba 3.0
Date:
Fri, 12 Apr 2002 19:13:13 +0300
From:
Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To:
samba-technical@samba.org
CC:
tridge@samba.org
Greetings!
Attached patch makes possible arbitrary options to be specified in
smb.conf and later queried from VFS modules (and other places)
without problems. Below such options are called 'parametrical options'.
Patch introduces new notation to smb.conf option's language, as discussed
today with Tridgell on @samba-technical:
TYPE: OPTION = VALUE
Colon sign is important here, it is what distinguishes parametrical
options from ones hardcoded in param/loadparm.c.
TYPE is 'option domain', OPTION is option name itself.
In order to access values of parametrical options, lp_parm_string()
function was implemented:
char *lp_parm_string(const char *servicename, const char *type, const char
*option);
This function accepts service name, type and option name, and returns
value of option or NULL if this option is underfined. Service name can be
NULL, resulting in search in 'global' section only.
If option does not exist in specified service, 'global' section is
scanned. This allows propagation of globally specified options to all
services and later overloading of the option in some services.
Caution: 'TYPE: OPTION' combination is case sensitive.
So far, testparm is able to handle parametrical options, while SWAT
can't. Thus, everyone familiar with SWAT internals is welcomed to add
parametrical options support.
(This used to be commit
bfd7cd43556bed3131d0d18869abfd1cbc30bcd0)
Andrew Bartlett [Sat, 13 Apr 2002 10:48:25 +0000 (10:48 +0000)]
Fix the compile-bug in pdb_ldap from my last patch.
Andrew Bartlett
(This used to be commit
81eaa7924b7bd3a13d049bce7fe7a16ab9174364)
Andrew Bartlett [Sat, 13 Apr 2002 10:36:20 +0000 (10:36 +0000)]
Doco update from Hasch@t-online.de (Juergen Hasch)
(This used to be commit
1650bc969fbd36a02758fafd9addc66ea715e835)
Andrew Bartlett [Sat, 13 Apr 2002 10:32:09 +0000 (10:32 +0000)]
More updates from ctrlsoft. (Jelmer Vernooij <jelmer@nl.linux.org>)
Andrew Bartlett
(This used to be commit
012b3326c40ca0f8f4c7673310d73f695cc4f79b)
Andrew Bartlett [Sat, 13 Apr 2002 09:35:52 +0000 (09:35 +0000)]
Better handling of uid/gid -> RID and RID -> uid/gid code.
All uids and gids must create valid RIDs, becouse other code expects this, and
can't handle the failure case. (ACL code in particular)
Allow admins to adjust the base of the RID algorithm, so avoid clashes with
users brought in from NT (for example).
Put all the algorithm code back in one place, so that this change is global.
Better coping with NULL sid pointers - but it still breaks a lot of stuff.
BONUS: manpage entry for new paramater :-)
counter based rids for normal users in tdbsam is disabled for the timebeing,
idra and I will work out some things here soon I hope.
Andrew Bartlett
(This used to be commit
5275c94cdf0c64f347d4282f47088d084b1a7ea5)
Andrew Bartlett [Sat, 13 Apr 2002 08:16:41 +0000 (08:16 +0000)]
This is the 'multiple pdb backends' patch from ctrlsoft, aka Jelmer Vernooij
<jelmer@nl.linux.org>.
This patch also includes major rework of pdbedit to use popt, and the addition
of -i paramter (allowing the user to specify which PDBs is being
operated on) and -e to export a pdb - useful for backup and testing etc.
Use of -i and -e gets us pdb2pdb functionality for transition between backends,
much like the sam2sam in TNG.
Andrew Bartlett
(This used to be commit
c10def37f506d3f2bab442418ac08fdb62659b02)
Andrew Bartlett [Sat, 13 Apr 2002 03:23:08 +0000 (03:23 +0000)]
Make our atomic increment code actually do this during its first/second run.
The previous code would return the same value for both the initial and second
call, only incrementing on later calls.
Andrew Bartlett
(This used to be commit
a4594d9efeca1f67dea57be8323fb4bd986318ce)
Jeremy Allison [Sat, 13 Apr 2002 02:24:07 +0000 (02:24 +0000)]
Tidy up winbindd debug. Added Bill Moran's hide unreadable fix.
Jeremy.
(This used to be commit
a9895fcb30cdcb572cd254b0d370d79f95c7214d)
Andrew Tridgell [Sat, 13 Apr 2002 00:58:04 +0000 (00:58 +0000)]
when background printing wasn't enabled printing was completely broken
as the pid was 0
(This used to be commit
f16033635f5125758a3d2c3b0780d5bd2bd7bdbd)
Andrew Tridgell [Fri, 12 Apr 2002 12:52:18 +0000 (12:52 +0000)]
fixed the display of the 'size on disk' property of files from w2k.
(This used to be commit
699a1d9f46fcc9d6aad56ed1b44d1295ee828b2b)
Andrew Bartlett [Fri, 12 Apr 2002 08:22:50 +0000 (08:22 +0000)]
Remove : from the list seperators, as this is used to seperate out components
in the passdb module selection (after the : you have the options).
Andrew Bartlett
(This used to be commit
6949b630f10ebb76e8e59ca7e832f53571f2c20a)
Andrew Tridgell [Fri, 12 Apr 2002 04:17:29 +0000 (04:17 +0000)]
set the default hashing scheme in head to "hash2"
it seems to be a much better scheme
(This used to be commit
c8e2250ab1eae3aebecd8669e63f95f8656ae361)
Andrew Tridgell [Fri, 12 Apr 2002 03:54:13 +0000 (03:54 +0000)]
nicer measurement of failures and collisions
(This used to be commit
61c61f6b4f22c1ef6f837145f5e05730706cc8d4)
Andrew Tridgell [Fri, 12 Apr 2002 03:42:44 +0000 (03:42 +0000)]
better mangling test. We now test that we can create by long name and
delete by short name, and that we can create by short name and delete
by long name
our old mangling code fails this test.
also tweaked the random filename generation to produce more likely
collisions
(This used to be commit
65609c52960c2b5938150a2fdb5290541f4e0225)
Andrew Tridgell [Fri, 12 Apr 2002 03:26:19 +0000 (03:26 +0000)]
- added a mangling test suite that measures the collision rate on
randomised filenames
- fixed several mangling bugs that the test suite pointed out
(This used to be commit
858fa7efc34f6e7cdf8500900aed3f7943c91348)
Andrew Bartlett [Thu, 11 Apr 2002 23:43:40 +0000 (23:43 +0000)]
Much better support for both non-algorithic RIDs (where the RID is stored in
the passdb) and RIDs not in the passdb, due to being NIS users etc.
The main fix here is to add become_root()/unbecome_root() at critical places.
This (finally) fixes the bug where you could not see local users's names
in a file's security properties as non-root. Tested.
The similar bug in uid_to_sid is also fixed, but is not (yet) Tested.
Andrew Bartlett
(This used to be commit
79327a305e20d78ab5ca21d01c39b5f49dc0d632)
Jeremy Allison [Thu, 11 Apr 2002 18:52:09 +0000 (18:52 +0000)]
HP2500C driver writes devmode with private data that ends
on a 2 byte boundary. We then miss-parse the desired_access. Also added
other fixes to ensure we align after private data (discussed with Gerry).
Jeremy.
(This used to be commit
4369a58765f382e118e5393c805336484671cbf9)
Andrew Tridgell [Thu, 11 Apr 2002 15:27:22 +0000 (15:27 +0000)]
added strndup() for systems that don't have it
(This used to be commit
7e92fb7453e4dbf1fe0c32c3dcc1e994cb95b5ea)
Andrew Tridgell [Thu, 11 Apr 2002 14:59:27 +0000 (14:59 +0000)]
don't try to return a void
(This used to be commit
51b4de0ae3b05c4f34a645ae9c6e395bc37226e6)
Andrew Tridgell [Thu, 11 Apr 2002 14:30:31 +0000 (14:30 +0000)]
possibly fix the 15000 user problem
I think its caused by a rpc operation failing and us giving invalid
data back to the cache layer. Using talloc_zero() should solve this.
(This used to be commit
dfa990170bb9a665ba48443258e2a87f50baa75c)
Andrew Tridgell [Thu, 11 Apr 2002 14:20:18 +0000 (14:20 +0000)]
- the 36^6 hash space gives 31 bits, not 32 bits. We need to mask the
hash to suit
- the prefix ends at the last dot, not the first
(This used to be commit
91a3ccd3e790f980421c1ee93388e19e87026b29)
Andrew Tridgell [Thu, 11 Apr 2002 14:03:30 +0000 (14:03 +0000)]
a few debug statements (disabled)
(This used to be commit
582f753eac7a111a93a8d6c049398a0998af848f)
Andrew Tridgell [Thu, 11 Apr 2002 13:35:28 +0000 (13:35 +0000)]
don't treat '.' as FLAG_ASCII, instead handle it separately
(This used to be commit
ecdddd674f2ffad16eaa01a68c9c91ff3b355b3f)
Andrew Tridgell [Thu, 11 Apr 2002 12:14:55 +0000 (12:14 +0000)]
- tidier flag checking code
- finished the is_mangled() function
(This used to be commit
128bec2071d640c775b58322256ac6bb03363741)
Andrew Tridgell [Thu, 11 Apr 2002 11:46:42 +0000 (11:46 +0000)]
added some more comments
(This used to be commit
8d6f2e239940cbac44f6f0e9d584a47553acbc56)
Andrew Tridgell [Thu, 11 Apr 2002 10:52:59 +0000 (10:52 +0000)]
some optimisations to the new mangling system
(This used to be commit
30b35d0c1f41f72ebe230905f76db8807802a6cc)
Andrew Tridgell [Thu, 11 Apr 2002 09:56:38 +0000 (09:56 +0000)]
this adds a completely new hash based mangling scheme
the hash for this scheme is *much* larger (approximately 31 bits) and
the code is written to be very fast, correctly handling multibyte
while not doing any actual multi-byte conversions in the vast majority
of cases
you can select this scheme using "mangling method = hash2", although I
may make it the default if it works out well.
(This used to be commit
bb173c1a7e2408ced967ebac40b5e3f852ccd3a1)
Tim Potter [Thu, 11 Apr 2002 05:05:08 +0000 (05:05 +0000)]
Implemented a setup_logging() function that takes two keywords:
interactive and logfilename. These can be used to send Samba DEBUG()
output to stdout or to a logfile which makes automated testing much
funkier.
Also added get_debuglevel() and set_debuglevel() functions.
Make open_pipe_creds() accept None as a anonymous credential.
(This used to be commit
094a51edb9369f5c493bddfdc98347431bea3c2d)
Tim Potter [Thu, 11 Apr 2002 05:04:05 +0000 (05:04 +0000)]
Implemented a setup_logging() function that takes two keywords:
interactive and logfilename. These can be used to send Samba DEBUG()
output to stdout or to a logfile which makes automated testing much
funkier.
Also added get_debuglevel() and set_debuglevel() functions.
(This used to be commit
6c7b5e15c22119623ee959267d2755e21193bc4b)
Tim Potter [Thu, 11 Apr 2002 04:03:01 +0000 (04:03 +0000)]
Ignore bin directory.
(This used to be commit
8bb798ab3d7245e61530913d771d58f08e77a200)
Gerald Carter [Thu, 11 Apr 2002 03:15:02 +0000 (03:15 +0000)]
removed unnecessary memset
(This used to be commit
233a24792ea305e92c15b43f57839391ca91d1b6)
Jeremy Allison [Thu, 11 Apr 2002 02:59:31 +0000 (02:59 +0000)]
Correctly emulate NT in printer handle opening access rights.
Jeremy.
(This used to be commit
42ae2334f21402c347aee560f08fd8e730481169)
Andrew Tridgell [Thu, 11 Apr 2002 02:20:56 +0000 (02:20 +0000)]
This split the mangling code up to allow for the possibility of multiple
mangling implementation, selectable using "mangling method = " in smb.conf
It also tidies the interface a little, although it is still nasty.
(This used to be commit
be23d87a178e7d0691e7d942adf89bb3d2d533c2)
Gerald Carter [Thu, 11 Apr 2002 02:13:56 +0000 (02:13 +0000)]
s/werror_str/dos_errstr/g to fix compile
(This used to be commit
d7c9b00253499da047f30f71660dede3676d40ad)
Gerald Carter [Thu, 11 Apr 2002 02:08:36 +0000 (02:08 +0000)]
merge from 2.2
(This used to be commit
7db47c6647d764739e395948699cf115c4da4c8d)
Gerald Carter [Thu, 11 Apr 2002 01:50:18 +0000 (01:50 +0000)]
WERROR merge from SAMBA_2_2
(This used to be commit
32dc5dbbfb16cb9fd6f953dbb8148f5228b453a4)
Gerald Carter [Thu, 11 Apr 2002 01:48:38 +0000 (01:48 +0000)]
specversion merge from SAMBA_2_2
(This used to be commit
d87aa35d482824df7b5a2e87240ae43c113cc730)
Tim Potter [Thu, 11 Apr 2002 01:35:53 +0000 (01:35 +0000)]
Added a whole bunch more permission constants.
(This used to be commit
f8673bd499c7c3993a5860d2ebe9ae2403105316)
Jeremy Allison [Thu, 11 Apr 2002 00:42:38 +0000 (00:42 +0000)]
Removed duplicate _LARGEFILE64_SOURCE added in error.
Jeremy.
(This used to be commit
678f4f455e7ed0a6fafa3ad30ddadd1917e741ef)
Jeremy Allison [Thu, 11 Apr 2002 00:37:31 +0000 (00:37 +0000)]
Ensure VFS modules will build correctly by adding defines for CPPFLAGS
defines into acconfig.h - only defined if seen.
Jeremy.
(This used to be commit
9f2753a1496c51fd56c97984b8def46a651dbfc8)
Jim McDonough [Wed, 10 Apr 2002 13:29:23 +0000 (13:29 +0000)]
Rename of ads_do_search_all2() to ads_do_search_all() and removal of
server sort controls. Also put option externs in the net.h include.
(This used to be commit
b69f11170c2b27016c44a98bc603d1c94ad7d4c2)
Jim McDonough [Wed, 10 Apr 2002 13:28:28 +0000 (13:28 +0000)]
Add a few option externs for net_ads.c
(This used to be commit
4e3265c3c94583ac7ee48017d195ad98ecdfbc47)
Jim McDonough [Wed, 10 Apr 2002 13:28:03 +0000 (13:28 +0000)]
A few more updates:
- Add doxygen comments
- remove server sort control (ms implementation was not reliable)
- rename ads_do_search_all2() to ads_do_search_all_fn()
(This used to be commit
7aa5fa617221019de0f4565d07842df72673e154)
Jim McDonough [Wed, 10 Apr 2002 13:25:40 +0000 (13:25 +0000)]
Add ads ldap server controls
(This used to be commit
9126f008ef542b80f0040f621aa28478be5c80a0)
Tim Potter [Wed, 10 Apr 2002 07:21:03 +0000 (07:21 +0000)]
Fixed missing alignment in spoolss_io_q_enumjobs() function.
(This used to be commit
e878cdc9f59084f39c022f2faa140369f76e94ec)
Tim Potter [Wed, 10 Apr 2002 07:19:37 +0000 (07:19 +0000)]
Added cli_spoolss_enumjobs() function.
(This used to be commit
952eb866f44ac0d8ba2032cf251d3a4298a750d3)
Jeremy Allison [Wed, 10 Apr 2002 01:04:13 +0000 (01:04 +0000)]
Added Shirish's client side caching policy change.
Jeremy.
(This used to be commit
16015c07eab2e57fa3771051e3e08fde21757cfa)
Andrew Tridgell [Wed, 10 Apr 2002 00:36:06 +0000 (00:36 +0000)]
fixed a return value for a help function
(This used to be commit
da794d3bbd919e4a909f219d98b1411c1c2d60fd)
Tim Potter [Wed, 10 Apr 2002 00:35:00 +0000 (00:35 +0000)]
Moved definition of winbind username/password secrets into secrets.h
(This used to be commit
b618b5943d53f33e6f03d8d47cf87efc5e1ad3e5)
Tim Potter [Tue, 9 Apr 2002 23:03:17 +0000 (23:03 +0000)]
When printing a tdb log message display "unnamed" instead of "unknown" if
the tdb has not been named.
(This used to be commit
3e7985c60ee9888285769f1eb0ec81f764c26d91)
Jeremy Allison [Tue, 9 Apr 2002 18:10:09 +0000 (18:10 +0000)]
Shirish pointed out more areas we should be doing roundups for allocation size.
Jeremy.
(This used to be commit
cda9fccd629d084039af642d9177865d88553be6)
Tim Potter [Tue, 9 Apr 2002 06:19:42 +0000 (06:19 +0000)]
Fixed typo in debug statement.
(This used to be commit
49e429a97ff2b6b1889937c998f67d73d35829e1)
Tim Potter [Tue, 9 Apr 2002 05:59:46 +0000 (05:59 +0000)]
Fixed some compiler warnings.
(This used to be commit
be6f955107429f1431c49c8b45fd623406a9d641)
Tim Potter [Tue, 9 Apr 2002 05:11:34 +0000 (05:11 +0000)]
Added WERR_INVALID_FORM_NAME constant.
(This used to be commit
908b70f3e23846d0b438a68e45e076e65016e95e)
Andrew Bartlett [Tue, 9 Apr 2002 04:59:34 +0000 (04:59 +0000)]
Add a become_root()/unbecome_root() pair to allow acces to the passdb for
SID lookup. This fixes a bug where SIDs (rather than names) are displayed in windows ACL lists
(This used to be commit
e60c509813a9113cd76135b6ded3018ff04d49f2)
Tim Potter [Tue, 9 Apr 2002 04:23:52 +0000 (04:23 +0000)]
Fixed setform and addform functions.
(This used to be commit
ecba275cf75be3152c917329ba16d77bf4490259)
Tim Potter [Tue, 9 Apr 2002 04:22:27 +0000 (04:22 +0000)]
Added constants for form types and WERROR values.
(This used to be commit
5ef5e805d5f51f6fc4cfcfea7f17adc8d1f6f6eb)
Tim Potter [Tue, 9 Apr 2002 03:36:12 +0000 (03:36 +0000)]
The useless_ptr must be non-zero for addform and setform client functions
to work.
Note about setprinter level 1 not existing.
(This used to be commit
6367bfc4781a678923f1fba4681c9b7fc6bb9710)
John Terpstra [Mon, 8 Apr 2002 20:10:08 +0000 (20:10 +0000)]
Fix location of binaries and make sure they get there. Still experimental.
(This used to be commit
24bc4e8e2c8f37167edb0e95a518bab6224e330d)
Simo Sorce [Mon, 8 Apr 2002 09:29:28 +0000 (09:29 +0000)]
a fix yet committed to 2.2 sometimes ago and reintroduced here!
(This used to be commit
aff7073dabb6253fea4729f52240a25f90206699)
Andrew Bartlett [Mon, 8 Apr 2002 01:58:44 +0000 (01:58 +0000)]
Reintroduce the 2.2 name mangling code, until we get are more flexible solution.
Even for a hash/cache setup, this code needs some more work, in particular
it needs to use mangle_get_prefix() etc and to move to unicode internals.
Andrew Bartlett
(This used to be commit
ad8aa470575c39fcbc7f1440bf1081d7ea31c0aa)
Andrew Bartlett [Mon, 8 Apr 2002 01:52:44 +0000 (01:52 +0000)]
Fix up major logic reversal flaws in pdb_ldap.
WARNING: if you relied on these logic flaws, you will need to manually
edit your ldap backend (for things like account expries etc).
Now correctly retunes the information needed for 'must change at next login'
support.
(This used to be commit
26842f1ac051b030c1295b68244a1f9007d4eefb)
Tim Potter [Sun, 7 Apr 2002 23:41:55 +0000 (23:41 +0000)]
John Terpstra [Sun, 7 Apr 2002 22:21:30 +0000 (22:21 +0000)]
Simo Sorce [Sun, 7 Apr 2002 22:04:39 +0000 (22:04 +0000)]
uint32 store and fectch functions, a signed int is not enough sometimes
(This used to be commit
f07b2b3d5295202e0c8e530c43fae6d458b2cf2a)
Simo Sorce [Sun, 7 Apr 2002 22:02:09 +0000 (22:02 +0000)]
better check of called function's return
tdbtorture say it's ok
(This used to be commit
af0fa4cf7c229fb908063bfcc3cbb214dae5ed0e)
John Terpstra [Sun, 7 Apr 2002 21:20:32 +0000 (21:20 +0000)]
Oops .. last update was committed before saving! Argh!
(This used to be commit
90f7d4ac84d0466fc3acce31d8ab360f2ae9002f)
John Terpstra [Sun, 7 Apr 2002 21:19:05 +0000 (21:19 +0000)]
Updated because I want this for now - NOTE: This will change before release
as this is NOT what we need to ship. This is experimental only at this time.
(This used to be commit
5c8ceaa4973bb7d82da886e03f24a972d978dcb7)
Jeremy Allison [Sat, 6 Apr 2002 01:25:57 +0000 (01:25 +0000)]
Always pass NT password as well as Lanman.
Jeremy.
(This used to be commit
146fb9d12bd3621087193f439e99c13d609ff658)
Jeremy Allison [Fri, 5 Apr 2002 22:41:39 +0000 (22:41 +0000)]
Fix Gerry bug - MajorVersion should be 2 not 3.
Jeremy.
(This used to be commit
b8b88e863e3964231a85b4643a197d6d4d6b8f99)
Jeremy Allison [Fri, 5 Apr 2002 22:37:55 +0000 (22:37 +0000)]
Fixed up admin user / guest user lookup.
Jeremy.
(This used to be commit
28ef07424f19652fdfa4ee79f1c69e0004fa39fe)
Jim McDonough [Fri, 5 Apr 2002 19:28:02 +0000 (19:28 +0000)]
Use the new ads_do_search_all2 function. It provides sorted results. We now
also filter out users that end in '$', which gives us the same results as
the net rpc user and net rap user.
(This used to be commit
e3a813831276ec2aafa0caa4f4fed0785dcdb749)
Jim McDonough [Fri, 5 Apr 2002 19:26:52 +0000 (19:26 +0000)]
Several updates to get server side sorting going:
- Added sort control to ads_do_paged_search. It allows a char * to be passed
as the sort key. If NULL, no sort is done.
- fixed a bug in the processing of controls (loop wasn't incremented properly)
- Added ads_do_search_all2, which funs a function that is passed in against
each entry. No ldapmessage structures are returned. Allows results to
be processed as the come in on each page.
I'd like ads_do_search_all2 to replace ads_do_search_all, but there's some
work to be done in winbindd_ads.c first.
Also, perhaps now we can do async ldap searches? Allow us to process a
page while the server retrieves the next one?
(This used to be commit
95bec4c8bae0e29f816ec0751bf66404e1f2098e)
Volker Lendecke [Fri, 5 Apr 2002 17:02:34 +0000 (17:02 +0000)]
Merge from 2.2
(This used to be commit
4b69834eb722c647426d1d1495eb53f8b9b5ba7e)
Tim Potter [Fri, 5 Apr 2002 05:56:44 +0000 (05:56 +0000)]
New version of patch.
(This used to be commit
50f331ff33413842590f960d2ab1b11cdbece358)
Tim Potter [Fri, 5 Apr 2002 05:55:44 +0000 (05:55 +0000)]
Tim Potter [Fri, 5 Apr 2002 05:55:23 +0000 (05:55 +0000)]
Added new files for drivers, forms and ports conversion routines.
(This used to be commit
f9f1d80f6e8c34a24602a83eb7d1fb2c892b662f)
Tim Potter [Fri, 5 Apr 2002 05:52:20 +0000 (05:52 +0000)]
Fixed dodgy looking prototypes for py_to_* functions.
(This used to be commit
847e310921802f5793f6cd170e6baf939151be89)
Tim Potter [Fri, 5 Apr 2002 05:49:33 +0000 (05:49 +0000)]
Removed unused label.
(This used to be commit
e0a209bf291553ec85dbd56cffab2a97440cea28)
Tim Potter [Fri, 5 Apr 2002 05:48:01 +0000 (05:48 +0000)]
Converted drivers, forms and ports functions to use new conversion routines
and exception throwing.
(This used to be commit
ed0a6480f75b3eefc52bc3311d8c3816abefcff2)
Tim Potter [Fri, 5 Apr 2002 04:57:06 +0000 (04:57 +0000)]
Added py_spoolss_printers_conv.c to spoolss extension.
(This used to be commit
d1e2356f13de8598237926d093069832f1393c36)
Tim Potter [Fri, 5 Apr 2002 04:55:26 +0000 (04:55 +0000)]
Tim Potter [Fri, 5 Apr 2002 04:54:48 +0000 (04:54 +0000)]
New routines to convert between structures and python dictionaries. We now
hide to_struct() and from_struct() from the caller so we can add custom
fields nicely.
(This used to be commit
07d79f4aa8de8e7a08555a62faafd79573a95e74)
Tim Potter [Fri, 5 Apr 2002 04:53:20 +0000 (04:53 +0000)]
Throw a spoolss.werror exception when the rpc client routines return
errors.
Move to new system of converting between structures and python
dictionaries. Lots of stuff moved to py_spoolss_printers_conv.c
Setprinter level 2 kind of works now.
(This used to be commit
abe39ebcc125362125f0f900102b0f8d6011324b)
Tim Potter [Fri, 5 Apr 2002 04:49:39 +0000 (04:49 +0000)]
Don't include py_spoolss_conv.h by default. We want to hide these
functions from method functions.
(This used to be commit
bbf905e29e787ac350c0b4153c0b7050d8bf5734)
Tim Potter [Fri, 5 Apr 2002 04:47:43 +0000 (04:47 +0000)]
Added functions to return Python tuples (error code, error string)
corresponding to NT and DOS errors.
(This used to be commit
cb243e2766260f03de6b748d20734b8183cf192b)
Jim McDonough [Fri, 5 Apr 2002 01:36:50 +0000 (01:36 +0000)]
add utils/net_help.c to bin/net build
(This used to be commit
f2a0e56b3c7b4bee21fc05efec0c0c738db44287)
Jim McDonough [Fri, 5 Apr 2002 01:36:28 +0000 (01:36 +0000)]
Lots more net consistency work:
- Added net_help.c for unified help when possible
- Added net rpc user listing, delete, info commands
- Unified net user command to autodetect ads/rpc/rap (try in that order)
- Added generic routine for detecting rpc (protocol > PROTOCOL_NT1)
- I'm sure I forgot something.
(This used to be commit
9daa5788c822cf1ad20dc703e7f03b9ee82987bf)
Tim Potter [Thu, 4 Apr 2002 22:58:56 +0000 (22:58 +0000)]
Make bin/nsstest as part of torture target.
(This used to be commit
dbb4dfcef74f21ef5badaa7a6f4cad52cf317ffb)
Tim Potter [Thu, 4 Apr 2002 22:56:39 +0000 (22:56 +0000)]
Fixed some compile warnings.
(This used to be commit
fd8b3009eb3f3debc7a1dcf6a46437d87a341519)
Tim Potter [Thu, 4 Apr 2002 20:38:10 +0000 (20:38 +0000)]
More spelling.
(This used to be commit
21c3dff4109a6a4dc6a1b618a489e49e88743d42)
Jim McDonough [Thu, 4 Apr 2002 16:53:07 +0000 (16:53 +0000)]
Multiple changes:
- Get rid of improper "Invalid option: d (100)" message when setting
debug from commandline.
- Eliminate got_pass global and only use opt_password. This enables
re-use of password that may have been enetered in failed ads connect.
- Auto-detect method for net user command
- use new net_ads_check rather than lp_security==ADS test on net join
- Get rid of annoying debug level 0's
(This used to be commit
1280968000595c28ed62d9e74acecfdc84e33710)
Jim McDonough [Thu, 4 Apr 2002 16:48:23 +0000 (16:48 +0000)]
Cleanups to make auto-detection of method on net user smoother.
(This used to be commit
84ab1042a65e3c41a76f4726914140d505ef4625)
Jim McDonough [Thu, 4 Apr 2002 16:47:24 +0000 (16:47 +0000)]
More updates for auto-detecting server connection method. Added net_ads_check()
to make a connection (which stores the password in a global so it can be
used by rpc or rap function if ads fails) and close it to verify if ads
method should be used.
(This used to be commit
093297a27db9834cf8aea34302246af8997d9c66)