diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-02-04 11:41:22 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-02-04 11:41:22 +0000 |
commit | f125759072b78ed598ee288843e8709c867ac2da (patch) | |
tree | e52c8c560c0fe68cb01ab6bbf71eb5798431fe55 /source3 | |
parent | ccaf0e7fb11ea5faa752bd6dfddfa3d9fe62b92d (diff) | |
download | samba-f125759072b78ed598ee288843e8709c867ac2da.tar.gz samba-f125759072b78ed598ee288843e8709c867ac2da.tar.bz2 samba-f125759072b78ed598ee288843e8709c867ac2da.zip |
Fix const warning
(This used to be commit 7a36cc4ac0ff4d9c42eb9ddaf41bf33b4e8cd7c6)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/pdb_ldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 099283f625..0cdbdf0f26 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -913,7 +913,7 @@ static BOOL init_ldap_from_sam (struct ldapsam_privates *ldap_state, || (lp_ldap_passwd_sync()!=LDAP_PASSWD_SYNC_ONLY)) { if (need_update(sampass, PDB_LMPASSWD)) { - uchar *lm_pw = pdb_get_lanman_passwd(sampass); + const uchar *lm_pw = pdb_get_lanman_passwd(sampass); if (lm_pw) { pdb_sethexpwd(temp, lm_pw, pdb_get_acct_ctrl(sampass)); @@ -927,7 +927,7 @@ static BOOL init_ldap_from_sam (struct ldapsam_privates *ldap_state, } } if (need_update(sampass, PDB_NTPASSWD)) { - uchar *nt_pw = pdb_get_nt_passwd(sampass); + const uchar *nt_pw = pdb_get_nt_passwd(sampass); if (nt_pw) { pdb_sethexpwd(temp, nt_pw, pdb_get_acct_ctrl(sampass)); |