diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-05-18 11:38:50 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-05-18 11:38:50 +0000 |
commit | bc8f74f9883c164f5802f66126960c5dc2216c68 (patch) | |
tree | d20a1f26e25d7d210b48bdf6d744b9e9ac0a460b | |
parent | 55ec09ad95d40fdb8a05388d8f94afec28d44a3b (diff) | |
download | samba-bc8f74f9883c164f5802f66126960c5dc2216c68.tar.gz samba-bc8f74f9883c164f5802f66126960c5dc2216c68.tar.bz2 samba-bc8f74f9883c164f5802f66126960c5dc2216c68.zip |
Oops, I missed commiting this earlier.
The idea is that pdb_add_sam_account() should have a non-const SAM_ACCOUNT,
and update some of the the properties generated during the add.
Andrew Bartlett
(This used to be commit b014d9ae4bc38d83d474888b73d350a62704341f)
-rw-r--r-- | source3/include/passdb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h index 2cda0800f8..fb020db3e4 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -76,11 +76,11 @@ typedef struct pdb_methods BOOL (*getsampwrid)(struct pdb_methods *, SAM_ACCOUNT *sam_acct, uint32 rid); - BOOL (*add_sam_account)(struct pdb_methods *, const SAM_ACCOUNT *sampass); + BOOL (*add_sam_account)(struct pdb_methods *, SAM_ACCOUNT *sampass); - BOOL (*update_sam_account)(struct pdb_methods *, const SAM_ACCOUNT *sampass); + BOOL (*update_sam_account)(struct pdb_methods *, SAM_ACCOUNT *sampass); - BOOL (*delete_sam_account)(struct pdb_methods *, const SAM_ACCOUNT *username); + BOOL (*delete_sam_account)(struct pdb_methods *, SAM_ACCOUNT *username); void *private_data; /* Private data of some kind */ |