git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c458048
)
s4:s3compat Provide make_auth_context_subsystem()
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 17 May 2010 11:02:59 +0000
(21:02 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 3 Jun 2010 01:14:11 +0000
(11:14 +1000)
This avoids needing to specify an 'auth methods' in the smb.conf to
run s3compat
Andrew Bartlett
source4/s3compat/s3compat.c
patch
|
blob
|
history
diff --git
a/source4/s3compat/s3compat.c
b/source4/s3compat/s3compat.c
index 997371f0393a4a769593e2f31ab91f24d97ec3aa..fcd9b505f8cd46db5356ee41e6ac780a6354c640 100644
(file)
--- a/
source4/s3compat/s3compat.c
+++ b/
source4/s3compat/s3compat.c
@@
-66,3
+66,10
@@
_PUBLIC_ void s3compat_smbd_process(void)
init_guest_info();
smbd_process();
}
+
+NTSTATUS make_auth_context_subsystem(struct auth_context **auth_context)
+{
+ const char *auth_method_list[] = { "guest", "samba4", NULL };
+ return make_auth_context_text_list(auth_context,
+ auth_method_list);
+}