CVS update: samba/source/rpc_client

2004-04-02 Thread idra

Date:   Fri Apr  2 08:27:08 2004
Author: idra

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv30632/rpc_client

Modified Files:
cli_lsarpc.c 
Log Message:
implement basic create account functionality

Revisions:
cli_lsarpc.c1.84 = 1.85

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.84r2=1.85


CVS update: samba/source/rpc_client

2004-04-02 Thread vlendec

Date:   Fri Apr  2 08:43:48 2004
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv1048/rpc_client

Modified Files:
cli_lsarpc.c 
Log Message:
Rename access-desired_access. 'access' gives warnings that we shadow a global
variable.

Volker


Revisions:
cli_lsarpc.c1.85 = 1.86

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.85r2=1.86


CVS update: samba/source/rpc_client

2004-04-02 Thread vlendec

Date:   Fri Apr  2 12:55:53 2004
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv12623/rpc_client

Modified Files:
cli_netlogon.c 
Log Message:
Implement NETLOGON GetDCName client side. You can ask a DC for the name of
a DC it trusts.

Volker


Revisions:
cli_netlogon.c  1.84 = 1.85

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.84r2=1.85


CVS update: samba/source/rpc_client

2004-04-02 Thread vlendec

Date:   Fri Apr  2 12:56:18 2004
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv12841/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_netlogon.c 
Log Message:
Implement NETLOGON GetDCName client side. You can ask a DC for the name of
a DC it trusts.

Volker


Revisions:
cli_netlogon.c  1.69.2.14 = 1.69.2.15

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.69.2.14r2=1.69.2.15


CVS update: samba/source/rpc_client

2004-03-30 Thread vlendec

Date:   Tue Mar 30 08:26:57 2004
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv5267

Modified Files:
cli_pipe.c 
Log Message:
Janitor merge from 3_0 to HEAD

Revisions:
cli_pipe.c  1.113 = 1.114

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.113r2=1.114


CVS update: samba/source/rpc_client

2004-03-26 Thread abartlet

Date:   Sat Mar 27 05:39:19 2004
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv15023/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
Ensure we correctly set cli-nt_pipe_fnum on failure to correctly open the 
NT session.

Andrew Bartlett


Revisions:
cli_pipe.c  1.79.2.47 = 1.79.2.48

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.47r2=1.79.2.48


CVS update: samba/source/rpc_client

2004-03-22 Thread jerry

Date:   Mon Mar 22 23:14:30 2004
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv12522/rpc_client

Modified Files:
cli_pipe.c 
Log Message:
merging changes from 3.0

Revisions:
cli_pipe.c  1.112 = 1.113

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.112r2=1.113


CVS update: samba/source/rpc_client

2004-03-19 Thread jerry

Date:   Fri Mar 19 17:48:08 2004
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv16434/source/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
missed some of Derrel's changes

Revisions:
cli_pipe.c  1.79.2.45 = 1.79.2.46

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.45r2=1.79.2.46


CVS update: samba/source/rpc_client

2004-03-19 Thread jerry

Date:   Fri Mar 19 17:51:30 2004
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv17302/source/rpc_client

Modified Files:
  Tag: SAMBA_3_0_RELEASE
cli_pipe.c 
Log Message:
syncing more changes from 3.0

Revisions:
cli_pipe.c  1.100.2.8 = 1.100.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.100.2.8r2=1.100.2.9


CVS update: samba/source/rpc_client

2004-03-18 Thread jerry

Date:   Thu Mar 18 17:09:47 2004
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv12592/source/rpc_client

Modified Files:
  Tag: SAMBA_3_0_RELEASE
cli_pipe.c cli_samr.c 
Log Message:
starting to sync the cvs tree

Revisions:
cli_pipe.c  1.100.2.7 = 1.100.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.100.2.7r2=1.100.2.8
cli_samr.c  1.78.2.5 = 1.78.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.78.2.5r2=1.78.2.6


CVS update: samba/source/rpc_client

2004-03-17 Thread jerry

Date:   Wed Mar 17 17:38:38 2004
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv6382/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
asu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response so dont 
check for it

Revisions:
cli_pipe.c  1.79.2.44 = 1.79.2.45

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.44r2=1.79.2.45


CVS update: samba/source/rpc_client

2004-03-17 Thread jerry

Date:   Wed Mar 17 17:39:00 2004
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv6419/rpc_client

Modified Files:
cli_pipe.c 
Log Message:
asu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response so dont 
check for it

Revisions:
cli_pipe.c  1.110 = 1.111

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.110r2=1.111


CVS update: samba/source/rpc_client

2004-02-28 Thread vlendec

Date:   Sat Feb 28 18:41:16 2004
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv10226/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c cli_samr.c 
Log Message:
Add 'net rpc group [add|del]mem' for domain groups and aliases.

Volker


Revisions:
cli_pipe.c  1.79.2.43 = 1.79.2.44

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.43r2=1.79.2.44
cli_samr.c  1.68.2.17 = 1.68.2.18

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.68.2.17r2=1.68.2.18


CVS update: samba/source/rpc_client

2004-02-28 Thread vlendec

Date:   Sat Feb 28 18:42:20 2004
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv10432/rpc_client

Modified Files:
cli_pipe.c cli_samr.c 
Log Message:
Add 'net rpc group [add|del]mem' for domain groups and aliases.

Volker


Revisions:
cli_pipe.c  1.109 = 1.110

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.109r2=1.110
cli_samr.c  1.85 = 1.86

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.85r2=1.86


CVS update: samba/source/rpc_client

2004-02-24 Thread vlendec

Date:   Tue Feb 24 18:00:40 2004
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv30311/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_samr.c 
Log Message:
Add 'net rpc group add'. For this parse_samr.c had to be changed: The
group_info4 in set_dom_group_info also has the level in the record
itself. This seems not to be an align. Tested with NT4 usrmgr.exe. It can
still create a domain group on a samba machine.

Volker


Revisions:
cli_samr.c  1.68.2.16 = 1.68.2.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.68.2.16r2=1.68.2.17


CVS update: samba/source/rpc_client

2004-02-24 Thread vlendec

Date:   Tue Feb 24 18:03:19 2004
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv30804/rpc_client

Modified Files:
cli_samr.c 
Log Message:
Add 'net rpc group add'. For this parse_samr.c had to be changed: The
group_info4 in set_dom_group_info also has the level in the record
itself. This seems not to be an align. Tested with NT4 usrmgr.exe. It can
still create a domain group on a samba machine.

Volker


Revisions:
cli_samr.c  1.84 = 1.85

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.84r2=1.85


CVS update: samba/source/rpc_client

2004-01-26 Thread abartlet

Date:   Mon Jan 26 08:45:01 2004
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv19073/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_samr.c 
Log Message:
This adds client-side support for the unicode/SAMR password change scheme.

As well as avoiding DOS charset issues, this scheme returns useful error 
codes, that we can map back via the pam interface.

This patch also cleans up the interfaces used for password buffers, to 
avoid duplication of code.

Andrew Bartlett


Revisions:
cli_samr.c  1.68.2.15 = 1.68.2.16

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.68.2.15r2=1.68.2.16


CVS update: samba/source/rpc_client

2004-01-26 Thread abartlet

Date:   Mon Jan 26 08:51:58 2004
Author: abartlet

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv21004/source/rpc_client

Modified Files:
cli_samr.c 
Log Message:
(merge from 3.0)

This adds client-side support for the unicode/SAMR password change scheme.

As well as avoiding DOS charset issues, this scheme returns useful error 
codes, that we can map back via the pam interface.

This patch also cleans up the interfaces used for password buffers, to 
avoid duplication of code.

Andrew Bartlett


Revisions:
cli_samr.c  1.83 = 1.84

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.83r2=1.84


CVS update: samba/source/rpc_client

2004-01-15 Thread jerry

Date:   Thu Jan 15 21:35:09 2004
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv14325/source/rpc_client

Modified Files:
  Tag: SAMBA_3_0_RELEASE
cli_ds.c cli_lsarpc.c 
Log Message:
sync tree for 3.0.2rc1

Revisions:
cli_ds.c1.4.2.2 = 1.4.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_ds.c.diff?r1=1.4.2.2r2=1.4.2.3
cli_lsarpc.c1.76.2.4 = 1.76.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.76.2.4r2=1.76.2.5


CVS update: samba/source/rpc_client

2004-01-14 Thread jerry

Date:   Thu Jan 15 05:16:29 2004
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv21279/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_ds.c 
Log Message:
BUG 972; check pointer in cli_ds_getprimarydominfo() before trying to copy a structure

Revisions:
cli_ds.c1.2.2.8 = 1.2.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_ds.c.diff?r1=1.2.2.8r2=1.2.2.9


CVS update: samba/source/rpc_client

2004-01-14 Thread jerry

Date:   Thu Jan 15 05:17:40 2004
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv21387/rpc_client

Modified Files:
cli_ds.c 
Log Message:
BUG 972; check pointer in cli_ds_getprimarydominfo() before trying to copy a structure

Revisions:
cli_ds.c1.7 = 1.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_ds.c.diff?r1=1.7r2=1.8


CVS update: samba/source/rpc_client

2004-01-13 Thread jerry

Date:   Tue Jan 13 17:55:41 2004
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv2653/rpc_client

Modified Files:
cli_lsarpc.c 
Log Message:
sync HEAD with recent changes in 3.0

Revisions:
cli_lsarpc.c1.83 = 1.84

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.83r2=1.84


CVS update: samba/source/rpc_client

2004-01-08 Thread jerry

Date:   Thu Jan  8 22:21:29 2004
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_ds.c 
Log Message:
fix segfault when sid_ptr == 0 in DsEnumDomainTrusts() reply

Revisions:
cli_ds.c1.2.2.7 = 1.2.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_ds.c.diff?r1=1.2.2.7r2=1.2.2.8


CVS update: samba/source/rpc_client

2004-01-06 Thread abartlet

Date:   Tue Jan  6 08:12:36 2004
Author: abartlet

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv15447/rpc_client

Modified Files:
cli_pipe.c 
Log Message:
Merge NTLMSSP fixes from 3.0 to HEAD.

Andrew Bartlett


Revisions:
cli_pipe.c  1.108 = 1.109

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.108r2=1.109


CVS update: samba/source/rpc_client

2004-01-04 Thread abartlet

Date:   Mon Jan  5 02:04:37 2004
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv21925/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_ds.c cli_lsarpc.c 
Log Message:
rpc_client/cli_lsarpc.c:
rpc_parse/parse_lsa.c:
nsswitch/winbindd_rpc.c:
nsswitch/winbindd.h:
 - Add const

libads/ads_ldap.c:
 - Cleanup function for use

nsswitch/winbindd_ads.c:
 - Use new utility function ads_sid_to_dn
 - Don't search for 'dn=', rather call the ads_search_retry_dn()

nsswitch/winbindd_ads.c:
include/rpc_ds.h:
rpc_client/cli_ds.c:
 - Fixup braindamage in cli_ds_enum_domain_trusts():
- This function was returning a UNISTR2 up to the caller, and
  was doing nasty (invalid, per valgrind) things with memcpy()
- Create a new structure that represents this informaiton in a useful way
  and use talloc.

Andrew Bartlett



Revisions:
cli_ds.c1.2.2.6 = 1.2.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_ds.c.diff?r1=1.2.2.6r2=1.2.2.7
cli_lsarpc.c1.68.2.8 = 1.68.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.68.2.8r2=1.68.2.9


CVS update: samba/source/rpc_client

2004-01-04 Thread abartlet

Date:   Mon Jan  5 04:12:40 2004
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv13654/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
Correctly handle per-pipe NTLMSSP inside a NULL session.  Previously we
would attempt to supply a password to the 'inside' NTLMSSP, which the
remote side naturally rejected.

Andrew Bartlett


Revisions:
cli_pipe.c  1.79.2.42 = 1.79.2.43

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.42r2=1.79.2.43


CVS update: samba/source/rpc_client

2003-12-04 Thread jerry

Date:   Thu Dec  4 20:35:36 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv32220/source/rpc_client

Modified Files:
  Tag: SAMBA_3_0_RELEASE
cli_netlogon.c cli_pipe.c cli_samr.c 
Log Message:
syncing tree for 3.0.1rc1

Revisions:
cli_netlogon.c  1.80.2.3 = 1.80.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.80.2.3r2=1.80.2.4
cli_pipe.c  1.100.2.5 = 1.100.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.100.2.5r2=1.100.2.6
cli_samr.c  1.78.2.4 = 1.78.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.78.2.4r2=1.78.2.5


CVS update: samba/source/rpc_client

2003-11-25 Thread abartlet

Date:   Tue Nov 25 11:25:38 2003
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv6595/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
Do not add NTLM2 to the NTLMSSP flags unconditionally - allow the
defaults specified by the caller to prevail.

Don't use NTLM2 for RPC pipes, until we know how it works in signing or sealing.

Call ntlmssp_sign_init() unconditionally in the client - we setup the
session key, why not setup the rest of the data.  

Andrew Bartlett



Revisions:
cli_pipe.c  1.79.2.41 = 1.79.2.42

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.41r2=1.79.2.42


CVS update: samba/source/rpc_client

2003-11-25 Thread abartlet

Date:   Wed Nov 26 00:07:55 2003
Author: abartlet

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv18271/source/rpc_client

Modified Files:
cli_pipe.c 
Log Message:
Merge from 3.0:

 - NTLM2 fixes, don't force NTLM2
 - Don't use NTLM2 for RPC, it doesn't work yet
 - Add comments to winbindd_pam.c
 - Merge 64 bit fixes and better debug messages in winbindd.c

Andrew Bartlett


Revisions:
cli_pipe.c  1.107 = 1.108

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.107r2=1.108


CVS update: samba/source/rpc_client

2003-11-24 Thread jerry

Date:   Mon Nov 24 20:22:12 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv24677/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
strequal() returns a BOOL, not an int like strcmp(); this fixes a bug in 
check_bind_response()

Revisions:
cli_pipe.c  1.79.2.40 = 1.79.2.41

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.40r2=1.79.2.41


CVS update: samba/source/rpc_client

2003-11-24 Thread jerry

Date:   Mon Nov 24 20:22:41 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv24724/rpc_client

Modified Files:
cli_pipe.c 
Log Message:
strequal() returns a BOOL, not an int like strcmp(); this fixes a bug in 
check_bind_response()

Revisions:
cli_pipe.c  1.106 = 1.107

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.106r2=1.107


CVS update: samba/source/rpc_client

2003-11-22 Thread abartlet

Date:   Sat Nov 22 13:29:02 2003
Author: abartlet

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv23686/rpc_client

Modified Files:
cli_netlogon.c cli_pipe.c cli_samr.c 
Log Message:
(merge from 3.0)

Changes all over the shop, but all towards:
 - NTLM2 support in the server
 - KEY_EXCH support in the server
 - variable length session keys.

In detail:

 - NTLM2 is an extension of NTLMv1, that is compatible with existing
domain controllers (unlike NTLMv2, which requires a DC upgrade).

 * This is known as 'NTLMv2 session security' *

(This is not yet implemented on the RPC pipes however, so there may
well still be issues for PDC setups, particuarly around password
changes.  We do not fully understand the sign/seal implications of
NTLM2 on RPC pipes.)

This requires modifications to our authentication subsystem, as we
must handle the 'challege' input into the challenge-response algorithm
being changed.  This also needs to be turned off for
'security=server', which does not support this.

- KEY_EXCH is another 'security' mechanism, whereby the session key
actually used by the server is sent by the client, rather than being
the shared-secret directly or indirectly.

- As both these methods change the session key, the auth subsystem
needed to be changed, to 'override' session keys provided by the
backend.

- There has also been a major overhaul of the NTLMSSP subsystem, to
merge the 'client' and 'server' functions, so they both operate on a
single structure.  This should help the SPNEGO implementation.

- The 'names blob' in NTLMSSP is always in unicode - never in ascii.
Don't make an ascii version ever.

- The other big change is to allow variable length session keys.  We
have always assumed that session keys are 16 bytes long - and padded
to this length if shorter.  However, Kerberos session keys are 8 bytes
long, when the krb5 login uses DES.

 * This fix allows SMB signging on machines not yet running MIT KRB5 1.3.1. *

- Add better DEBUG() messages to ntlm_auth, warning administrators of
misconfigurations that prevent access to the privileged pipe.  This
should help reduce some of the 'it just doesn't work' issues.

- Fix data_blob_talloc() to behave the same way data_blob() does when
passed a NULL data pointer.  (just allocate)


REMEMBER to make clean after this commit - I have changed plenty of
data structures...  

Andrew Bartlett



Revisions:
cli_netlogon.c  1.83 = 1.84

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.83r2=1.84
cli_pipe.c  1.105 = 1.106

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.105r2=1.106
cli_samr.c  1.81 = 1.82

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.81r2=1.82


CVS update: samba/source/rpc_client

2003-11-22 Thread abartlet

Date:   Sat Nov 22 23:38:41 2003
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv27209/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_samr.c 
Log Message:
Add support for variable-length session keys in our client code.

This means that we now support 'net rpc join' with KRB5 (des based)
logins.  Now, you need to hack 'net' to do that, but the principal is
important...

When we add kerberos to 'net rpc', it should be possible to still do
user management and the like over RPC.

(server-side support to follow shortly)

Andrew Bartlett

Revisions:
cli_samr.c  1.68.2.14 = 1.68.2.15

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.68.2.14r2=1.68.2.15


CVS update: samba/source/rpc_client

2003-11-17 Thread vlendec

Date:   Mon Nov 17 18:00:43 2003
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv20841

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
This fixes a bug when establishing trust against a german W2k3 AD server. In
the bind response to WKSSVC it does not send \PIPE\ntsvcs as NT4 (did not
check w2k) but \PIPE\wkssvc. I'm not sure whether we should make this check at
all, so making it a bit more liberal should hopefully not really hurt.

Volker


Revisions:
cli_pipe.c  1.79.2.38 = 1.79.2.39

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.38r2=1.79.2.39


CVS update: samba/source/rpc_client

2003-11-17 Thread vlendec

Date:   Mon Nov 17 18:01:28 2003
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv20946

Modified Files:
cli_pipe.c 
Log Message:
From 3_0:

This fixes a bug when establishing trust against a german W2k3 AD server. In
the bind response to WKSSVC it does not send \PIPE\ntsvcs as NT4 (did not
check w2k) but \PIPE\wkssvc. I'm not sure whether we should make this check at
all, so making it a bit more liberal should hopefully not really hurt.

Volker


Revisions:
cli_pipe.c  1.104 = 1.105

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.104r2=1.105


CVS update: samba/source/rpc_client

2003-11-07 Thread jerry

Date:   Fri Nov  7 15:52:24 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv13296/source/rpc_client

Modified Files:
  Tag: SAMBA_3_0_RELEASE
cli_lsarpc.c cli_samr.c 
Log Message:
 syncing tree with SAMBA_3_0

Revisions:
cli_lsarpc.c1.76.2.2 = 1.76.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.76.2.2r2=1.76.2.3
cli_samr.c  1.78.2.3 = 1.78.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.78.2.3r2=1.78.2.4


CVS update: samba/source/rpc_client

2003-11-07 Thread jerry

Date:   Fri Nov  7 16:09:24 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv17842/source/rpc_client

Added Files:
  Tag: SAMBA_3_0_RELEASE
cli_shutdown.c 
Log Message:
adding files from 3.0

Revisions:
cli_shutdown.c  NONE = 1.1.4.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_shutdown.c?rev=1.1.4.1


CVS update: samba/source/rpc_client

2003-10-30 Thread jmcd

Date:   Thu Oct 30 17:07:32 2003
Author: jmcd

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv12122/rpc_client

Modified Files:
cli_lsarpc.c 
Log Message:
Another round of GUID-struct uuid.

Takes care of the lsass pipe


Revisions:
cli_lsarpc.c1.81 = 1.82

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.81r2=1.82


CVS update: samba/source/rpc_client

2003-10-24 Thread jmcd

Date:   Fri Oct 24 13:38:13 2003
Author: jmcd

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv26797/rpc_client

Added Files:
cli_shutdown.c 
Log Message:
New files for support of initshutdown pipe.  Win2k doesn't respond properly
to all requests on the winreg pipe, so we need to handle this new pipe.

First part of fix for bug #534


Revisions:
cli_shutdown.c  NONE = 1.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_shutdown.c?rev=1.1


CVS update: samba/source/rpc_client

2003-10-24 Thread jmcd

Date:   Fri Oct 24 13:38:15 2003
Author: jmcd

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv26725/rpc_client

Added Files:
  Tag: SAMBA_3_0
cli_shutdown.c 
Log Message:
New files for support of initshutdown pipe.  Win2k doesn't respond properly
to all requests on the winreg pipe, so we need to handle this new pipe.

First part of fix for bug #534


Revisions:
cli_shutdown.c  NONE = 1.1.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_shutdown.c?rev=1.1.2.1


CVS update: samba/source/rpc_client

2003-10-22 Thread vlendec

Date:   Wed Oct 22 07:29:18 2003
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv4311

Modified Files:
  Tag: SAMBA_3_0
cli_lsarpc.c 
Log Message:
In cli_lsa_lookup_sids don't leave the domain field uninitialized if
some sid could not be mapped. Otherwise this call is unnecessarily
complicated to call.

Volker


Revisions:
cli_lsarpc.c1.68.2.7 = 1.68.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.68.2.7r2=1.68.2.8


CVS update: samba/source/rpc_client

2003-10-22 Thread vlendec

Date:   Wed Oct 22 07:31:17 2003
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv4859

Modified Files:
cli_lsarpc.c 
Log Message:
Merge from 3_0:

In cli_lsa_lookup_sids don't leave the domain field uninitialized if
some sid could not be mapped. Otherwise this call is unnecessarily
complicated to call.

Volker


Revisions:
cli_lsarpc.c1.80 = 1.81

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.80r2=1.81


CVS update: samba/source/rpc_client

2003-10-20 Thread vlendec

Date:   Mon Oct 20 15:42:09 2003
Author: vlendec

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv30881

Modified Files:
  Tag: SAMBA_3_0
cli_samr.c 
Log Message:
It's a perfectly valid condition to have zero alias members.

Volker


Revisions:
cli_samr.c  1.68.2.12 = 1.68.2.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.68.2.12r2=1.68.2.13


CVS update: samba/source/rpc_client

2003-10-20 Thread jra

Date:   Mon Oct 20 19:04:06 2003
Author: jra

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv27773/rpc_client

Modified Files:
cli_samr.c 
Log Message:
Merge Volker's fix.

It's a perfectly valid condition to have zero alias members.

Jeremy.


Revisions:
cli_samr.c  1.80 = 1.81

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.80r2=1.81


CVS update: samba/source/rpc_client

2003-10-17 Thread jmcd

Date:   Sat Oct 18 01:13:01 2003
Author: jmcd

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv18070/rpc_client

Added Files:
cli_epmapper.c 
Log Message:
Add client side code to do endpoint map queries.  Currently does one
fixed query.  Updates to come soon.


Revisions:
cli_epmapper.c  NONE = 1.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_epmapper.c?rev=1.1


CVS update: samba/source/rpc_client

2003-10-10 Thread jerry

Date:   Fri Oct 10 18:04:00 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv8527/source/rpc_client

Modified Files:
  Tag: SAMBA_3_0_RELEASE
cli_lsarpc.c cli_pipe.c cli_srvsvc.c 
Log Message:
syncing up for 3.0.1pre1

Revisions:
cli_lsarpc.c1.76.2.1 = 1.76.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.76.2.1r2=1.76.2.2
cli_pipe.c  1.100.2.4 = 1.100.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.100.2.4r2=1.100.2.5
cli_srvsvc.c1.29.2.1 = 1.29.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_srvsvc.c.diff?r1=1.29.2.1r2=1.29.2.2


CVS update: samba/source/rpc_client

2003-10-05 Thread idra

Date:   Mon Oct  6 01:24:47 2003
Author: idra

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv10048/rpc_client

Modified Files:
cli_lsarpc.c 
Log Message:

split some security related functions in their own files.
(no need to include all of smbd files to use some basic sec functions)

also minor compile fixes




Revisions:
cli_lsarpc.c1.79 = 1.80

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.79r2=1.80


CVS update: samba/source/rpc_client

2003-10-05 Thread idra

Date:   Mon Oct  6 01:38:46 2003
Author: idra

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv9970/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_lsarpc.c 
Log Message:

split some security related functions in their own files.
(no need to include all of smbd files to use some basic sec functions)

also minor compile fixes
couldn't compile to test these due to some kerberos problems wirh 3.0,
but on HEAD they're working well, so I suppose it's ok to commit



Revisions:
cli_lsarpc.c1.68.2.6 = 1.68.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.68.2.6r2=1.68.2.7


CVS update: samba/source/rpc_client

2003-10-01 Thread jerry

Date:   Wed Oct  1 21:18:31 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv27672/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
commit sign only patch from Andrew; bug 167; tested using 2k  XP clientspreviously 
joined to the Samba domain

Revisions:
cli_pipe.c  1.79.2.37 = 1.79.2.38

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.37r2=1.79.2.38


CVS update: samba/source/rpc_client

2003-10-01 Thread jerry

Date:   Wed Oct  1 22:00:19 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv551/rpc_client

Modified Files:
cli_pipe.c 
Log Message:
commit sign only patch from Andrew; bug 167; tested using 2k  XP clientspreviously 
joined to the Samba domain

Revisions:
cli_pipe.c  1.103 = 1.104

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.103r2=1.104


CVS update: samba/source/rpc_client

2003-09-29 Thread tpot

Date:   Mon Sep 29 06:17:08 2003
Author: tpot

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv12972/source/rpc_client

Modified Files:
cli_srvsvc.c 
Log Message:
Merge from 3.0:

Fix for #480. Change the interface for init_unistr2 to not take a length
but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le 
string.
This is not the case. Count it after conversion.
Jeremy.


Revisions:
cli_srvsvc.c1.30 = 1.31

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_srvsvc.c.diff?r1=1.30r2=1.31


CVS update: samba/source/rpc_client

2003-09-27 Thread jerry

Date:   Sat Sep 27 16:54:34 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv10870/source/rpc_client

Modified Files:
  Tag: APPLIANCE_HEAD
cli_samr.c cli_srvsvc.c 
Log Message:
syncing tree with 3.0

Revisions:
cli_samr.c  1.60.2.4 = 1.60.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.60.2.4r2=1.60.2.5
cli_srvsvc.c1.15.2.3 = 1.15.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_srvsvc.c.diff?r1=1.15.2.3r2=1.15.2.4


CVS update: samba/source/rpc_client

2003-09-22 Thread jerry

Date:   Mon Sep 22 17:53:59 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv2214/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_samr.c 
Log Message:
fix some warnings found by the Sun C compiler

Revisions:
cli_samr.c  1.68.2.11 = 1.68.2.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.68.2.11r2=1.68.2.12


CVS update: samba/source/rpc_client

2003-09-22 Thread jerry

Date:   Mon Sep 22 17:54:33 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv2503/rpc_client

Modified Files:
cli_samr.c 
Log Message:
fix some warnings found by the Sun C compiler

Revisions:
cli_samr.c  1.79 = 1.80

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.79r2=1.80


CVS update: samba/source/rpc_client

2003-09-22 Thread jerry

Date:   Mon Sep 22 18:24:08 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv6387/rpc_client

Modified Files:
  Tag: SAMBA_3_0_RELEASE
cli_samr.c 
Log Message:
fix some warnings found by the Sun C compiler

Revisions:
cli_samr.c  1.78.2.2 = 1.78.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.78.2.2r2=1.78.2.3


CVS update: samba/source/rpc_client

2003-09-08 Thread jerry

Date:   Tue Sep  9 04:07:17 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv31563/rpc_client

Modified Files:
cli_netlogon.c cli_pipe.c cli_spoolss.c 
Log Message:
sync 3.0 into HEAD for the last time



Revisions:
cli_netlogon.c  1.82 = 1.83

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.82r2=1.83
cli_pipe.c  1.102 = 1.103

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.102r2=1.103
cli_spoolss.c   1.55 = 1.56

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c.diff?r1=1.55r2=1.56


CVS update: samba/source/rpc_client

2003-09-02 Thread jerry

Date:   Tue Sep  2 23:13:42 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv29955/rpc_client

Added Files:
  Tag: APPLIANCE_HEAD
.cvsignore cli_dfs.c cli_echo.c cli_lsarpc.c cli_reg.c 
cli_samr.c cli_spoolss.c cli_spoolss_notify.c cli_srvsvc.c 
cli_wkssvc.c 
Log Message:
another round of merges from 3.0

Revisions:
.cvsignore  NONE = 1.2.6.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/.cvsignore?rev=1.2.6.1
cli_dfs.c   NONE = 1.3.4.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_dfs.c?rev=1.3.4.1
cli_echo.c  NONE = 1.1.6.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_echo.c?rev=1.1.6.1
cli_lsarpc.c1.51.2.4 = 1.51.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.51.2.4r2=1.51.2.5
cli_reg.c   1.36.2.3 = 1.36.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_reg.c.diff?r1=1.36.2.3r2=1.36.2.4
cli_samr.c  1.60.2.3 = 1.60.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.60.2.3r2=1.60.2.4
cli_spoolss.c   1.21.2.7 = 1.21.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c.diff?r1=1.21.2.7r2=1.21.2.8
cli_spoolss_notify.c1.1.4.5 = 1.1.4.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss_notify.c.diff?r1=1.1.4.5r2=1.1.4.6
cli_srvsvc.c1.15.2.2 = 1.15.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_srvsvc.c.diff?r1=1.15.2.2r2=1.15.2.3
cli_wkssvc.c1.10.2.1 = 1.10.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_wkssvc.c.diff?r1=1.10.2.1r2=1.10.2.2


CVS update: samba/source/rpc_client

2003-08-28 Thread jerry

Date:   Thu Aug 28 16:21:37 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv26530/source/rpc_client

Modified Files:
  Tag: SAMBA_3_0_RELEASE
cli_netlogon.c cli_pipe.c cli_spoolss.c 
Log Message:
syncing files from 3.0

Revisions:
cli_netlogon.c  1.80.2.2 = 1.80.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.80.2.2r2=1.80.2.3
cli_pipe.c  1.100.2.3 = 1.100.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.100.2.3r2=1.100.2.4
cli_spoolss.c   1.54.2.2 = 1.54.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c.diff?r1=1.54.2.2r2=1.54.2.3


CVS update: samba/source/rpc_client

2003-08-19 Thread jerry

Date:   Tue Aug 19 16:56:53 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv27092/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_spoolss.c 
Log Message:
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.



Revisions:
cli_spoolss.c   1.37.2.11 = 1.37.2.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c.diff?r1=1.37.2.11r2=1.37.2.12


CVS update: samba/source/rpc_client

2003-08-19 Thread abartlet

Date:   Tue Aug 19 20:39:32 2003
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv30318/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_netlogon.c cli_pipe.c 
Log Message:
- Fix the kerberos downgrade problem:
 - When connecting to the NETOGON pipe, we make a call to auth2, in order
   to verify our identity.  This call was being made with negotiation flags
   of 0x1ff.  This caused our account to be downgraded.  If we instead make
   the call with flags  1ff (such as 0x701ff), then this does not occour.

 - This is *not* related to the use of kerberos for the CIFS-level connection

My theory is that Win2k has a test to see if we are sending *exactly* what
NT4 sent - setting any other flags seems to cause us to remain intact.

Also ensure that we only have 'setup schannel' code in a few places, not
scattered around cmd_netlogon too.

Andrew Bartlett


Revisions:
cli_netlogon.c  1.69.2.12 = 1.69.2.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.69.2.12r2=1.69.2.13
cli_pipe.c  1.79.2.36 = 1.79.2.37

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.36r2=1.79.2.37


CVS update: samba/source/rpc_client

2003-08-15 Thread jerry

Date:   Fri Aug 15 17:50:03 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv22432/rpc_client

Modified Files:
  Tag: SAMBA_3_0_RELEASE
cli_ds.c cli_netlogon.c cli_pipe.c cli_spoolss.c cli_srvsvc.c 
Log Message:
syncing up to 3.0.0rc1

Revisions:
cli_ds.c1.4 = 1.4.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_ds.c.diff?r1=1.4r2=1.4.2.1
cli_netlogon.c  1.80.2.1 = 1.80.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.80.2.1r2=1.80.2.2
cli_pipe.c  1.100.2.2 = 1.100.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.100.2.2r2=1.100.2.3
cli_spoolss.c   1.54.2.1 = 1.54.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c.diff?r1=1.54.2.1r2=1.54.2.2
cli_srvsvc.c1.29 = 1.29.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_srvsvc.c.diff?r1=1.29r2=1.29.2.1


CVS update: samba/source/rpc_client

2003-08-14 Thread abartlet

Date:   Thu Aug 14 01:08:00 2003
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv5394/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
Change Samba to always use extended security for it's guest logins, (ie, 
NTLMSSP with  username, NULL password), and add --machine-pass (-P) to
all of Samba's clients.

When connecting to an Active Directory DC, you must initiate the CIFS level
session setup with Kerberos, not a guest login.  If you don't, your machine
account is demoted to NT4.

Andrew Bartlett


Revisions:
cli_pipe.c  1.79.2.34 = 1.79.2.35

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.34r2=1.79.2.35


CVS update: samba/source/rpc_client

2003-08-14 Thread herb

Date:   Fri Aug 15 04:42:04 2003
Author: herb

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv7162/samba/source/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_netlogon.c cli_pipe.c cli_spoolss.c 
Log Message:
get rid of more compiler warnings


Revisions:
cli_netlogon.c  1.69.2.11 = 1.69.2.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.69.2.11r2=1.69.2.12
cli_pipe.c  1.79.2.35 = 1.79.2.36

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.35r2=1.79.2.36
cli_spoolss.c   1.37.2.10 = 1.37.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c.diff?r1=1.37.2.10r2=1.37.2.11


CVS update: samba/source/rpc_client

2003-07-30 Thread jerry

Date:   Wed Jul 30 17:29:00 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv1517/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_ds.c 
Log Message:
add support for DsEnumerateDomainTrusted for enumerating all the 
trusted domains in a forest.



Revisions:
cli_ds.c1.2.2.3 = 1.2.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_ds.c.diff?r1=1.2.2.3r2=1.2.2.4


CVS update: samba/source/rpc_client

2003-07-30 Thread jerry

Date:   Wed Jul 30 17:37:46 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv2451/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_ds.c 
Log Message:
add a few more tidy ups.  Now onto winbindd



Revisions:
cli_ds.c1.2.2.4 = 1.2.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_ds.c.diff?r1=1.2.2.4r2=1.2.2.5


CVS update: samba/source/rpc_client

2003-07-30 Thread jra

Date:   Wed Jul 30 23:33:56 2003
Author: jra

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv6019/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
Save us from possibly uninitialised variable (caught by gcc).
Jeremy.


Revisions:
cli_pipe.c  1.79.2.32 = 1.79.2.33

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.32r2=1.79.2.33


CVS update: samba/source/rpc_client

2003-07-30 Thread jerry

Date:   Thu Jul 31 05:43:47 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv8891/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_ds.c 
Log Message:
working on transtive trusts issue:

  * use DsEnumerateDomainTrusts() instead of LDAP search.
wbinfo -m now lists all trusted downlevel domains and 
all domains in the forest.

Thnigs to do:  

  o Look at Krb5 connection trusted domains
  o make sure to initial the trusted domain cache as soon
as possible



Revisions:
cli_ds.c1.2.2.5 = 1.2.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_ds.c.diff?r1=1.2.2.5r2=1.2.2.6


CVS update: samba/source/rpc_client

2003-07-25 Thread jerry

Date:   Fri Jul 25 18:00:57 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv22525/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
domain in schannel bind credentials must be the dest domain, not ours

Revisions:
cli_pipe.c  1.79.2.31 = 1.79.2.32

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.31r2=1.79.2.32


CVS update: samba/source/rpc_client

2003-07-24 Thread abartlet

Date:   Fri Jul 25 01:26:19 2003
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv12421/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
Schannel, once setup, may be used on *ANY* TCP/IP connection until the 
connection that set it up has been shut down.

(Also, pipes still connected, and reconnections to the same pipe (eg SAMR)
may continue to use that session key until their TCP/IP connection is shut
down)

Allow further testing by printing out the session key, and allowing it's input
into rpcclient.

Next step is automatic storage in a TDB.

Andrew Bartlett


Revisions:
cli_pipe.c  1.79.2.30 = 1.79.2.31

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.30r2=1.79.2.31


CVS update: samba/source/rpc_client

2003-07-23 Thread tpot

Date:   Wed Jul 23 07:14:33 2003
Author: tpot

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv20417

Modified Files:
  Tag: SAMBA_3_0
cli_netlogon.c 
Log Message:
Fix out of date comment.


Revisions:
cli_netlogon.c  1.69.2.10 = 1.69.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.69.2.10r2=1.69.2.11


CVS update: samba/source/rpc_client

2003-07-16 Thread abartlet

Date:   Thu Jul 17 01:34:05 2003
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv29053/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
In the presense of RPC fragments, schannel is not strictly request/reply,
so the shared sequence number will not be strictly odd/even.

Andrew Bartlett


Revisions:
cli_pipe.c  1.79.2.29 = 1.79.2.30

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.29r2=1.79.2.30


CVS update: samba/source/rpc_client

2003-07-16 Thread jerry

Date:   Thu Jul 17 02:49:25 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv7518/rpc_client

Modified Files:
cli_lsarpc.c 
Log Message:
fix the build.  Ifdef out some code



Revisions:
cli_lsarpc.c1.77 = 1.78

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.77r2=1.78


CVS update: samba/source/rpc_client

2003-07-15 Thread jerry

Date:   Tue Jul 15 21:33:28 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv31805/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
fix schannel processing on fragmented PDUs.  'net rpc vampire' works again.





Revisions:
cli_pipe.c  1.79.2.27 = 1.79.2.28

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.27r2=1.79.2.28


CVS update: samba/source/rpc_client

2003-07-15 Thread abartlet

Date:   Wed Jul 16 03:22:43 2003
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv26442/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
Fix up our auth_pipe code to always cope with fragmented datagrams,
in both SCHANNEL and NTLMSSP.

(Try not to deal with a general case as individual special cases...)

Andrew Bartlett


Revisions:
cli_pipe.c  1.79.2.28 = 1.79.2.29

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.28r2=1.79.2.29


CVS update: samba/source/rpc_client

2003-07-15 Thread jerry

Date:   Wed Jul 16 04:26:04 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv30855/source/rpc_client

Modified Files:
  Tag: SAMBA_3_0_RELEASE
cli_pipe.c cli_spoolss.c 
Log Message:
starting to sync up for beta3

Revisions:
cli_pipe.c  1.100.2.1 = 1.100.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.100.2.1r2=1.100.2.2
cli_spoolss.c   1.54 = 1.54.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c.diff?r1=1.54r2=1.54.2.1


CVS update: samba/source/rpc_client

2003-07-15 Thread jerry

Date:   Wed Jul 16 05:34:45 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv4827/source/rpc_client

Modified Files:
cli_lsarpc.c cli_netlogon.c cli_pipe.c cli_samr.c 
cli_spoolss.c 
Log Message:
trying to get HEAD building again.  If you want the code
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE



Revisions:
cli_lsarpc.c1.76 = 1.77

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.76r2=1.77
cli_netlogon.c  1.80 = 1.81

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.80r2=1.81
cli_pipe.c  1.100 = 1.101

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.100r2=1.101
cli_samr.c  1.78 = 1.79

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.78r2=1.79
cli_spoolss.c   1.54 = 1.55

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c.diff?r1=1.54r2=1.55


CVS update: samba/source/rpc_client

2003-07-14 Thread abartlet

Date:   Mon Jul 14 12:56:30 2003
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv31336/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c 
Log Message:
Fix compile error noticed by Ken Cross, use the utility function instead
of an inline replacement...

Andrew Bartlett


Revisions:
cli_pipe.c  1.79.2.26 = 1.79.2.27

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.26r2=1.79.2.27


CVS update: samba/source/rpc_client

2003-07-03 Thread jra

Date:   Thu Jul  3 19:11:30 2003
Author: jra

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv12062/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_pipe.c cli_spoolss.c 
Log Message:
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.


Revisions:
cli_pipe.c  1.79.2.24 = 1.79.2.25

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.79.2.24r2=1.79.2.25
cli_spoolss.c   1.37.2.9 = 1.37.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c.diff?r1=1.37.2.9r2=1.37.2.10


CVS update: samba/source/rpc_client

2003-06-06 Thread jerry

Date:   Fri Jun  6 14:53:26 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/home/jerry/src/samba_3_0_release/source/rpc_client

Modified Files:
  Tag: SAMBA_3_0_RELEASE
cli_lsarpc.c cli_netlogon.c cli_pipe.c cli_samr.c 
Log Message:
working on creating the 3.0 release tree

Revisions:
cli_lsarpc.c1.76 = 1.76.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.76r2=1.76.2.1
cli_netlogon.c  1.80 = 1.80.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c.diff?r1=1.80r2=1.80.2.1
cli_pipe.c  1.100 = 1.100.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_pipe.c.diff?r1=1.100r2=1.100.2.1
cli_samr.c  1.78 = 1.78.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c.diff?r1=1.78r2=1.78.2.1


CVS update: samba/source/rpc_client

2003-04-03 Thread tpot

Date:   Fri Apr  4 00:52:42 2003
Author: tpot

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv2569/rpc_client

Modified Files:
cli_samr.c 
Log Message:
SAMR lookupdomain rpc client patches from amber palekar [EMAIL PROTECTED]


Revisions:
cli_samr.c  1.75 = 1.76

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c?r1=1.75r2=1.76


CVS update: samba/source/rpc_client

2003-03-24 Thread abartlet

Date:   Mon Mar 24 09:54:12 2003
Author: abartlet

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv20023/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_netlogon.c 
Log Message:
(merge from HEAD)

NTLM Authentication:

- Add a 'privileged' mode to Winbindd.  This is achieved by means of a directory
  under lockdir, that the admin can change the group access for.

- This mode is now required to access with 'CRAP' authentication feature.
- This *will* break the current SQUID helper, so I've fixed up our ntlm_auth
  replacement:
 - Update our NTLMSSP code to cope with 'datagram' mode, where we don't get a
   challenge.
 - Use this to make our ntlm_auth utility suitable for use in current Squid 2.5
   servers.
 - Tested - works for Win2k clients, but not Win9X at present.  NTLMSSP updates
   are needed.
 - Now uses fgets(), not x_fgets() to cope with Squid environment (I think 
   somthing to do with non-blocking stdin).

- Add much more robust connection code to wb_common.c - it will not connect to 
  a server of a different protocol version, and it will automatically try and 
  reconnect to the 'privileged' pipe if possible.
  - This could help with 'privileged' idmap operations etc in future.

- Add a generic HEX encode routine to util_str.c, 
- fix a small line of dodgy C in StrnCpy_fn()

- Correctly pull our 'session key' out of the info3 from th the DC.  This is 
  used in both the auth code, and in for export over the winbind pipe to 
  ntlm_auth.

- Given the user's challenge/response and access to the privileged pipe, 
  allow external access to the 'session key'.  To be used for MSCHAPv2 
  integration.  

Andrew Bartlett


Revisions:
cli_netlogon.c  1.69.2.4 = 1.69.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c?r1=1.69.2.4r2=1.69.2.5


CVS update: samba/source/rpc_client

2003-03-23 Thread abartlet

Date:   Sun Mar 23 13:03:24 2003
Author: abartlet

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv8009/rpc_client

Modified Files:
cli_netlogon.c 
Log Message:
NTLM Authentication:

- Add a 'privileged' mode to Winbindd.  This is achieved by means of a directory
  under lockdir, that the admin can change the group access for.

- This mode is now required to access with 'CRAP' authentication feature.
- This *will* break the current SQUID helper, so I've fixed up our ntlm_auth
  replacement:
 - Update our NTLMSSP code to cope with 'datagram' mode, where we don't get a
   challenge.
 - Use this to make our ntlm_auth utility suitable for use in current Squid 2.5
   servers.
 - Tested - works for Win2k clients, but not Win9X at present.  NTLMSSP updates
   are needed.
 - Now uses fgets(), not x_fgets() to cope with Squid environment (I think 
   somthing to do with non-blocking stdin).

- Add much more robust connection code to wb_common.c - it will not connect to 
  a server of a different protocol version, and it will automatically try and 
  reconnect to the 'privileged' pipe if possible.
  - This could help with 'privileged' idmap operations etc in future.

- Add a generic HEX encode routine to util_str.c, 
- fix a small line of dodgy C in StrnCpy_fn()

- Correctly pull our 'session key' out of the info3 from th the DC.  This is 
  used in both the auth code, and in for export over the winbind pipe to 
  ntlm_auth.

- Given the user's challenge/response and access to the privileged pipe, 
  allow external access to the 'session key'.  To be used for MSCHAPv2 
  integration.  

Andrew Bartlett




Revisions:
cli_netlogon.c  1.76 = 1.77

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c?r1=1.76r2=1.77


CVS update: samba/source/rpc_client

2003-03-19 Thread tpot

Date:   Thu Mar 20 01:02:46 2003
Author: tpot

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv22987/rpc_client

Added Files:
  Tag: SAMBA_3_0
.cvsignore 
Log Message:
Merge new .cvsignore files.


Revisions:
.cvsignore  NONE = 1.2.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/.cvsignore?rev=1.2.2.1


CVS update: samba/source/rpc_client

2003-03-17 Thread mbp

Date:   Tue Mar 18 05:51:41 2003
Author: mbp

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv2933/rpc_client

Added Files:
.cvsignore 
Log Message:
Ignore .po and .po32 files.


Revisions:
.cvsignore  1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/.cvsignore?r1=1.1r2=1.2


CVS update: samba/source/rpc_client

2003-03-14 Thread jerry

Date:   Fri Mar 14 21:21:36 2003
Author: jerry

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv26998/source/rpc_client

Modified Files:
  Tag: SAMBA_2_2_RELEASE
cli_spoolss_notify.c cli_trust.c 
Log Message:
more syncs with SAMBA_2_2

Revisions:
cli_spoolss_notify.c1.1.2.2.2.5 = 1.1.2.2.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss_notify.c?r1=1.1.2.2.2.5r2=1.1.2.2.2.6
cli_trust.c 1.4.2.4 = 1.4.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_trust.c?r1=1.4.2.4r2=1.4.2.5


CVS update: samba/source/rpc_client

2003-02-25 Thread tpot

Date:   Tue Feb 25 23:34:56 2003
Author: tpot

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv2303/rpc_client

Modified Files:
cli_dfs.c cli_lsarpc.c cli_netlogon.c cli_spoolss.c 
cli_srvsvc.c 
Log Message:
More const fixes and flow on fixes from yesterday's const-fest.


Revisions:
cli_dfs.c   1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_dfs.c?r1=1.2r2=1.3
cli_lsarpc.c1.75 = 1.76

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c?r1=1.75r2=1.76
cli_netlogon.c  1.75 = 1.76

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c?r1=1.75r2=1.76
cli_spoolss.c   1.53 = 1.54

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c?r1=1.53r2=1.54
cli_srvsvc.c1.28 = 1.29

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_srvsvc.c?r1=1.28r2=1.29


CVS update: samba/source/rpc_client

2003-02-25 Thread tpot

Date:   Tue Feb 25 23:51:55 2003
Author: tpot

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv4447/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_dfs.c cli_lsarpc.c cli_netlogon.c cli_spoolss.c 
cli_srvsvc.c 
Log Message:
Merge: const fixes.


Revisions:
cli_dfs.c   1.2.2.1 = 1.2.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_dfs.c?r1=1.2.2.1r2=1.2.2.2
cli_lsarpc.c1.68.2.5 = 1.68.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c?r1=1.68.2.5r2=1.68.2.6
cli_netlogon.c  1.69.2.3 = 1.69.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_netlogon.c?r1=1.69.2.3r2=1.69.2.4
cli_spoolss.c   1.37.2.8 = 1.37.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c?r1=1.37.2.8r2=1.37.2.9
cli_srvsvc.c1.21.2.3 = 1.21.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_srvsvc.c?r1=1.21.2.3r2=1.21.2.4


CVS update: samba/source/rpc_client

2003-02-25 Thread tpot

Date:   Wed Feb 26 00:06:59 2003
Author: tpot

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv6463

Modified Files:
  Tag: SAMBA_3_0
cli_samr.c 
Log Message:
Merge of exit path cleanup for EnumDomainUsers.


Revisions:
cli_samr.c  1.68.2.4 = 1.68.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c?r1=1.68.2.4r2=1.68.2.5


CVS update: samba/source/rpc_client

2003-02-23 Thread tpot

Date:   Mon Feb 24 02:12:39 2003
Author: tpot

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv14355

Modified Files:
cli_samr.c 
Log Message:
Merge:

 Exit path cleanup for cli_samr_enum_dom_users()


Revisions:
cli_samr.c  1.74 = 1.75

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c?r1=1.74r2=1.75


CVS update: samba/source/rpc_client

2003-02-20 Thread tpot

Date:   Fri Feb 21 04:26:58 2003
Author: tpot

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv14580/rpc_client

Modified Files:
cli_samr.c 
Log Message:
Exit path cleanup for cli_samr_enum_dom_users()


Revisions:
cli_samr.c  1.73 = 1.74

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c?r1=1.73r2=1.74



CVS update: samba/source/rpc_client

2003-02-19 Thread tpot

Date:   Wed Feb 19 22:51:18 2003
Author: tpot

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv27720/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_srvsvc.c 
Log Message:
Merge NTSTATUS vs WERROR return for cli_srvsvc_net_srv_get_info()


Revisions:
cli_srvsvc.c1.21.2.2 = 1.21.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_srvsvc.c?r1=1.21.2.2r2=1.21.2.3



CVS update: samba/source/rpc_client

2003-02-16 Thread tpot

Date:   Mon Feb 17 04:35:32 2003
Author: tpot

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv12329/rpc_client

Modified Files:
cli_srvsvc.c 
Log Message:
Return a WERROR instead of a NTSTATUS like the rest of the srvsvc
rpc calls.


Revisions:
cli_srvsvc.c1.27 = 1.28

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_srvsvc.c?r1=1.27r2=1.28



CVS update: samba/source/rpc_client

2003-02-14 Thread jra

Date:   Fri Feb 14 23:04:02 2003
Author: jra

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv25945/rpc_client

Modified Files:
cli_spoolss.c 
Log Message:
Ensure that only parse_prs.c access internal members of the prs_struct.
Needed to move to disk based i/o later.
Jeremy.


Revisions:
cli_spoolss.c   1.52 = 1.53

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_spoolss.c?r1=1.52r2=1.53



CVS update: samba/source/rpc_client

2003-02-12 Thread tridge

Date:   Wed Feb 12 09:14:35 2003
Author: tridge

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv20050/rpc_client

Modified Files:
cli_lsarpc.c 
Log Message:
initial server side privileges implementation, using a tdb. This needs to be hooked 
into pdb, and we need some access control on changing privileges. That's next

Revisions:
cli_lsarpc.c1.74 = 1.75

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c?r1=1.74r2=1.75



CVS update: samba/source/rpc_client

2003-02-10 Thread tridge

Date:   Mon Feb 10 11:31:08 2003
Author: tridge

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv14267

Modified Files:
cli_lsarpc.c 
Log Message:
added the 'lsaenumacctwithright' command to rpcclient. This allows you
to lookup what SIDs have a particular privilege (that is how
privileges are stored).


Revisions:
cli_lsarpc.c1.73 = 1.74

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c?r1=1.73r2=1.74



CVS update: samba/source/rpc_client

2003-01-31 Thread abartlet

Date:   Sat Feb  1 06:25:10 2003
Author: abartlet

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv21819/rpc_client

Modified Files:
cli_lsarpc.c 
Log Message:
One more signed/unsigned fix


Revisions:
cli_lsarpc.c1.72 = 1.73

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c?r1=1.72r2=1.73



Re: CVS update: samba/source/rpc_client

2003-01-29 Thread Andrew Bartlett
On Wed, 2003-01-29 at 17:20, [EMAIL PROTECTED] wrote:
 
 Date: Wed Jan 29 06:20:08 2003
 Author:   tpot
 
 Update of /data/cvs/samba/source/rpc_client
 In directory dp.samba.org:/tmp/cvs-serv18101/rpc_client
 
 Modified Files:
   cli_samr.c 
 Log Message:
 Pass down max_size parameter to cli_samr_query_dispinfo() instead of
 using a hardcoded value later on.
 
 Added a helper function that returns the observed values for
 max_entries and max_size for each cli_samr_query_dispinfo() call.
 These values were obtained from watching the NT4 user manager
 application with ethereal and are the only ones that can enumerate a
 60k user domain reliably under Windows 2000.

Nice work!

This looks really neat.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net



signature.asc
Description: This is a digitally signed message part


CVS update: samba/source/rpc_client

2003-01-29 Thread jra

Date:   Wed Jan 29 20:15:34 2003
Author: jra

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv14390/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_samr.c 
Log Message:
Merge tpot's changes to request the correct sizes for user dispinfo
from HEAD. I had to do this for him as he was *so* tired, the poor
chap, plus he has this bad leg, plus the dog ate his homework etc. etc.
Jeremy.


Revisions:
cli_samr.c  1.68.2.3 = 1.68.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c?r1=1.68.2.3r2=1.68.2.4



CVS update: samba/source/rpc_client

2003-01-28 Thread tridge

Date:   Tue Jan 28 12:52:39 2003
Author: tridge

Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv9534

Modified Files:
cli_lsarpc.c 
Log Message:
cleaned up the lsa_enum_acct_rights function and added a
lsa_add_acct_rights function.

This allows us to add privileges remotely to accounts using rpcclient.


Revisions:
cli_lsarpc.c1.70 = 1.71

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c?r1=1.70r2=1.71



CVS update: samba/source/rpc_client

2003-01-28 Thread jra

Date:   Tue Jan 28 21:09:55 2003
Author: jra

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv18588/rpc_client

Modified Files:
  Tag: SAMBA_3_0
cli_lsarpc.c 
Log Message:
Merging tridge's privillage client changes from HEAD.
Jeremy.


Revisions:
cli_lsarpc.c1.68.2.3 = 1.68.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c?r1=1.68.2.3r2=1.68.2.4



  1   2   >