summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-29 14:09:50 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-29 14:09:50 +0000
commitd9a34fec6582733ae01dcb3b0b8fa408c23194aa (patch)
tree5cab058c55c89c381e821b645b7c0e838fed70b4 /source3
parent94102aea674caeeb4480c0e0bf330a55a11bb837 (diff)
downloadsamba-d9a34fec6582733ae01dcb3b0b8fa408c23194aa.tar.gz
samba-d9a34fec6582733ae01dcb3b0b8fa408c23194aa.tar.bz2
samba-d9a34fec6582733ae01dcb3b0b8fa408c23194aa.zip
Change order of parameters to smb_register_passdb()
(This used to be commit 63cf5637c16dc770f0ab2f73ff00577c7cd426ee)
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_smbpasswd.c2
-rw-r--r--source3/passdb/pdb_tdb.c2
-rw-r--r--source3/passdb/pdb_unix.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c
index 637f40f8c6..c1421bcd53 100644
--- a/source3/passdb/pdb_smbpasswd.c
+++ b/source3/passdb/pdb_smbpasswd.c
@@ -1563,6 +1563,6 @@ NTSTATUS pdb_init_smbpasswd(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method,
int pdb_smbpasswd_init(void)
{
- smb_register_passdb("smbpasswd", pdb_init_smbpasswd, PASSDB_INTERFACE_VERSION);
+ smb_register_passdb(PASSDB_INTERFACE_VERSION, "smbpasswd", pdb_init_smbpasswd);
return True;
}
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index 32ddd189db..2363b955e2 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -1011,7 +1011,7 @@ NTSTATUS pdb_init_tdbsam(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, con
int pdb_tdbsam_init(void)
{
- smb_register_passdb("tdbsam", pdb_init_tdbsam, PASSDB_INTERFACE_VERSION);
+ smb_register_passdb(PASSDB_INTERFACE_VERSION, "tdbsam", pdb_init_tdbsam);
return True;
}
diff --git a/source3/passdb/pdb_unix.c b/source3/passdb/pdb_unix.c
index 69356c45db..d0604cb88c 100644
--- a/source3/passdb/pdb_unix.c
+++ b/source3/passdb/pdb_unix.c
@@ -127,5 +127,5 @@ NTSTATUS pdb_init_unixsam(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, co
NTSTATUS pdb_unix_init(void)
{
- return smb_register_passdb("unixsam", pdb_init_unixsam, PASSDB_INTERFACE_VERSION);
+ return smb_register_passdb(PASSDB_INTERFACE_VERSION, "unixsam", pdb_init_unixsam);
}