summaryrefslogtreecommitdiff
path: root/source3/utils/net_registry_check.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-09Check error returns from strupper_m() (in all reasonable places).Jeremy Allison1-2/+8
2012-06-15dbwrap: dbwrap_store_uint32->dbwrap_store_uint32_bystringVolker Lendecke1-3/+3
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-15dbwrap: dbwrap_fetch_uint32->dbwrap_fetch_uint32_bystringVolker Lendecke1-2/+3
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-14s3: Simplify tdb_data_is_cstr a bitVolker Lendecke1-1/+1
The original code contained rawmemchr for performance reasons. I would expect the very common strlen routine to be not much worse performance-wise than rawmemchr. On top, for me this patch simplifies the expression a bit. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Jun 14 16:55:58 CEST 2012 on sn-devel-104
2012-05-15s3: Fix Coverity ID 242710 Untrusted pointer readVolker Lendecke1-1/+1
According to susv3 we have to make sure that we call isupper with values only in the range of an unsigned char. This is best achieved by automatic narrowing through assignment.
2012-01-18s3: Add a "lock_order" argument to db_openVolker Lendecke1-2/+4
This will be used to enforce a lock hierarchy between the databases. We have seen deadlocks between locking.tdb, brlock.tdb, serverid.tdb and notify*.tdb. These should be fixed by refusing a dbwrap_fetch_locked that does not follow a defined lock hierarchy.
2011-12-06s3:net registry check: replace rawmemchr by functionally equivalent portable ↵Michael Adam1-2/+2
strchr rawmemchr is glibc only - not portable. Remarked by Ira Cooper. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 6 12:20:48 CET 2011 on sn-devel-104
2011-12-06Revert "Remove rawmemchr calls - found by Ira Cooper. These are ↵Michael Adam1-4/+3
glibc-specific calls, makes us completely non-portable." This reverts commit 82b1702284ba2bb61b23e1f14ce9145d896c36c0. This is not functionally equivalent, needs to be done differently.
2011-12-03lib/util: factor out tdb_data_is_emptyGregor Beck1-4/+0
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Dec 3 05:20:30 CET 2011 on sn-devel-104
2011-11-29s3:net registry check: adapt to new semantic of dbwrap_fetch with rbtGregor Beck1-6/+6
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Nov 29 19:53:30 CET 2011 on sn-devel-104
2011-11-29s3:net registry check: adapt to new semantic of dbwrap_fetchGregor Beck1-10/+13
Signed-off-by: Michael Adam <obnox@samba.org>
2011-11-29s3:net registry check: handle missing version infoGregor Beck1-0/+36
Signed-off-by: Michael Adam <obnox@samba.org>
2011-11-25s3:net registry check: improve console outputGregor Beck1-7/+4
Signed-off-by: Michael Adam <obnox@samba.org>
2011-11-18Remove rawmemchr calls - found by Ira Cooper. These are glibc-specific ↵Jeremy Allison1-3/+4
calls, makes us completely non-portable. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Nov 18 23:50:50 CET 2011 on sn-devel-104
2011-11-03s3-utils: net - Fix one error/usage messageBjörn Baumbach1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-26s3:net registry check: fix a case where automatic and read only mode take ↵Gregor Beck1-3/+5
the wrong action Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-26s3:net registry check: do not silently replace separatorsGregor Beck1-2/+3
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-14Remove unused function.Jeremy Allison1-18/+0
2011-10-12s3:net: add command registry checkGregor Beck1-0/+1314
Signed-off-by: Michael Adam <obnox@samba.org>