CVS update: samba/source/groupdb

2004-03-14 Thread vlendec

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

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

Modified Files:
mapping.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:
mapping.c   1.65 = 1.66

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


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

2004-03-14 Thread vlendec

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

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

Modified Files:
srv_samr_nt.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:
srv_samr_nt.c   1.181 = 1.182

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


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

2004-03-14 Thread vlendec

Date:   Sun Mar 14 10:36:07 2004
Author: vlendec

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

Modified Files:
mapping.c 
Log Message:
Clean up a bit :-)

Volker


Revisions:
mapping.c   1.66 = 1.67

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


CVS update: samba/source/passdb

2004-03-14 Thread vlendec

Date:   Sun Mar 14 10:36:07 2004
Author: vlendec

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

Modified Files:
util_sam_sid.c 
Log Message:
Clean up a bit :-)

Volker


Revisions:
util_sam_sid.c  1.12 = 1.13

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


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


Using the '.' in names.

2004-03-14 Thread Christopher R. Hertel
[EMAIL PROTECTED] wrote:
 
 Date:   Fri Mar 12 21:35:15 2004
 Author: herb
 
 Update of /data/cvs/samba/source/libsmb
 In directory dp.samba.org:/tmp/cvs-serv24318/libsmb
 
 Modified Files:
   Tag: SAMBA_3_0
 nmblib.c
 Log Message:
 if we are truncating to the . we need to start at the beginning in case
 there are multiple .'s in the name.
 
 This code is protected with an #ifdef TRUNCATE_NETBIOS_NAME and this
 is #define'd to 1 directly above. Should we also get rid of the #ifdef?
 
 Revisions:
 nmblib.c1.68.2.12 = 1.68.2.13


Sure is an interesting bit of code and commentary.

The way the code reads, it truncates at the 'last' dot, not the first.
That may be the correct way to handle the problem.  As always, I think
you'ld need to see what Windows does.  Urg.

What's worse is that it may require seeing what happens with several flavors
of Windows.

Chris -)-

-- 
Implementing CIFS - the Common Internet FileSystem ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)-   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)-   [EMAIL PROTECTED]
OnLineBook -- http://ubiqx.org/cifs/-)-   [EMAIL PROTECTED]