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/libads

2004-01-01 Thread vlendec

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

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

Modified Files:
  Tag: SAMBA_3_0
ldap.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:
ldap.c  1.55.2.45 = 1.55.2.46

http://www.samba.org/cgi-bin/cvsweb/samba/source/libads/ldap.c.diff?r1=1.55.2.45r2=1.55.2.46


CVS update: samba/source/libads

2004-01-01 Thread vlendec

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

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

Modified Files:
ldap.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:
ldap.c  1.116 = 1.117

http://www.samba.org/cgi-bin/cvsweb/samba/source/libads/ldap.c.diff?r1=1.116r2=1.117


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


CVS update: samba/source/libads

2004-01-01 Thread vlendec

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

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

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

Volker


Revisions:
ldap.c  1.117 = 1.118

http://www.samba.org/cgi-bin/cvsweb/samba/source/libads/ldap.c.diff?r1=1.117r2=1.118


CVS update: samba4/source/libcli/raw

2004-01-01 Thread tpot

Date:   Fri Jan  2 01:04:59 2004
Author: tpot

Update of /data/cvs/samba4/source/libcli/raw
In directory dp.samba.org:/tmp/cvs-serv3925/libcli/raw

Modified Files:
clitree.c 
Log Message:
Autodetect service_type in cli_tree_full_connection() if the caller
passes in NULL.


Revisions:
clitree.c   1.4 = 1.5

http://www.samba.org/cgi-bin/cvsweb/samba4/source/libcli/raw/clitree.c.diff?r1=1.4r2=1.5


CVS update: samba/source/groupdb

2004-01-01 Thread abartlet

Date:   Fri Jan  2 05:32:07 2004
Author: abartlet

Update of /home/cvs/samba/source/groupdb
In directory dp.samba.org:/tmp/cvs-serv1/groupdb

Modified Files:
  Tag: SAMBA_3_0
mapping.c 
Log Message:
JHT came up with a nasty (broken) torture case in preparing examples for 
his book.  

This prompted me to look at the code that reads the unix group list.  This 
code did a lot of name - uid - name - sid translations, which caused 
problems.  Instead, we now do just name-sid

I also cleaned up some interfaces, and client tools.

Andrew Bartlett



Revisions:
mapping.c   1.33.2.26 = 1.33.2.27

http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.26r2=1.33.2.27


CVS update: samba/source/rpc_server

2004-01-01 Thread abartlet

Date:   Fri Jan  2 05:32:07 2004
Author: abartlet

Update of /home/cvs/samba/source/rpc_server
In directory dp.samba.org:/tmp/cvs-serv1/rpc_server

Modified Files:
  Tag: SAMBA_3_0
srv_samr_nt.c 
Log Message:
JHT came up with a nasty (broken) torture case in preparing examples for 
his book.  

This prompted me to look at the code that reads the unix group list.  This 
code did a lot of name - uid - name - sid translations, which caused 
problems.  Instead, we now do just name-sid

I also cleaned up some interfaces, and client tools.

Andrew Bartlett



Revisions:
srv_samr_nt.c   1.86.2.57 = 1.86.2.58

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_samr_nt.c.diff?r1=1.86.2.57r2=1.86.2.58


CVS update: samba/source/passdb

2004-01-01 Thread abartlet

Date:   Fri Jan  2 05:32:07 2004
Author: abartlet

Update of /home/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv1/passdb

Modified Files:
  Tag: SAMBA_3_0
passdb.c 
Log Message:
JHT came up with a nasty (broken) torture case in preparing examples for 
his book.  

This prompted me to look at the code that reads the unix group list.  This 
code did a lot of name - uid - name - sid translations, which caused 
problems.  Instead, we now do just name-sid

I also cleaned up some interfaces, and client tools.

Andrew Bartlett



Revisions:
passdb.c1.151.2.60 = 1.151.2.61

http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/passdb.c.diff?r1=1.151.2.60r2=1.151.2.61


CVS update: samba/source/utils

2004-01-01 Thread abartlet

Date:   Fri Jan  2 05:32:07 2004
Author: abartlet

Update of /home/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv1/utils

Modified Files:
  Tag: SAMBA_3_0
net_rpc_samsync.c net_rpc.c 
Log Message:
JHT came up with a nasty (broken) torture case in preparing examples for 
his book.  

This prompted me to look at the code that reads the unix group list.  This 
code did a lot of name - uid - name - sid translations, which caused 
problems.  Instead, we now do just name-sid

I also cleaned up some interfaces, and client tools.

Andrew Bartlett



Revisions:
net_rpc_samsync.c   1.8.2.34 = 1.8.2.35

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_rpc_samsync.c.diff?r1=1.8.2.34r2=1.8.2.35
net_rpc.c   1.14.2.41 = 1.14.2.42

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_rpc.c.diff?r1=1.14.2.41r2=1.14.2.42


CVS update: samba/source/nsswitch

2004-01-01 Thread abartlet

Date:   Fri Jan  2 05:33:14 2004
Author: abartlet

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

Modified Files:
  Tag: SAMBA_3_0
winbindd_rpc.c 
Log Message:
Having no members of a group is a perfectly valid (if unusual) situation.

Andrew Bartlett


Revisions:
winbindd_rpc.c  1.25.2.20 = 1.25.2.21

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