summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-03-26 02:14:40 +0000
committerJeremy Allison <jra@samba.org>1998-03-26 02:14:40 +0000
commit1edcbd31fc8a24a97069496fa6959bb4927edebd (patch)
tree9a0aa8de81e6a3b9ce024a5d85636fb66a0a242c /source3/passdb
parent2dc1712d31612e9ec0234eef3e37d00c62e69079 (diff)
downloadsamba-1edcbd31fc8a24a97069496fa6959bb4927edebd.tar.gz
samba-1edcbd31fc8a24a97069496fa6959bb4927edebd.tar.bz2
samba-1edcbd31fc8a24a97069496fa6959bb4927edebd.zip
smbpass.c: Made unknown accounts ending in '$' server accounts, not
workstation. smbpasswd.c: Added code to count down from last machine account to add correct uid when adding a machine account. Jeremy. (This used to be commit 0601a41993d6ea4fb2a186b7ca55b2f3a6f6a53d)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/smbpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c
index 0c5c290299..b481a501e6 100644
--- a/source3/passdb/smbpass.c
+++ b/source3/passdb/smbpass.c
@@ -417,7 +417,7 @@ struct smb_passwd *getsmbpwent(FILE *fp)
*/
if(pw_buf.smb_name[strlen(pw_buf.smb_name) - 1] == '$') {
pw_buf.acct_ctrl &= ~ACB_NORMAL;
- pw_buf.acct_ctrl |= ACB_WSTRUST;
+ pw_buf.acct_ctrl |= ACB_SVRTRUST;
}
}