diff options
author | Jeremy Allison <jra@samba.org> | 1998-05-19 20:08:37 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-05-19 20:08:37 +0000 |
commit | 1b412a501e22602ac5edcd875e09bd3814b6e841 (patch) | |
tree | ec79a2f52899bb583bdcb322444ea6e1f2fc5be9 /source3/passdb | |
parent | 73231a9e636bcb8d74000d5529a3c513d6c27ea3 (diff) | |
download | samba-1b412a501e22602ac5edcd875e09bd3814b6e841.tar.gz samba-1b412a501e22602ac5edcd875e09bd3814b6e841.tar.bz2 samba-1b412a501e22602ac5edcd875e09bd3814b6e841.zip |
passdb.c: Fixed typo in coment.
smb.h: Removed comments no longer valid.
smbpass.c: Stopped dummy function from being prototyped.
util.c: Fix for multibyte char problems with strlower, strupper
and string_replace.
Jeremy.
(This used to be commit cd244b45a5d35fceee2a4034b0c6aabdb58871aa)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/passdb.c | 2 | ||||
-rw-r--r-- | source3/passdb/smbpass.c | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 599a463d89..396781d2f0 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -324,7 +324,7 @@ struct sam_passwd *iterate_getsam21pwnam(char *name) } /************************************************************************ - Utility function to search sam passwd by uid. use this if your database + Utility function to search sam passwd by rid. use this if your database does not have search facilities. search capability by both rid and uid are needed as the rid <-> uid diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c index 24b3ee4a54..633a527be1 100644 --- a/source3/passdb/smbpass.c +++ b/source3/passdb/smbpass.c @@ -896,6 +896,10 @@ static BOOL mod_smbfilepwd_entry(struct smb_passwd* pwd, BOOL override) return True; } +/* + * Stub functions - implemented in terms of others. + */ + static BOOL mod_smbfile21pwd_entry(struct sam_passwd* pwd, BOOL override) { return mod_smbfilepwd_entry(pdb_sam_to_smb(pwd), override); @@ -948,5 +952,5 @@ struct passdb_ops *file_initialize_password_db(void) } #else -static void dummy_function(void) { } /* stop some compilers complaining */ + void dummy_function(void) { } /* stop some compilers complaining */ #endif /* USE_SMBPASS_DB */ |