Martin Pool [Mon, 9 Sep 2002 05:54:11 +0000 (05:54 +0000)]
Merge tpot's Python patch. ./configure now writes to the Python
makefile-equivalent (setup.py). Remember to do "cvs update -d" to get
the new directory.
(This used to be commit
87396c559b60780e6f0613170f78ce863f0b71fd)
Martin Pool [Mon, 9 Sep 2002 05:46:59 +0000 (05:46 +0000)]
Merge tpot's patch to add targets to build Python stuff. It's not
built by default.
(This used to be commit
452769f595c87ba14bde96cebf06e442e79402f3)
Martin Pool [Mon, 9 Sep 2002 05:22:13 +0000 (05:22 +0000)]
Add little meta note
(This used to be commit
c651720633e3affb192eef9e676fad37a0ad4fae)
Tim Potter [Mon, 9 Sep 2002 04:43:38 +0000 (04:43 +0000)]
Fix crash bugs in getprinter info level code (yay unit tests).
Let the cli_spoolss function return invalid info level error rather
than checking for it ourselves.
(This used to be commit
fc5e186821abc429ea8314d0785b76cbe1ec5f74)
Tim Potter [Mon, 9 Sep 2002 04:42:01 +0000 (04:42 +0000)]
Pass level keyword down to cli_spoolss_getform()
(This used to be commit
69bb58b92e92113b3ce2c72a3bfa46ed3056c261)
Tim Potter [Mon, 9 Sep 2002 04:38:12 +0000 (04:38 +0000)]
Formatting tidyup.
(This used to be commit
4132d9680a0b6ed829663399bba209a49ca41d56)
Tim Potter [Mon, 9 Sep 2002 03:22:39 +0000 (03:22 +0000)]
Return WERR_UNKNOWN_LEVEL for unknown info levels.
(This used to be commit
d30da51956accfc4ea4662cece00d4df223421cd)
Tim Potter [Mon, 9 Sep 2002 01:13:27 +0000 (01:13 +0000)]
Return WERR_UNKNOWN_LEVEL for getprinterdriver level 6 as we don't
know how to decode a printer driver into a DRIVER_INFO_6 structure.
(This used to be commit
1338f623c2a1e539ee9ee5fedbaf16baf3eb171e)
Tim Potter [Mon, 9 Sep 2002 01:09:23 +0000 (01:09 +0000)]
Remove todo comment.
(This used to be commit
95831c8266119284264f7f42b08fb4d8e21e9deb)
Tim Potter [Mon, 9 Sep 2002 01:06:20 +0000 (01:06 +0000)]
Check no extra fields are present when parsing credentials.
(This used to be commit
fff081d3440373071d8859b7a7d71cf6489126a4)
Tim Potter [Sun, 8 Sep 2002 23:57:40 +0000 (23:57 +0000)]
Jelmer Vernooij [Sun, 8 Sep 2002 15:25:22 +0000 (15:25 +0000)]
Patch from Kai Krüger for the new SAM system
(This used to be commit
771878a2d94009b6eccef5f98d4e782cd85c291e)
Jelmer Vernooij [Sun, 8 Sep 2002 14:58:23 +0000 (14:58 +0000)]
Patch from Stefan (metze) Metzmacher with more updates for the SAM subsystem
(This used to be commit
56cb03bfc68727384df46bde6df03950f7cdfcf9)
Simo Sorce [Sun, 8 Sep 2002 03:55:37 +0000 (03:55 +0000)]
change parametric option name to vfs_recycle_bin it is more sane and do not pollute standard options namespace too much
changed also the mode options to be indipendente boolean values, make it easier to understand how to configure them
eg:
vfs_recycle_bin:keeptree=yes
vfs_recycle_bin:versions=yes
(This used to be commit
d904d50d3945f5f6a80b59850a82f3e37863c125)
Simo Sorce [Sun, 8 Sep 2002 00:36:22 +0000 (00:36 +0000)]
forgot to commit configure with configure.in
(This used to be commit
db883ae1e659496696c17f2901634cada5e4aa13)
Jelmer Vernooij [Sat, 7 Sep 2002 19:06:37 +0000 (19:06 +0000)]
"disable charset" -> "display charset". oops
(This used to be commit
67543ea43d6c76f10f6757ae35a29044ce0020c5)
Gerald Carter [Sat, 7 Sep 2002 17:08:59 +0000 (17:08 +0000)]
merge of printer change notify fix from APP_HEAD
(This used to be commit
6a53a9cb7c56927423dea125c65d66605fae566f)
Andrew Bartlett [Sat, 7 Sep 2002 09:25:36 +0000 (09:25 +0000)]
This is the 'main' inclue for for winbind clients - all clients should include
only this file, and not any others. It includes the function prototypes.
(Forgot to commit with earlier patch)
Andrew Bartlett
(This used to be commit
3ec3861445e7da1347c3b5ba180b33441f59640c)
Andrew Bartlett [Sat, 7 Sep 2002 06:04:28 +0000 (06:04 +0000)]
Don't leak file desciptors in this (impossible?) error case.
(This used to be commit
b440418f13b840860be42690bf475c1ee3cb3647)
Andrew Bartlett [Sat, 7 Sep 2002 05:41:23 +0000 (05:41 +0000)]
Winbind client-side cleanups.
The global winbind file descriptor can cause havoc in some situations -
particulary when it becomes 0, 1 or 2. This patch (based on some very nice
work by Hannes Schmidt <mail@schmidt-net.via.t-online.de>) starts to recitfy
the problem by ensuring that the close-on-exec flag is set, and that we move
above 3 in the file descriptor table.
I've also decided that the PAM module can close it's pipe handle on every
request - this isn't performance-critical code.
The next step is to do the same for nss_winbind. (But things like getent()
might get in our way there).
This also cleans up some function prototypes, puts them in just one place.
Andrew Bartlett
(This used to be commit
442eb39657b98f67cd229ed3110b63aae8bf4e3c)
Simo Sorce [Sat, 7 Sep 2002 04:08:03 +0000 (04:08 +0000)]
configure.in:
reflect the new example/VFS/ directory organization
lib/substitue.c:
added helper functions needed by recycle bin
(This used to be commit
29b4b9a2b5a0347d227b1a30e3f34bf40afa6de4)
Simo Sorce [Sat, 7 Sep 2002 04:05:42 +0000 (04:05 +0000)]
recycle.c:
merged in modifications made my differnt people, cleaned up things, yet some work todo
the code works but there are still some cases to be handled properly
Makefile.in:
this one seem much simpler and effective than the previous hack with file inclusion
it should also be more portable
we still need to find a solution to support multiple platforms or go back to libtool
(This used to be commit
e9f4bc77f84eeece82dea25f9c693cfb1d0a8464)
Andrew Bartlett [Fri, 6 Sep 2002 23:10:28 +0000 (23:10 +0000)]
As per the 'OK' at CIFS2002, only use the readline headers (and this crasy
#ifdef mess...) in readline.c, we don't need or use them in the rest of Samba.
(This OK was of course conditional on 'if you break it, you better fix it...')
Andrew Bartlett
(This used to be commit
55ee289f587f107fa03c5f889491fdaab101df2d)
Andrew Bartlett [Fri, 6 Sep 2002 13:46:36 +0000 (13:46 +0000)]
Seems I missed commiting this when I added the rest of metze's ADS patch.
Oh well, here it is...
Andrew Bartlett
(This used to be commit
7c2a667640b01a0f19ddc3515c5ca7ac43d26e25)
Simo Sorce [Fri, 6 Sep 2002 13:39:46 +0000 (13:39 +0000)]
the current block module is completely broken, jelmer will commit a new one later.
simo
(This used to be commit
830f9910bb77562aa2dbef2f479c01493928692d)
Simo Sorce [Fri, 6 Sep 2002 13:37:40 +0000 (13:37 +0000)]
move everything to flat VFS/ directory
(This used to be commit
d383c309d4a259fb28d7541777a8b3b53cca23bf)
Andrew Bartlett [Fri, 6 Sep 2002 13:37:11 +0000 (13:37 +0000)]
This is the 'easy' parts of the trusted domains patch n+3 patch from
Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>
It includes a conversion of make_user_info*() to NTSTATUS and some minor
changes to other files.
It also picks up on a nasty segfault that can occour in some security=domain
cases.
Andrew Bartlett
(This used to be commit
d1e1fc3e4bf72717b3593685f0ea5750d676952a)
Andrew Bartlett [Fri, 6 Sep 2002 13:21:54 +0000 (13:21 +0000)]
Fix some missing ; on the end of our SAM_ASSERT()...
(This used to be commit
4d642e1fa4ed454a421a9f219a8cdecddb57fd31)
Andrew Bartlett [Fri, 6 Sep 2002 13:17:55 +0000 (13:17 +0000)]
Get our consts back in line with current norms - only for pointer protection.
Debate about extending this policy welcomed on samba-technical.
Andrew Bartlett
(This used to be commit
5f59abb410110c22b6fffd7502443b5259d12e5a)
Andrew Bartlett [Fri, 6 Sep 2002 13:05:04 +0000 (13:05 +0000)]
Make it possible to actually build these modules - process the Makefile.in at
the end of configure.
(This used to be commit
6953db6a98432cfbb946dd2d3cbe64e7dee0b71d)
Andrew Bartlett [Fri, 6 Sep 2002 13:00:37 +0000 (13:00 +0000)]
Updates to sam_skel from metze, add sam/group.c and add a DEBUG() to the
SAM_ASSERT if we are not going to crash.
(This used to be commit
f91fcb166107e45ffb3de95a3da65c79992341eb)
Andrew Bartlett [Fri, 6 Sep 2002 12:57:12 +0000 (12:57 +0000)]
This commit includes part of the patch from metze posted to the list, and a few
of my own changes.
In particular: I've added a SAM_ASSERT macro. This expands to either
SMB_ASSERT() (which should help us track down bugs) or a return of
NT_STATUS_CHECK_FAIL.
Metze's changes are mostly to bring the code into line with current discussions
on things like adding users/groups, flags etc.
I've adjusted a fair bit of the 'const' in the SAM stuff. Const is currently
used only for pointers, not for local variables or non-pointer paramters. The
benifits and reasons for extending this further need discussion on
samba-technical.
Also, some of the 'context' paramters should not be const, to allow backend
modules to do fancy caching etc in them.
Andrew Bartlett
(This used to be commit
e13bc432628a6131be082caedc75cd8a3d206e5a)
Andrew Bartlett [Fri, 6 Sep 2002 11:58:18 +0000 (11:58 +0000)]
patch from metze: add a 'vfs' debug class
(This used to be commit
601b56e04fddd9ddfb9be5b0a625d6d279df7f4c)
Andrew Bartlett [Fri, 6 Sep 2002 11:49:16 +0000 (11:49 +0000)]
Revert accidental commit - I'll need to do a fair bit more testing before I
commit changes to NTLMSSP flags.
(This used to be commit
d200770796d871b3994a06fab45624068fdc5682)
Andrew Bartlett [Fri, 6 Sep 2002 11:46:59 +0000 (11:46 +0000)]
Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>
to extend the ADS_STATUS system to include NTSTATUS, and to provide a better
general infrustructure for his sam_ads work.
I've also added some extra failure mode DEBUG()s to parts of the code.
NOTE: The ADS_ERR_OK() macro is rather sensitive to braketing issues - without
the final set of brakets, the test is essentially inverted - causing some
intersting 'error = success' messages...
Andrew Bartlett
(This used to be commit
5b9a7ab901bc311f3ad08462a8a68d133c34a8b4)
Andrew Bartlett [Fri, 6 Sep 2002 10:43:52 +0000 (10:43 +0000)]
Andrew Bartlett [Fri, 6 Sep 2002 10:39:34 +0000 (10:39 +0000)]
Add some DEBUG()s to some libads failure modes.
(This used to be commit
ad3c8da13b9d510f78fd56364cd0987de88a9b9f)
Andrew Bartlett [Fri, 6 Sep 2002 10:38:26 +0000 (10:38 +0000)]
One less user of Get_Pwnam_modify()...
Andrew Bartlett
(This used to be commit
06b8a6fef466e006724bc49165fe936cf8fcfbfa)
Andrew Bartlett [Fri, 6 Sep 2002 10:00:24 +0000 (10:00 +0000)]
Detect and use syslog.h or sys/syslog.h corretly. Fixes lack of prototype for
syslog() since Paul Green's POSIX patch.
(This used to be commit
d3b29b0b2d2ffd5c050900ff8cae441b91f95526)
Tim Potter [Fri, 6 Sep 2002 07:44:21 +0000 (07:44 +0000)]
Initial version of printerdata_ex browsing.
(This used to be commit
c201a61a52ffbaf1b1b70e25e0ef2b29a89f921c)
Tim Potter [Fri, 6 Sep 2002 07:34:57 +0000 (07:34 +0000)]
Move printerdata dictionary object into it's own file.
(This used to be commit
c211d2deca1019d3ef9bd08f5a01e76ede2d0191)
Tim Potter [Fri, 6 Sep 2002 07:01:40 +0000 (07:01 +0000)]
Decode list of dependent files in printer driver info3 and info6.
It's a null terminated list of null terminated unicode strings. What
a mess!
(This used to be commit
aae48211ff4f22e0c2e2fe57c370f465df4332bc)
Tim Potter [Fri, 6 Sep 2002 06:59:40 +0000 (06:59 +0000)]
level keys are inserted by conv routines.
(This used to be commit
b5068bb9fe28cfdd7a00dbc50196eb60e3a46af1)
Tim Potter [Fri, 6 Sep 2002 06:13:16 +0000 (06:13 +0000)]
Display debug data we are marshalling/unmarshalling a UNISTR in a
similar format to UNISTR2.
(This used to be commit
2d227bdce26674affad87ad6d118e77604fb210a)
Tim Potter [Fri, 6 Sep 2002 01:12:52 +0000 (01:12 +0000)]
cli_spoolss_enumprinterdrivers:
Return WERR_UNKNOWN_LEVEL if we can't decode the returned buffer.
(This used to be commit
0379a32d825e036c7f0dcabef46547cd678a2a1d)
Andrew Bartlett [Thu, 5 Sep 2002 15:47:22 +0000 (15:47 +0000)]
Move the fancy NT_STATUS macros to a new file, so we can include them earlier
in includes.h
Andrew Bartlett
(This used to be commit
ed184ed1905b49956528b6835f48a69ba3c1a045)
Jeremy Allison [Thu, 5 Sep 2002 12:55:56 +0000 (12:55 +0000)]
Revert the "reverse" change to rpc_server/srv_spoolss_nt.c, simply
add then entries to the end of the list in printing/notify.c using
DLIST_ADD_END.
Jeremy.
(This used to be commit
047d6a05fb60172a2607bb7d7d03dda5403c61fa)
Volker Lendecke [Thu, 5 Sep 2002 11:40:06 +0000 (11:40 +0000)]
Fixed a little, long standing bug: smbclient -M <name> should resolve
name#03, not name#20.
Volker
(This used to be commit
99017e887e4189ac7f6e3b7df08f028dc155191e)
Tim Potter [Thu, 5 Sep 2002 06:49:08 +0000 (06:49 +0000)]
Delivery notify messages over the back channel in *reverse* order in
which they are sent in the message. This is because a DLIST_ADD is
used by the message sender which results in the first (post!) message
being at the end of the list. Notify messages must be delivered in
the order the events occur in otherwise the port monitor gets
confused.
(This used to be commit
d41ff1f1a6cfad71ef35698d45e9fb97d9100898)
Jeremy Allison [Thu, 5 Sep 2002 05:26:29 +0000 (05:26 +0000)]
Remove donotify as notifies are cheap now.
Jeremy.
(This used to be commit
78585de5811d10bcca156e296c7dd51eabe5d626)
Jeremy Allison [Thu, 5 Sep 2002 04:33:52 +0000 (04:33 +0000)]
We shouldn't add printing flag here.
Jeremy.
(This used to be commit
f00102ba77d752bdf714fa83ac7fdc679e8d7f17)
Tim Potter [Thu, 5 Sep 2002 04:33:07 +0000 (04:33 +0000)]
Send any queued up print notify messages in exit_server() so they
don't get lost if the client exits before timeout_processing()
has a chance to run.
(This used to be commit
d7dde74aae64e9e142b80b7e3ba1bd69cec149b0)
Tim Potter [Thu, 5 Sep 2002 04:25:21 +0000 (04:25 +0000)]
A netshareenum reply always contains an enum_hnd. win2k returns zero
total entries on an error whereas nt4 must send uninitialised data so
we didn't catch this one before.
(This used to be commit
88653130bc1e380b7d8dc6c62492f3bbc6f1c707)
Tim Potter [Thu, 5 Sep 2002 04:22:16 +0000 (04:22 +0000)]
Roussed on Jeremy for not putting in enough debugs in the new print
notify stuff. (-:
(This used to be commit
87c156704f5d8913cf7bf3134ec5ba6403d36cca)
Andrew Tridgell [Thu, 5 Sep 2002 03:06:26 +0000 (03:06 +0000)]
initial mem_ctx to NULL
patch from metze
(This used to be commit
a4351a3923fd87e1c54119d997b673fcac34601b)
Tim Potter [Thu, 5 Sep 2002 02:00:14 +0000 (02:00 +0000)]
The new popt_common_debug code obviates the need to muck around with
AllowDebugChange, saving the debuglevel across lp_load() calls etc.
(This used to be commit
561204905b78323fd0a03cc7ec5c9dbb2295bd5b)
Jeremy Allison [Wed, 4 Sep 2002 23:40:49 +0000 (23:40 +0000)]
Added better error code on out of space. Removed total jobs check - not
applicable any more.
Jeremy.
(This used to be commit
8828e2ea3c668aab6cda1b4be9a7e4ce1c23ca81)
Andrew Bartlett [Wed, 4 Sep 2002 22:02:53 +0000 (22:02 +0000)]
Only cache the user list on the SAMR handle for a particular
acb_mask/all_machines flag combination. The avoids a bug where we were listing
users in the 'trusting domains' dialog in usrmgr.
We might also need to invalidate the cache for some other SAMR actions.
Andrew Bartlett
(This used to be commit
65047aee7fefefaecded9772184a54c046ab1784)
Jeremy Allison [Wed, 4 Sep 2002 21:59:38 +0000 (21:59 +0000)]
Merge ... (apparently working :-) new printing notify code.
Jeremy.
(This used to be commit
8595c6ce4d74539089b600b3b0ff858a04b793ff)
Jeremy Allison [Wed, 4 Sep 2002 19:13:06 +0000 (19:13 +0000)]
Add bcast_msg_flags to connection struct. Allows sender to filter when
sending broadcast messages. Also initial cut-down of printing notify
messages (not yet finished).
Jeremy.
(This used to be commit
aca333719695b278843c59e1c6eb07d6655fd59c)
Andrew Tridgell [Wed, 4 Sep 2002 10:58:42 +0000 (10:58 +0000)]
don't use ENCTYPE_ARCFOUR_HMAC unless the kerberos lib supports it
(This used to be commit
13dc9e37d2422c45ac5005dce26b349f88dbe505)
Andrew Bartlett [Wed, 4 Sep 2002 08:08:03 +0000 (08:08 +0000)]
Set default ACB attributes on 'unixsam' accounts. This means that machine
accounts added first to /etc/passwd will be honered correctly. Also, users
'upgraded' to smbpasswd will have the right flags.
Andrew Bartlett
(This used to be commit
474cc910c73e5567313bac438c7324a80e2e90d8)
Tim Potter [Wed, 4 Sep 2002 04:30:41 +0000 (04:30 +0000)]
Fix typo in comment.
(This used to be commit
47b8ec632e20aa86c34f6a0a82d886fcc76f3000)
Tim Potter [Wed, 4 Sep 2002 02:57:16 +0000 (02:57 +0000)]
Quietened some debugs.
(This used to be commit
ea26b3e8efcb83e16f7eb5add031a8df99046a69)
Gerald Carter [Wed, 4 Sep 2002 01:15:01 +0000 (01:15 +0000)]
remove inet_aton()
(This used to be commit
a7616b2b942eaf3be4e16fb9d38cdb42d8b95a94)
Gerald Carter [Wed, 4 Sep 2002 01:14:24 +0000 (01:14 +0000)]
DeletePrinterDriver[Ex]() fixes from APP_HEAD
(This used to be commit
04874134ed83847988bad5fcad3463395dc283fb)
Richard Sharpe [Tue, 3 Sep 2002 21:35:26 +0000 (21:35 +0000)]
Fix the struct_blob.
(This used to be commit
ce152b33c8b08905ea863d47a620c90ca47c8566)
Jeremy Allison [Tue, 3 Sep 2002 20:10:25 +0000 (20:10 +0000)]
Ensure we open UNIX fifo's non-blocking like we used to do.
Jeremy.
(This used to be commit
53f411df10f1e152d8d596cd24a2f66af9eb6e51)
Jeremy Allison [Tue, 3 Sep 2002 19:19:20 +0000 (19:19 +0000)]
Fix crashbug discovered by "Kim R. Pedersen" <krp@filanet.dk> where
cli struct was being deallocated in a called function.
Jeremy.
(This used to be commit
e33e9defa657aa54594bb0c27f9be2f7b12aab1b)
Jeremy Allison [Tue, 3 Sep 2002 19:18:12 +0000 (19:18 +0000)]
Formatting tidyup and additon of cli_close_connection() before bugfix.
Jeremy.
(This used to be commit
3b71529c694b5b1093d99b7ef80835e72b1f8436)
Richard Sharpe [Tue, 3 Sep 2002 17:36:00 +0000 (17:36 +0000)]
Fix the client side NTLMSSP. It now works between smbclient and smbd!
However, it does not work with Win2K over 445 with raw NTLMSSP!
(This used to be commit
53e4975337be2cab3ee89f2f62e5659855365b73)
Richard Sharpe [Tue, 3 Sep 2002 06:34:40 +0000 (06:34 +0000)]
Parse the NTLMSSP Challenge in cliconnect.c.
This gets us closer ... Should have the challenge now. Need to check that it works.
(This used to be commit
5784835db95baf62362d35d3beab5d534cc776e9)
Tim Potter [Tue, 3 Sep 2002 05:35:47 +0000 (05:35 +0000)]
Conver cli_spoolss routines to use REGISTRY_VALUE and REGVAL_CTR code. Nice one jerry!
(Hey I thought I checked this in already?)
(This used to be commit
f0c6303bebe0f494d70ac5371d7f6727413fe482)
Tim Potter [Tue, 3 Sep 2002 05:00:17 +0000 (05:00 +0000)]
Convert to new REGISTRY_VALUE cli_spoolss routines.
(This used to be commit
100aa8c893464d65f1b2225dab9dc5b58bbcff91)
Tim Potter [Tue, 3 Sep 2002 04:58:36 +0000 (04:58 +0000)]
Fixed enumjobs command to use new JOB_INFO_CTR structure.
(This used to be commit
9db5be03617740e705bce51784fdb80784779acb)
Tim Potter [Tue, 3 Sep 2002 04:56:39 +0000 (04:56 +0000)]
Fix setprinterdata rpcclient command to use new cli_spoolss_setprinterdata
function. Also fixed crash bug - I don't think anyone uses this
command anymore...
(This used to be commit
82c9bf2a6f03c801e701636aff726090483cea25)
Richard Sharpe [Tue, 3 Sep 2002 04:10:58 +0000 (04:10 +0000)]
Make sure that an NTLMSSP negotiate blob has the correct stuff in it!
(This used to be commit
b28267f52c0a5c175b067d7c2d10eca83c20e640)
Richard Sharpe [Tue, 3 Sep 2002 03:53:50 +0000 (03:53 +0000)]
Add type A to the small MSRPC generator ...
(This used to be commit
7f8fd5f270af74dcb3fd18af74233f7db4d8f9a7)
Richard Sharpe [Tue, 3 Sep 2002 03:48:28 +0000 (03:48 +0000)]
The session key in NTLMSSP AUTH blobs is actually an empty string.
Also, the negotiate blob has two ASCI strings encoded in the same way that the
UNICODE strings are, they are just in ASCII. The PARSER and Generator will have to deal with that.
(This used to be commit
aaa7a681ce4ee52edb23c73a53aeabb07fd5b7d8)
Tim Potter [Tue, 3 Sep 2002 03:21:53 +0000 (03:21 +0000)]
Implemented client function for deleteprinterdataex.
(This used to be commit
6d792c683df3a4f97e1a04a57bf4890aab35aecd)
Tim Potter [Tue, 3 Sep 2002 03:20:21 +0000 (03:20 +0000)]
Change JOB_INFO_CTR to return a pointer to an array rather than array of pointers.
(This used to be commit
e9b71b354d923b2cd0f028dd197e7ca81339ec3a)
Tim Potter [Tue, 3 Sep 2002 03:18:19 +0000 (03:18 +0000)]
Change JOB_INFO_CTR to return a pointer to an array rather than array of pointers.
Implemented client function for deleteprinterdataex.
(This used to be commit
f7641c8fd1079c2ef444d4bca5b97b1285733d10)
Tim Potter [Tue, 3 Sep 2002 01:56:05 +0000 (01:56 +0000)]
Display printerdata values in hex.
(This used to be commit
cdd64e0860bf05b115e0d107f6cb2b9e1f6d0e9b)
Tim Potter [Tue, 3 Sep 2002 01:55:21 +0000 (01:55 +0000)]
Added utility function to convert python strings to hex dump + ascii.
(This used to be commit
7a6b6a8b4871065e3178223a7da5fafd8792b0bc)
Tim Potter [Tue, 3 Sep 2002 01:48:24 +0000 (01:48 +0000)]
A printerdata browser I whipped up in about 5 minutes. (-:
Usage: gprinterdata //win2kdc1/fooprinter
(This used to be commit
a3e52367c961070ce80ac3d4bba763ad9ec1007c)
Tim Potter [Tue, 3 Sep 2002 01:32:05 +0000 (01:32 +0000)]
Rewrote to use gtkdictbrowser.
(This used to be commit
6f78c4181449a995b9d5b2955981a20e4fdcc829)
Tim Potter [Tue, 3 Sep 2002 01:30:26 +0000 (01:30 +0000)]
Ignore *.pyc files.
(This used to be commit
519d1589a9358d8c2de01bd23159e3d552554131)
Tim Potter [Tue, 3 Sep 2002 01:10:21 +0000 (01:10 +0000)]
Implement deleteprinterdataex
(This used to be commit
a89fe79e222b36eda123ccdbca96badb7714776e)
Tim Potter [Tue, 3 Sep 2002 00:40:06 +0000 (00:40 +0000)]
Return dictionary of printerdata in enumprinterdataex.
(This used to be commit
348b6778d8b9e42f27da51652c7198cc42048059)
Tim Potter [Tue, 3 Sep 2002 00:26:19 +0000 (00:26 +0000)]
Return data from enumprinterdataex by deep copying on passed in tdb context.
(This used to be commit
1f629aa54ea3733c356c21f9f707b7f6075f6429)
Volker Lendecke [Mon, 2 Sep 2002 13:47:51 +0000 (13:47 +0000)]
usrmgr expects unicode as ProductType.
This looks a bit like a hack ;-)
Volker
(This used to be commit
f673eac06ab4af97a4d28427f7444696402ae680)
Jelmer Vernooij [Mon, 2 Sep 2002 10:58:03 +0000 (10:58 +0000)]
Fix typo - Thanks Kai
(This used to be commit
8fb4534212e49d2f64f45cbeb481b9f4a69f3158)
Volker Lendecke [Mon, 2 Sep 2002 09:02:40 +0000 (09:02 +0000)]
small typo, kai is german :-)
(This used to be commit
f435bf0095694a283db47e33c9eb1b5b6df13d03)
Tim Potter [Mon, 2 Sep 2002 07:47:42 +0000 (07:47 +0000)]
Add a 'key' field to printer data dictionary.
Implemented getprinterdataex, setprinterdataex and enumprinterdataex
(doesn't quite work yet).
(This used to be commit
fb0f4f7bfe81923adfe71549973da2be57f0e71f)
Tim Potter [Mon, 2 Sep 2002 07:44:48 +0000 (07:44 +0000)]
Tim Potter [Mon, 2 Sep 2002 07:44:00 +0000 (07:44 +0000)]
Added methods for getprinterdataex, setprinterdataex and enumprinterdataex.
(This used to be commit
ac84b220aa2910abec309f2dc048adb84f609786)
Tim Potter [Mon, 2 Sep 2002 07:42:39 +0000 (07:42 +0000)]
Fix transposed args in open_pipe_creds() function.
(This used to be commit
63e59b0b737a1cd4ccc588b27e86be8262296052)
Tim Potter [Mon, 2 Sep 2002 07:41:12 +0000 (07:41 +0000)]
Implemented some more client side spoolss functions:
- getprinterdataex(), setprinterdataex(), enumprinterdataex()
Pass data type down to setprinterdata() fn instead of hardcoding REG_SZ.
Did some trickyness to get enumprinterdataex replies unmarshalled
properly. The code seems to have been written to require the number
of entries returned before unpacking said entries. Skip to the end of
the response and read the number of entries then jump back and process
the printer data.
(This used to be commit
6a1953f2431cc848abf210bdecd7080738991296)
Tim Potter [Mon, 2 Sep 2002 07:37:35 +0000 (07:37 +0000)]
Implemented some more client side spoolss functions:
- getprinterdataex(), setprinterdataex(), enumprinterdataex()
Pass data type down to setprinterdata() fn instead of hardcoding REG_SZ
(This used to be commit
62a60782533851b3380aa0db300fa16dfe6ca72e)
Simo Sorce [Sun, 1 Sep 2002 10:24:34 +0000 (10:24 +0000)]
wrong way to handle things, bug found by kai
(This used to be commit
58f912da47d18a6a548c50dc9d4298c6bec7ea0d)