git.samba.org
/
jra
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for the new modules system to auth/ (merge from HEAD)
[jra/samba/.git]
/
source3
/
auth
/
auth_sam.c
diff --git
a/source3/auth/auth_sam.c
b/source3/auth/auth_sam.c
index b309833440effdb0b0276e62840a8f61e06dcf89..1fc8aa51bb82049726b136c580bc78e2cdeb31f2 100644
(file)
--- a/
source3/auth/auth_sam.c
+++ b/
source3/auth/auth_sam.c
@@
-518,4
+518,9
@@
NTSTATUS auth_init_samstrict(struct auth_context *auth_context, const char *para
return NT_STATUS_OK;
}
-
+int auth_sam_init(void)
+{
+ smb_register_auth("samstrict", auth_init_samstrict, AUTH_INTERFACE_VERSION);
+ smb_register_auth("sam", auth_init_sam, AUTH_INTERFACE_VERSION);
+ return True;
+}