summaryrefslogtreecommitdiff
path: root/packaging/SuSE/samba3-3.0.0-pdb.diff
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/SuSE/samba3-3.0.0-pdb.diff')
-rw-r--r--packaging/SuSE/samba3-3.0.0-pdb.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/packaging/SuSE/samba3-3.0.0-pdb.diff b/packaging/SuSE/samba3-3.0.0-pdb.diff
new file mode 100644
index 0000000000..0c811b57c5
--- /dev/null
+++ b/packaging/SuSE/samba3-3.0.0-pdb.diff
@@ -0,0 +1,13 @@
+--- examples/pdb/pdb_test.c 26 Sep 2002 18:37:54 -0000 1.1.2.3
++++ examples/pdb/pdb_test.c 22 Apr 2003 20:06:31 -0000
+@@ -142,8 +142,6 @@
+ int init_module(void);
+
+ int init_module() {
+- if(smb_register_passdb("testsam", testsam_init, PASSDB_INTERFACE_VERSION))
+- return 0;
+-
+- return 1;
++ smb_register_passdb(PASSDB_INTERFACE_VERSION, "testsam", testsam_init);
++ return True;
+ }