summaryrefslogtreecommitdiff
path: root/packaging/SuSE/samba3-3.0.0-pdb.diff
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2003-08-12 01:30:40 +0000
committerJohn Terpstra <jht@samba.org>2003-08-12 01:30:40 +0000
commit4bf01670244bd48c185e144ad0487716bff7fac7 (patch)
tree9bc650e2c4c92cf734667a60a3ae98c77293a557 /packaging/SuSE/samba3-3.0.0-pdb.diff
parentea552156a075297b05166eec4ff8b3719f5b2900 (diff)
downloadsamba-4bf01670244bd48c185e144ad0487716bff7fac7.tar.gz
samba-4bf01670244bd48c185e144ad0487716bff7fac7.tar.bz2
samba-4bf01670244bd48c185e144ad0487716bff7fac7.zip
Updating SuSE build files for Samba3
(This used to be commit 934fefa688fe735e2287c701ed8f913fc6147447)
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;
+ }