diff options
author | Jeremy Allison <jra@samba.org> | 1998-06-01 18:50:27 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-06-01 18:50:27 +0000 |
commit | ffe91d6443f2a3e19977ed97167dd100a42a3e9a (patch) | |
tree | a9db7c7d7258a5a2dfbbc8debbc514d117aad467 /source3/passdb/smbpass.c | |
parent | 3c116d2aa70d68bb4d2c536f03b83d6faf86f53b (diff) | |
download | samba-ffe91d6443f2a3e19977ed97167dd100a42a3e9a.tar.gz samba-ffe91d6443f2a3e19977ed97167dd100a42a3e9a.tar.xz samba-ffe91d6443f2a3e19977ed97167dd100a42a3e9a.zip |
clientutil.c: Don't core dump if no controlling terminal available for password.
passdb.c:
lib/rpc/include/rpc_misc.h: First cut at automatic uid/gid to rid mapping.
We can change this at a later date to make more bits available if neccessary.
Jeremy.
(This used to be commit 34f40474aba97118e1e80fe6259c686e46dc16b4)
Diffstat (limited to 'source3/passdb/smbpass.c')
-rw-r--r-- | source3/passdb/smbpass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c index abb037b95df..003a1742e73 100644 --- a/source3/passdb/smbpass.c +++ b/source3/passdb/smbpass.c @@ -433,9 +433,9 @@ static BOOL add_smbfilepwd_entry(struct smb_passwd *newpwd) int fd; int new_entry_length; - unsigned char *new_entry; + char *new_entry; long offpos; - unsigned char *p; + char *p; /* Open the smbpassword file - for update. */ fp = startsmbfilepwent(True); |