CVS update: samba/source/groupdb
Date: Wed Mar 31 16:51:54 2004 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv25473/groupdb Modified Files: mapping.c Log Message: Tiny steps towards removing our current concept of group mapping. The group editing functions in srv_samr_nt.c are done. Volker Revisions: mapping.c 1.71 = 1.72 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.71r2=1.72
CVS update: samba/source/groupdb
Date: Tue Mar 30 09:05:21 2004 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv12024 Modified Files: mapping.c Log Message: Cosmetic: Move function to keep alias functions together Revisions: mapping.c 1.70 = 1.71 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.70r2=1.71
CVS update: samba/source/groupdb
Date: Sat Mar 27 10:49:18 2004 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv5003 Modified Files: mapping.c Log Message: Fix indentation. How did this get here??? :-) Volker Revisions: mapping.c 1.68 = 1.69 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.68r2=1.69
CVS update: samba/source/groupdb
Date: Sat Mar 27 18:43:32 2004 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv21969/groupdb Modified Files: mapping.c Log Message: First patch towards simplification. smbd does domain groups only, reflecting nss. The complexity of get_sid_list_of_group is not necessary, we only need the rids of users. Volker Revisions: mapping.c 1.69 = 1.70 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.69r2=1.70
CVS update: samba/source/groupdb
Date: Thu Mar 18 17:09:38 2004 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv12592/source/groupdb Modified Files: Tag: SAMBA_3_0_RELEASE mapping.c Log Message: starting to sync the cvs tree Revisions: mapping.c 1.50.2.8 = 1.50.2.9 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.50.2.8r2=1.50.2.9
CVS update: samba/source/groupdb
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/groupdb
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/groupdb
Date: Sat Mar 13 16:30:39 2004 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv17814/groupdb Modified Files: mapping.c Log Message: Add find_alias, create_alias, delete_alias, get_aliasinfo, set_aliasinfo and enum_aliases to passdb. create and delete are not yet filled, you have to do this with net groupmap and net idmap restore. Volker Revisions: mapping.c 1.64 = 1.65 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.64r2=1.65
CVS update: samba/source/groupdb
Date: Wed Mar 10 16:17:46 2004 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv5858/groupdb Modified Files: mapping.c Log Message: Don't pass DOM_SIDs around when pointers are enough. Volker Revisions: mapping.c 1.63 = 1.64 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.63r2=1.64
CVS update: samba/source/groupdb
Date: Tue Mar 9 18:56:28 2004 Author: mimir Update of /home/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv14247 Modified Files: mapping.c Log Message: Fix to debug message lacking termination with '\n'. rafal Revisions: mapping.c 1.62 = 1.63 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.62r2=1.63
CVS update: samba/source/groupdb
Date: Tue Mar 9 18:58:19 2004 Author: mimir Update of /home/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv14370 Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: Fix to debug message lacking termination with '\n'. rafal Revisions: mapping.c 1.33.2.30 = 1.33.2.31 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.30r2=1.33.2.31
CVS update: samba/source/groupdb
Date: Mon Mar 1 13:02:05 2004 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv12081/groupdb Modified Files: mapping.c Log Message: Add aliases to winbindd_getgroups(). su - WINDOWS\\vl now includes the locally defined aliases I'm member of. Next will be getent group. Volker Revisions: mapping.c 1.60 = 1.61 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.60r2=1.61
CVS update: samba/source/groupdb
Date: Mon Mar 1 16:10:26 2004 Author: idra Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv16817/groupdb Modified Files: mapping.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: mapping.c 1.61 = 1.62 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.61r2=1.62
CVS update: samba/source/groupdb
Date: Sun Feb 29 16:48:19 2004 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv14749/groupdb Modified Files: mapping.c Log Message: Apply my experimental aliases support to HEAD. This will be a bit difficult to merge to 3_0, as the pdb interfaces has changed a bit between the two. This has not been tested too severly (which means it's completely broken ;-), but I want it in for review. Feel free to revert it :-) TODO: make 'net groupmap' a bit more friendly for alias members. Put that stuff into pdb_ldap. Getting the information over to winbind. One plan without linking pdb into winbind would be to fill group_mapping.tdb with the membership information and have that as a cache (or use gencache.tdb?). smbd on a PDC or stand-alone could trigger that itself, the problem is a BDC using LDAP. This needs to do it on a regular basis. The BDC smbd needs to be informed about SAM changes somehow... Volker Revisions: mapping.c 1.59 = 1.60 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.59r2=1.60
CVS update: samba/source/groupdb
Date: Tue Feb 17 21:25:42 2004 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv16948 Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: When creating a group via a script, don't let winbind do it as well. Volker Revisions: mapping.c 1.33.2.29 = 1.33.2.30 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.29r2=1.33.2.30
CVS update: samba/source/groupdb
Date: Tue Feb 17 21:29:05 2004 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv18051 Modified Files: mapping.c Log Message: When creating a group via a script, don't let winbind do it as well. Volker Revisions: mapping.c 1.58 = 1.59 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.58r2=1.59
CVS update: samba/source/groupdb
Date: Mon Feb 2 01:46:29 2004 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv7567/source/groupdb Modified Files: mapping.c Log Message: janitor duty (merges from 3.0) and cleanup compiler warning on SuSE 9 in the end mapper code Revisions: mapping.c 1.57 = 1.58 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.57r2=1.58
CVS update: samba/source/groupdb
Date: Tue Jan 27 18:26:11 2004 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv5352/source/groupdb Modified Files: Tag: SAMBA_3_0_RELEASE mapping.c Log Message: pulling changes from 3.0 Revisions: mapping.c 1.50.2.7 = 1.50.2.8 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.50.2.7r2=1.50.2.8
CVS update: samba/source/groupdb
Date: Sun Jan 25 10:04:10 2004 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv14606 Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: On my SuSE 8.2 (glibc 2.3.2) the getpwnam inside pdb_getsampwnam reset the surrounding getpwent loop to the first entry. So smbd went into an endless loop. Volker Revisions: mapping.c 1.33.2.27 = 1.33.2.28 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.27r2=1.33.2.28
CVS update: samba/source/groupdb
Date: Sun Jan 25 10:14:50 2004 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv16536/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: Fix memleak just introduced. Thanks to abartlet :-) Volker Revisions: mapping.c 1.33.2.28 = 1.33.2.29 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.28r2=1.33.2.29
CVS update: samba/source/groupdb
Date: Tue Jan 6 18:55:25 2004 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv8157/source/groupdb Modified Files: Tag: SAMBA_3_0_RELEASE mapping.c Log Message: starting to sync files for 3.0.2pre1: Revisions: mapping.c 1.50.2.6 = 1.50.2.7 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.50.2.6r2=1.50.2.7
CVS update: samba/source/groupdb
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/groupdb
Date: Fri Jan 2 05:32:07 2004 Author: abartlet Update of /home/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv1/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: JHT came up with a nasty (broken) torture case in preparing examples for his book. This prompted me to look at the code that reads the unix group list. This code did a lot of name - uid - name - sid translations, which caused problems. Instead, we now do just name-sid I also cleaned up some interfaces, and client tools. Andrew Bartlett Revisions: mapping.c 1.33.2.26 = 1.33.2.27 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.26r2=1.33.2.27
CVS update: samba/source/groupdb
Date: Fri Dec 12 18:25:11 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv23695/groupdb Modified Files: Tag: APPLIANCE_HEAD mapping.c Log Message: more syncs with 3.0 Revisions: mapping.c 1.52.2.2 = 1.52.2.3 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.52.2.2r2=1.52.2.3
CVS update: samba/source/groupdb
Date: Wed Dec 10 16:42:44 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv7042/groupdb Modified Files: mapping.c Log Message: more group lookup access fixes on the neverending bug 281 Revisions: mapping.c 1.55 = 1.56 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.55r2=1.56
CVS update: samba/source/groupdb
Date: Wed Dec 10 21:57:13 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv16672/source/groupdb Modified Files: Tag: SAMBA_3_0_RELEASE mapping.c Log Message: last show stoppers for 3.0.1rc2 (i really mean it this time) Revisions: mapping.c 1.50.2.5 = 1.50.2.6 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.50.2.5r2=1.50.2.6
CVS update: samba/source/groupdb
Date: Thu Dec 4 14:54:30 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv15959/groupdb Modified Files: Tag: APPLIANCE_HEAD mapping.c Log Message: syncing up with the current 3.0 tree Revisions: mapping.c 1.52.2.1 = 1.52.2.2 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.52.2.1r2=1.52.2.2
CVS update: samba/source/groupdb
Date: Thu Dec 4 20:35:30 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv32220/source/groupdb Modified Files: Tag: SAMBA_3_0_RELEASE mapping.c Log Message: syncing tree for 3.0.1rc1 Revisions: mapping.c 1.50.2.4 = 1.50.2.5 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.50.2.4r2=1.50.2.5
CVS update: samba/source/groupdb
Date: Thu Dec 4 03:35:45 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv14390/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: * fix RemoveSidForeignDomain() ; bug 252 * don't fall back to unmapped UNIX group for get_local_group_from_sid() * remove an extra become/unbecome_root() pair from group enumeration Revisions: mapping.c 1.33.2.24 = 1.33.2.25 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.24r2=1.33.2.25
CVS update: samba/source/groupdb
Date: Thu Dec 4 04:08:31 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv18622/groupdb Modified Files: mapping.c Log Message: * fix RemoveSidForeignDomain() ; bug 252 * don't fall back to unmapped UNIX group for get_local_group_from_sid() * remove an extra become/unbecome_root() pair from group enumeration Revisions: mapping.c 1.54 = 1.55 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.54r2=1.55
CVS update: samba/source/groupdb
Date: Mon Nov 24 17:31:37 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv1691/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: more access fixes for group enumeration in LDAP; bug 281 Revisions: mapping.c 1.33.2.23 = 1.33.2.24 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.23r2=1.33.2.24
CVS update: samba/source/groupdb
Date: Mon Nov 24 17:33:15 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv1961/groupdb Modified Files: mapping.c Log Message: more access fixes for group enumeration in LDAP; bug 281 Revisions: mapping.c 1.53 = 1.54 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.53r2=1.54
CVS update: samba/source/groupdb
Date: Tue Sep 9 04:07:02 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv31563/groupdb Modified Files: mapping.c Log Message: sync 3.0 into HEAD for the last time Revisions: mapping.c 1.52 = 1.53 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.52r2=1.53
CVS update: samba/source/groupdb
Date: Tue Sep 2 22:17:55 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv20033/groupdb Removed Files: Tag: APPLIANCE_HEAD aliasdb.c aliasfile.c groupdb.c groupfile.c Log Message: starting to sync up app_head with 3.0 Revisions: aliasdb.c 1.9.2.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/aliasdb.c?rev=1.9.2.1 aliasfile.c 1.9.4.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/aliasfile.c?rev=1.9.4.1 groupdb.c 1.7.2.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/groupdb.c?rev=1.7.2.1 groupfile.c 1.9.4.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/groupfile.c?rev=1.9.4.1
CVS update: samba/source/groupdb
Date: Tue Sep 2 23:06:36 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv28057/groupdb Added Files: Tag: APPLIANCE_HEAD .cvsignore mapping.c Log Message: more syncs with 3.0 Revisions: .cvsignore NONE = 1.3.4.1 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/.cvsignore?rev=1.3.4.1 mapping.c NONE = 1.52.2.1 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?rev=1.52.2.1
CVS update: samba/source/groupdb
Date: Sat Aug 2 20:06:44 2003 Author: idra Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv26703/groupdb Modified Files: mapping.c Log Message: port latest changes from SAMBA_3_0 tree Revisions: mapping.c 1.51 = 1.52 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.51r2=1.52
CVS update: samba/source/groupdb
Date: Tue Jul 22 04:31:20 2003 Author: tpot Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv31393/groupdb Modified Files: Tag: SAMBA_3_0 mapping.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: mapping.c 1.33.2.20 = 1.33.2.21 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.20r2=1.33.2.21
CVS update: samba/source/groupdb
Date: Tue Jul 15 17:23:36 2003 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv12458 Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: We should report if a group mapping fails. This should fix bug#225. Jerry, this is assigned to you. Do you want to answer it? However, we have to decide what to do if a mapping is to be done for a unix group not in LDAP Volker Revisions: mapping.c 1.33.2.18 = 1.33.2.19 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.18r2=1.33.2.19
CVS update: samba/source/groupdb
Date: Wed Jul 16 02:20:52 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv20893/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: fixes for 'net rpc vampire'. I can now take a blank Samba host and migrate an NT4 domain and still logon from domain members (tested logon scripts, system policies, profiles, home directories) (passdb backend = tdbsam) removed call to idmap_init_wellknown_sids() from winbindd.c since the local domain should be handled by the guest passdb backend (and you don't really always want the Administrator account to be root) ...and we didn't pay attention to this anyways now. Revisions: mapping.c 1.33.2.19 = 1.33.2.20 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.19r2=1.33.2.20
CVS update: samba/source/groupdb
Date: Wed Jul 16 04:25:53 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv30855/source/groupdb Modified Files: Tag: SAMBA_3_0_RELEASE mapping.c Log Message: starting to sync up for beta3 Revisions: mapping.c 1.50.2.1 = 1.50.2.2 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.50.2.1r2=1.50.2.2
CVS update: samba/source/groupdb
Date: Wed Jul 16 05:34:36 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv4827/source/groupdb Modified Files: mapping.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: mapping.c 1.50 = 1.51 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.50r2=1.51
CVS update: samba/source/groupdb
Date: Fri Jul 11 05:33:39 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv19632/groupdb Modified Files: Tag: SAMBA_3_0 mapping.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: mapping.c 1.33.2.17 = 1.33.2.18 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.17r2=1.33.2.18
CVS update: samba/source/groupdb
Date: Fri Jul 4 09:56:50 2003 Author: ab Update of /home/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv18861 Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: Fix memleak in groupdb. Spotted by Metze Revisions: mapping.c 1.33.2.15 = 1.33.2.16 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.15r2=1.33.2.16
CVS update: samba/source/groupdb
Date: Wed Jun 18 12:00:52 2003 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv593/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: And some more memory leaks in mapping.c and pdb_tdb.c. tdb_nextkey mallocs its key, so we should free it after use. Volker Revisions: mapping.c 1.33.2.13 = 1.33.2.14 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.13r2=1.33.2.14
Re: CVS update: samba/source/groupdb
On Wed, Jun 18, 2003 at 12:00:52PM +, [EMAIL PROTECTED] wrote: Date: Wed Jun 18 12:00:52 2003 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv593/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: And some more memory leaks in mapping.c and pdb_tdb.c. tdb_nextkey mallocs its key, so we should free it after use. This certainly should FIX and not ADD memory leaks :-) Volker pgp0.pgp Description: PGP signature
CVS update: samba/source/groupdb
Date: Wed Jun 18 15:24:09 2003 Author: idra Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv19430/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: Ok, this patch removes the privilege stuff we had in, unused, for some time. The code was nice, but put in the wrong place (group mapping) and not supported by most of the code, thus useless. We will put back most of the code when our infrastructure will be changed so that privileges actually really make sense to be set. This is a first patch of a set to enhance all our mapping code cleaness and stability towards a sane next beta for 3.0 code base Simo. Revisions: mapping.c 1.33.2.14 = 1.33.2.15 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.14r2=1.33.2.15
CVS update: samba/source/groupdb
Date: Tue Jun 17 12:31:02 2003 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv32150/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: And more other memory leaks. One new (idmap) and one ancient (groupdb). Volker Revisions: mapping.c 1.33.2.12 = 1.33.2.13 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.33.2.12r2=1.33.2.13
Re: CVS update: samba/source/groupdb
On Tue, Jun 17, 2003 at 03:27:08PM +0200, Simo Sorce wrote: Weren't we supposed to remove the privileges stuff ? Yes, but in between I wanted it to be clean. Once I had found it, I could not leave it uncommitted... /Simo waiting for a go. You have mine. But I think at least jerry or jra should agree. Volker pgp0.pgp Description: PGP signature
CVS update: samba/source/groupdb
Date: Sun Mar 23 11:44:14 2003 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv1720 Modified Files: mapping.c Log Message: The group mapping functions are not called directly anymore, but instead through the passdb interface. So we can make them static. Volker Revisions: mapping.c 1.46 = 1.47 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.46r2=1.47
CVS update: samba/source/groupdb
Date: Sun Mar 23 11:45:01 2003 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv1805 Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: The group mapping functions are not called directly anymore, but instead through the passdb interface. So we can make them static. Volker Revisions: mapping.c 1.33.2.9 = 1.33.2.10 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.33.2.9r2=1.33.2.10
CVS update: samba/source/groupdb
Date: Sat Feb 22 12:01:05 2003 Author: abartlet Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv23057/groupdb Modified Files: mapping.c Log Message: Remove 'unixsam' from the default passdb backends. The intention is to remove the muliple passdb backends, but we need the 'guest' account to always be there. If the admin adds the guest account to (say) LDAP, there will only be one backend required for operation. This helps remove some nasty behaviours with adding accounts to the system for both the RPC 'create user' and the SAMSYNC code. Users 'added' with an 'add user/machine' script won't magicly appear, and machine accounts 'pre-added' to unix, but not the smbpasswd file will not cause mayhem. This commit also implements somthing tridge discussed with me, the concept of 'default' passdb operation pointers - so that each backend does not need it's own stub funcitons wrapping the default tdb privilages/group mapping code. This also removes an implicit 'sid-name' and 'name-sid' mapping from our own local SID space, to winbind usernames. When adding mapping for NIS/LDAP non-sam users in future, we need to be careful. Andrew Bartlett Revisions: mapping.c 1.45 = 1.46 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.45r2=1.46
CVS update: samba/source/groupdb
Date: Tue Feb 18 12:05:56 2003 Author: mbp Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv9562 Modified Files: mapping.c Log Message: add_initial_entry should fail if string_to_sid fails. Revisions: mapping.c 1.44 = 1.45 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.44r2=1.45
CVS update: samba/source/groupdb
Date: Tue Feb 18 18:01:05 2003 Author: mbp Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv7263 Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: Check return code of string_to_sid. (Merge from HEAD) Revisions: mapping.c 1.33.2.7 = 1.33.2.8 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.33.2.7r2=1.33.2.8
CVS update: samba/source/groupdb
Date: Wed Jan 15 14:52:23 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv18465/groupdb Removed Files: Tag: SAMBA_3_0 aliasdb.c aliasfile.c groupdb.c groupfile.c Log Message: removing unused files from release branch Revisions: aliasdb.c 1.14.2.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/aliasdb.c?rev=1.14.2.1 aliasfile.c 1.14 = NONE http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/aliasfile.c?rev=1.14 groupdb.c 1.12.2.1 = NONE http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/groupdb.c?rev=1.12.2.1 groupfile.c 1.14 = NONE http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/groupfile.c?rev=1.14
CVS update: samba/source/groupdb
Date: Wed Jan 15 18:31:46 2003 Author: jerry Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv6344/groupdb Removed Files: aliasdb.c aliasfile.c groupdb.c groupfile.c Log Message: small merges from SAMBA_3_0; mostly typos, renames, etc... Revisions: aliasdb.c 1.15 = NONE http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/aliasdb.c?rev=1.15 aliasfile.c 1.14 = NONE http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/aliasfile.c?rev=1.14 groupdb.c 1.13 = NONE http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/groupdb.c?rev=1.13 groupfile.c 1.14 = NONE http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/groupfile.c?rev=1.14
CVS update: samba/source/groupdb
Date: Fri Jan 3 08:28:01 2003 Author: abartlet Update of /home/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv5790/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: Merge from HEAD - make Samba compile with -Wwrite-strings without additional warnings. (Adds a lot of const). Andrew Bartlett Revisions: mapping.c 1.33.2.6 = 1.33.2.7 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.33.2.6r2=1.33.2.7
CVS update: samba/source/groupdb
Date: Thu Jan 2 09:07:02 2003 Author: abartlet Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv24160/groupdb Modified Files: mapping.c Log Message: BIG patch... This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett Revisions: mapping.c 1.43 = 1.44 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.43r2=1.44
CVS update: samba/source/groupdb
Date: Sat Nov 23 02:52:35 2002 Author: jra Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv30655/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: Lots of fixes for error paths where tdb_fetch() data need freeing. Found via a post from Arcady Chernyak [EMAIL PROTECTED]. Jeremy. Revisions: mapping.c 1.33.2.5 = 1.33.2.6 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.33.2.5r2=1.33.2.6
CVS update: samba/source/groupdb
Date: Sat Nov 23 02:52:38 2002 Author: jra Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv30662/groupdb Modified Files: mapping.c Log Message: Lots of fixes for error paths where tdb_fetch() data need freeing. Found via a post from Arcady Chernyak [EMAIL PROTECTED]. Jeremy. Revisions: mapping.c 1.42 = 1.43 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.42r2=1.43
CVS update: samba/source/groupdb
Date: Tue Nov 12 23:15:49 2002 Author: jra Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv27547/groupdb Modified Files: mapping.c Log Message: Removed global_myworkgroup, global_myname, global_myscope. Added liberal dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. Revisions: mapping.c 1.41 = 1.42 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.41r2=1.42
CVS update: samba/source/groupdb
Date: Tue Nov 12 23:20:45 2002 Author: jra Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv28667/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: Removed global_myworkgroup, global_myname, global_myscope. Added liberal dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. Revisions: mapping.c 1.33.2.4 = 1.33.2.5 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.33.2.4r2=1.33.2.5
CVS update: samba/source/groupdb
Date: Sat Nov 2 03:47:47 2002 Author: abartlet Update of /home/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv2142/groupdb Modified Files: Tag: SAMBA_3_0 mapping.c Log Message: Merge passdb from HEAD - 3.0 The work here includes: - metze' set/changed patch, which avoids making changes to ldap on unmodified attributes. - volker's group mapping in passdb patch - volker's samsync stuff - volkers SAMR changes. - mezte's connection caching patch - my recent changes (fix magic root check, ldap ssl) Andrew Bartlett Revisions: mapping.c 1.33.2.3 = 1.33.2.4 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.33.2.3r2=1.33.2.4
CVS update: samba/source/groupdb
Date: Wed Oct 16 09:41:42 2002 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv31161/groupdb Modified Files: mapping.c Log Message: Create group mappings on the fly. Volker Revisions: mapping.c 1.38 = 1.39 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.38r2=1.39
CVS update: samba/source/groupdb
Date: Fri Oct 4 22:53:30 2002 Author: jra Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv26625/groupdb Modified Files: mapping.c Log Message: Add a timeout to tdb_lock_bystring(). Ensure we never have more than MAX_PRINT_JOBS in a queue. Jeremy. Revisions: mapping.c 1.37 = 1.38 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.37r2=1.38
CVS update: samba/source/groupdb
Date: Mon Sep 23 16:21:01 2002 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv8493/source/groupdb Modified Files: mapping.c Log Message: Ok, getting a bit more ambitious. Stop me, if this is wrong. ;-) When creating a group you have to take care of the fact that the underlying unix might not like the group name. This change gets around that problem by giving the add group script the chance to invent a group name. It then must only return the newly created numerical gid. Volker Revisions: mapping.c 1.36 = 1.37 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.36r2=1.37
CVS update: samba/source/groupdb
Date: Sat Sep 21 14:14:40 2002 Author: vlendec Update of /data/cvs/samba/source/groupdb In directory dp.samba.org:/tmp/cvs-serv16800/groupdb Modified Files: mapping.c Log Message: Sorry for the new parameter, but I think to really reflect what's coming in via deltas, we need a way to set a user's primary group. Volker Revisions: mapping.c 1.35 = 1.36 http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.35r2=1.36