CVS update: samba/source/libads

2004-01-05 Thread abartlet

Date:   Mon Jan  5 12:20:15 2004
Author: abartlet

Update of /home/cvs/samba/source/libads
In directory dp.samba.org:/tmp/cvs-serv565/libads

Modified Files:
  Tag: SAMBA_3_0
ldap.c 
Log Message:
Try to keep vl happy - shorten some of these lines.


Revisions:
ldap.c  1.55.2.48 = 1.55.2.49

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


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

2004-01-05 Thread abartlet

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

Update of /home/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv3743/libsmb

Modified Files:
  Tag: SAMBA_3_0
ntlmssp.c 
Log Message:
Don't free the encrypted_session_key early - that causes the subsequent 
test for a valid length to fail...

This should fix 'security=server' and hosts-equiv failures picked up by
the build farm.

Andrew Bartlett


Revisions:
ntlmssp.c   1.4.2.32 = 1.4.2.33

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/ntlmssp.c.diff?r1=1.4.2.32r2=1.4.2.33


CVS update: samba-docs/docbook/xslt

2004-01-05 Thread Jelmer Vernooij

Date:   Mon Jan  5 13:25:46 2004
Author: jelmer

Update of /home/cvs/samba-docs/docbook/xslt
In directory dp.samba.org:/tmp/cvs-serv12764/xslt

Modified Files:
expand-sambadoc.xsl 
Log Message:
Nicer smb.conf manpage. More to be done.

Revisions:
expand-sambadoc.xsl 1.6 = 1.7

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/xslt/expand-sambadoc.xsl.diff?r1=1.6r2=1.7


CVS update: samba-docs/docbook/manpages

2004-01-05 Thread Jelmer Vernooij

Date:   Mon Jan  5 13:25:46 2004
Author: jelmer

Update of /home/cvs/samba-docs/docbook/manpages
In directory dp.samba.org:/tmp/cvs-serv12764/manpages

Modified Files:
lmhosts.5.xml 
Log Message:
Nicer smb.conf manpage. More to be done.

Revisions:
lmhosts.5.xml   1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/manpages/lmhosts.5.xml.diff?r1=1.2r2=1.3


CVS update: samba-docs/docbook/smbdotconf

2004-01-05 Thread Jelmer Vernooij

Date:   Mon Jan  5 13:25:46 2004
Author: jelmer

Update of /home/cvs/samba-docs/docbook/smbdotconf
In directory dp.samba.org:/tmp/cvs-serv12764/smbdotconf

Modified Files:
smb.conf.5.xml 
Log Message:
Nicer smb.conf manpage. More to be done.

Revisions:
smb.conf.5.xml  1.10 = 1.11

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/smbdotconf/smb.conf.5.xml.diff?r1=1.10r2=1.11


CVS update: samba-docs/docbook/smbdotconf

2004-01-05 Thread Jelmer Vernooij

Date:   Mon Jan  5 14:40:47 2004
Author: jelmer

Update of /home/cvs/samba-docs/docbook/smbdotconf
In directory dp.samba.org:/tmp/cvs-serv27648/smbdotconf

Modified Files:
generate-file-list.sh 
Log Message:
Use 2001/XInclude, as some XSLT processors don't support 2003/XInclude yet

Revisions:
generate-file-list.sh   1.4 = 1.5

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/smbdotconf/generate-file-list.sh.diff?r1=1.4r2=1.5


CVS update: samba-docs/docbook/smbdotconf/logon

2004-01-05 Thread jerry

Date:   Mon Jan  5 14:46:42 2004
Author: jerry

Update of /data/cvs/samba-docs/docbook/smbdotconf/logon
In directory dp.samba.org:/tmp/cvs-serv28682/logon

Modified Files:
domainlogons.xml 
Log Message:
correct some outdated info

Revisions:
domainlogons.xml1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/smbdotconf/logon/domainlogons.xml.diff?r1=1.3r2=1.4


CVS update: samba-docs/docbook

2004-01-05 Thread Jelmer Vernooij

Date:   Mon Jan  5 15:14:56 2004
Author: jelmer

Update of /home/cvs/samba-docs/docbook
In directory dp.samba.org:/tmp/cvs-serv1525

Modified Files:
docbook.txt 
Log Message:
Generated docs are no longer in CVS

Revisions:
docbook.txt 1.10 = 1.11

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/docbook.txt.diff?r1=1.10r2=1.11


CVS update: sambaweb/GUI

2004-01-05 Thread jerry

Date:   Mon Jan  5 15:44:29 2004
Author: jerry

Update of /data/cvs/sambaweb/GUI
In directory dp.samba.org:/tmp/cvs-serv7708/GUI

Modified Files:
index.html 
Log Message:
gnosamba is no more I guess

Revisions:
index.html  1.29 = 1.30

http://www.samba.org/cgi-bin/cvsweb/sambaweb/GUI/index.html.diff?r1=1.29r2=1.30


CVS update: samba-docs/docbook/projdoc

2004-01-05 Thread jerry

Date:   Mon Jan  5 16:15:13 2004
Author: jerry

Update of /data/cvs/samba-docs/docbook/projdoc
In directory dp.samba.org:/tmp/cvs-serv14311/projdoc

Modified Files:
upgrading-to-3.0.xml 
Log Message:
fix syntax for convertSambaAccount script

Revisions:
upgrading-to-3.0.xml1.7 = 1.8

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/projdoc/upgrading-to-3.0.xml.diff?r1=1.7r2=1.8


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-docs/docbook/smbdotconf/logon

2004-01-05 Thread Jelmer Vernooij

Date:   Mon Jan  5 17:49:05 2004
Author: jelmer

Update of /home/cvs/samba-docs/docbook/smbdotconf/logon
In directory dp.samba.org:/tmp/cvs-serv1712/smbdotconf/logon

Modified Files:
domainlogons.xml 
Log Message:
FIx syntax error

Revisions:
domainlogons.xml1.4 = 1.5

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/smbdotconf/logon/domainlogons.xml.diff?r1=1.4r2=1.5


CVS update: samba-docs/docbook/xslt

2004-01-05 Thread Jelmer Vernooij

Date:   Mon Jan  5 18:29:21 2004
Author: jelmer

Update of /home/cvs/samba-docs/docbook/xslt
In directory dp.samba.org:/tmp/cvs-serv9153/xslt

Modified Files:
latex.xsl 
Log Message:
Use 'en', not 'en-US'

Revisions:
latex.xsl   1.11 = 1.12

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/xslt/latex.xsl.diff?r1=1.11r2=1.12


CVS update: samba/source/libsmb

2004-01-05 Thread jra

Date:   Mon Jan  5 19:21:06 2004
Author: jra

Update of /data/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv20150/libsmb

Modified Files:
  Tag: SAMBA_3_0
ntlmssp.c 
Log Message:
Ensure we set always sign flag if set. We don't currently do anything with
this but we should log the fact it was negotiated.
Jeremy.


Revisions:
ntlmssp.c   1.4.2.33 = 1.4.2.34

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/ntlmssp.c.diff?r1=1.4.2.33r2=1.4.2.34


CVS update: samba/source/include

2004-01-05 Thread jra

Date:   Mon Jan  5 19:36:02 2004
Author: jra

Update of /data/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv22666/include

Modified Files:
  Tag: SAMBA_3_0
sysquotas.h 
Log Message:
Patch from Stefan (metze) Metzmacher metze at metzemix.de to revert to 2.2.x quota 
methods.

:-).

here's a patch which ports the samba 2.2 samba_linux_quota.h stuff to 3_0.
   
 
This is needed because of so many broken quota files outthere.
   
 
Please, test this with old, new kernels
(strucr dqblk, struct mem_dqblk, and struct if_dqblk)
, quota.user, aquota.user formats
   
 
what is when a user is over soft quota and over hard quotas...

Jeremy.



Revisions:
sysquotas.h 1.1.2.4 = 1.1.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/sysquotas.h.diff?r1=1.1.2.4r2=1.1.2.5


CVS update: samba/source/lib

2004-01-05 Thread jra

Date:   Mon Jan  5 19:36:02 2004
Author: jra

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv22666/lib

Modified Files:
  Tag: SAMBA_3_0
sysquotas.c 
Log Message:
Patch from Stefan (metze) Metzmacher metze at metzemix.de to revert to 2.2.x quota 
methods.

:-).

here's a patch which ports the samba 2.2 samba_linux_quota.h stuff to 3_0.
   
 
This is needed because of so many broken quota files outthere.
   
 
Please, test this with old, new kernels
(strucr dqblk, struct mem_dqblk, and struct if_dqblk)
, quota.user, aquota.user formats
   
 
what is when a user is over soft quota and over hard quotas...

Jeremy.



Revisions:
sysquotas.c 1.1.2.5 = 1.1.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/sysquotas.c.diff?r1=1.1.2.5r2=1.1.2.6


CVS update: samba/source/smbd

2004-01-05 Thread jra

Date:   Mon Jan  5 19:36:02 2004
Author: jra

Update of /data/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv22666/smbd

Modified Files:
  Tag: SAMBA_3_0
quotas.c 
Log Message:
Patch from Stefan (metze) Metzmacher metze at metzemix.de to revert to 2.2.x quota 
methods.

:-).

here's a patch which ports the samba 2.2 samba_linux_quota.h stuff to 3_0.
   
 
This is needed because of so many broken quota files outthere.
   
 
Please, test this with old, new kernels
(strucr dqblk, struct mem_dqblk, and struct if_dqblk)
, quota.user, aquota.user formats
   
 
what is when a user is over soft quota and over hard quotas...

Jeremy.



Revisions:
quotas.c1.49.2.7 = 1.49.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/quotas.c.diff?r1=1.49.2.7r2=1.49.2.8


CVS update: samba/source

2004-01-05 Thread jerry

Date:   Mon Jan  5 20:23:56 2004
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0
configure.in 
Log Message:
fix inverted check using krb5_kt_resolve() and HAVE_MEMORY_KEYTAB; bug 912

Revisions:
configure.in1.300.2.199 = 1.300.2.200

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.300.2.199r2=1.300.2.200


CVS update: samba/source

2004-01-05 Thread jerry

Date:   Mon Jan  5 20:24:21 2004
Author: jerry

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

Modified Files:
configure.in 
Log Message:
fix inverted check using krb5_kt_resolve() and HAVE_MEMORY_KEYTAB; bug 912

Revisions:
configure.in1.512 = 1.513

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.512r2=1.513


CVS update: samba/source/lib

2004-01-05 Thread jra

Date:   Mon Jan  5 21:01:06 2004
Author: jra

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv9075/lib

Modified Files:
system.c 
Log Message:
Fix from James Flemer [EMAIL PROTECTED] to make HAVE_ATTR_LIST linked to
HAVE_SYS_ATTRIBUTES_H to fix AIX compile.
Jeremy.


Revisions:
system.c1.96 = 1.97

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/system.c.diff?r1=1.96r2=1.97


CVS update: samba/source/lib

2004-01-05 Thread jra

Date:   Mon Jan  5 21:01:08 2004
Author: jra

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv8214/lib

Modified Files:
  Tag: SAMBA_3_0
system.c 
Log Message:
Fix from James Flemer [EMAIL PROTECTED] to make HAVE_ATTR_LIST linked to
HAVE_SYS_ATTRIBUTES_H to fix AIX compile.
Jeremy.


Revisions:
system.c1.78.2.9 = 1.78.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/system.c.diff?r1=1.78.2.9r2=1.78.2.10


CVS update: samba/source/include

2004-01-05 Thread jra

Date:   Mon Jan  5 21:02:37 2004
Author: jra

Update of /data/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv9228/include

Added Files:
  Tag: SAMBA_3_0
samba_linux_quota.h samba_xfs_quota.h 
Log Message:
Oops. Broke the build. Added missing files.
Jeremy.


Revisions:
samba_linux_quota.h NONE = 1.1.8.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/samba_linux_quota.h?rev=1.1.8.1
samba_xfs_quota.h   NONE = 1.1.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/samba_xfs_quota.h?rev=1.1.2.1


CVS update: samba/source/lib

2004-01-05 Thread jra

Date:   Mon Jan  5 21:02:37 2004
Author: jra

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv9228/lib

Added Files:
  Tag: SAMBA_3_0
sysquotas_4A.c sysquotas_xfs.c 
Log Message:
Oops. Broke the build. Added missing files.
Jeremy.


Revisions:
sysquotas_4A.c  NONE = 1.1.2.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/sysquotas_4A.c?rev=1.1.2.1
sysquotas_xfs.c NONE = 1.1.2.1

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


CVS update: samba/source/lib

2004-01-05 Thread jra

Date:   Mon Jan  5 21:03:12 2004
Author: jra

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv9352/lib

Added Files:
  Tag: SAMBA_3_0
sysquotas_linux.c 
Log Message:
Added last missing file.
Jeremy.


Revisions:
sysquotas_linux.c   NONE = 1.1.2.1

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


CVS update: samba/source/libsmb

2004-01-05 Thread abartlet

Date:   Mon Jan  5 21:24:28 2004
Author: abartlet

Update of /home/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv14259/libsmb

Modified Files:
  Tag: SAMBA_3_0
ntlmssp.c 
Log Message:
Fix more cases to ensure that as a server, we don't complain to the client
about our server-side lack of session key.

Andrew Bartlett


Revisions:
ntlmssp.c   1.4.2.34 = 1.4.2.35

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/ntlmssp.c.diff?r1=1.4.2.34r2=1.4.2.35


CVS update: samba

2004-01-05 Thread jerry

Date:   Mon Jan  5 21:51:01 2004
Author: jerry

Update of /data/cvs/samba
In directory dp.samba.org:/tmp/cvs-serv19618

Modified Files:
  Tag: SAMBA_3_0
WHATSNEW.txt 
Log Message:
working on new format for relerase notes in 3.0.2pre1

Revisions:
WHATSNEW.txt1.52.2.49 = 1.52.2.50

http://www.samba.org/cgi-bin/cvsweb/samba/WHATSNEW.txt.diff?r1=1.52.2.49r2=1.52.2.50


CVS update: samba/source/client

2004-01-05 Thread sfrench

Date:   Mon Jan  5 22:18:44 2004
Author: sfrench

Update of /home/cvs/samba/source/client
In directory dp.samba.org:/tmp/cvs-serv24324

Modified Files:
  Tag: SAMBA_3_0
mount.cifs.c 
Log Message:
cifs mount helper merge


Revisions:
mount.cifs.c1.2.2.7 = 1.2.2.8

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


CVS update: samba-docs/docbook/smbdotconf/ldap

2004-01-05 Thread Jelmer Vernooij

Date:   Mon Jan  5 23:01:30 2004
Author: jelmer

Update of /home/cvs/samba-docs/docbook/smbdotconf/ldap
In directory dp.samba.org:/tmp/cvs-serv31873/ldap

Modified Files:
ldapreplicationsleep.xml 
Log Message:
Convert 'ldap replication sleep' to new format
winbind gid and winbind uid are now synonyms for idmap gid and idmap uid


Revisions:
ldapreplicationsleep.xml1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/smbdotconf/ldap/ldapreplicationsleep.xml.diff?r1=1.3r2=1.4


CVS update: samba-docs/docbook/smbdotconf/winbind

2004-01-05 Thread Jelmer Vernooij

Date:   Mon Jan  5 23:01:30 2004
Author: jelmer

Update of /home/cvs/samba-docs/docbook/smbdotconf/winbind
In directory dp.samba.org:/tmp/cvs-serv31873/winbind

Removed Files:
winbindgid.xml winbinduid.xml 
Log Message:
Convert 'ldap replication sleep' to new format
winbind gid and winbind uid are now synonyms for idmap gid and idmap uid


Revisions:
winbindgid.xml  1.3 = NONE

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/smbdotconf/winbind/winbindgid.xml?rev=1.3
winbinduid.xml  1.3 = NONE

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/smbdotconf/winbind/winbinduid.xml?rev=1.3


CVS update: samba/source/lib

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:15:33 2004
Author: abartlet

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv1434/source/lib

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

Based on patch by Petri Asikainen [EMAIL PROTECTED] fix bug #387 and #330.
 
This patch will change order how attributes are modified
from: add, delete
to:   delete, add
 
This is needed to update single valued attributes in Novell NDS and
should not harm anyone else.



Revisions:
smbldap.c   1.12 = 1.13

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


CVS update: samba/source/passdb

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:16:47 2004
Author: abartlet

Update of /data/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv2200/source/passdb

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

Show the error message for failure to set the ldap password.
(For 'ldap password sync = yes')
 
Andrew Bartlett
 


Revisions:
pdb_ldap.c  1.127 = 1.128

http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_ldap.c.diff?r1=1.127r2=1.128


CVS update: samba/source/passdb

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:18:06 2004
Author: abartlet

Update of /data/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv2318/source/passdb

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

Check the return value of string_to_sid in a few more places.  (But
string_to_sid also needs to be less permissive on what it thinks are
valid sids...)
 
Andrew Bartlett



Revisions:
pdb_ldap.c  1.128 = 1.129

http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_ldap.c.diff?r1=1.128r2=1.129


CVS update: samba/source/libsmb

2004-01-05 Thread abartlet

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

Update of /data/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv2399/source/libsmb

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

Shutting down the connection closes outstanding sessions, so we don't need
to do it twice...
 
Amdrew Bartlett



Revisions:
trusts_util.c   1.10 = 1.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/trusts_util.c.diff?r1=1.10r2=1.11


CVS update: samba/source/rpc_parse

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:20:59 2004
Author: abartlet

Update of /data/cvs/samba/source/rpc_parse
In directory dp.samba.org:/tmp/cvs-serv2987/source/rpc_parse

Modified Files:
parse_net.c 
Log Message:
(merge from 3.0)
 
Add the alignment required before all 2-byte quantities in NDR.  Allows us
to correctly parse plaintext netlogon calls with odd-length passwords
 
Andrew Bartlett



Revisions:
parse_net.c 1.111 = 1.112

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_parse/parse_net.c.diff?r1=1.111r2=1.112


CVS update: samba/source/auth

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:22:00 2004
Author: abartlet

Update of /data/cvs/samba/source/auth
In directory dp.samba.org:/tmp/cvs-serv3287/source/auth

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

Refactor our authentication and authentication testing code.
 
The next move will be to remove our password checking code from the SAM
authentication backend, and into a file where other parts of samba can use
it.
 
The ntlm_auth changes provide for better use of common code.
 
Andrew Bartlett



Revisions:
auth_sam.c  1.60 = 1.61

http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_sam.c.diff?r1=1.60r2=1.61


CVS update: samba/source/utils

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:22:00 2004
Author: abartlet

Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv3287/source/utils

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

Refactor our authentication and authentication testing code.
 
The next move will be to remove our password checking code from the SAM
authentication backend, and into a file where other parts of samba can use
it.
 
The ntlm_auth changes provide for better use of common code.
 
Andrew Bartlett



Revisions:
ntlm_auth.c 1.23 = 1.24

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/ntlm_auth.c.diff?r1=1.23r2=1.24


CVS update: samba-docs/docbook/smbdotconf/winbind

2004-01-05 Thread Jelmer Vernooij

Date:   Mon Jan  5 23:23:34 2004
Author: jelmer

Update of /home/cvs/samba-docs/docbook/smbdotconf/winbind
In directory dp.samba.org:/tmp/cvs-serv3406/smbdotconf/winbind

Modified Files:
idmapuid.xml 
Log Message:
Fix typo

Revisions:
idmapuid.xml1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/smbdotconf/winbind/idmapuid.xml.diff?r1=1.3r2=1.4


CVS update: samba-docs/docbook/xslt

2004-01-05 Thread Jelmer Vernooij

Date:   Mon Jan  5 23:23:34 2004
Author: jelmer

Update of /home/cvs/samba-docs/docbook/xslt
In directory dp.samba.org:/tmp/cvs-serv3406/xslt

Modified Files:
expand-sambadoc.xsl latex.xsl 
Log Message:
Fix typo

Revisions:
expand-sambadoc.xsl 1.8 = 1.9

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/xslt/expand-sambadoc.xsl.diff?r1=1.8r2=1.9
latex.xsl   1.12 = 1.13

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/xslt/latex.xsl.diff?r1=1.12r2=1.13


CVS update: samba/source

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:23:59 2004
Author: abartlet

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

Modified Files:
Makefile.in 
Log Message:
(merge from 3.0)
 
Move our basic password checking code from inside the authentication
subsystem into a seperate file - ntlm_check.c.
 
This allows us to call these routines from ntlm_auth.  The purpose of this
exercise is to allow ntlm_auth (when operating as an NTLMSSP server) to
avoid talking to winbind.  This should allow for easier debugging.
 
ntlm_auth itself has been reorgainised, so as to share more code between
the SPNEGO-wrapped and 'raw' NTLMSSP modes.  A new 'client' NTLMSSP mode
has been added, for use with a Cyrus-SASL module I am writing (based on vl's
work)
 
Andrew Bartlett



Revisions:
Makefile.in 1.740 = 1.741

http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in.diff?r1=1.740r2=1.741


CVS update: samba/source/libsmb

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:23:59 2004
Author: abartlet

Update of /data/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv3400/source/libsmb

Added Files:
ntlm_check.c 
Log Message:
(merge from 3.0)
 
Move our basic password checking code from inside the authentication
subsystem into a seperate file - ntlm_check.c.
 
This allows us to call these routines from ntlm_auth.  The purpose of this
exercise is to allow ntlm_auth (when operating as an NTLMSSP server) to
avoid talking to winbind.  This should allow for easier debugging.
 
ntlm_auth itself has been reorgainised, so as to share more code between
the SPNEGO-wrapped and 'raw' NTLMSSP modes.  A new 'client' NTLMSSP mode
has been added, for use with a Cyrus-SASL module I am writing (based on vl's
work)
 
Andrew Bartlett



Revisions:
ntlm_check.c1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/ntlm_check.c.diff?r1=1.1r2=1.2


CVS update: samba/source/auth

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:23:59 2004
Author: abartlet

Update of /data/cvs/samba/source/auth
In directory dp.samba.org:/tmp/cvs-serv3400/source/auth

Modified Files:
auth_sam.c 
Log Message:
(merge from 3.0)
 
Move our basic password checking code from inside the authentication
subsystem into a seperate file - ntlm_check.c.
 
This allows us to call these routines from ntlm_auth.  The purpose of this
exercise is to allow ntlm_auth (when operating as an NTLMSSP server) to
avoid talking to winbind.  This should allow for easier debugging.
 
ntlm_auth itself has been reorgainised, so as to share more code between
the SPNEGO-wrapped and 'raw' NTLMSSP modes.  A new 'client' NTLMSSP mode
has been added, for use with a Cyrus-SASL module I am writing (based on vl's
work)
 
Andrew Bartlett



Revisions:
auth_sam.c  1.61 = 1.62

http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_sam.c.diff?r1=1.61r2=1.62


CVS update: samba/source/utils

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:23:59 2004
Author: abartlet

Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv3400/source/utils

Modified Files:
ntlm_auth.c 
Log Message:
(merge from 3.0)
 
Move our basic password checking code from inside the authentication
subsystem into a seperate file - ntlm_check.c.
 
This allows us to call these routines from ntlm_auth.  The purpose of this
exercise is to allow ntlm_auth (when operating as an NTLMSSP server) to
avoid talking to winbind.  This should allow for easier debugging.
 
ntlm_auth itself has been reorgainised, so as to share more code between
the SPNEGO-wrapped and 'raw' NTLMSSP modes.  A new 'client' NTLMSSP mode
has been added, for use with a Cyrus-SASL module I am writing (based on vl's
work)
 
Andrew Bartlett



Revisions:
ntlm_auth.c 1.24 = 1.25

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/ntlm_auth.c.diff?r1=1.24r2=1.25


CVS update: samba/source/utils

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:25:56 2004
Author: abartlet

Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv3900/source/utils

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

Remove testing hack
 
Make the name of the NTLMSSP client more consistant before we lock it in stone.
 
Andrew Bartlett


Revisions:
ntlm_auth.c 1.25 = 1.26

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


CVS update: samba-docs/docbook/smbdotconf/security

2004-01-05 Thread Jelmer Vernooij

Date:   Mon Jan  5 23:27:53 2004
Author: jelmer

Update of /home/cvs/samba-docs/docbook/smbdotconf/security
In directory dp.samba.org:/tmp/cvs-serv4561/smbdotconf/security

Removed Files:
root.xml 
Log Message:
root is a synonym

Revisions:
root.xml1.3 = NONE

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/smbdotconf/security/root.xml?rev=1.3


CVS update: samba/source/utils

2004-01-05 Thread abartlet

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

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

Modified Files:
ntlm_auth.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:
ntlm_auth.c 1.26 = 1.27

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/ntlm_auth.c.diff?r1=1.26r2=1.27


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

2004-01-05 Thread abartlet

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

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

Modified Files:
auth_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:
auth_util.c 1.83 = 1.84

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


CVS update: samba/source/lib

2004-01-05 Thread abartlet

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

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

Modified Files:
charcnv.c smbldap.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:
charcnv.c   1.87 = 1.88

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/charcnv.c.diff?r1=1.87r2=1.88
smbldap.c   1.13 = 1.14

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


CVS update: samba/source/libads

2004-01-05 Thread abartlet

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

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

Modified Files:
ldap.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:
ldap.c  1.118 = 1.119

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


CVS update: samba/source/libsmb

2004-01-05 Thread abartlet

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

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

Modified Files:
libsmbclient.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:
libsmbclient.c  1.76 = 1.77

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


CVS update: samba/source/printing

2004-01-05 Thread abartlet

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

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

Modified Files:
nt_printing.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:
nt_printing.c   1.260 = 1.261

http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/nt_printing.c.diff?r1=1.260r2=1.261


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

2004-01-05 Thread abartlet

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

Update of /data/cvs/samba/source/groupdb
In directory dp.samba.org:/tmp/cvs-serv7449/source/groupdb

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

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.56 = 1.57

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


CVS update: samba/source/passdb

2004-01-05 Thread abartlet

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

Update of /data/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv7449/source/passdb

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

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.214 = 1.215

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


CVS update: samba/source/rpc_server

2004-01-05 Thread abartlet

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

Update of /data/cvs/samba/source/rpc_server
In directory dp.samba.org:/tmp/cvs-serv7449/source/rpc_server

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

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.164 = 1.165

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


CVS update: samba/source/utils

2004-01-05 Thread abartlet

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

Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv7449/source/utils

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

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.c   1.64 = 1.65

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_rpc.c.diff?r1=1.64r2=1.65
net_rpc_samsync.c   1.30 = 1.31

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


CVS update: samba/source/libsmb

2004-01-05 Thread abartlet

Date:   Mon Jan  5 23:48:04 2004
Author: abartlet

Update of /data/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv8729/source/libsmb

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

Even if the 'device type' is always an ascii string, use push_string to get
it out onto the wire.  Avoids valgrind warnings because the fstrcpy() causes
part of the wire buffer to be 'marked'.
 
Andrew Bartlett



Revisions:
cliconnect.c1.144 = 1.145

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cliconnect.c.diff?r1=1.144r2=1.145


CVS update: samba/source/libads

2004-01-05 Thread abartlet

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

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

Modified Files:
ldap.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:
ldap.c  1.119 = 1.120

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


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

2004-01-05 Thread abartlet

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

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

Modified Files:
rpc_ds.h 
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:
rpc_ds.h1.5 = 1.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/rpc_ds.h.diff?r1=1.5r2=1.6


CVS update: samba/source/libads

2004-01-05 Thread abartlet

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

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

Modified Files:
ads_ldap.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:
ads_ldap.c  1.4 = 1.5

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


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

2004-01-05 Thread abartlet

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

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

Modified Files:
parse_lsa.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:
parse_lsa.c 1.99 = 1.100

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_parse/parse_lsa.c.diff?r1=1.99r2=1.100


CVS update: samba/source/rpcclient

2004-01-05 Thread abartlet

Date:   Tue Jan  6 00:05:31 2004
Author: abartlet

Update of /data/cvs/samba/source/rpcclient
In directory dp.samba.org:/tmp/cvs-serv12460/source/rpcclient

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

Change (unused) structure parameter for cli_ds_enum_domain_trusts() cleanup.
 
Andrew Bartlett


Revisions:
cmd_ds.c1.7 = 1.8

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


CVS update: samba/source/libads

2004-01-05 Thread abartlet

Date:   Tue Jan  6 00:06:50 2004
Author: abartlet

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

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

There is some memory corruption hidden somewhere in our winbind code.  If I
could reproduce it, I would fix it, but for now just make sure we always
SAFE_FREE() and set our starting pointers to NULL.
 
Andrew Bartlett



Revisions:
ldap_utils.c1.6 = 1.7

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


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

2004-01-05 Thread abartlet

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

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

Modified Files:
auth_domain.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:
auth_domain.c   1.80 = 1.81

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


CVS update: samba/source/libsmb

2004-01-05 Thread abartlet

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

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

Modified Files:
namequery_dc.c trusts_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:
namequery_dc.c  1.5 = 1.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/namequery_dc.c.diff?r1=1.5r2=1.6
trusts_util.c   1.11 = 1.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/trusts_util.c.diff?r1=1.11r2=1.12


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

2004-01-05 Thread abartlet

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

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

Modified Files:
ldap.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:
ldap.c  1.120 = 1.121

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


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