summaryrefslogtreecommitdiff
path: root/source3/smbd/uid.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-10-23 01:22:45 +0000
committerJeremy Allison <jra@samba.org>2002-10-23 01:22:45 +0000
commit7689a9c96932a41ccde73b3df0ce358e62a38a15 (patch)
tree125f8535118f4b97464fa95388d54f6aa7a34661 /source3/smbd/uid.c
parentef372e36f08c8cd370c1a8a70c60b045c4e736c3 (diff)
downloadsamba-7689a9c96932a41ccde73b3df0ce358e62a38a15.tar.gz
samba-7689a9c96932a41ccde73b3df0ce358e62a38a15.tar.bz2
samba-7689a9c96932a41ccde73b3df0ce358e62a38a15.zip
First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.
This is not 100% the same as what SuSE shipped in their Samba, there is a crash bug fix, a race condition fix, and a few logic changes I'd like to discuss with Andreas. Added Andreas to (C) notices for posix_acls.c Jeremy. (This used to be commit a81d700ae9c82d4b7ea631ab7862162a2ed3d512)
Diffstat (limited to 'source3/smbd/uid.c')
-rw-r--r--source3/smbd/uid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index 2bda26aa51..9a38d6e9e2 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -456,7 +456,7 @@ BOOL lookup_name(const char *domain, const char *name, DOM_SID *psid, enum SID_N
if (strequal(global_myname, domain)) {
local_lookup = True;
} else if (lp_server_role() == ROLE_DOMAIN_PDC ||
- lp_server_role() == ROLE_DOMAIN_PDC) {
+ lp_server_role() == ROLE_DOMAIN_BDC) {
if (strequal(domain, global_myworkgroup)) {
local_lookup = True;
}