CVS update: samba/source/sam

2004-03-18 Thread jerry

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

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

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

Revisions:
idmap_ldap.c1.1.4.9 = 1.1.4.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.4.9r2=1.1.4.10


CVS update: samba/source/sam

2004-03-11 Thread jmcd

Date:   Thu Mar 11 16:32:19 2004
Author: jmcd

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv24596/sam

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
Get MungedDial actually working with full TS strings in it for pdb_ldap.
I know this isn't pretty, but neither was our assumption that all strings
from the directory fit inside a pstring.  There was no way this worked 
before will all versions of usrmgr (for example, the only version of 
mine that has the TS Confic button).


Revisions:
idmap_ldap.c1.1.2.21 = 1.1.2.22

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.21r2=1.1.2.22


CVS update: samba/source/sam

2004-03-11 Thread jmcd

Date:   Thu Mar 11 18:10:08 2004
Author: jmcd

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv11607/sam

Modified Files:
idmap_ldap.c 
Log Message:
Merge from 3.0.  Fix munged dial in pdb_ldap


Revisions:
idmap_ldap.c1.8 = 1.9

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


CVS update: samba/source/sam

2004-03-01 Thread idra

Date:   Mon Mar  1 16:10:28 2004
Author: idra

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

Modified Files:
gums.c 
Log Message:


Ok here it is my latest work on privileges

This patch add privilege support for samba
Currently it is implemented only for tdbsam backend but estending it to
other sam backends is straightforward.

I must make a big thank to JFM for his teachings on the matter and the
functions at the base of this work.

At thye moment only samr_create_user honours SeAddUsersPrivilege and
SeMachineAccountPrivilege to permit any user to add machines and/or users to
the server.

The command net priv has been provided to manipulate the privileges
database.

There are still many things to do (like support in net rpc vampire) but
the working core is here.

Feel free to comment/extend on this work.

Of course I will deny that any bug may affect this code :-)
Simo.


This patch adds also my patch about add share command enhancements.



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


CVS update: samba/source/sam

2004-02-22 Thread jmcd

Date:   Mon Feb 23 02:54:03 2004
Author: jmcd

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv31486/sam

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
Janitor for tpot...bugzilla #1098, msleep already exists on aix

Revisions:
idmap_ldap.c1.1.2.20 = 1.1.2.21

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.20r2=1.1.2.21


CVS update: samba/source/sam

2004-02-20 Thread tpot

Date:   Fri Feb 20 22:42:39 2004
Author: tpot

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

Modified Files:
idmap_ldap.c 
Log Message:
AIX has already has a function called msleep().  Bugzilla #1098.


Revisions:
idmap_ldap.c1.7 = 1.8

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


CVS update: samba/source/sam

2004-02-11 Thread jerry

Date:   Wed Feb 11 15:20:18 2004
Author: jerry

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

Modified Files:
gums_api.c 
Log Message:
fix broken compile after andrew's changes

Revisions:
gums_api.c  1.9 = 1.10

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


CVS update: samba/source/sam

2004-01-19 Thread idra

Date:   Mon Jan 19 08:52:54 2004
Author: idra

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

Modified Files:
gums_api.c gums_helper.c gums_tdbsam2.c 
Log Message:

1. The most part of this patch changed the unknown_3 flag to the now known
meaning of fields_present bit mask. Also avoid it being saved in backends (0
is saved where removing the unit32 would have produced a format change).
Also add support in samr functions to correctly interpret the flags.
Flags still not set properly (eg. still set all flags 0xff as previous
code), need a tool to test this properly (I',ve done preliminary tests with
samba4 rpc torture and it seem to work properly against w2k).

2. Patch for handlig the flag user must change password at next logon
in usrmgr based on Jianliang Lu [EMAIL PROTECTED] patch





Revisions:
gums_api.c  1.7 = 1.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_api.c.diff?r1=1.7r2=1.8
gums_helper.c   1.5 = 1.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_helper.c.diff?r1=1.5r2=1.6
gums_tdbsam2.c  1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_tdbsam2.c.diff?r1=1.2r2=1.3


CVS update: samba/source/sam

2004-01-06 Thread jerry

Date:   Tue Jan  6 18:26:18 2004
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
isolate ldap debug messages to the common smbldap_XXX() functions

Revisions:
idmap_ldap.c1.1.2.19 = 1.1.2.20

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.19r2=1.1.2.20


CVS update: samba/source/sam

2004-01-06 Thread jerry

Date:   Tue Jan  6 18:26:53 2004
Author: jerry

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

Modified Files:
idmap_ldap.c 
Log Message:
isolate ldap debug messages to the common smbldap_XXX() functions

Revisions:
idmap_ldap.c1.6 = 1.7

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


CVS update: samba/source/sam

2004-01-06 Thread jerry

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

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

Modified Files:
  Tag: SAMBA_3_0_RELEASE
idmap_ldap.c 
Log Message:
starting to sync files for 3.0.2pre1:

Revisions:
idmap_ldap.c1.1.4.8 = 1.1.4.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.4.8r2=1.1.4.9


CVS update: samba/source/sam

2003-11-13 Thread jerry

Date:   Fri Nov 14 03:28:03 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
fix more memory leaks in the LDAP backend code; patches from metze

Revisions:
idmap_ldap.c1.1.2.18 = 1.1.2.19

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.18r2=1.1.2.19


CVS update: samba/source/sam

2003-11-13 Thread jerry

Date:   Fri Nov 14 03:36:13 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0_RELEASE
idmap_ldap.c 
Log Message:
sync tree from 3.0

Revisions:
idmap_ldap.c1.1.4.7 = 1.1.4.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.4.7r2=1.1.4.8


CVS update: samba/source/sam

2003-11-13 Thread jerry

Date:   Fri Nov 14 03:36:27 2003
Author: jerry

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

Modified Files:
idmap_ldap.c 
Log Message:
fix more memory leaks in the LDAP backend code; patches from metze

Revisions:
idmap_ldap.c1.5 = 1.6

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


CVS update: samba/source/sam

2003-11-07 Thread jerry

Date:   Fri Nov  7 14:39:47 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
fix for bug 680 (heads up).  This gist is to map the
UNIX entity foo to DOMAIN\foo instead of SERVER\foo
on members of a Samba domain when all UNIX accounts
are shared via NIS, et. al.

  * allow winbindd to match local accounts to domain SID
when 'winbind trusted domains only = yes'

  * remove code in idmap_ldap that searches the user 
suffix and group suffix.  It's not needed and
provides inconsistent functionality from the tdb backend.

This has been tested.  I'm still waiting on some more feedback
but This needs to be in 3.0.1pre2 for widespread use.




Revisions:
idmap_ldap.c1.1.2.17 = 1.1.2.18

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.17r2=1.1.2.18


CVS update: samba/source/sam

2003-11-07 Thread jerry

Date:   Fri Nov  7 14:41:08 2003
Author: jerry

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

Modified Files:
idmap_ldap.c 
Log Message:
fix for bug 680 (heads up).  This gist is to map the
UNIX entity foo to DOMAIN\foo instead of SERVER\foo
on members of a Samba domain when all UNIX accounts
are shared via NIS, et. al.

  * allow winbindd to match local accounts to domain SID
when 'winbind trusted domains only = yes'

  * remove code in idmap_ldap that searches the user 
suffix and group suffix.  It's not needed and
provides inconsistent functionality from the tdb backend.

This has been tested.  I'm still waiting on some more feedback
but This needs to be in 3.0.1pre2 for widespread use.




Revisions:
idmap_ldap.c1.4 = 1.5

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


CVS update: samba/source/sam

2003-11-07 Thread jerry

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

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

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

Revisions:
idmap_ldap.c1.1.4.5 = 1.1.4.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.4.5r2=1.1.4.6


CVS update: samba/source/sam

2003-11-07 Thread jerry

Date:   Fri Nov  7 17:36:50 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0_RELEASE
idmap_ldap.c 
Log Message:
 last routnd of syncs for 3.01.pre2

Revisions:
idmap_ldap.c1.1.4.6 = 1.1.4.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.4.6r2=1.1.4.7


CVS update: samba/source/sam

2003-10-30 Thread tpot

Date:   Fri Oct 31 02:53:07 2003
Author: tpot

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

Modified Files:
gums_tdbsam2.c gums.c 
Log Message:
Fix some unused variable warnings.


Revisions:
gums_tdbsam2.c  1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_tdbsam2.c.diff?r1=1.1r2=1.2
gums.c  1.5 = 1.6
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums.c.diff?r1=1.5r2=1.6


CVS update: samba/source/sam

2003-10-17 Thread jerry

Date:   Fri Oct 17 16:27:26 2003
Author: jerry

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

Modified Files:
gums_helper.c 
Log Message:
* fix some compile warnings in the gums code
* add server support for DsEnumerateDomainTrusts()



Revisions:
gums_helper.c   1.4 = 1.5

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


CVS update: samba/source/sam

2003-10-14 Thread idra

Date:   Tue Oct 14 07:43:41 2003
Author: idra

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

Added Files:
gums_tdbsam2.c 
Removed Files:
gumm_tdb.c 
Log Message:

sorry folks, forgot to cvs add/remove before commit.



Revisions:
gums_tdbsam2.c  NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_tdbsam2.c?rev=1.1
gumm_tdb.c  1.6 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gumm_tdb.c?rev=1.6


CVS update: samba/source/sam

2003-10-13 Thread idra

Date:   Mon Oct 13 21:26:10 2003
Author: idra

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

Modified Files:
gumm_tdb.c gums.c gums_api.c gums_helper.c 
Log Message:

So here it is a non-intrusive patch with my latest work on gums (the
laternative to the current passdb).
Currently it is run through a comatibility module in the passdb layer, with
a subset of the functionality it may provide.
It is still work in progress, but as someone asked me about it, and as it
should make no difference to the normal code, I tought it was a good idea to
put it into.
It adds a dependency on perl. I know it is not very nice, but I'm sure we
will work out a solution for that.

As always blame me if I break something, but try to fix yourself, as I am
busy-busy-busy :-)

Simo.



Revisions:
gumm_tdb.c  1.5 = 1.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gumm_tdb.c.diff?r1=1.5r2=1.6
gums.c  1.4 = 1.5
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums.c.diff?r1=1.4r2=1.5
gums_api.c  1.6 = 1.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_api.c.diff?r1=1.6r2=1.7
gums_helper.c   1.3 = 1.4

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


CVS update: samba/source/sam

2003-09-27 Thread jerry

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

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

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

Revisions:
idmap_ldap.c1.2.2.1 = 1.2.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.2.2.1r2=1.2.2.2


CVS update: samba/source/sam

2003-09-10 Thread Jelmer Vernooij

Date:   Wed Sep 10 19:47:13 2003
Author: jelmer

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv14080/sam

Removed Files:
SAM-interface_handles.txt get_set_account.c get_set_domain.c 
get_set_group.c sam_ads.c sam_plugin.c sam_skel.c 
Log Message:
Remove obsolete files.


Revisions:
SAM-interface_handles.txt   1.1 = NONE

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/SAM-interface_handles.txt?rev=1.1
get_set_account.c   1.3 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_account.c?rev=1.3
get_set_domain.c1.5 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_domain.c?rev=1.5
get_set_group.c 1.3 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_group.c?rev=1.3
sam_ads.c   1.7 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/sam_ads.c?rev=1.7
sam_plugin.c1.4 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/sam_plugin.c?rev=1.4
sam_skel.c  1.2 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/sam_skel.c?rev=1.2


CVS update: samba/source/sam

2003-09-10 Thread jra

Date:   Wed Sep 10 23:49:23 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
Ensure we consistantly translate to/from utf8 for talking to LDAP.
Jeremy.


Revisions:
idmap_ldap.c1.1.2.16 = 1.1.2.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.16r2=1.1.2.17


CVS update: samba/source/sam

2003-09-10 Thread jra

Date:   Wed Sep 10 23:49:25 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0_RELEASE
idmap_ldap.c 
Log Message:
Ensure we consistantly translate to/from utf8 for talking to LDAP.
Jeremy.


Revisions:
idmap_ldap.c1.1.4.4 = 1.1.4.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.4.4r2=1.1.4.5


CVS update: samba/source/sam

2003-09-08 Thread jerry

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

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

Modified Files:
idmap_ldap.c idmap_tdb.c idmap_util.c 
Log Message:
sync 3.0 into HEAD for the last time



Revisions:
idmap_ldap.c1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.2r2=1.3
idmap_tdb.c 1.15 = 1.16

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.15r2=1.16
idmap_util.c1.12 = 1.13

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


CVS update: samba/source/sam

2003-09-02 Thread jerry

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

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

Added Files:
  Tag: APPLIANCE_HEAD
idmap.c idmap_ldap.c idmap_tdb.c idmap_util.c 
Log Message:
another round of merges from 3.0

Revisions:
idmap.c NONE = 1.15.2.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c?rev=1.15.2.1
idmap_ldap.cNONE = 1.2.2.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c?rev=1.2.2.1
idmap_tdb.c NONE = 1.15.2.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c?rev=1.15.2.1
idmap_util.cNONE = 1.12.2.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c?rev=1.12.2.1


CVS update: samba/source/sam

2003-08-01 Thread jmcd

Date:   Fri Aug  1 14:47:39 2003
Author: jmcd

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv25659/sam

Modified Files:
  Tag: SAMBA_3_0
idmap.c idmap_ldap.c idmap_tdb.c 
Log Message:
Fix copyright statements for various pieces of Anthony Liguori's work.


Revisions:
idmap.c 1.13.2.16 = 1.13.2.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.16r2=1.13.2.17
idmap_ldap.c1.1.2.13 = 1.1.2.14

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.13r2=1.1.2.14
idmap_tdb.c 1.12.2.23 = 1.12.2.24

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.23r2=1.12.2.24


CVS update: samba/source/sam

2003-08-01 Thread jmcd

Date:   Fri Aug  1 15:30:44 2003
Author: jmcd

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv31383/sam

Modified Files:
  Tag: SAMBA_3_0
idmap_tdb.c idmap_ldap.c 
Log Message:
Update my copyrights according to my agreement with IBM

Revisions:
idmap_tdb.c 1.12.2.24 = 1.12.2.25

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.24r2=1.12.2.25
idmap_ldap.c1.1.2.14 = 1.1.2.15

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.14r2=1.1.2.15


CVS update: samba/source/sam

2003-07-23 Thread jerry

Date:   Wed Jul 23 12:33:58 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
convert snprintf() calls using pstrings  fstrings
to pstr_sprintf() and fstr_sprintf() to try to standardize.
lots of snprintf() calls were using len-1; some were using 
len.  At least this helps to be consistent.



Revisions:
idmap_ldap.c1.1.2.11 = 1.1.2.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.11r2=1.1.2.12


CVS update: samba/source/sam

2003-07-23 Thread tpot

Date:   Thu Jul 24 00:01:10 2003
Author: tpot

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

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
Some more [ug]id_t printf fixes.


Revisions:
idmap_ldap.c1.1.2.12 = 1.1.2.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.12r2=1.1.2.13


CVS update: samba/source/sam

2003-07-21 Thread tpot

Date:   Tue Jul 22 04:31:19 2003
Author: tpot

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

Modified Files:
  Tag: SAMBA_3_0
idmap_util.c idmap_tdb.c idmap_ldap.c idmap.c 
Log Message:
Fixup a bunch of printf-style functions and debugs to use unsigned long when
displaying pid_t, uid_t and gid_t values.  This removes a whole lot of warnings
on some of the 64-bit build farm machines as well as help us out when 64-bit
uid/gid/pid values come along.


Revisions:
idmap_util.c1.9.2.16 = 1.9.2.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c.diff?r1=1.9.2.16r2=1.9.2.17
idmap_tdb.c 1.12.2.22 = 1.12.2.23

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.22r2=1.12.2.23
idmap_ldap.c1.1.2.10 = 1.1.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.10r2=1.1.2.11
idmap.c 1.13.2.15 = 1.13.2.16

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.15r2=1.13.2.16


CVS update: samba/source/sam

2003-07-15 Thread jerry

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

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

Modified Files:
  Tag: SAMBA_3_0_RELEASE
idmap.c idmap_ldap.c idmap_tdb.c idmap_util.c 
Log Message:
starting to sync up for beta3

Revisions:
idmap.c 1.13.4.2 = 1.13.4.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.4.2r2=1.13.4.3
idmap_ldap.c1.1.4.2 = 1.1.4.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.4.2r2=1.1.4.3
idmap_tdb.c 1.13.2.2 = 1.13.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.13.2.2r2=1.13.2.3
idmap_util.c1.10.2.1 = 1.10.2.2

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


CVS update: samba/source/sam

2003-07-15 Thread jerry

Date:   Wed Jul 16 04:34:08 2003
Author: jerry

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

Removed Files:
  Tag: SAMBA_3_0_RELEASE
idmap_winbind.c 
Log Message:
more syncs with 3.0


Revisions:
idmap_winbind.c 1.4.4.2 = NONE

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_winbind.c?rev=1.4.4.2


CVS update: samba/source/sam

2003-07-15 Thread jerry

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

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

Modified Files:
idmap.c idmap_ldap.c idmap_tdb.c idmap_util.c 
Log Message:
trying to get HEAD building again.  If you want the code
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE



Revisions:
idmap.c 1.13 = 1.14

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13r2=1.14
idmap_ldap.c1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1r2=1.2
idmap_tdb.c 1.13 = 1.14

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.13r2=1.14
idmap_util.c1.10 = 1.11

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


CVS update: samba/source/sam

2003-07-10 Thread jerry

Date:   Fri Jul 11 05:33:40 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0
idmap.c idmap_ldap.c idmap_tdb.c idmap_util.c 
Log Message:
moving more code around.

  * move rid allocation into IDMAP.  See comments in _api_samr_create_user()
  * add winbind delete user/group functions

I'm checking this in to sync up with everyone.  But I'm going to split
the add a separate winbindd_allocate_rid() function for systems
that have an 'add user script' but need idmap to give them a RID.
Life would be so much simplier without 'enable rid algorithm'.
The current RID allocation is horrible due to this one fact.
Tested idmap_tdb but not idmap_ldap yet.  Will do that tomorrow.

Nothing has changed in the way a samba domain is represented, stored, 
or search in the directory so things should be ok with previous installations.

going to bed now.  





Revisions:
idmap.c 1.13.2.14 = 1.13.2.15

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.14r2=1.13.2.15
idmap_ldap.c1.1.2.9 = 1.1.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.9r2=1.1.2.10
idmap_tdb.c 1.12.2.21 = 1.12.2.22

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.21r2=1.12.2.22
idmap_util.c1.9.2.15 = 1.9.2.16

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c.diff?r1=1.9.2.15r2=1.9.2.16


CVS update: samba/source/sam

2003-07-09 Thread jerry

Date:   Wed Jul  9 16:44:47 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0
idmap.c idmap_ldap.c idmap_tdb.c 
Log Message:
Large set of changes to add UNIX account/group management
to winbindd.  See README.idmap-and-winbind-changes for details.



Revisions:
idmap.c 1.13.2.13 = 1.13.2.14

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.13r2=1.13.2.14
idmap_ldap.c1.1.2.8 = 1.1.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.8r2=1.1.2.9
idmap_tdb.c 1.12.2.20 = 1.12.2.21

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.20r2=1.12.2.21


CVS update: samba/source/sam

2003-07-07 Thread jerry

Date:   Mon Jul  7 20:11:53 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0
idmap_util.c 
Log Message:
fix some compile problems.  Can't get IDMAP_OBJ our of proto.h 
just yet.

`


Revisions:
idmap_util.c1.9.2.14 = 1.9.2.15

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c.diff?r1=1.9.2.14r2=1.9.2.15


CVS update: samba/source/sam

2003-07-05 Thread abartlet

Date:   Sat Jul  5 10:39:41 2003
Author: abartlet

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv5847/sam

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
Add some debug statments to our vampire code - try to make it easier to track
down failures.

Add a 'auto-add on modify' feature to guestsam

Fix some segfault bugs on no-op idmap modifications, and on new idmappings that
do not have a DN to tack onto.

Make the 'private data' a bit more robust.

Andrew Bartlett


Revisions:
idmap_ldap.c1.1.2.6 = 1.1.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.6r2=1.1.2.7


CVS update: samba/source/sam

2003-07-05 Thread abartlet

Date:   Sun Jul  6 05:51:20 2003
Author: abartlet

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv3634/sam

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
This changes our Unix primary GID behaviour back to what most people expect:

Samba will now use the user's UNIX primary group, as the primary group when
dealing with the filesystem.  The NT primary group is ignored in unix.  

For the NT_TOKEN, the primary group is the NT priamry group, and the unix
primary group is added to the NT_TOKEN as a supplementary group.

This should fix bug #109, but will need to be revisited when we get a full 
NT group database.

Also in this commit:
 - Fix debug statements in service.c
 - Make idmap_ldap show if it's adding, or modifying an existing DN
 - Make idmap_ldap show both the error message and error string



Revisions:
idmap_ldap.c1.1.2.7 = 1.1.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.7r2=1.1.2.8


CVS update: samba/source/sam

2003-07-04 Thread abartlet

Date:   Fri Jul  4 13:29:41 2003
Author: abartlet

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv8054/source/sam

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c idmap_util.c 
Log Message:
This patch cleans up some of our ldap code, for better behaviour:

We now always read the Domain SID out of LDAP.  If the local secrets.tdb
is ever different to LDAP, it is overwritten out of LDAP.   We also
store the 'algorithmic rid base' into LDAP, and assert if it changes. 
(This ensures cross-host synchronisation, and allows for possible
integration with idmap).  If we fail to read/add the domain entry, we just
fallback to the old behaviour.

We always use an existing DN when adding IDMAP entries to LDAP, unless
no suitable entry is available.  This means that a user's posixAccount
will have a SID added to it, or a user's sambaSamAccount will have a UID
added.  Where we cannot us an existing DN, we use
'sambaSid=S-x-y-z,' as the DN. 

The code now allows modifications to the ID mapping in many cases.

Likewise, we now check more carefully when adding new user entires to LDAP,
to not duplicate SIDs (for users, at this stage), and to add the sambaSamAccount
onto the idmap entry for that user, if it is already established (ensuring
we do not duplicate sambaSid entries in the directory).

The allocated UID code has been expanded to take into account the space
between '1000 - algorithmic rid base'.  This much better fits into what
an NT4 does - allocating in the bottom part of the RID range.  

On the code cleanup side of things, we now share as much code as
possible between idmap_ldap and pdb_ldap.

We also no longer use the race-prone 'enumerate all users' method for
finding the next RID to allocate.  Instead, we just start at the bottom
of the range, and increment again if the user already exists.  The first
time this is run, it may well take a long time, but next time will just
be able to use the next Rid.

Thanks to metze and AB for double-checking parts of this. 

Andrew Bartlett


Revisions:
idmap_ldap.c1.1.2.4 = 1.1.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.4r2=1.1.2.5
idmap_util.c1.9.2.9 = 1.9.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c.diff?r1=1.9.2.9r2=1.9.2.10


CVS update: samba/source/sam

2003-07-04 Thread abartlet

Date:   Fri Jul  4 14:03:29 2003
Author: abartlet

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv11286/sam

Modified Files:
  Tag: SAMBA_3_0
idmap_util.c 
Log Message:
Don't allow RIDs (in our domain) below  1000 (or algorithmic rid base) to be
mapped with the rid algorithm.  

Instead, a uid/gid from the UID/GID range will be allocated for this RID.

Andrew Bartlett


Revisions:
idmap_util.c1.9.2.10 = 1.9.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c.diff?r1=1.9.2.10r2=1.9.2.11


CVS update: samba/source/sam

2003-07-04 Thread abartlet

Date:   Sat Jul  5 05:19:28 2003
Author: abartlet

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv14774/sam

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
Allow modification of an existing entry.

We still have a lot of work to do to allow this in quite the same way as we
have in the TDB, but it certainly is getting closer.

Andrew Bartlett


Revisions:
idmap_ldap.c1.1.2.5 = 1.1.2.6

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


CVS update: samba/source/sam

2003-07-02 Thread jra

Date:   Wed Jul  2 22:32:05 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap_util.c 
Log Message:
Fix for idmap startup bug with remote ldap backend.
Jeremy.


Revisions:
idmap_util.c1.9.2.8 = 1.9.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c.diff?r1=1.9.2.8r2=1.9.2.9


CVS update: samba/source/sam

2003-07-01 Thread vlendec

Date:   Tue Jul  1 10:01:57 2003
Author: vlendec

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

Modified Files:
  Tag: SAMBA_3_0
idmap.c 
Log Message:
Don't set a mapping that is already there.

Volker


Revisions:
idmap.c 1.13.2.12 = 1.13.2.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.12r2=1.13.2.13


CVS update: samba/source/sam

2003-07-01 Thread jerry

Date:   Tue Jul  1 14:40:43 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0_RELEASE
idmap.c idmap_ldap.c idmap_tdb.c idmap_util.c idmap_winbind.c 
Log Message:
starting to sync for 3.0beta2



Revisions:
idmap.c 1.13.4.1 = 1.13.4.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.4.1r2=1.13.4.2
idmap_ldap.c1.1.4.1 = 1.1.4.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.4.1r2=1.1.4.2
idmap_tdb.c 1.13.2.1 = 1.13.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.13.2.1r2=1.13.2.2
idmap_util.c1.10 = 1.10.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c.diff?r1=1.10r2=1.10.2.1
idmap_winbind.c 1.4.4.1 = 1.4.4.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_winbind.c.diff?r1=1.4.4.1r2=1.4.4.2


CVS update: samba/source/sam

2003-06-30 Thread jra

Date:   Mon Jun 30 21:04:12 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap.c 
Log Message:
Fix missing ret = found by Volker.
Jeremy.


Revisions:
idmap.c 1.13.2.10 = 1.13.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.10r2=1.13.2.11


CVS update: samba/source/sam

2003-06-30 Thread jra

Date:   Mon Jun 30 22:07:47 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap.c 
Log Message:
Merge of Volkers patch to make the logic clearer (with my mod).
Jeremy.


Revisions:
idmap.c 1.13.2.11 = 1.13.2.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.11r2=1.13.2.12


Re: CVS update: samba/source/sam

2003-06-29 Thread Jeremy Allison
On Sun, Jun 29, 2003 at 01:12:21PM +0200, Simo Sorce wrote:
 
 Should I file the name cache_map as a bug to bugzilla ?
 My question's still unanswered.

No. I'm not changing it, please leave it as it is.

Jeremy.


Re: CVS update: samba/source/sam

2003-06-28 Thread Simo Sorce
Jeremy,
can you explain me why you change the name local_map to cache_map ??
I completely disagree on the name change.

The local map is not a cache, for standalone boxes it is the
authoritative mapping database, wipe it out and you will be in trouble
(same will be for future winbindd_pdc).
It also contains group mappings, that you will probably not found
through remote backend (except for a centralized idmap).

Calling it cache is misleading imho.

I'm ok with the substantial changes.

On Fri, 2003-06-27 at 22:55, [EMAIL PROTECTED] wrote:
 Date: Fri Jun 27 20:55:48 2003
 Author:   jra
 
 Update of /data/cvs/samba/source/sam
 In directory dp.samba.org:/tmp/cvs-serv17679/sam
 
 Modified Files:
   Tag: SAMBA_3_0
   idmap.c idmap_tdb.c idmap_winbind.c 
 Log Message:
 Some const correctness. Stop tdb being used as a remote backend. If an
 idmap backend is specified cause smbd to ask winbindd (use winbindd if
 you want a consistant remote backend solution).
 Should work well enough for next beta now...
 Jeremy.
 
 
 Revisions:
 idmap.c   1.13.2.9 = 1.13.2.10
   
 http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.9r2=1.13.2.10
 idmap_tdb.c   1.12.2.19 = 1.12.2.20
   
 http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.19r2=1.12.2.20
 idmap_winbind.c   1.4.2.4 = 1.4.2.5
   
 http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_winbind.c.diff?r1=1.4.2.4r2=1.4.2.5
-- 
Simo Sorce - [EMAIL PROTECTED]
Xsec s.r.l. - http://www.xsec.it
via Durando 10 Ed. G - 20158 - Milano
mobile: +39 329 328 7702
tel. +39 02 2399 7130 - fax: +39 02 700 442 399


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


Re: CVS update: samba/source/sam

2003-06-28 Thread Jeremy Allison
On Sat, Jun 28, 2003 at 10:36:39PM +0200, Simo Sorce wrote:
 Jeremy,
 can you explain me why you change the name local_map to cache_map ??
 I completely disagree on the name change.
 
 The local map is not a cache, for standalone boxes it is the
 authoritative mapping database, wipe it out and you will be in trouble
 (same will be for future winbindd_pdc).
 It also contains group mappings, that you will probably not found
 through remote backend (except for a centralized idmap).
 
 Calling it cache is misleading imho.

I don't want to change anything now unless it's a bug.
I wanted to make this code very clear to new people as
it screwed me over when first reading it.

Jeremy.


CVS update: samba/source/sam

2003-06-27 Thread jra

Date:   Fri Jun 27 20:55:48 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap.c idmap_tdb.c idmap_winbind.c 
Log Message:
Some const correctness. Stop tdb being used as a remote backend. If an
idmap backend is specified cause smbd to ask winbindd (use winbindd if
you want a consistant remote backend solution).
Should work well enough for next beta now...
Jeremy.


Revisions:
idmap.c 1.13.2.9 = 1.13.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.9r2=1.13.2.10
idmap_tdb.c 1.12.2.19 = 1.12.2.20

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.19r2=1.12.2.20
idmap_winbind.c 1.4.2.4 = 1.4.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_winbind.c.diff?r1=1.4.2.4r2=1.4.2.5


CVS update: samba/source/sam

2003-06-26 Thread jra

Date:   Thu Jun 26 18:26:52 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap.c 
Log Message:
As has been pointed out, ordering here doesn't matter so use normal
add.
Jeremy.


Revisions:
idmap.c 1.13.2.7 = 1.13.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.7r2=1.13.2.8


CVS update: samba/source/sam

2003-06-26 Thread jra

Date:   Thu Jun 26 23:48:46 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap.c idmap_tdb.c idmap_util.c 
Log Message:
Add include guards around idmap.h, change ID_NOMAP to ID_QUERY_ONLY
and ID_CACHE to ID_CACHE_SAVE. Added locking around tdb writes  deletes
for multi-process access.
Jeremy.


Revisions:
idmap.c 1.13.2.8 = 1.13.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.8r2=1.13.2.9
idmap_tdb.c 1.12.2.18 = 1.12.2.19

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.18r2=1.12.2.19
idmap_util.c1.9.2.7 = 1.9.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c.diff?r1=1.9.2.7r2=1.9.2.8


CVS update: samba/source/sam

2003-06-25 Thread idra

Date:   Wed Jun 25 08:15:51 2003
Author: idra

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

Modified Files:
  Tag: SAMBA_3_0
idmap_tdb.c idmap_util.c 
Log Message:

Tought I already done.
Set back 3.0 to use only winbindd_idmap.tdb as idmap database as told on
samba-technical.
Tested and working so far.



Revisions:
idmap_tdb.c 1.12.2.14 = 1.12.2.15

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.14r2=1.12.2.15
idmap_util.c1.9.2.5 = 1.9.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c.diff?r1=1.9.2.5r2=1.9.2.6


Re: CVS update: samba/source/sam

2003-06-25 Thread Volker Lendecke
On Wed, Jun 25, 2003 at 08:15:51AM +, [EMAIL PROTECTED] wrote:
 Set back 3.0 to use only winbindd_idmap.tdb as idmap database as told on
 samba-technical.

It's purely cosmetic, but I don't like nested if-expressions. I always find
them hard to follow.

What about the attached patch? Completely untested...

Volker
Index: sam/idmap_tdb.c
===
RCS file: /data/cvs/samba/source/sam/idmap_tdb.c,v
retrieving revision 1.12.2.15
diff -u -r1.12.2.15 idmap_tdb.c
--- sam/idmap_tdb.c 25 Jun 2003 08:15:51 -  1.12.2.15
+++ sam/idmap_tdb.c 25 Jun 2003 08:24:56 -
@@ -427,20 +427,20 @@
 
SAFE_FREE(tdbfile);
 
+   if (tdb_is_new) {
+   /* the file didn't existed before opening it, let's
+* store idmap version as nobody else yet opened and
+* stored it. I do not like this method but didn't
+* found a way to understand if an opened tdb have
+* been just created or not --- SSS */
+   tdb_store_int32(idmap_tdb, IDMAP_VERSION, IDMAP_VERSION);
+   }
+
/* check against earlier versions */
version = tdb_fetch_int32(idmap_tdb, IDMAP_VERSION);
if (version != IDMAP_VERSION) {
-   if (tdb_is_new) {
-   /* the file didn't existed before opening it, let's
-* store idmap version as nobody else yet opened and
-* stored it. I do not like this method but didn't
-* found a way to understand if an opened tdb have
-* been just created or not --- SSS */
-   tdb_store_int32(idmap_tdb, IDMAP_VERSION, IDMAP_VERSION);
-   } else {
-   DEBUG(0, (idmap_init: Unable to open idmap database, it's in 
an old format!\n));
-   return NT_STATUS_INTERNAL_DB_ERROR;
-   }
+   DEBUG(0, (idmap_init: Unable to open idmap database, it's in an old 
format!\n));
+   return NT_STATUS_INTERNAL_DB_ERROR;
}
 
/* Create high water marks for group and user id */


pgp0.pgp
Description: PGP signature


CVS update: samba/source/sam

2003-06-25 Thread vlendec

Date:   Wed Jun 25 10:18:22 2003
Author: vlendec

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

Modified Files:
  Tag: SAMBA_3_0
idmap_tdb.c 
Log Message:
Fix a warning in a DEBUG

Clean up the init a little bit, less nested if-statements.

Agreed upon with Simo.

Volker



Revisions:
idmap_tdb.c 1.12.2.15 = 1.12.2.16

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.15r2=1.12.2.16


CVS update: samba/source/sam

2003-06-25 Thread jra

Date:   Wed Jun 25 19:01:17 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap.c idmap_tdb.c idmap_winbind.c 
Log Message:
Ensure idmap backends are added in the correct order (DLIST_ADD puts
things at the *front* of the list). Add more debug. Still broken.. :-(.
Jeremy.


Revisions:
idmap.c 1.13.2.6 = 1.13.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.6r2=1.13.2.7
idmap_tdb.c 1.12.2.16 = 1.12.2.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.16r2=1.12.2.17
idmap_winbind.c 1.4.2.3 = 1.4.2.4

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


CVS update: samba/source/sam

2003-06-25 Thread jra

Date:   Thu Jun 26 00:19:57 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap_tdb.c idmap_util.c 
Log Message:
Fix immediate bug where the idmap can't tell the difference between an entry
not being present (and so allocate another) and an entry that is present but
of the wrong type. This code still has major problems...
Jeremy.


Revisions:
idmap_tdb.c 1.12.2.17 = 1.12.2.18

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.17r2=1.12.2.18
idmap_util.c1.9.2.6 = 1.9.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c.diff?r1=1.9.2.6r2=1.9.2.7


CVS update: samba/source/sam

2003-06-24 Thread jra

Date:   Wed Jun 25 00:02:17 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap_tdb.c 
Log Message:
Start to instrument this code as I try and track down a nasty bug that
causes mapping to dissapear...
Jeremy.


Revisions:
idmap_tdb.c 1.12.2.11 = 1.12.2.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.11r2=1.12.2.12


CVS update: samba/source/sam

2003-06-24 Thread jra

Date:   Wed Jun 25 00:11:38 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap_tdb.c 
Log Message:
More instrumentation tracking down this bug...
Jeremy.


Revisions:
idmap_tdb.c 1.12.2.12 = 1.12.2.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.12r2=1.12.2.13


CVS update: samba/source/sam

2003-06-24 Thread jra

Date:   Wed Jun 25 00:28:46 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap_tdb.c 
Log Message:
More debugs for this... (these should have been here already !).
Jeremy.


Revisions:
idmap_tdb.c 1.12.2.13 = 1.12.2.14

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.13r2=1.12.2.14


CVS update: samba/source/sam

2003-06-22 Thread idra

Date:   Sun Jun 22 10:09:52 2003
Author: idra

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

Modified Files:
  Tag: SAMBA_3_0
idmap.c idmap_util.c 
Log Message:

Found out a good number of NT_STATUS_IS_ERR used the wrong way.
As abartlet rememberd me NT_STATUS_IS_ERR != !NT_STATUS_IS_OK

This patch will cure the problem.
Working on this one I found 16 functions where I think NT_STATUS_IS_ERR() is
used correctly, but I'm not 100% sure, coders should check the use of
NT_STATUS_IS_ERR() in samba is ok now.

Simo.



Revisions:
idmap.c 1.13.2.5 = 1.13.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.5r2=1.13.2.6
idmap_util.c1.9.2.4 = 1.9.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c.diff?r1=1.9.2.4r2=1.9.2.5


CVS update: samba/source/sam

2003-06-21 Thread abartlet

Date:   Sat Jun 21 08:31:19 2003
Author: abartlet

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv18905/sam

Modified Files:
  Tag: SAMBA_3_0
idmap_tdb.c 
Log Message:
This patch fixes some issues with idmap_tdb as raised by bug #181

The idea here is to eliminate the need to *set* the 'HWM' (High Water
Mark) in the tdb.  Instead, each caller wanting to add an item to the
TDB uses the fact that an insert will *fail* if entry already exists. 

More importantly, this means that we don't need to know the value of the
idmap uid/gid values when setting arbitrary entries, which can occur on
an smb.conf without such values specified.

Then all we need to do is loop until we get an id that will insert. 
This means that the HWM does not need to be accurate, and we can have
IDs allocates safely above the HWM.

Setting the HWM to an arbitrary value was racy in the past - now we
don't even do it.

This patch also adds paranoia in reading the tdb - both the entry, and
it's reverse entry must be present.  This means that we don't need to
'clean up' after an abnormal failure (which would probably fail too),
instead we rely on readers to ignore the half-completed entry.  The way
this is done will allow SIDs to then allocated an ID when things are
normal again.

Andrew Bartlett


Revisions:
idmap_tdb.c 1.12.2.10 = 1.12.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.10r2=1.12.2.11


CVS update: samba/source/sam

2003-06-20 Thread abartlet

Date:   Sat Jun 21 00:45:02 2003
Author: abartlet

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv16476/sam

Modified Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
This patch works towards to goal of common code shared between idmap_ldap
and pdb_ldap.

So far, it's just a function rename, so that the next patch can be a very
simple matter of copying functions, without worrying about what changed
in the process.

Also removes the 'static' pointers for the rebind procedures, replacing them 
with a linked list of value/key lookups.  (Only needed on older LDAP client 
libs)

Andrew Bartlett


Revisions:
idmap_ldap.c1.1.2.3 = 1.1.2.4

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


CVS update: samba/source/sam

2003-06-18 Thread vlendec

Date:   Wed Jun 18 13:28:37 2003
Author: vlendec

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

Modified Files:
  Tag: SAMBA_3_0
idmap_tdb.c 
Log Message:
There's nothing particularly secret in idmap.tdb, so create it with
0644 as the other databases.

Volker


Revisions:
idmap_tdb.c 1.12.2.9 = 1.12.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.9r2=1.12.2.10


CVS update: samba/source/sam

2003-06-17 Thread vlendec

Date:   Tue Jun 17 10:16:20 2003
Author: vlendec

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

Modified Files:
  Tag: SAMBA_3_0
idmap_tdb.c 
Log Message:
Fix memory leak in idmap. Valgrind is s cool.

Volker


Revisions:
idmap_tdb.c 1.12.2.8 = 1.12.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.8r2=1.12.2.9


CVS update: samba/source/sam

2003-06-17 Thread vlendec

Date:   Tue Jun 17 12:31:02 2003
Author: vlendec

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

Modified Files:
  Tag: SAMBA_3_0
idmap_util.c 
Log Message:
And more other memory leaks. One new (idmap) and one ancient (groupdb).

Volker

Revisions:
idmap_util.c1.9.2.2 = 1.9.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_util.c.diff?r1=1.9.2.2r2=1.9.2.3


CVS update: samba/source/sam

2003-06-14 Thread vlendec

Date:   Sat Jun 14 17:51:09 2003
Author: vlendec

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

Modified Files:
  Tag: SAMBA_3_0
idmap_tdb.c 
Log Message:
Add 'net idmap restore'. This restores a broken idmap file
from the output of 'net idmap dump'.

'net idmap dump' now also prints the USER/GROUP HWM.

Volker


Revisions:
idmap_tdb.c 1.12.2.7 = 1.12.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.7r2=1.12.2.8


Re: CVS update: samba/source/sam

2003-06-12 Thread Simo
Good catch, cutpaste error.

(Btw, basic tests does not always catch all errors)

On Wed, 2003-06-11 at 22:06, [EMAIL PROTECTED] wrote:
 Date: Wed Jun 11 20:06:11 2003
 Author:   vlendec
 
 Update of /data/cvs/samba/source/sam
 In directory dp.samba.org:/tmp/cvs-serv10290
 
 Modified Files:
   Tag: SAMBA_3_0
   idmap_tdb.c 
 Log Message:
 Sorry idra for messing around with your stuff, but this was obviously not
 tested.
 
 Incrementing HWW_USER while allocating a GROUPID looked somewhat wrong.
 
 Volker
 
 
 Revisions:
 idmap_tdb.c   1.12.2.6 = 1.12.2.7
   
 http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.6r2=1.12.2.7
-- 
Simo Sorce-  [EMAIL PROTECTED]
Samba Team-  http://www.samba.org
Italian Site  -  http://samba.xsec.it


CVS update: samba/source/sam

2003-06-11 Thread idra

Date:   Wed Jun 11 18:14:35 2003
Author: idra

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

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

avoid races in getting high watermark



Revisions:
idmap_tdb.c 1.12.2.5 = 1.12.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.5r2=1.12.2.6


CVS update: samba/source/sam

2003-06-11 Thread vlendec

Date:   Wed Jun 11 20:06:11 2003
Author: vlendec

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

Modified Files:
  Tag: SAMBA_3_0
idmap_tdb.c 
Log Message:
Sorry idra for messing around with your stuff, but this was obviously not
tested.

Incrementing HWW_USER while allocating a GROUPID looked somewhat wrong.

Volker


Revisions:
idmap_tdb.c 1.12.2.6 = 1.12.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.6r2=1.12.2.7


CVS update: samba/source/sam

2003-06-09 Thread jra

Date:   Mon Jun  9 17:28:42 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
idmap.c 
Log Message:
Fix for crash bug noticed by Luke Howard | PADL Software Pty Ltd | www.padl.com.
Jeremy.


Revisions:
idmap.c 1.13.2.4 = 1.13.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.4r2=1.13.2.5


CVS update: samba/source/sam

2003-06-06 Thread jerry

Date:   Fri Jun  6 13:48:39 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0
idmap.c idmap_ldap.c idmap_tdb.c idmap_winbind.c 
Log Message:
* break out more common code used between pdb_ldap and idmap_ldap
* remove 'winbind uid' and 'winbind gid' parameters (replaced
  by current idmap parameter)
* create the sambaUnixIdPool entries automatically in the 'ldap
  idmap suffix'
* add new 'ldap idmap suffix' and 'ldap group suffix' parametrer
* idmap backend = ldap now accepts 'ldap:ldap://server/' format
  (parameters are passed to idmap init() function



Revisions:
idmap.c 1.13.2.3 = 1.13.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c.diff?r1=1.13.2.3r2=1.13.2.4
idmap_ldap.c1.1.2.2 = 1.1.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c.diff?r1=1.1.2.2r2=1.1.2.3
idmap_tdb.c 1.12.2.4 = 1.12.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c.diff?r1=1.12.2.4r2=1.12.2.5
idmap_winbind.c 1.4.2.2 = 1.4.2.3

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


CVS update: samba/source/sam

2003-06-06 Thread jerry

Date:   Fri Jun  6 15:07:07 2003
Author: jerry

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

Added Files:
  Tag: SAMBA_3_0_RELEASE
idmap_winbind.c 
Removed Files:
  Tag: SAMBA_3_0_RELEASE
SAM-interface_handles.txt get_set_domain.c get_set_group.c 
sam_plugin.c 
Log Message:
working on creating the 3.0 release tree

Revisions:
idmap_winbind.c NONE = 1.4.4.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_winbind.c?rev=1.4.4.1
SAM-interface_handles.txt   1.1 = NONE

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/SAM-interface_handles.txt?rev=1.1
get_set_domain.c1.5 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_domain.c?rev=1.5
get_set_group.c 1.3 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_group.c?rev=1.3
sam_plugin.c1.4 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/sam_plugin.c?rev=1.4


CVS update: samba/source/sam

2003-06-06 Thread jerry

Date:   Fri Jun  6 17:44:49 2003
Author: jerry

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

Removed Files:
  Tag: SAMBA_3_0_RELEASE
account.c get_set_account.c group.c gumm_tdb.c gums.c 
gums_api.c gums_helper.c interface.c sam_ads.c sam_skel.c 
Log Message:
removing files in HEAD but not in 3.0 tree

Revisions:
account.c   1.7 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/account.c?rev=1.7
get_set_account.c   1.3 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_account.c?rev=1.3
group.c 1.2 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/group.c?rev=1.2
gumm_tdb.c  1.5 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gumm_tdb.c?rev=1.5
gums.c  1.4 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums.c?rev=1.4
gums_api.c  1.6 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_api.c?rev=1.6
gums_helper.c   1.3 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_helper.c?rev=1.3
interface.c 1.24 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/interface.c?rev=1.24
sam_ads.c   1.7 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/sam_ads.c?rev=1.7
sam_skel.c  1.2 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/sam_skel.c?rev=1.2


CVS update: samba/source/sam

2003-06-04 Thread jerry

Date:   Tue Jun  3 19:25:39 2003
Author: jerry

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

Added Files:
  Tag: SAMBA_3_0
idmap_ldap.c 
Log Message:
added idmap_ldap to wrong branch.





Revisions:
idmap_ldap.cNONE = 1.1.2.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_ldap.c?rev=1.1.2.1


CVS update: samba/source/sam

2003-05-30 Thread Jelmer Vernooij

Date:   Thu May 29 19:08:40 2003
Author: jelmer

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv14198/sam

Modified Files:
  Tag: SAMBA_3_0
idmap.c idmap_tdb.c idmap_winbind.c 
Log Message:
Add smb_register_idmap(). Based on a patch from metze


Revisions:
idmap.c 1.13.2.2 = 1.13.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c?r1=1.13.2.2r2=1.13.2.3
idmap_tdb.c 1.12.2.2 = 1.12.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c?r1=1.12.2.2r2=1.12.2.3
idmap_winbind.c 1.4.2.1 = 1.4.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_winbind.c?r1=1.4.2.1r2=1.4.2.2


Re: CVS update: samba/source/sam

2003-05-30 Thread Jelmer Vernooij
On Thu, May 29, 2003 at 09:30:48PM +, [EMAIL PROTECTED] wrote about 'CVS update: 
samba/source/sam':
 Log Message:
 function() is *NOT* a valid C proto, but C++ only.
 The correct prototype in C is function(void).
 Please remember this !
Oops, sorry! I guess I don't have enough experience with exotic
compilers ;-)

Jelmer

-- 
Jelmer Vernooij  [EMAIL PROTECTED]
http://samba.org/~jelmer/
Last CVS commit: Thu May 29 22:01:38 2003 (11m ago)
Bugs in bugzilla: 20 


pgp0.pgp
Description: PGP signature


Re: CVS update: samba/source/sam

2003-05-30 Thread jra
On Fri, May 30, 2003 at 12:14:39AM +0200, Jelmer Vernooij wrote:
 On Thu, May 29, 2003 at 09:30:48PM +, [EMAIL PROTECTED] wrote about 'CVS update: 
 samba/source/sam':
  Log Message:
  function() is *NOT* a valid C proto, but C++ only.
  The correct prototype in C is function(void).
  Please remember this !
 Oops, sorry! I guess I don't have enough experience with exotic
 compilers ;-)

gcc is not an exotic compiler :-). That's what I used to catch this...

Jeremy.


Re: CVS update: samba/source/sam

2003-05-30 Thread Tim Potter
On Thu, May 29, 2003 at 10:21:08PM +, [EMAIL PROTECTED] wrote:

  Oops, sorry! I guess I don't have enough experience with exotic
  compilers ;-)
 
 gcc is not an exotic compiler :-). That's what I used to catch this...

You should get a warning for this if you use ./configure.developer


Tim.


CVS update: samba/source/sam

2003-04-06 Thread idra

Date:   Sun Apr  6 09:35:16 2003
Author: idra

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

Modified Files:
idmap_tdb.c idmap_winbind.c 
Log Message:

This commit make winbindd copy winbindd_idmap.tdb into idmap.tdb on the
first run if idmap.tdb is not found, and then eventually convert it to the
new format.
This is done to unify winbind and idmap databases and to make a backup of
winbindd_idmap.tdb in case you want to downgrade (of course it will not be
updated).
This is needed because idmap.tdb contains also local mappings, not only
foreign domains mappings.

Added some other fixes/improvements

Simo.



Revisions:
idmap_tdb.c 1.4 = 1.5
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c?r1=1.4r2=1.5
idmap_winbind.c 1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_winbind.c?r1=1.2r2=1.3


CVS update: samba/source/sam

2003-04-05 Thread idra

Date:   Sat Apr  5 08:53:23 2003
Author: idra

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

Modified Files:
idmap_winbind.c 
Log Message:

some more idmapping :)



Revisions:
idmap_winbind.c 1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_winbind.c?r1=1.1r2=1.2


CVS update: samba/source/sam

2003-04-03 Thread tpot

Date:   Fri Apr  4 00:28:38 2003
Author: tpot

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

Modified Files:
idmap_tdb.c 
Log Message:
Fixed compiler warning.


Revisions:
idmap_tdb.c 1.3 = 1.4
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c?r1=1.3r2=1.4


CVS update: samba/source/sam

2003-04-02 Thread idra

Date:   Wed Apr  2 10:36:02 2003
Author: idra

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

Modified Files:
idmap.c idmap_tdb.c 
Added Files:
idmap_winbind.c 
Log Message:

THE Idmap patch :-)

includes a --with-idmap=no switch to disable idmap usage if you find
problems.

cosmetic fixes and param aliases to separate winbind from idamp roles.

A temporarily remote idmap winbind compatibility backend.
As I have time I will further change code to not call directly winbind
(partly done but not tested) and a specilized module will be built in place
for the current glue hack.

The patch has been tested locally in my limited time, the patch is simple and
clear and should not reserve problems, if any just disable it.

As usual, comments and fisex are welcome :-)

Simo.



Revisions:
idmap_winbind.c NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_winbind.c?rev=1.1
idmap.c 1.3 = 1.4
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c?r1=1.3r2=1.4
idmap_tdb.c 1.2 = 1.3
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c?r1=1.2r2=1.3


CVS update: samba/source/sam

2003-03-22 Thread jelmer

Date:   Sat Mar 22 23:25:44 2003
Author: jelmer

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv27950/sam

Modified Files:
gumm_tdb.c 
Log Message:

- Use FUNCTION_MACRO, not __FUNCTION__. 
- Add some const


Revisions:
gumm_tdb.c  1.3 = 1.4
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gumm_tdb.c?r1=1.3r2=1.4


CVS update: samba/source/sam

2003-03-08 Thread idra

Date:   Sat Mar  8 17:29:40 2003
Author: idra

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

Modified Files:
idmap.c idmap_tdb.c 
Log Message:

more on idmap
two layers structure with
- local tdb cache
- remote idmap repository

compiles



Revisions:
idmap.c 1.2 = 1.3
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c?r1=1.2r2=1.3
idmap_tdb.c 1.1 = 1.2
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c?r1=1.1r2=1.2


CVS update: samba/source/sam

2003-03-07 Thread idra

Date:   Fri Mar  7 18:26:23 2003
Author: idra

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

Modified Files:
gumm_tdb.c gums.c gums_api.c gums_helper.c 
Log Message:

Some progress towards gums and tdbsam2
genparser works fine, and it is a marvelous tool to store objects in tdb :)



Revisions:
gumm_tdb.c  1.2 = 1.3
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gumm_tdb.c?r1=1.2r2=1.3
gums.c  1.3 = 1.4
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums.c?r1=1.3r2=1.4
gums_api.c  1.5 = 1.6
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_api.c?r1=1.5r2=1.6
gums_helper.c   1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_helper.c?r1=1.2r2=1.3


CVS update: samba/source/sam

2003-03-07 Thread idra

Date:   Fri Mar  7 23:47:59 2003
Author: idra

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

Added Files:
idmap.c 
Log Message:

initial work for the new idmpa interface



Revisions:
idmap.c NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c?rev=1.1


CVS update: samba/source/sam

2003-03-07 Thread idra

Date:   Sat Mar  8 00:49:17 2003
Author: idra

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

Modified Files:
idmap.c 
Added Files:
idmap_tdb.c 
Log Message:

some more code
(not tested yet)



Revisions:
idmap_tdb.c NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap_tdb.c?rev=1.1
idmap.c 1.1 = 1.2
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/idmap.c?r1=1.1r2=1.2


CVS update: samba/source/sam

2002-12-28 Thread idra

Date:   Sat Dec 28 13:42:54 2002
Author: idra

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

Modified Files:
gumm_tdb.c gums.c gums_api.c 
Log Message:
some more work on gums.
- Building a tdbsam2 backend to see what I got right and what not about the proposed 
API
- Corrections to API based on tdbsam2 work



Revisions:
gumm_tdb.c  1.1 = 1.2
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gumm_tdb.c?r1=1.1r2=1.2
gums.c  1.2 = 1.3
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums.c?r1=1.2r2=1.3
gums_api.c  1.4 = 1.5
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_api.c?r1=1.4r2=1.5



CVS update: samba/source/sam

2002-12-23 Thread jra

Date:   Mon Dec 23 23:53:56 2002
Author: jra

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

Modified Files:
gums_api.c 
Log Message:
Finish adding strings to all talloc_init() calls.
Jeremy.


Revisions:
gums_api.c  1.3 = 1.4
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_api.c?r1=1.3r2=1.4



CVS update: samba/source/sam

2002-12-22 Thread jra

Date:   Sun Dec 22 16:02:36 2002
Author: jra

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

Modified Files:
account.c group.c gums_api.c gums_helper.c interface.c 
sam_ads.c 
Log Message:
talloc_init_named - talloc_init.
Jeremy.


Revisions:
account.c   1.6 = 1.7
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/account.c?r1=1.6r2=1.7
group.c 1.1 = 1.2
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/group.c?r1=1.1r2=1.2
gums_api.c  1.2 = 1.3
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_api.c?r1=1.2r2=1.3
gums_helper.c   1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_helper.c?r1=1.1r2=1.2
interface.c 1.23 = 1.24

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/interface.c?r1=1.23r2=1.24
sam_ads.c   1.5 = 1.6
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/sam_ads.c?r1=1.5r2=1.6



CVS update: samba/source/sam

2002-12-16 Thread idra

Date:   Mon Dec 16 12:11:02 2002
Author: idra

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

Modified Files:
gums.c gums_api.c 
Log Message:

updates to the gums
introduce genparser will be used by tdbsam2



Revisions:
gums.c  1.1 = 1.2
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums.c?r1=1.1r2=1.2
gums_api.c  1.1 = 1.2
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_api.c?r1=1.1r2=1.2



CVS update: samba/source/sam

2002-12-04 Thread tpot

Date:   Wed Dec  4 23:57:15 2002
Author: tpot

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

Modified Files:
interface.c 
Log Message:
Remove FILE_MACRO as __FILE__ is ANSI C.


Revisions:
interface.c 1.22 = 1.23

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/interface.c?r1=1.22r2=1.23



CVS update: samba/source/sam

2002-10-29 Thread jelmer

Date:   Tue Oct 29 21:23:15 2002
Author: jelmer

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv29308

Removed Files:
  Tag: SAMBA_3_0
SAM-interface_handles.txt account.c api.c get_set_account.c 
get_set_domain.c get_set_group.c group.c interface.c 
sam_plugin.c 
Log Message:

Remove SAM from 3.0 - it belongs in HEAD


Revisions:
SAM-interface_handles.txt   1.1.2.1 = NONE

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/SAM-interface_handles.txt?rev=1.1.2.1
account.c   1.5.2.1 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/account.c?rev=1.5.2.1
api.c   1.3.2.1 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/api.c?rev=1.3.2.1
get_set_account.c   1.2.2.1 = NONE

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_account.c?rev=1.2.2.1
get_set_domain.c1.5.2.1 = NONE

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_domain.c?rev=1.5.2.1
get_set_group.c 1.3.2.1 = NONE

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_group.c?rev=1.3.2.1
group.c 1.1.2.1 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/group.c?rev=1.1.2.1
interface.c 1.13.2.2 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/interface.c?rev=1.13.2.2
sam_plugin.c1.4.2.1 = NONE
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/sam_plugin.c?rev=1.4.2.1



CVS update: samba/source/sam

2002-10-22 Thread idra

Date:   Tue Oct 22 16:10:45 2002
Author: idra

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

Added Files:
gumm_tdb.c gums_api.c gums.c gums_helper.c 
Log Message:

Some was asking to look at this code, so better it stay there until we decide what to 
do with it.

Last updates are support for the right way to support privileges.

Simo.



Revisions:
gumm_tdb.c  NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gumm_tdb.c?rev=1.1
gums_api.c  NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_api.c?rev=1.1
gums.c  NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums.c?rev=1.1
gums_helper.c   NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_helper.c?rev=1.1



CVS update: samba/source/sam

2002-10-14 Thread jelmer


Date:   Mon Oct 14 21:40:45 2002
Author: jelmer

Update of /home/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv5541/sam

Modified Files:
account.c get_set_account.c 
Log Message:

Don't use SAM FLAGS from smb.h since they're gone - patch from metze


Revisions:
account.c   1.5 = 1.6
http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/account.c?r1=1.5r2=1.6
get_set_account.c   1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/get_set_account.c?r1=1.2r2=1.3



CVS update: samba/source/sam

2002-10-06 Thread idra


Date:   Sun Oct  6 23:53:34 2002
Author: idra

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

Modified Files:
interface.c 
Log Message:

try to put every security descriptors related definitions in the same file.
also try to uniform names to a clean scheme.

first part.



Revisions:
interface.c 1.20 = 1.21

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/interface.c?r1=1.20r2=1.21



  1   2   >