tprouty/samba.git
21 years agoLatest patch from metze <metze@metzemix.de> to move most of samba across
Andrew Bartlett [Thu, 13 Jun 2002 14:06:08 +0000 (14:06 +0000)]
Latest patch from metze <metze@metzemix.de> to move most of samba across
to using SIDs instead of RIDs.

The new funciton sid_peek_check_rid() takes an 'expected domain sid' argument.

The idea here is to prevent mistakes where the SID is implict, but isn't
the same one that we have in the struct.

Andrew Bartlett

21 years agoa useful script for finding global variables or functions that could
Andrew Tridgell [Thu, 13 Jun 2002 07:06:19 +0000 (07:06 +0000)]
a useful script for finding global variables or functions that could
be static

very very slow ... I leave it as an exercise for the reader to make
this O(n) instead of O(n^2)

21 years agoSpelling.
Tim Potter [Wed, 12 Jun 2002 05:50:03 +0000 (05:50 +0000)]
Spelling.

21 years agoIgnore winbindd_proto.h
Tim Potter [Wed, 12 Jun 2002 05:27:13 +0000 (05:27 +0000)]
Ignore winbindd_proto.h

21 years agoSpelling fixes.
Tim Potter [Wed, 12 Jun 2002 05:10:19 +0000 (05:10 +0000)]
Spelling fixes.

21 years agoRemoved eff_name field from cli_struct as it wasn't being used anywhere.
Tim Potter [Wed, 12 Jun 2002 01:33:30 +0000 (01:33 +0000)]
Removed eff_name field from cli_struct as it wasn't being used anywhere.

21 years agofew fixes from Elrond(elrond@samba-tng.org) and Billy O'Connor(billy@oconnoronline...
Simo Sorce [Tue, 11 Jun 2002 22:54:06 +0000 (22:54 +0000)]
few fixes from Elrond(elrond@samba-tng.org) and Billy O'Connor(billy@oconnoronline.net)

21 years agomerge from 2.2
Gerald Carter [Tue, 11 Jun 2002 03:22:32 +0000 (03:22 +0000)]
merge from 2.2

21 years agoMerge of Jerry's fix from 2.2.
Jeremy Allison [Mon, 10 Jun 2002 21:49:18 +0000 (21:49 +0000)]
Merge of Jerry's fix from 2.2.
Jeremy.

21 years agoRemove "sids.h" as it really wasn't being used anywhere, and was exporting
Andrew Bartlett [Mon, 10 Jun 2002 12:27:05 +0000 (12:27 +0000)]
Remove "sids.h" as it really wasn't being used anywhere, and was exporting
the (now static) global_sam_sid.

The only place it was being used was to return global_sid_NULL to some
uid->sid functions - and I'm not convinced this is correct in any case.

Andrew Bartlett

21 years agoWith this file being automaticly regenerated, and cleaned up with 'make clean'
Andrew Bartlett [Mon, 10 Jun 2002 09:40:58 +0000 (09:40 +0000)]
With this file being automaticly regenerated, and cleaned up with 'make clean'
I think it should be removed from CVS.  This matches the other proto files.

Andrew Bartlett

21 years agoFix up comment on netbios scopes, and remove paragraph about international
Andrew Bartlett [Sun, 9 Jun 2002 13:31:23 +0000 (13:31 +0000)]
Fix up comment on netbios scopes, and remove paragraph about international
charsets, becouse it really don't apply well with Samba 3.0 and unicode.

Andrew Bartlett

21 years agoThis paragraph is irrelevent and misleading (needs fix for 2.2 as well)
Andrew Bartlett [Sun, 9 Jun 2002 13:16:45 +0000 (13:16 +0000)]
This paragraph is irrelevent and misleading  (needs fix for 2.2 as well)

21 years agoThis (hopefully) fixes a bug reported by Kai Krueger <kai@kruegernetz.de>
Andrew Bartlett [Sun, 9 Jun 2002 08:45:35 +0000 (08:45 +0000)]
This (hopefully) fixes a bug reported by Kai Krueger <kai@kruegernetz.de>
involving the use of lp_winbind_gid() without checking if they have been
set.

Also revert the 'clashing user' check back to a Get_Pwnam() - I probably should
never have changed it.

Andrew Bartlett

21 years agoEnsure when allowing fchown with write access and dos filemodes that
Jeremy Allison [Fri, 7 Jun 2002 23:18:03 +0000 (23:18 +0000)]
Ensure when allowing fchown with write access and dos filemodes that
we leave the gid alone.
Jeremy.

21 years agoMerge pidfile fix.
Jeremy Allison [Fri, 7 Jun 2002 17:49:12 +0000 (17:49 +0000)]
Merge pidfile fix.
Jeremy.

21 years agoFix comment
Andrew Bartlett [Fri, 7 Jun 2002 14:36:41 +0000 (14:36 +0000)]
Fix comment

21 years agoGlobally replace 'global_sam_sid' with get_global_sam_sid(), a self
Andrew Bartlett [Fri, 7 Jun 2002 14:33:33 +0000 (14:33 +0000)]
Globally replace 'global_sam_sid' with get_global_sam_sid(), a self
initialising function.  This patch thanks to the work of
"Stefan (metze) Metzmacher" <metze@metzemix.de>

This is partly to enable the transition to SIDs in the the passdb.

Andrew Bartlett

21 years agoMove the code from lib/util_sid.c that deals with the global_sam_sid into
Andrew Bartlett [Fri, 7 Jun 2002 12:45:51 +0000 (12:45 +0000)]
Move the code from lib/util_sid.c that deals with the global_sam_sid into
a file that is linked with the passdb.

This is to avoid linking insanity when this global becomes a self-initing
function.

21 years agoAdd flags2 for security signitures
Andrew Bartlett [Fri, 7 Jun 2002 12:42:25 +0000 (12:42 +0000)]
Add flags2 for security signitures

21 years agoA couple of updates for the SmbEncrypt code, and some of its users.
Andrew Bartlett [Fri, 7 Jun 2002 12:41:04 +0000 (12:41 +0000)]
A couple of updates for the SmbEncrypt code, and some of its users.

(const, takes unix string as arg)

Also update cli_full_connection to take NULL pointers as 'undefined' correctly,
and therefore do its own lookup etc.  This what was intended, but previously
you needed to supply a 0.0.0.0 IP address.

Andrew Bartlett

21 years agoAllow sd_len to be zero on NT_TRANSACT_CREATE but not for set sd (helps
Jeremy Allison [Fri, 7 Jun 2002 01:39:26 +0000 (01:39 +0000)]
Allow sd_len to be zero on NT_TRANSACT_CREATE but not for set sd (helps
Novell client).
Jeremy.

21 years agoOverly complex but neccessary fix for kernel oplock problems. The issue
Jeremy Allison [Thu, 6 Jun 2002 23:55:41 +0000 (23:55 +0000)]
Overly complex but neccessary fix for kernel oplock problems. The issue
is that there are some times when we should return an EINTR from a select,
some times when we should not. As we can take a signal at any time, we
have to eat EINTR's in some selects. This means we need to check for
kernel oplock breaks more often in the main loop, as well as add the
queuing mechanism needed for the changenotify code (due to the mistake
in understanding POSIX semantics w.r.t. setting a signal mask in a
signal handler). This code now passes all my tests.
However, (and IMHO and I know tridge disagrees) - the correct way to
fix this is to run with RT signals blocked and explicitly unblock
them just before the main select, block them after and then process
them all in one place. Just my 2cents :-).
Jeremy.

21 years agoenable building of shared libsmbclient
Gerald Carter [Thu, 6 Jun 2002 14:01:19 +0000 (14:01 +0000)]
enable building of shared libsmbclient

21 years agoFix compile error - doh!
Tim Potter [Thu, 6 Jun 2002 01:34:04 +0000 (01:34 +0000)]
Fix compile error - doh!

21 years agoMoved some notify related constants into srv_spoolss_nt.c since
Tim Potter [Thu, 6 Jun 2002 01:19:56 +0000 (01:19 +0000)]
Moved some notify related constants into srv_spoolss_nt.c since
they're only used there.

Added a PRINTER_NOTIFY_VERSION constant.

21 years agoFixed out of date comment for _spoolss_rffpcnex()
Tim Potter [Thu, 6 Jun 2002 00:59:52 +0000 (00:59 +0000)]
Fixed out of date comment for _spoolss_rffpcnex()

21 years agoFix typo.
Shirish Kalele [Wed, 5 Jun 2002 18:37:15 +0000 (18:37 +0000)]
Fix typo.

21 years agomerge from 2.2
Gerald Carter [Wed, 5 Jun 2002 18:30:07 +0000 (18:30 +0000)]
merge from 2.2

21 years agomerge 390 kernel workaround from SAMBA_2_2.
Jim McDonough [Wed, 5 Jun 2002 14:30:20 +0000 (14:30 +0000)]
merge 390 kernel workaround from SAMBA_2_2.

21 years agoSpelling fix.
Tim Potter [Wed, 5 Jun 2002 07:11:22 +0000 (07:11 +0000)]
Spelling fix.

21 years agoStore cache entry keys that have RID values in decimal to be
Tim Potter [Wed, 5 Jun 2002 04:23:37 +0000 (04:23 +0000)]
Store cache entry keys that have RID values in decimal to be
consistent with other keys.

21 years agoRemove blocksignals call as it's never going to bloody work right...
Jeremy Allison [Wed, 5 Jun 2002 01:47:28 +0000 (01:47 +0000)]
Remove blocksignals call as it's never going to bloody work right...
Jeremy.

21 years agoFix for Linux kernel bug where signal mask set within a signal handler
Jeremy Allison [Wed, 5 Jun 2002 00:05:05 +0000 (00:05 +0000)]
Fix for Linux kernel bug where signal mask set within a signal handler
is being ignored on sighandler exit. This means we have to have a small
array of fd's, not a single one.
Jeremy.

21 years agoUpdate the SAMR pipe for more use of NTSTATUS and to talloc the stored list of
Andrew Bartlett [Tue, 4 Jun 2002 23:10:02 +0000 (23:10 +0000)]
Update the SAMR pipe for more use of NTSTATUS and to talloc the stored list of
users/groups for better memory accounting.

Andrew Bartlett

21 years agoStore the key for a name to sid cache entry in upper case rather than
Tim Potter [Tue, 4 Jun 2002 03:44:04 +0000 (03:44 +0000)]
Store the key for a name to sid cache entry in upper case rather than
whatever case the request was made in.  This gets rid of duplicate
cache entries.

Also when doing a sid to name, prime the cache with the name to sid
mapping result.  We can't do the reverse as we don't know the correct
case of the name to store in the cache.

21 years agoFixed compiler warning.
Tim Potter [Tue, 4 Jun 2002 03:19:20 +0000 (03:19 +0000)]
Fixed compiler warning.

21 years agoFixed some formatting.
Tim Potter [Tue, 4 Jun 2002 01:45:59 +0000 (01:45 +0000)]
Fixed some formatting.

21 years agoFix long list scrolling bug.
Tim Potter [Tue, 4 Jun 2002 01:41:44 +0000 (01:41 +0000)]
Fix long list scrolling bug.

Added some padding around the filter entry to make it look nicer.

When resizing the window the scrolling list should get bigger/smaller
not the filter entry widget.

21 years agoMove session gathering routine back into session.c so it can be called either
Jim McDonough [Mon, 3 Jun 2002 22:15:46 +0000 (22:15 +0000)]
Move session gathering routine back into session.c so it can be called either
in RAP or RPC environment.

21 years agoFix netsessenum RPC. Correctly respond with as much info as we can.
Jim McDonough [Mon, 3 Jun 2002 22:14:43 +0000 (22:14 +0000)]
Fix netsessenum RPC.  Correctly respond with as much info as we can.

21 years agoAdd user name to netsessenum RPC to stop 1783 messages. Also fix where username...
Jim McDonough [Mon, 3 Jun 2002 22:13:41 +0000 (22:13 +0000)]
Add user name to netsessenum RPC to stop 1783 messages.  Also fix where username was sent as machine name.

21 years agoAdd user name to netsessenum RPC to stop 1783 messages
Jim McDonough [Mon, 3 Jun 2002 22:12:44 +0000 (22:12 +0000)]
Add user name to netsessenum RPC to stop 1783 messages

21 years agoSince includes.h isn't included here, VA_COPY has to be defined here. I don't
Jim McDonough [Mon, 3 Jun 2002 13:37:52 +0000 (13:37 +0000)]
Since includes.h isn't included here, VA_COPY has to be defined here.  I don't
see any include file that is guaranteed to be here, so I'm defining it
locally.  Fixes AIX and Solaris builds.

21 years agoAdded tdb_delete_by_string() function.
Tim Potter [Mon, 3 Jun 2002 06:04:14 +0000 (06:04 +0000)]
Added tdb_delete_by_string() function.

21 years agoAdd VFS Support
John Terpstra [Mon, 3 Jun 2002 05:59:58 +0000 (05:59 +0000)]
Add VFS Support

21 years agoRemoved unused function.
Tim Potter [Mon, 3 Jun 2002 04:28:53 +0000 (04:28 +0000)]
Removed unused function.

21 years agoput the ifdef for HAVE_VA_COPY in one place rather than in lots of
Andrew Tridgell [Mon, 3 Jun 2002 03:07:24 +0000 (03:07 +0000)]
put the ifdef for HAVE_VA_COPY in one place rather than in lots of
functions

21 years agofixed some debug messages
Andrew Tridgell [Mon, 3 Jun 2002 03:04:35 +0000 (03:04 +0000)]
fixed some debug messages

21 years agoRestrict anonymous checks for the SAMR pipe. This is done by
Tim Potter [Mon, 3 Jun 2002 03:02:39 +0000 (03:02 +0000)]
Restrict anonymous checks for the SAMR pipe.  This is done by
returning access denied for a SAMR_CONNECT by an anonymous user which
seems to be the way 2K does it rather than blocking individual RPC
calls like NT.

Also checked is the SAMR_GET_DOM_PWINFO rpc which for some reason
doesn't require a policy handle to return information.  No idea what
it's actually used.

21 years agoMove restrict anonymous checks into a general function called
Tim Potter [Mon, 3 Jun 2002 02:55:16 +0000 (02:55 +0000)]
Move restrict anonymous checks into a general function called
pipe_access_check().  Eventually this can take a security descriptor
as an argument as well.

21 years agofixed a spelling mistake
Andrew Tridgell [Mon, 3 Jun 2002 02:46:25 +0000 (02:46 +0000)]
fixed a spelling mistake

21 years agoadded a 'net ads search' command, similar to 'ldapsearch' but using the
Andrew Tridgell [Mon, 3 Jun 2002 02:43:06 +0000 (02:43 +0000)]
added a 'net ads search' command, similar to 'ldapsearch' but using the
Samba LDAP code.

I have found using 'ldapsearch' rather frustrating, particularly with
kerberos authentication. Using 'net ads search' makes it easier to
track down ADS problems.

21 years agoAdded getdompwinfo function.
Tim Potter [Mon, 3 Jun 2002 02:24:22 +0000 (02:24 +0000)]
Added getdompwinfo function.

21 years agoAdded cli_samr_get_dom_pwinfo() function.
Tim Potter [Mon, 3 Jun 2002 02:23:05 +0000 (02:23 +0000)]
Added cli_samr_get_dom_pwinfo() function.

Some reformatting.

21 years agoRemoved unused variable.
Tim Potter [Mon, 3 Jun 2002 02:20:56 +0000 (02:20 +0000)]
Removed unused variable.

21 years agoFixed bogus alignment in unmarshalling of SAMR_GET_DOM_PWINFO reply.
Tim Potter [Mon, 3 Jun 2002 02:13:46 +0000 (02:13 +0000)]
Fixed bogus alignment in unmarshalling of SAMR_GET_DOM_PWINFO reply.

21 years agoThe last element of the definitions of enums can't have a trailing
Tim Potter [Sun, 2 Jun 2002 23:23:16 +0000 (23:23 +0000)]
The last element of the definitions of enums can't have a trailing
comma.  Only initialisers can have this in ANSI C.

21 years agoAdd remainder of net rpc file subcommands, and autoselect transport on
Jim McDonough [Sat, 1 Jun 2002 01:03:04 +0000 (01:03 +0000)]
Add remainder of net rpc file subcommands, and autoselect transport on
net file

21 years agoUpdate for new interface to netfileenum
Jim McDonough [Sat, 1 Jun 2002 01:02:23 +0000 (01:02 +0000)]
Update for new interface to netfileenum

21 years agoAdd rpc for file close, expand file enum to take username
Jim McDonough [Sat, 1 Jun 2002 01:02:04 +0000 (01:02 +0000)]
Add rpc for file close, expand file enum to take username

21 years agoMore cleanup work preparing for SMB signing.
Jeremy Allison [Sat, 1 Jun 2002 00:10:08 +0000 (00:10 +0000)]
More cleanup work preparing for SMB signing.
Jeremy.

21 years agoRemoved some unused variables - tidy up some formating, add struct to
Jeremy Allison [Fri, 31 May 2002 22:18:07 +0000 (22:18 +0000)]
Removed some unused variables - tidy up some formating, add struct to
client state to implement smb signing - this is a test at present.
Jeremy.

21 years agoEnable all net rpc share subcommands and autoselect transport.
Jim McDonough [Fri, 31 May 2002 21:10:49 +0000 (21:10 +0000)]
Enable all net rpc share subcommands and autoselect transport.

21 years agoAdd netshareadd and netsharedel client side rpc
Jim McDonough [Fri, 31 May 2002 21:09:58 +0000 (21:09 +0000)]
Add netshareadd and netsharedel client side rpc

21 years agoAdd fns for netshareadd and netsharedel rpcs
Jim McDonough [Fri, 31 May 2002 21:08:51 +0000 (21:08 +0000)]
Add fns for netshareadd and netsharedel rpcs

21 years agoAdd error index to netshareadd rpc.
Jim McDonough [Fri, 31 May 2002 21:07:54 +0000 (21:07 +0000)]
Add error index to netshareadd rpc.

21 years agoEnable net rpc share and net rpc file commands (list subcommands only), and
Jim McDonough [Fri, 31 May 2002 17:03:48 +0000 (17:03 +0000)]
Enable net rpc share and net rpc file commands (list subcommands only), and
autoselect for this subcommand when appropriate.

21 years agoUpdate netfileenum to new api.
Jim McDonough [Fri, 31 May 2002 17:02:44 +0000 (17:02 +0000)]
Update netfileenum to new api.

21 years agoUpdate netfileenum on both client and server sides to do an arbitrary number
Jim McDonough [Fri, 31 May 2002 17:02:09 +0000 (17:02 +0000)]
Update netfileenum on both client and server sides to do an arbitrary number
of files.  This was done to better enable net rpc file.  Perhaps we can start
giving back real info this way, too.

21 years agoFixed crash bug in querydispinfo.
Tim Potter [Fri, 31 May 2002 04:25:00 +0000 (04:25 +0000)]
Fixed crash bug in querydispinfo.

Some reformatting.

21 years agoReturn access denied for net_share_enum when restrict anonymous > 0
Tim Potter [Fri, 31 May 2002 00:48:40 +0000 (00:48 +0000)]
Return access denied for net_share_enum when restrict anonymous > 0

21 years agoResurrect the 'restrict anonymous' parameter but make it an integer.
Tim Potter [Fri, 31 May 2002 00:47:19 +0000 (00:47 +0000)]
Resurrect the 'restrict anonymous' parameter but make it an integer.
It will have the same meaning as the RestrictAnonymous registry
setting.

See Q143474 and Q246261 for more details.

21 years agonetfileenum was missing the username filter.
Jim McDonough [Fri, 31 May 2002 00:29:29 +0000 (00:29 +0000)]
netfileenum was missing the username filter.

21 years agoAdded netfileenum (sorry - no output though (-:) command.
Tim Potter [Thu, 30 May 2002 07:12:32 +0000 (07:12 +0000)]
Added netfileenum (sorry - no output though (-:) command.

21 years agoAdded some comments for NTLMSSP negotiation flags.
Tim Potter [Thu, 30 May 2002 02:07:38 +0000 (02:07 +0000)]
Added some comments for NTLMSSP negotiation flags.

21 years agomerge from 2.2
Gerald Carter [Wed, 29 May 2002 04:39:23 +0000 (04:39 +0000)]
merge from 2.2

21 years agomerge from 2.2
Gerald Carter [Wed, 29 May 2002 02:08:46 +0000 (02:08 +0000)]
merge from 2.2

21 years agoAdded netremotetod to try and figure out which srvsvc commands are denied
Tim Potter [Wed, 29 May 2002 01:43:44 +0000 (01:43 +0000)]
Added netremotetod to try and figure out which srvsvc commands are denied
when using restrictanonymous.

21 years agoCleaned up srvsvc constants a bit.
Tim Potter [Wed, 29 May 2002 00:49:26 +0000 (00:49 +0000)]
Cleaned up srvsvc constants a bit.

21 years agoSpelling fixes.
Tim Potter [Tue, 28 May 2002 23:22:05 +0000 (23:22 +0000)]
Spelling fixes.

21 years agomerge from 2.2
Gerald Carter [Tue, 28 May 2002 14:49:00 +0000 (14:49 +0000)]
merge from 2.2

21 years agoUpdates to better report some NTSTATUS errors into PAM, and update to PAM
Andrew Bartlett [Tue, 28 May 2002 14:35:11 +0000 (14:35 +0000)]
Updates to better report some NTSTATUS errors into PAM, and update to PAM
to correctly allow password changes on expired passwords.  (No security
implications, as its just a 'will I let you talk to the server' check).

pam_winbind checks the password prior to changing it, so that users don't
have to make up and type their new password when they havn't even got the
old one right.  This also helps with stacking etc.

Andrew Bartlett

21 years agoAdded netshareenum cli command - the rpc structures here are really bizzare
Tim Potter [Tue, 28 May 2002 08:43:22 +0000 (08:43 +0000)]
Added netshareenum cli command - the rpc structures here are really bizzare
so muchos dodgy code is required to copy the results out of the parse
buffer into the client's talloc context.

21 years agoWhen marshalling a netshareenum request the share ctr has to be initialised
Tim Potter [Tue, 28 May 2002 08:41:50 +0000 (08:41 +0000)]
When marshalling a netshareenum request the share ctr has to be initialised
to an empty value instead of a null pointer otherwise the server service
crashes on NT.

21 years agoAdded netshareenum command at level 1 and 2.
Tim Potter [Tue, 28 May 2002 08:40:29 +0000 (08:40 +0000)]
Added netshareenum command at level 1 and 2.

21 years agoHmm - you can do NT_STATUS_IS_OK on a WERROR and not get a compile warning/error.
Tim Potter [Tue, 28 May 2002 08:39:12 +0000 (08:39 +0000)]
Hmm - you can do NT_STATUS_IS_OK on a WERROR and not get a compile warning/error.

21 years agoSome fixes for enumerating domain groups and aliases:
Tim Potter [Tue, 28 May 2002 04:10:04 +0000 (04:10 +0000)]
Some fixes for enumerating domain groups and aliases:

 - close down connect and domain policy handles when exiting
 - allow enumeration of > 65535 groups or aliases
 - error handling for non-zero return value from enumeration functions

21 years agoSeparate error handling for cli_full_connection() and cli_nt_session_open()
Tim Potter [Tue, 28 May 2002 03:15:09 +0000 (03:15 +0000)]
Separate error handling for cli_full_connection() and cli_nt_session_open()

21 years agoRaise a ValueError if server name isn't given in UNC format.
Tim Potter [Tue, 28 May 2002 03:14:28 +0000 (03:14 +0000)]
Raise a ValueError if server name isn't given in UNC format.

21 years agoRaise a ValueError if server names aren't given in UNC format.
Tim Potter [Tue, 28 May 2002 02:33:11 +0000 (02:33 +0000)]
Raise a ValueError if server names aren't given in UNC format.

21 years agoAllow None to be used as a valid credential for functions that take a
Tim Potter [Tue, 28 May 2002 02:09:54 +0000 (02:09 +0000)]
Allow None to be used as a valid credential for functions that take a
credential as a parameter.

21 years agoAllow None to be used as a valid credential in open_policy.
Tim Potter [Tue, 28 May 2002 02:08:39 +0000 (02:08 +0000)]
Allow None to be used as a valid credential in open_policy.

Added {get,set}_debuglevel() and setup_logging() functions.

21 years agoUse a fixed size font for displaying tdb values.
Tim Potter [Mon, 27 May 2002 07:47:58 +0000 (07:47 +0000)]
Use a fixed size font for displaying tdb values.

Added a (regexp, function) pair to register display functions for keys
matching regular expressions.

Expand the size of the value scrolling window.

Added hex dump function and some regexps to display DRIVERS, SECDESC and
PRINTERS keys in hex instead of ascii.

21 years agoMore automatically generated prototype madness.
Tim Potter [Mon, 27 May 2002 06:39:10 +0000 (06:39 +0000)]
More automatically generated prototype madness.

21 years agoUse new version of open_pipe_creds() function.
Tim Potter [Mon, 27 May 2002 06:38:36 +0000 (06:38 +0000)]
Use new version of open_pipe_creds() function.

Don't attempt to free client state returned by cli_full_connection()

Fix memory leaks on error.

Allow setprinter level 1 - doesn't work though.

Extended interface to enumprinters().  The name value passed in the RPC
request can be different from the server name in which case lots of weird
and wonderful information is returned.  Defaults to the server name.

21 years agoUse new version of open_pipe_creds() function.
Tim Potter [Mon, 27 May 2002 06:36:30 +0000 (06:36 +0000)]
Use new version of open_pipe_creds() function.

21 years agoUse new version of open_pipe_creds() function.
Tim Potter [Mon, 27 May 2002 06:36:06 +0000 (06:36 +0000)]
Use new version of open_pipe_creds() function.

Server argument to enumprinterdrivers() must be in UNC format.

21 years agoUse new version of open_pipe_creds() function.
Tim Potter [Mon, 27 May 2002 06:35:30 +0000 (06:35 +0000)]
Use new version of open_pipe_creds() function.

Fix memory leaks on error.

21 years agoUse new version of open_pipe_creds() function.
Tim Potter [Mon, 27 May 2002 06:34:13 +0000 (06:34 +0000)]
Use new version of open_pipe_creds() function.

A compile fix for enumerating trusted domains.