summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-02-11 12:45:47 +0000
committerStefan Metzmacher <metze@samba.org>2004-02-11 12:45:47 +0000
commitcc977af616d3c98af646e29b72c71303df9fa229 (patch)
tree530217f3963203054a1ca95fc317ceb791fb0307
parent1277e83f542cb9a46b9d9d1c726f46b738730206 (diff)
downloadsamba-cc977af616d3c98af646e29b72c71303df9fa229.tar.gz
samba-cc977af616d3c98af646e29b72c71303df9fa229.tar.bz2
samba-cc977af616d3c98af646e29b72c71303df9fa229.zip
as I renamed the PDB subsystem to PASSDB, we need to rename
the static init functions of the modules too:-) metze (This used to be commit 09839de27c9741051b9ebd751c4adcd1c1481cf8)
-rw-r--r--source4/passdb/pdb_guest.c2
-rw-r--r--source4/passdb/pdb_ldap.c4
-rw-r--r--source4/passdb/pdb_smbpasswd.c2
-rw-r--r--source4/passdb/pdb_tdb.c2
-rw-r--r--source4/passdb/pdb_unix.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/source4/passdb/pdb_guest.c b/source4/passdb/pdb_guest.c
index 11da975501..036ff8d46b 100644
--- a/source4/passdb/pdb_guest.c
+++ b/source4/passdb/pdb_guest.c
@@ -122,7 +122,7 @@ static NTSTATUS pdb_init_guestsam(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_me
return NT_STATUS_OK;
}
-NTSTATUS pdb_guest_init(void)
+NTSTATUS passdb_guest_init(void)
{
NTSTATUS ret;
struct passdb_ops ops;
diff --git a/source4/passdb/pdb_ldap.c b/source4/passdb/pdb_ldap.c
index 5f7db7f5de..d15ead85d2 100644
--- a/source4/passdb/pdb_ldap.c
+++ b/source4/passdb/pdb_ldap.c
@@ -144,7 +144,7 @@ static BOOL fetch_ldapsam_pw(char **dn, char** pw)
return True;
}
-static const char *attr[] = {"uid", "pwdLastSet", "logonTime",
+static const char * const attr[] = {"uid", "pwdLastSet", "logonTime",
"logoffTime", "kickoffTime", "cn",
"pwdCanChange", "pwdMustChange",
"displayName", "homeDrive",
@@ -2063,7 +2063,7 @@ static NTSTATUS pdb_init_ldapsam_nua(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb
return NT_STATUS_OK;
}
-NTSTATUS pdb_ldap_init(void)
+NTSTATUS passdb_ldap_init(void)
{
NTSTATUS ret;
struct passdb_ops ops;
diff --git a/source4/passdb/pdb_smbpasswd.c b/source4/passdb/pdb_smbpasswd.c
index 0811c23484..abb37c4bd7 100644
--- a/source4/passdb/pdb_smbpasswd.c
+++ b/source4/passdb/pdb_smbpasswd.c
@@ -1580,7 +1580,7 @@ static NTSTATUS pdb_init_smbpasswd_nua(PDB_CONTEXT *pdb_context, PDB_METHODS **p
return NT_STATUS_OK;
}
-NTSTATUS pdb_smbpasswd_init(void)
+NTSTATUS passdb_smbpasswd_init(void)
{
NTSTATUS ret;
struct passdb_ops ops;
diff --git a/source4/passdb/pdb_tdb.c b/source4/passdb/pdb_tdb.c
index a3fda1f47e..8d699c281e 100644
--- a/source4/passdb/pdb_tdb.c
+++ b/source4/passdb/pdb_tdb.c
@@ -986,7 +986,7 @@ static NTSTATUS pdb_init_tdbsam_nua(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_
return NT_STATUS_OK;
}
-NTSTATUS pdb_tdb_init(void)
+NTSTATUS passdb_tdb_init(void)
{
NTSTATUS ret;
struct passdb_ops ops;
diff --git a/source4/passdb/pdb_unix.c b/source4/passdb/pdb_unix.c
index a1552981f1..0a4ab68574 100644
--- a/source4/passdb/pdb_unix.c
+++ b/source4/passdb/pdb_unix.c
@@ -109,7 +109,7 @@ static NTSTATUS pdb_init_unixsam(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_met
return NT_STATUS_OK;
}
-NTSTATUS pdb_unix_init(void)
+NTSTATUS passdb_unix_init(void)
{
NTSTATUS ret;
struct passdb_ops ops;