Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3c
)
2007-10-18 17:40:25 -07:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc
)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b
)
2007-10-10 12:28:20 -05:00
Jeremy Allison
be8b0685a5
r22589: Make TALLOC_ARRAY consistent across all uses.
...
Jeremy.
(This used to be commit 8968808c3b
)
2007-10-10 12:19:49 -05:00
Jeremy Allison
79de0ad946
r22588: Make all uses of TALLOC_MEMDUP consistent.
...
Jeremy.
(This used to be commit 8ad13718af
)
2007-10-10 12:19:48 -05:00
Volker Lendecke
e23781b3b3
r17316: More C++ warnings -- 456 left
...
(This used to be commit 1e4ee728df
)
2007-10-10 11:38:25 -05:00
Volker Lendecke
15f4c6372c
r14244: Okay, had not seen that this happened twice.
...
Fix Coverity bug # 142.
Volker
(This used to be commit f2a24b63e3
)
2007-10-10 11:15:20 -05:00
Volker Lendecke
e2e3c377a3
r14243: Fix Coverity bug # 143
...
(This used to be commit 5a0087e636
)
2007-10-10 11:15:20 -05:00
Volker Lendecke
bd8e1b442d
r13958: Fix Coverity Bug # 141
...
(This used to be commit 598513d1d3
)
2007-10-10 11:11:01 -05:00
Günther Deschner
436b3dd88a
r12106: Fix return value
...
Guenther
(This used to be commit 1fa8039397
)
2007-10-10 11:05:45 -05:00
Jeremy Allison
6fc9564c33
r11443: Fix error code returns on client spoolss code. Fix them
...
up a *lot*.
Jeremy.
(This used to be commit 762fff4ddb
)
2007-10-10 11:05:16 -05:00
Gerald Carter
54abd2aa66
r10656: BIG merge from trunk. Features not copied over
...
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d7
)
2007-10-10 11:04:48 -05:00
Gerald Carter
44707ad2e0
r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to use
...
the new talloc() features:
Note that the REGSUB_CTR and REGVAL_CTR objects *must* be talloc()'d
since the methods use the object pointer as the talloc context for
internal private data.
There is no longer a regXXX_ctr_intit() and regXXX_ctr_destroy()
pair of functions. Simply TALLOC_ZERO_P() and TALLOC_FREE() the
object.
Also had to convert the printer_info_2->NT_PRINTER_DATA field
to be talloc()'d as well. This is just a stop on the road to
cleaning up the printer memory management.
(This used to be commit ef721333ab
)
2007-10-10 11:03:25 -05:00
Günther Deschner
e20695a503
r9041: typo. Thanks jerry.
...
Guenther
(This used to be commit 7afb424091
)
2007-10-10 11:00:24 -05:00
Gerald Carter
83d12580aa
r9040: revert pointer checks that I had removed; fixes crash in calls to enumprinterdata()
...
(This used to be commit f81b885f46
)
2007-10-10 11:00:24 -05:00
Volker Lendecke
6ccc69c532
r8833: Fix some uninitialized variables.
...
Volker
(This used to be commit 503a58b6be
)
2007-10-10 11:00:18 -05:00
Gerald Carter
ecafd3754f
r8654: merging cli_spoolss_XX() updates from trunk
...
(This used to be commit cd961e50a3
)
2007-10-10 11:00:14 -05:00
Gerald Carter
2129d3c711
r7691: * add .gdbinit to the svn:ignore files
...
* start adding write support to the Samba registry
Flesh out the server implementations of
RegCreateKey(), RegSetValue(), RegDeleteKey() and RegDeleteValue()
I can create a new key using regedit.exe now but the 'New Key #1 '
key cannot be deleted yet.
(This used to be commit e188fdbef8
)
2007-10-10 10:57:19 -05:00
Gerald Carter
d2b8348fef
r5946: BUG 2497: fix bug in rpcclient's deletedriverex when asking to delete all versions of a driver
...
(This used to be commit 1f00602786
)
2007-10-10 10:56:10 -05:00
Gerald Carter
61dfab9f70
r5805: merging spoolss parsing changes from trunk and cleaning up resulting segvs
...
(This used to be commit 25121547ca
)
2007-10-10 10:56:01 -05:00
Volker Lendecke
f4ec52a097
r4561: This looks a lot larger than it is, this is to reduce the clutter on future
...
patches.
Pass down the pipe_idx down to all functions in cli_pipe where nt_pipe_fnum is
referenced. First step towards having multiple pipes on a cli_struct. The idea
is to not have a single nt_pipe_fnum but an array for the pipes we support.
Volker
(This used to be commit 93eab05020
)
2007-10-10 10:53:47 -05:00
Jeremy Allison
acf9d61421
r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
...
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
(This used to be commit 620f2e608f
)
2007-10-10 10:53:32 -05:00
Günther Deschner
d7bbbb28bd
r3645: Allow deldriverex in rpcclient to delete drivers for a specific
...
architecture and a specific version.
Guenther
(This used to be commit a24df09386
)
2007-10-10 10:53:11 -05:00
Gerald Carter
2d0f5486f0
r3639: patch from Martin Zielinski <mz@seh.de> to add DeleteDriverEx() function to rpcclient
...
(This used to be commit cfd51c0244
)
2007-10-10 10:53:11 -05:00
Günther Deschner
bf645415f6
r2073: Adding getprinter level 7 to rpcclient.
...
Is there any other rpc-call to get the guid of a published printer?
Guenther
(This used to be commit 944ad569c7
)
2007-10-10 10:52:30 -05:00
Gerald Carter
5ba60c5608
working on fix for BUG #294 . Not done yet, but this at least clears
...
up some of the false positives in "rpcclient -c getdriver".
Also make sure that we ask for version2 and 3 drivers on x86.
(This used to be commit 5be5151568
)
2003-08-19 16:56:53 +00:00
Herb Lewis
aa39cc37da
get rid of more compiler warnings
...
(This used to be commit 398bd14fc6
)
2003-08-15 04:42:05 +00:00
Jeremy Allison
ce72beb2b5
Removed strupper/strlower macros that automatically map to strupper_m/strlower_m.
...
I really want people to think about when they're using multibyte strings.
Jeremy.
(This used to be commit ff222716a0
)
2003-07-03 19:11:31 +00:00
Tim Potter
1788f806e7
Merge: const fixes.
...
(This used to be commit a20aba0999
)
2003-02-25 23:51:56 +00:00
Jeremy Allison
8fc1f1aead
Ensure that only parse_prs.c access internal members of the prs_struct.
...
Needed to move to disk based i/o later.
Jeremy.
(This used to be commit a823fee5b4
)
2003-02-14 22:55:46 +00:00
Andrew Bartlett
634c54310c
Merge from HEAD - make Samba compile with -Wwrite-strings without additional
...
warnings. (Adds a lot of const).
Andrew Bartlett
(This used to be commit 3a7458f947
)
2003-01-03 08:28:12 +00:00
Jim McDonough
397873f0c4
Sync with HEAD to get enumprinterkey api.
...
(This used to be commit f6e21ba4c7
)
2002-11-08 20:36:31 +00:00
Tim Potter
346c9845a8
Fix a silly memset typo.
...
Change a int* to a uint32* in the cli_spoolss_enum_ports() function.
(This used to be commit 41a22b3a00
)
2002-10-21 04:07:56 +00:00
Tim Potter
1188b37d6a
Zero tallocated memory in decode_printer_info, decode_driver_info,
...
decode_port_info and decode_printerdriver functions.
(This used to be commit e28a719f04
)
2002-10-21 02:49:55 +00:00
Gerald Carter
a834a73e34
sync'ing up for 3.0alpha20 release
...
(This used to be commit 65e7b5273b
)
2002-09-25 15:19:00 +00:00
Jelmer Vernooij
1f7d18a99c
Sync 3.0 branch with HEAD
...
(This used to be commit 3823a2ff5a
)
2002-08-17 16:05:44 +00:00
Andrew Tridgell
e90b652848
updated the 3.0 branch from the head branch - ready for alpha18
...
(This used to be commit 03ac082dcb
)
2002-07-15 10:35:28 +00:00
Tim Potter
ab13654dc9
Renamed get_nt_error_msg() to nt_errstr().
...
(This used to be commit 1f007d3ed4
)
2002-03-17 04:36:35 +00:00
Tim Potter
cd68afe312
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06
)
2002-01-30 06:08:46 +00:00
Tim Potter
dc1fc3ee8e
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
...
(This used to be commit 2d0922b0ea
)
2001-10-02 04:29:50 +00:00
Andrew Tridgell
b031af348c
converted another bunch of stuff to NTSTATUS
...
(This used to be commit 1d36250e33
)
2001-08-27 19:46:22 +00:00
Tim Potter
648528196c
Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.
...
According to the incorruptible judges find and grep, the latter won.
Mmm - procrastination. (-:
(This used to be commit 2e33940360
)
2001-07-25 06:42:05 +00:00
Andrew Tridgell
527e824293
strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn.
...
(This used to be commit c41fc06376
)
2001-07-04 07:36:09 +00:00
Gerald Carter
3a44e2364b
few cleanups to bring in line with 2.2
...
(This used to be commit 0feaac00a1
)
2001-04-28 01:07:27 +00:00
Gerald Carter
f4ae39d53a
added getdriver and enumdrivers commands. Also fixed
...
enumprinters so that it works as well. Couple of other
misc fixes while we're working on rpcclient.
(This used to be commit 83d6bc4454
)
2001-03-15 07:13:27 +00:00
Jeremy Allison
00ab9021b0
Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.
...
We were reading the endainness in the RPC header and then never propagating
it to the internal parse_structs used to parse the data.
Also removed the "align" argument to prs_init as it was *always* set to
4, and if needed can be set differently on a case by case basis.
Now ready for AS/U testing when Herb gets it set up :-).
Jeremy.
(This used to be commit 0cd37c831d
)
2001-03-09 23:48:58 +00:00
Jeremy Allison
6ed9b52862
Ooops - forgot to check the rpcclient and smbcacls compile with the new
...
code :-(.
Jeremy.
(This used to be commit 70beabf73b
)
2001-02-28 01:38:12 +00:00
Jeremy Allison
0f2799aaf1
Move to talloc control of SPOOL_XXX structs. Move to talloc control of
...
security descriptors and pointers. Syncup with 2.2 tree.
Jeremy.
(This used to be commit 14d5997dc8
)
2001-02-28 00:51:02 +00:00
Jeremy Allison
ba00796e6d
Herb's warning fixes. Also the POSIX locking fix.
...
We now use our own vfs layer to do get/set acl calls (hurrah!).
Jeremy.
(This used to be commit dfe77c7046
)
2000-10-06 18:13:52 +00:00
Gerald Carter
072d39165d
spoolgetprinterdriver now returns "Windows NT x86" and "Windows 4.0"
...
driver information.
Will merge into TNG.
jerry
(This used to be commit ae7dd77c24
)
2000-09-12 16:03:16 +00:00