summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-12-19 11:50:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:31 -0500
commit636dbb355b2e96fd61b0fd042c3916a4735995e2 (patch)
tree583871bd1e6c23f3ea6a975b49df4c7dad16de43 /source4/auth
parent512b94803df6c3ca3882bd88fcb9b0d94383fc7a (diff)
downloadsamba-636dbb355b2e96fd61b0fd042c3916a4735995e2.tar.gz
samba-636dbb355b2e96fd61b0fd042c3916a4735995e2.tar.bz2
samba-636dbb355b2e96fd61b0fd042c3916a4735995e2.zip
r12363: minor fixes for win2000 join/login
- the objectClass needs to be added to the list of attributes to make the check for objectClass=computer work - the short version of the name needs to be used for the 'cn' in cracknames (This used to be commit 53f0fb77c3c1bd15620f1dbb12e0d8f9fededf4b)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_sam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c
index 95a7702822..49813a437d 100644
--- a/source4/auth/auth_sam.c
+++ b/source4/auth/auth_sam.c
@@ -64,7 +64,8 @@ static const char *user_attrs[] = {
NULL,
};
-static const char *domain_ref_attrs[] = {"nETBIOSName", "nCName", "dnsRoot", NULL};
+static const char *domain_ref_attrs[] = {"nETBIOSName", "nCName",
+ "dnsRoot", "objectClass", NULL};
/****************************************************************************
Do a specific test for an smb password being correct, given a smb_password and