CVS update: samba/source/rpc_pipes

Luke Leighton lkcl at samba.anu.edu.au
Sun Dec 21 07:00:48 EST 1997


Date:	Sunday December 21, 1997 @ 7:00
Author:	lkcl

Update of /data/cvs/samba/source/rpc_pipes
In directory samba:/tmp/cvs-serv8787/rpc_pipes

Modified Files:
      Tag: BRANCH_NTDOM
	CODING.STANDARDS ntclientnet.c ntclientpipe.c ntclientsamr.c 
	ntclientsrvsvc.c pipesamr.c pipesrvsvc.c pipeutil.c 
	samrparse.c srvparse.c 
Log Message:

Issues
------

two more commands in smbclient: list server shares, and query aliases on
a domain.  another one in the pipeline: query groups in a domain.

support for alias and group queries in smbd is also being done.

there are large numbers of functions that are still stubs.  i want to
abstract these to the point where they can be used as a front-end (higher
order function calls to the main smbd code).

added a system to display.c where you can select text or html output.
only text is currently supported.


Modified Files
--------------

client.c ntclient.c :

	added srvshares and samaliases commands.

clientgen.c clientipc.c display.c nmbsync.c :

	- more display routines.
	- more arguments to display routines.
	- signed / unsigned warnings.

ntdomain.h :

	- added SAMR 0x12, 0x13 and 0x21 commands (query domain groups and aliases?)
	  don't rightly know exactly what these are: will work it out, later.

	- signed / unsigned warnings.

	- *still* not had the file / share / session / connection enumeration
	  containers right.  i _think_ i've finally got it :-)

	- share structures needed sorting, to support different info levels.
	  share / session / file / connection all now look pretty much exactly
	  the same.

	- clarified some of the policy handles' purposes', by _naaaming_ them :-)

smb.h :

	- added display (TXT, HTML, NONE) and action (HEADER, ENUM, FOOTER) enumerations

	- added rid / name associating structure, for use in lookups.

rpc_pipes/CODING.STANDARDS :

	small revisions.  the principle of these coding standards is to give
	people freedom to do what they like, as long as they document it, and
	to also give them the freedom to do what they like, as long as they
	_also_ stick to the rules :-)

rpc_pipes/ntclientpipe.c :

	signed / unsigned warnings.

rpc_pipes/ntclientsamr.c :

	- appropriately named some of the policy handles, having worked out what
	  they are...

	- added samr_query_unknown_12 command, which i think is a domain aliases
	  lookup (give it an array of alias RIDS, it returns you their names).

rpc_pipes/ntclientsrvsvc.c :

	- added a net share enum client-side function.

rpc_pipes/pipesamr.c :
rpc_pipes/samrparse.c :

	- added SAMR_UNKNOWN_12, 13, 21 parsing routines.
	  12 lists aliases in a domain.  13 lists groups in a domain.
	  21 queries an alias in a domain, i think...

	- stub replies to groups / aliases queries now return partially meaningful
	  results, such that lookups done later _also_ return partially meaningful
	  results...

	- added lookup_group_rid; lookup_alias_rid; lookup_user_rid, all of which
	  are called from samr_reply_lookup_names.


	- renamed some of the policy handles to indicate their purpose.

rpc_pipes/pipesrvsvc.c rpc_pipes/srvparse.c :

	- modified the share enum code to look more like the other \PIPE\srvsvc
	  enumerations.  can now easily add different enumeration levels (the
	  previous version, the enumeration container was built-in to the
	  query / response structures, and could only support one info class...)

	- *finally*, *hopefully*, sorted out the "total_entries" stuff in the
	  enumeration containers!  we'll see...

rpc_pipes/pipeutil.c :

	- added a rid / name structure for the domain groups, and another for aliases.

whew.



More information about the samba-cvs mailing list