summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-18 21:22:37 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-18 20:32:40 +0000
commit1ac19c1ca3164dc6a1b29ce81047bab81a9af918 (patch)
treecf3541ea5bd132e527e5a40213cf5dbb96958191
parentdcbfcbbceb87e742b642a9dffee1304dcf0b93bb (diff)
downloadsamba-1ac19c1ca3164dc6a1b29ce81047bab81a9af918.tar.gz
samba-1ac19c1ca3164dc6a1b29ce81047bab81a9af918.tar.xz
samba-1ac19c1ca3164dc6a1b29ce81047bab81a9af918.zip
s4:ldap_server - use error code constant
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Oct 18 20:32:40 UTC 2010 on sn-devel-104
-rw-r--r--source4/ldap_server/ldap_backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index 6f2a764455..bab5923231 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -1157,6 +1157,6 @@ NTSTATUS ldapsrv_do_call(struct ldapsrv_call *call)
case LDAP_TAG_ExtendedRequest:
return ldapsrv_ExtendedRequest(call);
default:
- return ldapsrv_unwilling(call, 2);
+ return ldapsrv_unwilling(call, LDAP_PROTOCOL_ERROR);
}
}