summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-18 14:55:17 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-18 14:55:17 +0000
commit4d63fdc430ff9ff6cd141280c024e83f41bd6744 (patch)
tree1a308b5721ba48743338ba1d38429a6f8dec74fe /source3/include
parentc7890d44c76d1746f4dfe994b24acc3799075028 (diff)
downloadsamba-4d63fdc430ff9ff6cd141280c024e83f41bd6744.tar.gz
samba-4d63fdc430ff9ff6cd141280c024e83f41bd6744.tar.bz2
samba-4d63fdc430ff9ff6cd141280c024e83f41bd6744.zip
creating and using some pdb_init_(sam/smb) routines. putting ldap headers
back in (they had been taken out of includes.h because they are only local to ldap.c. (This used to be commit 98ab085b93fb25a4d9275c0d54a863fd9fae2548)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index e4cefae193..4ef785357c 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1590,6 +1590,10 @@ struct smb_passwd *getsampwnam(char *name);
struct sam_passwd *getsam21pwnam(char *name);
struct smb_passwd *getsampwuid(uid_t smb_userid);
struct sam_passwd *getsam21pwrid(uint32 rid);
+void pdb_init_smb(struct smb_passwd *user);
+void pdb_init_sam(struct sam_passwd *user);
+struct smb_passwd *pdb_sam_to_smb(struct sam_passwd *user);
+struct sam_passwd *pdb_smb_to_sam(struct smb_passwd *user);
time_t pdb_get_last_set_time(char *p);
void pdb_set_last_set_time(char *p, int max_len, time_t t);
char *pdb_encode_acct_ctrl(uint16 acct_ctrl);