CVS update: samba/source/nsswitch

2004-04-01 Thread vlendec

Date:   Thu Apr  1 08:54:01 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv4939

Modified Files:
  Tag: SAMBA_3_0
wbinfo.c 
Log Message:
Cosmetic: Fix a const warning.

Volker


Revisions:
wbinfo.c1.38.2.33 = 1.38.2.34

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.38.2.33r2=1.38.2.34


CVS update: samba/source/nsswitch

2004-04-01 Thread vlendec

Date:   Thu Apr  1 09:03:19 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv6769

Modified Files:
wbinfo.c 
Log Message:
Cosmetic: Fix a const warning.

Volker


Revisions:
wbinfo.c1.74 = 1.75

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.74r2=1.75


CVS update: samba/source/nsswitch

2004-04-01 Thread vlendec

Date:   Thu Apr  1 12:31:50 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv11978/source/nsswitch

Modified Files:
  Tag: SAMBA_3_0
wbinfo.c winbindd_nss.h winbindd_pam.c 
Log Message:
This restructures lib/afs.c so that the token data can be but into a
stream. This is to implement wbinfo -k that asks winbind for authentication
which then creates the AFS token for the authenticated user.

Volker


Revisions:
wbinfo.c1.38.2.34 = 1.38.2.35

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.38.2.34r2=1.38.2.35
winbindd_nss.h  1.21.2.17 = 1.21.2.18

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h.diff?r1=1.21.2.17r2=1.21.2.18
winbindd_pam.c  1.44.2.38 = 1.44.2.39

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.44.2.38r2=1.44.2.39


CVS update: samba/source/nsswitch

2004-04-01 Thread vlendec

Date:   Thu Apr  1 12:33:04 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv12186/nsswitch

Modified Files:
wbinfo.c winbindd_nss.h winbindd_pam.c 
Log Message:
This restructures lib/afs.c so that the token data can be but into a
stream. This is to implement wbinfo -k that asks winbind for authentication
which then creates the AFS token for the authenticated user.

Volker


Revisions:
wbinfo.c1.75 = 1.76

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.75r2=1.76
winbindd_nss.h  1.36 = 1.37

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h.diff?r1=1.36r2=1.37
winbindd_pam.c  1.77 = 1.78

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


CVS update: samba/source/nsswitch

2004-03-30 Thread vlendec

Date:   Tue Mar 30 08:03:32 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv925/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd.h winbindd_ads.c winbindd_cache.c winbindd_rpc.c 
Log Message:
Apply some const

Revisions:
winbindd.h  1.33.2.18 = 1.33.2.19

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h.diff?r1=1.33.2.18r2=1.33.2.19
winbindd_ads.c  1.43.2.40 = 1.43.2.41

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.43.2.40r2=1.43.2.41
winbindd_cache.c1.35.2.25 = 1.35.2.26

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c.diff?r1=1.35.2.25r2=1.35.2.26
winbindd_rpc.c  1.25.2.25 = 1.25.2.26

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.25.2.25r2=1.25.2.26


CVS update: samba/source/nsswitch

2004-03-30 Thread vlendec

Date:   Tue Mar 30 08:11:59 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv2614

Modified Files:
  Tag: SAMBA_3_0
winbindd_wins.c 
Log Message:
Merge a fix from HEAD to 3_0

Volker


Revisions:
winbindd_wins.c 1.4.2.7 = 1.4.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_wins.c.diff?r1=1.4.2.7r2=1.4.2.8


CVS update: samba/source/nsswitch

2004-03-27 Thread vlendec

Date:   Sat Mar 27 10:37:15 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv3009

Modified Files:
winbindd_group.c winbindd_util.c 
Log Message:
On winbind startup, don't query for the dc BUILTIN#1c

Volker


Revisions:
winbindd_group.c1.79 = 1.80

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.79r2=1.80
winbindd_util.c 1.110 = 1.111

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


Re: CVS update: samba/source/nsswitch

2004-03-27 Thread Volker Lendecke
On Sat, Mar 27, 2004 at 10:37:15AM +, [EMAIL PROTECTED] wrote:
 On winbind startup, don't query for the dc BUILTIN#1c

Forgot to mention the needless malloc ..

Volker


CVS update: samba/source/nsswitch

2004-03-24 Thread jmcd

Date:   Wed Mar 24 17:32:55 2004
Author: jmcd

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv1304/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_ads.c 
Log Message:
Fix bugzilla # 1208

Winbind tickets expired.  We now check the expiration time, and acquire
new tickets.  We couln't rely on renewing them, because if we didn't get 
a request before they expired, we wouldn't have renewed them.  Also, there 
is a one-week limit in MS on renewal life, so new tickets would have been
needed after a week anyway.   Default is 10 hours, so we should only be 
acquiring them that often, unless the configuration on the DC is changed (and
the minimum is 1 hour). 


Revisions:
winbindd_ads.c  1.43.2.39 = 1.43.2.40

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.43.2.39r2=1.43.2.40


CVS update: samba/source/nsswitch

2004-03-24 Thread jmcd

Date:   Wed Mar 24 17:40:22 2004
Author: jmcd

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv3358/nsswitch

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

Fix bugzilla # 1208

Winbind ticket expiration


Revisions:
winbindd_ads.c  1.85 = 1.86

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


CVS update: samba/source/nsswitch

2004-03-22 Thread jerry

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

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

Modified Files:
winbindd_ads.c winbindd_cache.c 
Log Message:
merging changes from 3.0

Revisions:
winbindd_ads.c  1.84 = 1.85

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.84r2=1.85
winbindd_cache.c1.56 = 1.57

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c.diff?r1=1.56r2=1.57


CVS update: samba/source/nsswitch

2004-03-18 Thread jerry

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

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

Modified Files:
  Tag: SAMBA_3_0_RELEASE
wb_client.c wbinfo.c winbind_nss_aix.c winbind_nss_linux.c 
winbind_nss_solaris.c winbindd.c winbindd_acct.c 
winbindd_group.c winbindd_pam.c winbindd_rpc.c winbindd_util.c 
Log Message:
starting to sync the cvs tree

Revisions:
wb_client.c 1.42.2.3 = 1.42.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wb_client.c.diff?r1=1.42.2.3r2=1.42.2.4
wbinfo.c1.62.2.9 = 1.62.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.62.2.9r2=1.62.2.10
winbind_nss_aix.c   1.3.2.1 = 1.3.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_aix.c.diff?r1=1.3.2.1r2=1.3.2.2
winbind_nss_linux.c 1.1.4.2 = 1.1.4.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_linux.c.diff?r1=1.1.4.2r2=1.1.4.3
winbind_nss_solaris.c   1.6.2.1 = 1.6.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_solaris.c.diff?r1=1.6.2.1r2=1.6.2.2
winbindd.c  1.103.2.9 = 1.103.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c.diff?r1=1.103.2.9r2=1.103.2.10
winbindd_acct.c 1.1.4.3 = 1.1.4.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_acct.c.diff?r1=1.1.4.3r2=1.1.4.4
winbindd_group.c1.65.2.6 = 1.65.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.65.2.6r2=1.65.2.7
winbindd_pam.c  1.63.2.11 = 1.63.2.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.63.2.11r2=1.63.2.12
winbindd_rpc.c  1.42.2.8 = 1.42.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.42.2.8r2=1.42.2.9
winbindd_util.c 1.96.2.10 = 1.96.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.96.2.10r2=1.96.2.11


CVS update: samba/source/nsswitch

2004-03-16 Thread jerry

Date:   Tue Mar 16 20:32:14 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv30802/nsswitch

Modified Files:
winbindd.c winbindd_group.c 
Log Message:
merges from 3.0

Revisions:
winbindd.c  1.114 = 1.115

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c.diff?r1=1.114r2=1.115
winbindd_group.c1.78 = 1.79

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.78r2=1.79


CVS update: samba/source/nsswitch

2004-03-15 Thread sharpe

Date:   Tue Mar 16 06:56:20 2004
Author: sharpe

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv10317/nsswitch

Modified Files:
winbindd_wins.c 
Log Message:

Make sure we don't clobber the stack when response consists of the empty
string.



Revisions:
winbindd_wins.c 1.13 = 1.14

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_wins.c.diff?r1=1.13r2=1.14


CVS update: samba/source/nsswitch

2004-03-14 Thread vlendec

Date:   Sun Mar 14 10:24:19 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv8225/nsswitch

Modified Files:
wb_client.c wbinfo.c winbindd.c winbindd_nss.h winbindd_sid.c 
Log Message:
Add and delete aliases via srv_samr_nt. For that I added a RID allocation call
to winbindd. idmap_allocate_rid wants information about whether this will be a
user or a group, I did not export this to the winbind interface.

The reason for idmap to get that info is to keep consistent with the
algorithmic convention to alloc only even rids for users and odd rids for
groups. I'm not fully convinced that this really gains us anything. Any real
good arguments?

Volker



Revisions:
wb_client.c 1.45 = 1.46

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wb_client.c.diff?r1=1.45r2=1.46
wbinfo.c1.73 = 1.74

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.73r2=1.74
winbindd.c  1.113 = 1.114

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c.diff?r1=1.113r2=1.114
winbindd_nss.h  1.35 = 1.36

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h.diff?r1=1.35r2=1.36
winbindd_sid.c  1.25 = 1.26

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_sid.c.diff?r1=1.25r2=1.26


CVS update: samba/source/nsswitch

2004-03-14 Thread vlendec

Date:   Sun Mar 14 10:28:21 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv9193

Modified Files:
winbindd_group.c 
Log Message:
Fix 'getent group aliasname', this did not look in pdb.


Revisions:
winbindd_group.c1.76 = 1.77

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.76r2=1.77


CVS update: samba/source/nsswitch

2004-03-14 Thread vlendec

Date:   Sun Mar 14 11:15:38 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv16993/nsswitch

Modified Files:
winbindd_group.c 
Log Message:
Ok, one of the latest cleanups did too much... :-)

Re-add adding the local aliases to winbindd_getgroups.

Volker



Revisions:
winbindd_group.c1.77 = 1.78

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


CVS update: samba/source/nsswitch

2004-03-13 Thread vlendec

Date:   Sat Mar 13 16:43:25 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv20020/nsswitch

Modified Files:
winbindd.h winbindd_acct.c winbindd_group.c 
Log Message:
Remove the prototype for alias support in winbind again. This will be
replaced by a winbindd_passdb.c checkin soon.

Volker


Revisions:
winbindd.h  1.52 = 1.53

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h.diff?r1=1.52r2=1.53
winbindd_acct.c 1.10 = 1.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_acct.c.diff?r1=1.10r2=1.11
winbindd_group.c1.74 = 1.75

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.74r2=1.75


CVS update: samba/source/nsswitch

2004-03-13 Thread vlendec

Date:   Sat Mar 13 17:35:47 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv28622

Modified Files:
winbindd.h winbindd_group.c winbindd_passdb.c winbindd_sid.c 
winbindd_util.c 
Log Message:
Add alias support to winbindd_passdb. Sorry, Simo, this does not leave too
much of your winbindd_passdb, users are currently not provided by that, only
aliases. Currently the code to maintain that stuff is not yet in, this will be
next, see my next posting to samba-technical.

Volker


Revisions:
winbindd.h  1.53 = 1.54

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h.diff?r1=1.53r2=1.54
winbindd_group.c1.75 = 1.76

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.75r2=1.76
winbindd_passdb.c   1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_passdb.c.diff?r1=1.1r2=1.2
winbindd_sid.c  1.24 = 1.25

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_sid.c.diff?r1=1.24r2=1.25
winbindd_util.c 1.109 = 1.110

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.109r2=1.110


CVS update: samba/source/nsswitch

2004-03-13 Thread vlendec

Date:   Sun Mar 14 07:15:39 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv11231/nsswitch

Modified Files:
  Tag: SAMBA_3_0
wb_client.c 
Log Message:
When trying to remove a user from a group, winbind should be informed
about the user and group...

Volker


Revisions:
wb_client.c 1.36.2.12 = 1.36.2.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wb_client.c.diff?r1=1.36.2.12r2=1.36.2.13


CVS update: samba/source/nsswitch

2004-03-13 Thread vlendec

Date:   Sun Mar 14 07:16:05 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv11709

Modified Files:
wb_client.c 
Log Message:
When trying to remove a user from a group, winbind should be informed
about the user and group...

Volker


Revisions:
wb_client.c 1.44 = 1.45

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wb_client.c.diff?r1=1.44r2=1.45


CVS update: samba/source/nsswitch

2004-03-10 Thread vlendec

Date:   Wed Mar 10 16:32:58 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv9124/nsswitch

Modified Files:
winbindd.h winbindd_ads.c winbindd_cache.c winbindd_rpc.c 
Log Message:
Apply some const


Revisions:
winbindd.h  1.51 = 1.52

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h.diff?r1=1.51r2=1.52
winbindd_ads.c  1.83 = 1.84

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.83r2=1.84
winbindd_cache.c1.55 = 1.56

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c.diff?r1=1.55r2=1.56
winbindd_rpc.c  1.52 = 1.53

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.52r2=1.53


CVS update: samba/source/nsswitch

2004-03-07 Thread vlendec

Date:   Sun Mar  7 08:16:10 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv2486

Modified Files:
  Tag: SAMBA_3_0
wbinfo.c winbindd_acct.c 
Log Message:
This might not be used a lot and might not survive for long, but at least it
should work as expected :-)

Fix wb_delgrpmember.

Volker


Revisions:
wbinfo.c1.38.2.32 = 1.38.2.33

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.38.2.32r2=1.38.2.33
winbindd_acct.c 1.1.2.10 = 1.1.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_acct.c.diff?r1=1.1.2.10r2=1.1.2.11


CVS update: samba/source/nsswitch

2004-03-07 Thread vlendec

Date:   Sun Mar  7 08:17:09 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv2702

Modified Files:
wbinfo.c winbindd_acct.c 
Log Message:
This might not be used a lot and might not survive for long, but at least it
should work as expected :-)

Fix wb_delgrpmember.

Volker


Revisions:
wbinfo.c1.72 = 1.73

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.72r2=1.73
winbindd_acct.c 1.9 = 1.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_acct.c.diff?r1=1.9r2=1.10


CVS update: samba/source/nsswitch

2004-03-04 Thread jerry

Date:   Thu Mar  4 15:59:11 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv25390/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_acct.c 
Log Message:
BUG 848: don't create winbind local users/groups that already exist in the tdb

Revisions:
winbindd_acct.c 1.1.2.9 = 1.1.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_acct.c.diff?r1=1.1.2.9r2=1.1.2.10


CVS update: samba/source/nsswitch

2004-03-04 Thread jerry

Date:   Thu Mar  4 16:00:16 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv25590/nsswitch

Modified Files:
winbindd_acct.c 
Log Message:
BUG 848: don't create winbind local users/groups that already exist in the tdb

Revisions:
winbindd_acct.c 1.8 = 1.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_acct.c.diff?r1=1.8r2=1.9


CVS update: samba/source/nsswitch

2004-03-02 Thread vlendec

Date:   Tue Mar  2 14:49:06 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv25845/nsswitch

Modified Files:
winbindd.h winbindd_acct.c winbindd_group.c 
Log Message:
This adds winbind-generated groups showing up in 'getent group'. It is not
very efficient though, it only does one group at a time. Needs improving, but
the structures are not particularly easy to set up, so check in the basically
working part for others to review.

I'm close to saying that I would like to remove aliases from general group
mapping. These can not be reflected correctly in /etc/group, winbind could do
a better job here. 

And having aliases only on machines with nss_winbind at least for me is not a
too severe limitation.

Comments?

Volker


Revisions:
winbindd.h  1.50 = 1.51

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h.diff?r1=1.50r2=1.51
winbindd_acct.c 1.7 = 1.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_acct.c.diff?r1=1.7r2=1.8
winbindd_group.c1.73 = 1.74

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.73r2=1.74


Re: CVS update: samba/source/nsswitch

2004-03-02 Thread Simo Sorce
On Tue, 2004-03-02 at 15:49, [EMAIL PROTECTED] wrote:
 I'm close to saying that I would like to remove aliases from general group
 mapping. These can not be reflected correctly in /etc/group, winbind could do
 a better job here. 
 
 And having aliases only on machines with nss_winbind at least for me is not a
 too severe limitation.
 
 Comments?

I agree.

I would be more strict and move all the mapping stuff on winbindd and
require it for this stuff to work out properly, but I'm a bit too hard
probably.

Simo.

-- 
Simo Sorce - [EMAIL PROTECTED]
Xsec s.r.l. - http://www.xsec.it
via Garofalo, 39 - 20133 - Milano
mobile: +39 329 328 7702
tel. +39 02 2953 4143 - fax: +39 02 700 442 399


CVS update: samba/source/nsswitch

2004-03-01 Thread vlendec

Date:   Mon Mar  1 13:02:05 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv12081/nsswitch

Modified Files:
winbindd_group.c 
Log Message:
Add aliases to winbindd_getgroups(). 

su - WINDOWS\\vl

now includes the locally defined aliases I'm member of.

Next will be getent group.

Volker


Revisions:
winbindd_group.c1.72 = 1.73

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.72r2=1.73


CVS update: samba/source/nsswitch

2004-03-01 Thread vlendec

Date:   Tue Mar  2 07:47:39 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv9532

Modified Files:
winbindd_acct.c 
Log Message:
Expand aliases for winbind-generated groups.

Do:

wbinfo -C alias
net groupmap set alias alias -L
net rpc group addmem alias DOMAIN\\group -S localhost -Uroot%secret
getent group alias

And hopefully the members of domain\\group show up :-)

Still have to get them to show up in 'getent group'.

Volker


Revisions:
winbindd_acct.c 1.6 = 1.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_acct.c.diff?r1=1.6r2=1.7


CVS update: samba/source/nsswitch

2004-02-09 Thread jerry

Date:   Tue Feb 10 03:51:19 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv3310/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_util.c 
Log Message:
fix more compiler warning after the latest static rampage

Revisions:
winbindd_util.c 1.73.2.46 = 1.73.2.47

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.73.2.46r2=1.73.2.47


CVS update: samba/source/nsswitch

2004-02-08 Thread abartlet

Date:   Sun Feb  8 08:38:42 2004
Author: abartlet

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv7513/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_rpc.c 
Log Message:
Make more functions static, and remove duplication in the use of functions
in lib/smbpasswd.c that were exact duplicates of functions in passdb/passdb.c

(These should perhaps be pulled back out to smbpasswd.c, but that can occour
later).

Andrew Bartlett


Revisions:
winbindd_rpc.c  1.25.2.24 = 1.25.2.25

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.25.2.24r2=1.25.2.25


CVS update: samba/source/nsswitch

2004-02-08 Thread abartlet

Date:   Sun Feb  8 11:26:46 2004
Author: abartlet

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv4467/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_util.c 
Log Message:
nsswitch/winbindd_util.c:  
add static

smbd/uid.c:
remove unused function

Andrew Bartlett


Revisions:
winbindd_util.c 1.73.2.45 = 1.73.2.46

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.73.2.45r2=1.73.2.46


CVS update: samba/source/nsswitch

2004-02-08 Thread abartlet

Date:   Sun Feb  8 11:28:51 2004
Author: abartlet

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv4613/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_acct.c 
Log Message:
Add more static...

Andrew Bartlett


Revisions:
winbindd_acct.c 1.1.2.8 = 1.1.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_acct.c.diff?r1=1.1.2.8r2=1.1.2.9


CVS update: samba/source/nsswitch

2004-02-08 Thread abartlet

Date:   Sun Feb  8 11:59:55 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv10560/source/nsswitch

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

Make more functions static, and remove duplication in the use of functions
in lib/smbpasswd.c that were exact duplicates of functions in passdb/passdb.c

(These should perhaps be pulled back out to smbpasswd.c, but that can occour
later).

This also includes some 14 character password changes, and the start
of a move away from using 'admin user' to determine if the user is
root (as root can login without setting 'admin user').

Andrew Bartlett


Revisions:
winbindd_rpc.c  1.51 = 1.52

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.51r2=1.52


CVS update: samba/source/nsswitch

2004-02-08 Thread abartlet

Date:   Sun Feb  8 12:06:05 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv12683/source/nsswitch

Modified Files:
winbindd_util.c 
Log Message:
(merge from 3.0)
nsswitch/winbindd_util.c:  
add static

smbd/uid.c:
remove unused function

Andrew Bartlett


Revisions:
winbindd_util.c 1.107 = 1.108

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


CVS update: samba/source/nsswitch

2004-02-08 Thread abartlet

Date:   Sun Feb  8 12:06:48 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv12919/source/nsswitch

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

Add more static...

Andrew Bartlett


Revisions:
winbindd_acct.c 1.5 = 1.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_acct.c.diff?r1=1.5r2=1.6


CVS update: samba/source/nsswitch

2004-02-04 Thread jerry

Date:   Wed Feb  4 17:22:36 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv28355/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbind_nss_solaris.c 
Log Message:
return NSS_SUCCESS if we have found the max number of gids possible on Solaris; patch 
from John Klinger [EMAIL PROTECTED]

Revisions:
winbind_nss_solaris.c   1.4.2.3 = 1.4.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_solaris.c.diff?r1=1.4.2.3r2=1.4.2.4


CVS update: samba/source/nsswitch

2004-02-02 Thread abartlet

Date:   Mon Feb  2 07:58:06 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv16516/source/nsswitch

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

Remove duplicate comment.

Andrew Bartlett


Revisions:
winbindd_pam.c  1.76 = 1.77

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.76r2=1.77


CVS update: samba/source/nsswitch

2004-02-02 Thread jra

Date:   Mon Feb  2 21:14:55 2004
Author: jra

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv13313/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbind_nss_linux.c 
Log Message:
A few fixes from L. Lucius [EMAIL PROTECTED]. Don't use int when it's
really a size_t.
Jeremy.


Revisions:
winbind_nss_linux.c 1.1.2.3 = 1.1.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_linux.c.diff?r1=1.1.2.3r2=1.1.2.4


CVS update: samba/source/nsswitch

2004-02-02 Thread jra

Date:   Mon Feb  2 21:32:35 2004
Author: jra

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv16988/nsswitch

Modified Files:
winbind_nss_linux.c 
Log Message:
Merge from 3.0.
Jeremy.


Revisions:
winbind_nss_linux.c 1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_linux.c.diff?r1=1.3r2=1.4


CVS update: samba/source/nsswitch

2004-02-01 Thread jerry

Date:   Mon Feb  2 01:46:29 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv7567/source/nsswitch

Modified Files:
winbind_nss_linux.c winbindd_group.c 
Log Message:
janitor duty (merges from 3.0) and cleanup compiler warning on SuSE 9 in the end 
mapper code

Revisions:
winbind_nss_linux.c 1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_linux.c.diff?r1=1.2r2=1.3
winbindd_group.c1.71 = 1.72

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.71r2=1.72


CVS update: samba/source/nsswitch

2004-01-28 Thread sharpe

Date:   Thu Jan 29 00:10:40 2004
Author: sharpe

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv29247/nsswitch

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

Remove an unused parameter from reload_services_file.



Revisions:
winbindd.c  1.55.2.50 = 1.55.2.51

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c.diff?r1=1.55.2.50r2=1.55.2.51


CVS update: samba/source/nsswitch

2004-01-28 Thread sharpe

Date:   Thu Jan 29 02:41:58 2004
Author: sharpe

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv25175/nsswitch

Modified Files:
winbindd.c 
Log Message:

Remove an unused parameter in winbindd (reload_services_file)



Revisions:
winbindd.c  1.112 = 1.113

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


CVS update: samba/source/nsswitch

2004-01-28 Thread tridge

Date:   Thu Jan 29 06:14:13 2004
Author: tridge

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv31052

Modified Files:
  Tag: SAMBA_3_0
winbind_nss_aix.c 
Log Message:
completely rewrote the AIX UESS backend (UESS is the AIX equivalent of
NSS). This time I think I've actually got it right. I wrote a fairly
good test suite for UESS modules (similar to nsstest.c) that allowed
me to explore how the modules supplied with AIX actually work.

This new module also incorporates authentication features, so you
don't need a PAM module at all. Just install this UESS module and
authentication will just work. It also handles password change, so
/usr/bin/passwd can be used to change windows password.


Revisions:
winbind_nss_aix.c   1.1.2.4 = 1.1.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_aix.c.diff?r1=1.1.2.4r2=1.1.2.5


CVS update: samba/source/nsswitch

2004-01-28 Thread tridge

Date:   Thu Jan 29 06:28:27 2004
Author: tridge

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv1319

Modified Files:
winbind_nss_aix.c 
Log Message:
updated the head branch as well


Revisions:
winbind_nss_aix.c   1.4 = 1.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_aix.c.diff?r1=1.4r2=1.5


CVS update: samba/source/nsswitch

2004-01-27 Thread jerry

Date:   Tue Jan 27 18:26:11 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv5352/source/nsswitch

Modified Files:
  Tag: SAMBA_3_0_RELEASE
wbinfo.c 
Log Message:
pulling changes from 3.0

Revisions:
wbinfo.c1.62.2.8 = 1.62.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.62.2.8r2=1.62.2.9


CVS update: samba/source/nsswitch

2004-01-26 Thread abartlet

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

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

Modified Files:
  Tag: SAMBA_3_0
winbindd_pam.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:
winbindd_pam.c  1.44.2.37 = 1.44.2.38

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.44.2.37r2=1.44.2.38


CVS update: samba/source/nsswitch

2004-01-26 Thread abartlet

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

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

Modified Files:
winbindd_pam.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:
winbindd_pam.c  1.75 = 1.76

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.75r2=1.76


CVS update: samba/source/nsswitch

2004-01-23 Thread vlendec

Date:   Fri Jan 23 12:57:29 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv21330/nsswitch

Modified Files:
  Tag: SAMBA_3_0
wbinfo.c 
Log Message:
Fix typo

Revisions:
wbinfo.c1.38.2.31 = 1.38.2.32

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.38.2.31r2=1.38.2.32


CVS update: samba/source/nsswitch

2004-01-23 Thread vlendec

Date:   Fri Jan 23 12:58:07 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv21409

Modified Files:
wbinfo.c 
Log Message:
Fix typo

Revisions:
wbinfo.c1.71 = 1.72

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.71r2=1.72


CVS update: samba/source/nsswitch

2004-01-16 Thread vlendec

Date:   Fri Jan 16 13:11:01 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv8062/source/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbind_nss_linux.c 
Log Message:
Commit sid-[ug]id extensions to libnss_winbind.so on Linux, as well as a
factored-out nss_winbind.[ch]. I took tridge's public domain license comment
for the nss_winbind.[ch].

This is probably not the last word on that extension, but as it is quite
non-intrusive to the main samba code, I would like to give it a start.

Volker




Revisions:
winbind_nss_linux.c 1.1.2.2 = 1.1.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_linux.c.diff?r1=1.1.2.2r2=1.1.2.3


CVS update: samba/source/nsswitch

2004-01-16 Thread jerry

Date:   Fri Jan 16 16:22:05 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv11250/source/nsswitch

Modified Files:
  Tag: SAMBA_3_0_RELEASE
winbind_nss_linux.c 
Log Message:
another short rounds of syncs from 3.0

Revisions:
winbind_nss_linux.c 1.1.4.1 = 1.1.4.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_linux.c.diff?r1=1.1.4.1r2=1.1.4.2


CVS update: samba/source/nsswitch

2004-01-15 Thread vlendec

Date:   Thu Jan 15 15:00:44 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv2523

Modified Files:
  Tag: SAMBA_3_0
winbindd_group.c 
Log Message:
Fix a segfault in winbindd. Calling getusersids with a SID that results in 0
groups winbind ended up freeing an uninitialised pointer.

Volker


Revisions:
winbindd_group.c1.51.2.31 = 1.51.2.32

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.51.2.31r2=1.51.2.32


CVS update: samba/source/nsswitch

2004-01-15 Thread vlendec

Date:   Thu Jan 15 15:36:01 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv9461

Modified Files:
  Tag: SAMBA_3_0
winbindd_group.c 
Log Message:
And another memory corruption in winbind. Arg 3 of safe_strcpy does not
include the terminating 0.

Volker


Revisions:
winbindd_group.c1.51.2.32 = 1.51.2.33

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.51.2.32r2=1.51.2.33


CVS update: samba/source/nsswitch

2004-01-14 Thread jerry

Date:   Wed Jan 14 16:25:39 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv2032/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_cache.c 
Log Message:
* Revert to using rpc for mixed mode AD domains.
  The reason for this are:
  (a) the set_dc_type_and_flags() cannot tell the different 
  between connecting to an NT4 domain and an NT4 BDC 
  of a mixed mode domain.
  (b) the connection management for the rpc backend only 
  provides on named pipe per cli_state.  So it is possible
  to connect to an NT4 BDC for netlogon and an AD mixed mode
  DC for lsarpc.  RPC is the lowest common demonimator here.
  (c) Issue with the sequence number value between the 
  highestCommittedUSN LDAP attribute and the seq_num returned
  via RPC.


We will revisit this later, but the changes need to make this 
work right now are too broad and risky.



Revisions:
winbindd_cache.c1.35.2.23 = 1.35.2.24

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c.diff?r1=1.35.2.23r2=1.35.2.24


CVS update: samba/source/nsswitch

2004-01-14 Thread jerry

Date:   Wed Jan 14 21:22:30 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv26558

Modified Files:
  Tag: SAMBA_3_0
winbind_nss_solaris.c 
Log Message:
Fix initgroups() call nss_winbind on solaris; patch from John Klinger [EMAIL 
PROTECTED]

Revisions:
winbind_nss_solaris.c   1.4.2.2 = 1.4.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_solaris.c.diff?r1=1.4.2.2r2=1.4.2.3


CVS update: samba/source/nsswitch

2004-01-14 Thread jerry

Date:   Thu Jan 15 06:55:10 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv5838/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_cm.c 
Log Message:
BUG 936: fix bind credentials for schannel binds in smbd (and add a comment to 
winbindd_cm about this

Revisions:
winbindd_cm.c   1.31.2.49 = 1.31.2.50

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c.diff?r1=1.31.2.49r2=1.31.2.50


CVS update: samba/source/nsswitch

2004-01-13 Thread jerry

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

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

Modified Files:
wbinfo.c winbindd.c winbindd.h winbindd_ads.c winbindd_cache.c 
winbindd_cm.c winbindd_group.c winbindd_misc.c winbindd_nss.h 
winbindd_rpc.c winbindd_sid.c winbindd_user.c winbindd_util.c 
wins.c 
Added Files:
winbind_nss_freebsd.c 
Log Message:
sync HEAD with recent changes in 3.0

Revisions:
winbind_nss_freebsd.c   1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_freebsd.c.diff?r1=1.1r2=1.2
wbinfo.c1.70 = 1.71

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.70r2=1.71
winbindd.c  1.111 = 1.112

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c.diff?r1=1.111r2=1.112
winbindd.h  1.49 = 1.50

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h.diff?r1=1.49r2=1.50
winbindd_ads.c  1.82 = 1.83

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.82r2=1.83
winbindd_cache.c1.53 = 1.54

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c.diff?r1=1.53r2=1.54
winbindd_cm.c   1.71 = 1.72

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c.diff?r1=1.71r2=1.72
winbindd_group.c1.70 = 1.71

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.70r2=1.71
winbindd_misc.c 1.38 = 1.39

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_misc.c.diff?r1=1.38r2=1.39
winbindd_nss.h  1.34 = 1.35

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h.diff?r1=1.34r2=1.35
winbindd_rpc.c  1.50 = 1.51

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.50r2=1.51
winbindd_sid.c  1.23 = 1.24

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_sid.c.diff?r1=1.23r2=1.24
winbindd_user.c 1.56 = 1.57

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_user.c.diff?r1=1.56r2=1.57
winbindd_util.c 1.106 = 1.107

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.106r2=1.107
wins.c  1.25 = 1.26

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wins.c.diff?r1=1.25r2=1.26


CVS update: samba/source/nsswitch

2004-01-12 Thread jerry

Date:   Mon Jan 12 14:26:50 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv3580/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_ads.c 
Log Message:
fixing compile problems due to my recent ads.h changes

Revisions:
winbindd_ads.c  1.43.2.36 = 1.43.2.37

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.43.2.36r2=1.43.2.37


CVS update: samba/source/nsswitch

2004-01-11 Thread Stefan Metzmacher

Date:   Sun Jan 11 13:21:03 2004
Author: metze

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv8741/nsswitch

Modified Files:
winbindd.c 
Log Message:
update copyright to -2004

metze


Revisions:
winbindd.c  1.110 = 1.111

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


CVS update: samba/source/nsswitch

2004-01-11 Thread Stefan Metzmacher

Date:   Sun Jan 11 13:23:50 2004
Author: metze

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv9120/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd.c 
Log Message:
update copyright to -2004

metze


Revisions:
winbindd.c  1.55.2.49 = 1.55.2.50

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c.diff?r1=1.55.2.49r2=1.55.2.50


CVS update: samba/source/nsswitch

2004-01-09 Thread jerry

Date:   Fri Jan  9 15:36:07 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv6458/nsswitch

Modified Files:
winbindd_ads.c 
Log Message:
fix some warnings from the Sun compiler; also merge some of abartlet's error code 
changes form 3.0

Revisions:
winbindd_ads.c  1.81 = 1.82

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


CVS update: samba/source/nsswitch

2004-01-08 Thread abartlet

Date:   Thu Jan  8 08:41:26 2004
Author: abartlet

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv28191/source/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_group.c 
Log Message:
use SAFE_FREE(), not free().

Andrew Bartlett


Revisions:
winbindd_group.c1.51.2.30 = 1.51.2.31

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.51.2.30r2=1.51.2.31


CVS update: samba/source/nsswitch

2004-01-08 Thread jerry

Date:   Thu Jan  8 19:56:40 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv5871/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_cm.c 
Log Message:
fix a seg fault caused by abartlet's last checkin; there's no way this could have been 
tested against an NT4 DC

Revisions:
winbindd_cm.c   1.31.2.48 = 1.31.2.49

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c.diff?r1=1.31.2.48r2=1.31.2.49


CVS update: samba/source/nsswitch

2004-01-08 Thread jerry

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

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

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

Revisions:
winbindd_util.c 1.73.2.44 = 1.73.2.45

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.73.2.44r2=1.73.2.45


CVS update: samba/source/nsswitch

2004-01-08 Thread jerry

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

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv1146/nsswitch

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

Revisions:
winbindd_util.c 1.105 = 1.106

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.105r2=1.106


CVS update: samba/source/nsswitch

2004-01-08 Thread Jelmer Vernooij

Date:   Thu Jan  8 22:53:37 2004
Author: jelmer

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv9316/nsswitch

Modified Files:
  Tag: SAMBA_3_0
wins.c 
Log Message:
Use StrCaseCmp, not strcasecmp. Should fix winbind build on IRIX


Revisions:
wins.c  1.17.2.6 = 1.17.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wins.c.diff?r1=1.17.2.6r2=1.17.2.7


CVS update: samba/source/nsswitch

2004-01-07 Thread abartlet

Date:   Wed Jan  7 10:11:24 2004
Author: abartlet

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv25941/nsswitch

Modified Files:
  Tag: SAMBA_3_0
wbinfo.c 
Log Message:
Don't duplicate pulling the 'IPC' username from secrets.tdb, instead
just use one function for both places.

Andrew Bartlett


Revisions:
wbinfo.c1.38.2.29 = 1.38.2.30

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.38.2.29r2=1.38.2.30


CVS update: samba/source/nsswitch

2004-01-06 Thread abartlet

Date:   Tue Jan  6 01:59:20 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv13006/source/nsswitch

Modified Files:
wbinfo.c winbind_nss_linux.c winbindd.c winbindd.h 
winbindd_acct.c winbindd_ads.c winbindd_cache.c winbindd_cm.c 
winbindd_dual.c winbindd_group.c winbindd_misc.c 
winbindd_nss.h winbindd_pam.c winbindd_rpc.c winbindd_sid.c 
winbindd_user.c winbindd_util.c winbindd_wins.c 
Log Message:
Merge winbind from Samba 3.0 onto HEAD.

Changes include:
 - header changes for better pre-compiled headers (tridge)
 - get a list of sids for a given user (tridge)
 - fix function prototype

and a few other minor things

Andrew Bartlett


Revisions:
wbinfo.c1.68 = 1.69

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.68r2=1.69
winbind_nss_linux.c 1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_linux.c.diff?r1=1.1r2=1.2
winbindd.c  1.109 = 1.110

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c.diff?r1=1.109r2=1.110
winbindd.h  1.48 = 1.49

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h.diff?r1=1.48r2=1.49
winbindd_acct.c 1.4 = 1.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_acct.c.diff?r1=1.4r2=1.5
winbindd_ads.c  1.80 = 1.81

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.80r2=1.81
winbindd_cache.c1.52 = 1.53

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c.diff?r1=1.52r2=1.53
winbindd_cm.c   1.70 = 1.71

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c.diff?r1=1.70r2=1.71
winbindd_dual.c 1.8 = 1.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_dual.c.diff?r1=1.8r2=1.9
winbindd_group.c1.69 = 1.70

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.69r2=1.70
winbindd_misc.c 1.37 = 1.38

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_misc.c.diff?r1=1.37r2=1.38
winbindd_nss.h  1.33 = 1.34

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h.diff?r1=1.33r2=1.34
winbindd_pam.c  1.74 = 1.75

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.74r2=1.75
winbindd_rpc.c  1.49 = 1.50

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.49r2=1.50
winbindd_sid.c  1.22 = 1.23

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_sid.c.diff?r1=1.22r2=1.23
winbindd_user.c 1.55 = 1.56

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_user.c.diff?r1=1.55r2=1.56
winbindd_util.c 1.104 = 1.105

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.104r2=1.105
winbindd_wins.c 1.12 = 1.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_wins.c.diff?r1=1.12r2=1.13


CVS update: samba/source/nsswitch

2004-01-06 Thread jerry

Date:   Tue Jan  6 18:55:27 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv8157/source/nsswitch

Modified Files:
  Tag: SAMBA_3_0_RELEASE
wbinfo.c winbindd.c winbindd.h winbindd_ads.c winbindd_cache.c 
winbindd_cm.c winbindd_misc.c winbindd_nss.h winbindd_pam.c 
winbindd_rpc.c winbindd_util.c 
Log Message:
starting to sync files for 3.0.2pre1:

Revisions:
wbinfo.c1.62.2.5 = 1.62.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.62.2.5r2=1.62.2.6
winbindd.c  1.103.2.7 = 1.103.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c.diff?r1=1.103.2.7r2=1.103.2.8
winbindd.h  1.44.2.4 = 1.44.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h.diff?r1=1.44.2.4r2=1.44.2.5
winbindd_ads.c  1.68.2.8 = 1.68.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.68.2.8r2=1.68.2.9
winbindd_cache.c1.48.2.5 = 1.48.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c.diff?r1=1.48.2.5r2=1.48.2.6
winbindd_cm.c   1.64.2.8 = 1.64.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c.diff?r1=1.64.2.8r2=1.64.2.9
winbindd_misc.c 1.32.2.5 = 1.32.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_misc.c.diff?r1=1.32.2.5r2=1.32.2.6
winbindd_nss.h  1.29.2.3 = 1.29.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h.diff?r1=1.29.2.3r2=1.29.2.4
winbindd_pam.c  1.63.2.9 = 1.63.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.63.2.9r2=1.63.2.10
winbindd_rpc.c  1.42.2.6 = 1.42.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.42.2.6r2=1.42.2.7
winbindd_util.c 1.96.2.8 = 1.96.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.96.2.8r2=1.96.2.9


CVS update: samba/source/nsswitch

2004-01-06 Thread jerry

Date:   Tue Jan  6 19:57:14 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv21382/nsswitch

Modified Files:
  Tag: SAMBA_3_0
wbinfo.c 
Log Message:
remove unused seek_file(); don't hardcode '\' when printing the auth-user

Revisions:
wbinfo.c1.38.2.28 = 1.38.2.29

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.38.2.28r2=1.38.2.29


CVS update: samba/source/nsswitch

2004-01-06 Thread jerry

Date:   Tue Jan  6 21:00:01 2004
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv1527/source/nsswitch

Modified Files:
  Tag: SAMBA_3_0_RELEASE
wbinfo.c 
Log Message:
another round of syncs; should be the last ones from 3.0

Revisions:
wbinfo.c1.62.2.6 = 1.62.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.62.2.6r2=1.62.2.7


CVS update: samba/source/nsswitch

2004-01-05 Thread abartlet

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

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv1303/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_ads.c 
Log Message:
shorten some more lines.


Revisions:
winbindd_ads.c  1.43.2.34 = 1.43.2.35

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.43.2.34r2=1.43.2.35


CVS update: samba/source/nsswitch

2004-01-05 Thread vlendec

Date:   Mon Jan  5 16:58:37 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv22687

Modified Files:
  Tag: SAMBA_3_0
winbindd_util.c 
Log Message:
Fix warning

Volker


Revisions:
winbindd_util.c 1.73.2.41 = 1.73.2.42

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.73.2.41r2=1.73.2.42


CVS update: samba/source/nsswitch

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:28:50 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv4575/source/nsswitch

Modified Files:
winbindd_nss.h winbindd_pam.c 
Log Message:
(merge from 3.0)

Try to gain a bit more consistancy in the output of usernames from ntlm_auth:
 
Instead of returning a name in DOMAIN\user format, we now return it in the
same way that nsswtich does - following the rules of 'winbind use default
domain', in the correct case and with the correct seperator.
 
This should help sites who are using Squid or the new SASL code I'm working
on, to match back to their unix usernames.
 
--

Get the DOMAIN\username around the right way (I had username\domain...)
 
Push the unix username into utf8 for it's trip across the socket.
 
Andrew Bartlett



Revisions:
winbindd_nss.h  1.32 = 1.33

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h.diff?r1=1.32r2=1.33
winbindd_pam.c  1.70 = 1.71

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.70r2=1.71


CVS update: samba/source/nsswitch

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:37:07 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv6065/source/nsswitch

Modified Files:
winbindd.h winbindd_util.c 
Log Message:
(merge from 3.0)

auth/auth_util.c:
 - Fill in the 'backup' idea of a domain, if the DC didn't supply one.  This
   doesn't seem to occour in reality, hence why we missed the typo.

lib/charcnv.c:
lib/smbldap.c:
libads/ldap.c:
libsmb/libsmbclient.c:
printing/nt_printing.c:
 - all the callers to pull_utf8_allocate() pass a char ** as the first
   parammeter, so don't make them all cast it to a void **

nsswitch/winbind_util.c:
 - Allow for a more 'correct' view of when usernames should be qualified
   in winbindd.  If we are a PDC, or have 'winbind trusted domains only',
   then for the authentication returns stip the domain portion.
 - Fix valgrind warning about use of free()ed name when looking up our
   local domain.  lp_workgroup() is maniplated inside a procedure that
   uses it's former value.  Instead, use the fact that our local domain is
   always the first in the list.

--

Jerry rightly complained that we can't assume that the first domain is
our primary domain - new domains are added to the front of the list. :-(
 
Use a much more reliable 'flag test' instead.  (note:  changes winbind 
structures, make clean).
 
--
 
Forgot to commit this for the 'get our primary domain' change.

Andrew Bartlett



Revisions:
winbindd.h  1.46 = 1.47

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h.diff?r1=1.46r2=1.47
winbindd_util.c 1.101 = 1.102

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.101r2=1.102


CVS update: samba/source/nsswitch

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:38:49 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv6805/source/nsswitch

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

Changes to our PAM code to cope with the fact that we can't handle some
domains (in particular, the domain of the current machine, if it is not a PDC)
 
By changing the error codes, we now return values that PAM can correctly
use for better stacking of PAM modules - in particular of the password change
module.
 
This allows pam_winbind to co-exist with other pam modules for password changes. 
Andrew Bartlett



Revisions:
winbindd_pam.c  1.71 = 1.72

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.71r2=1.72
winbindd_util.c 1.102 = 1.103

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.102r2=1.103


CVS update: samba/source/nsswitch

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:51:34 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv9351/source/nsswitch

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

Fix for bug 707, getent group for huge ads groups (1500 members)
This introduces range retrieval of ADS attributes.

VL rewrote most of Güther's patch, partly to remove code duplication and
partly to get the retrieval of members in one rush, not interrupted by the
lookups for the DN.
 
I rewrote that patch, to ensure that we can keep an eye on the USN
(sequence number) of the entry - this allows us to ensure the read was
atomic.
 
In particular, the range retrieval is now generic, for strings.  It
could easily be made generic for any attribute type, if need be.
 
Andrew Bartlett



Revisions:
winbindd_ads.c  1.76 = 1.77

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.76r2=1.77


CVS update: samba/source/nsswitch

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:54:37 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv9815/source/nsswitch

Modified Files:
winbindd.h winbindd_ads.c winbindd_rpc.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:
-  Add ads_sid_to_dn utility function
 
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:
winbindd.h  1.47 = 1.48

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h.diff?r1=1.47r2=1.48
winbindd_ads.c  1.77 = 1.78

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.77r2=1.78
winbindd_rpc.c  1.47 = 1.48

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.47r2=1.48


CVS update: samba/source/nsswitch

2004-01-05 Thread abartlet

Date:   Tue Jan  6 00:08:54 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv13186/source/nsswitch

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

Add const.

Andrew Bartlett


Revisions:
winbindd_cache.c1.51 = 1.52

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c.diff?r1=1.51r2=1.52


CVS update: samba/source/nsswitch

2004-01-05 Thread abartlet

Date:   Tue Jan  6 00:13:56 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv13768/source/nsswitch

Modified Files:
winbindd_ads.c winbindd_cm.c winbindd_misc.c winbindd_pam.c 
winbindd_rpc.c winbindd_util.c 
Log Message:
(merge from 3.0)

Change our Domain controller lookup routines to more carefully seperate
DNS names (realms) from NetBIOS domain names.

Until now, we would experience delays as we broadcast lookups for DNS names
onto the local network segments.

Now if DNS comes back negative, we fall straight back to looking up the
short name.

Andrew Bartlett



Revisions:
winbindd_ads.c  1.78 = 1.79

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.78r2=1.79
winbindd_cm.c   1.68 = 1.69

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c.diff?r1=1.68r2=1.69
winbindd_misc.c 1.36 = 1.37

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_misc.c.diff?r1=1.36r2=1.37
winbindd_pam.c  1.72 = 1.73

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.72r2=1.73
winbindd_rpc.c  1.48 = 1.49

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.48r2=1.49
winbindd_util.c 1.103 = 1.104

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


CVS update: samba/source/nsswitch

2004-01-05 Thread abartlet

Date:   Tue Jan  6 00:27:34 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv15301/source/nsswitch

Modified Files:
wbinfo.c winbindd_ads.c winbindd_pam.c 
Log Message:
(merge from 3.0)

Try to keep vl happy - shorten some of these lines.

--

Grumble... grumble... fix the build...

-- 

Show the sid type in name-sid translatons in a way that can be easily
understood by humans.

Andrew Bartlett



Revisions:
wbinfo.c1.67 = 1.68

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.67r2=1.68
winbindd_ads.c  1.79 = 1.80

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.79r2=1.80
winbindd_pam.c  1.73 = 1.74

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.73r2=1.74


CVS update: samba/source/nsswitch

2004-01-05 Thread abartlet

Date:   Tue Jan  6 00:32:24 2004
Author: abartlet

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv18295/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_cm.c 
Log Message:
Ensure that for wbinfo --set-auth-user, we actually use the domain.

Andrew Bartlett


Revisions:
winbindd_cm.c   1.31.2.46 = 1.31.2.47

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c.diff?r1=1.31.2.46r2=1.31.2.47


CVS update: samba/source/nsswitch

2004-01-05 Thread abartlet

Date:   Tue Jan  6 00:41:13 2004
Author: abartlet

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv24060/source/nsswitch

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

Ensure that for wbinfo --set-auth-user, we actually use the domain.
 
Andrew Bartlett



Revisions:
winbindd_cm.c   1.69 = 1.70

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c.diff?r1=1.69r2=1.70


CVS update: samba/source/nsswitch

2004-01-04 Thread vlendec

Date:   Sun Jan  4 11:51:31 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv7587/nsswitch

Modified Files:
  Tag: SAMBA_3_0
wbinfo.c winbindd.c winbindd_misc.c winbindd_nss.h 
Log Message:
Commit the translation of the realm to the netbios domain name in the kerberos
session setup. After talking to jht and abartlet I made this unconditional, no
additional parameter.

Jerry: This is a change in behaviour, but I think it is necessary.

Volker


Revisions:
wbinfo.c1.38.2.26 = 1.38.2.27

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.38.2.26r2=1.38.2.27
winbindd.c  1.55.2.47 = 1.55.2.48

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c.diff?r1=1.55.2.47r2=1.55.2.48
winbindd_misc.c 1.22.2.16 = 1.22.2.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_misc.c.diff?r1=1.22.2.16r2=1.22.2.17
winbindd_nss.h  1.21.2.15 = 1.21.2.16

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h.diff?r1=1.21.2.15r2=1.21.2.16


CVS update: samba/source/nsswitch

2004-01-04 Thread vlendec

Date:   Sun Jan  4 11:59:11 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv8659/nsswitch

Modified Files:
wbinfo.c winbindd.c winbindd_misc.c winbindd_nss.h 
Log Message:
Commit the translation of the realm to the netbios domain name in the kerberos
session setup. After talking to jht and abartlet I made this unconditional, no
additional parameter.

Jerry: This is a change in behaviour, but I think it is necessary.

Volker


Revisions:
wbinfo.c1.66 = 1.67

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.66r2=1.67
winbindd.c  1.108 = 1.109

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c.diff?r1=1.108r2=1.109
winbindd_misc.c 1.35 = 1.36

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_misc.c.diff?r1=1.35r2=1.36
winbindd_nss.h  1.31 = 1.32

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h.diff?r1=1.31r2=1.32


CVS update: samba/source/nsswitch

2004-01-04 Thread abartlet

Date:   Mon Jan  5 00:15:34 2004
Author: abartlet

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv4423/source/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_cm.c 
Log Message:
We can't possilby get 'ok' here, as the if statement above just checked for it.


Revisions:
winbindd_cm.c   1.31.2.44 = 1.31.2.45

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c.diff?r1=1.31.2.44r2=1.31.2.45


CVS update: samba/source/nsswitch

2004-01-04 Thread abartlet

Date:   Mon Jan  5 01:48:21 2004
Author: abartlet

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv20068/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_ads.c 
Log Message:
Fix for bug 707, getent group for huge ads groups (1500 members)
This introduces range retrieval of ADS attributes.

VL rewrote most of Günther's patch, partly to remove code duplication and
partly to get the retrieval of members in one rush, not interrupted by the
lookups for the DN.

I rewrote that patch, to ensure that we can keep an eye on the USN
(sequence number) of the entry - this allows us to ensure the read was
atomic.

In particular, the range retrieval is now generic, for strings.  It
could easily be made generic for any attribute type, if need be.

Andrew Bartlett



Revisions:
winbindd_ads.c  1.43.2.31 = 1.43.2.32

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.43.2.31r2=1.43.2.32


CVS update: samba/source/nsswitch

2004-01-04 Thread abartlet

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

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

Modified Files:
  Tag: SAMBA_3_0
winbindd.h winbindd_ads.c winbindd_rpc.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:
winbindd.h  1.33.2.16 = 1.33.2.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h.diff?r1=1.33.2.16r2=1.33.2.17
winbindd_ads.c  1.43.2.32 = 1.43.2.33

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.43.2.32r2=1.43.2.33
winbindd_rpc.c  1.25.2.21 = 1.25.2.22

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.25.2.21r2=1.25.2.22


CVS update: samba/source/nsswitch

2004-01-04 Thread abartlet

Date:   Mon Jan  5 02:16:51 2004
Author: abartlet

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv25490/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_cache.c 
Log Message:
Add const.


Revisions:
winbindd_cache.c1.35.2.20 = 1.35.2.21

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c.diff?r1=1.35.2.20r2=1.35.2.21


CVS update: samba/source/nsswitch

2004-01-04 Thread abartlet

Date:   Mon Jan  5 04:10:28 2004
Author: abartlet

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv12921/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_ads.c winbindd_cm.c winbindd_misc.c winbindd_pam.c 
winbindd_rpc.c winbindd_util.c 
Log Message:
Change our Domain controller lookup routines to more carefully seperate 
DNS names (realms) from NetBIOS domain names.

Until now, we would experience delays as we broadcast lookups for DNS names 
onto the local network segments.

Now if DNS comes back negative, we fall straight back to looking up the
short name.

Andrew Bartlett


Revisions:
winbindd_ads.c  1.43.2.33 = 1.43.2.34

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.43.2.33r2=1.43.2.34
winbindd_cm.c   1.31.2.45 = 1.31.2.46

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cm.c.diff?r1=1.31.2.45r2=1.31.2.46
winbindd_misc.c 1.22.2.17 = 1.22.2.18

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_misc.c.diff?r1=1.22.2.17r2=1.22.2.18
winbindd_pam.c  1.44.2.34 = 1.44.2.35

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.44.2.34r2=1.44.2.35
winbindd_rpc.c  1.25.2.22 = 1.25.2.23

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c.diff?r1=1.25.2.22r2=1.25.2.23
winbindd_util.c 1.73.2.40 = 1.73.2.41

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_util.c.diff?r1=1.73.2.40r2=1.73.2.41


CVS update: samba/source/nsswitch

2004-01-04 Thread abartlet

Date:   Mon Jan  5 04:26:35 2004
Author: abartlet

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv16130/nsswitch

Modified Files:
  Tag: SAMBA_3_0
wbinfo.c 
Log Message:
Show the sid type in name-sid translatons in a way that can be easily
understood by humans.

Andrew Bartlett


Revisions:
wbinfo.c1.38.2.27 = 1.38.2.28

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.38.2.27r2=1.38.2.28


CVS update: samba/source/nsswitch

2004-01-04 Thread abartlet

Date:   Mon Jan  5 05:07:59 2004
Author: abartlet

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv23460/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_pam.c 
Log Message:
Grumble... grumble... fix the build...


Revisions:
winbindd_pam.c  1.44.2.35 = 1.44.2.36

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c.diff?r1=1.44.2.35r2=1.44.2.36


CVS update: samba/source/nsswitch

2004-01-03 Thread vlendec

Date:   Sat Jan  3 20:20:59 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv8715

Modified Files:
  Tag: SAMBA_3_0
winbindd_ads.c 
Log Message:
And yet another const

Volker


Revisions:
winbindd_ads.c  1.43.2.30 = 1.43.2.31

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.43.2.30r2=1.43.2.31


CVS update: samba/source/nsswitch

2004-01-03 Thread vlendec

Date:   Sat Jan  3 20:21:37 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv8885

Modified Files:
winbindd_ads.c 
Log Message:
And yet another const

Volker


Revisions:
winbindd_ads.c  1.75 = 1.76

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.75r2=1.76


CVS update: samba/source/nsswitch

2004-01-01 Thread vlendec

Date:   Thu Jan  1 20:30:50 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv20422/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_ads.c 
Log Message:
Fix for bug 707, getent group for huge ads groups (1500 members)
This introduces range retrieval of ADS attributes.

I've rewritten most of Günther's patch, partly to remove code duplication and
partly to get the retrieval of members in one rush, not interrupted by the
lookups for the DN.

Andrew, you told me that you would like to see a check whether the AD sequence
number is the same before and after the retrieval to achieve atomicity. This
would be trivial to add, but I'm not sure that we want this, as this adds two
roundtrips to every membership query. We can not know before the first query
whether we get additional range values, and at that point it's too late to ask
for the USN.

Tested with a group of 4000 members along with lots of small groups.

Volker


Revisions:
winbindd_ads.c  1.43.2.27 = 1.43.2.28

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.43.2.27r2=1.43.2.28


CVS update: samba/source/nsswitch

2004-01-01 Thread vlendec

Date:   Thu Jan  1 20:33:45 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv20787/nsswitch

Modified Files:
winbindd_ads.c 
Log Message:
Fix for bug 707, getent group for huge ads groups (1500 members)
This introduces range retrieval of ADS attributes.

I've rewritten most of Günther's patch, partly to remove code duplication and
partly to get the retrieval of members in one rush, not interrupted by the
lookups for the DN.

Andrew, you told me that you would like to see a check whether the AD sequence
number is the same before and after the retrieval to achieve atomicity. This
would be trivial to add, but I'm not sure that we want this, as this adds two
roundtrips to every membership query. We can not know before the first query
whether we get additional range values, and at that point it's too late to ask
for the USN.

Tested with a group of 4000 members along with lots of small groups.

Volker


Revisions:
winbindd_ads.c  1.73 = 1.74

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.73r2=1.74


CVS update: samba/source/nsswitch

2004-01-01 Thread vlendec

Date:   Thu Jan  1 21:10:35 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv27313/nsswitch

Modified Files:
  Tag: SAMBA_3_0
winbindd_ads.c 
Log Message:
After talking with abartlet remove the fix for bug 707 again.

Volker


Revisions:
winbindd_ads.c  1.43.2.28 = 1.43.2.29

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.43.2.28r2=1.43.2.29


CVS update: samba/source/nsswitch

2004-01-01 Thread vlendec

Date:   Thu Jan  1 21:11:33 2004
Author: vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv27801/nsswitch

Modified Files:
winbindd_ads.c 
Log Message:
After talking with abartlet remove the fix for bug 707 again.

Volker


Revisions:
winbindd_ads.c  1.74 = 1.75

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.74r2=1.75


  1   2   3   4   5   >