diff options
-rw-r--r-- | source4/passdb/pdb_guest.c | 2 | ||||
-rw-r--r-- | source4/passdb/pdb_ldap.c | 4 | ||||
-rw-r--r-- | source4/passdb/pdb_smbpasswd.c | 2 | ||||
-rw-r--r-- | source4/passdb/pdb_tdb.c | 2 | ||||
-rw-r--r-- | source4/passdb/pdb_unix.c | 2 |
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; |