Andrew Bartlett
ebae21f023
ntlmssp: Make the ntlmssp.h from source3/ a common header
...
The code is not yet in common, but I hope to fix that soon.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:10:56 +02:00
Andrew Bartlett
9a76932ccf
s3:ntlmssp Add two unused variables to match the Samba4 ntlmssp.h
...
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:10:48 +02:00
Andrew Bartlett
723ea68d3b
s3:auth Remove AUTH_NTLMSSP_STATE typedef.
...
typedefs are no longer preferred Samba style.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:10:44 +02:00
Andrew Bartlett
3b706865f6
s3:auth Make AUTH_NTLMSSP_STATE a private structure.
...
This makes it a little easier for it to writen in terms of GENSEC in future.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:10:33 +02:00
Volker Lendecke
2e4c41431e
s3: Don't announce readraw and writeraw with the async echo responder
2010-05-31 12:04:28 +02:00
Günther Deschner
82e140c045
s3: use shared security defines.
...
Guenther
2010-05-31 11:53:00 +02:00
Günther Deschner
fbb7814f91
s3: only use netlogon/nbt header when needed.
...
Guenther
2010-05-31 11:32:37 +02:00
Michael Adam
7426cf4306
s3: remove prototype of non-existsing function idmap_tdb_tdb_close().
2010-05-31 10:30:15 +02:00
Joachim Schmitz
3030d9db4e
s3: define timespec before we use it
...
this fixes #7464
Signed-off-by: Björn Jacke <bj@sernet.de>
2010-05-30 21:28:17 +02:00
Andrew Bartlett
d266f8fdf1
s3:lib s3:lib move get_global_sam_name to util_names.c
...
This doesn't really belong in util_sid.c, and has much more in common
with the other functions in util_names.c
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:28 +02:00
Andrew Bartlett
539ef13bfe
s3:lib split out global workgroup and netbios name functions.
...
Having these in their own file allows easier selective inclusion.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:27 +02:00
Andreas Schneider
93ac516e15
s3-auth: Added a function to get the server_info from the system user.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 14:31:39 +02:00
Günther Deschner
38d69ca547
s3-build: remove duplicate ndr_krb5pac.h inclusion.
...
Guenther
2010-05-28 02:49:37 +02:00
Günther Deschner
30eeb1e3d9
s3-rpc_client: move protos to init_netlogon.h
...
Guenther
2010-05-28 02:49:36 +02:00
Simo Sorce
f888c82fe0
s3:auth Add comment to clarify usage of session keys.
...
Explain why we have what looks like a duplicate of session keys.
It is in fact not a duplicate.
2010-05-27 20:40:22 -04:00
Simo Sorce
20fb373202
s3:auth remove login_server from server info
...
It is not used anymore, we have that information in
info3->base.logon_server already
2010-05-27 19:41:07 -04:00
Simo Sorce
2a6a696e32
s3:auth add function to convert wbcAuthUserInfo to netr_SamInfo3
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 01:20:09 +02:00
Simo Sorce
d9cffc01be
s3:auth use info3 in auth_serversupplied_info
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:53 +02:00
Simo Sorce
6713f3d945
s3:auth add function to copy a netr_SamInfo3 structure
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:27 +02:00
Simo Sorce
605cfef56c
s3:auth: add function to convert samu to netr_SamInfo3
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:17 +02:00
Stefan Metzmacher
9a6636a56e
s3:rpc_server: pass down local and remote tsocket_address to np_open()
...
metze
2010-05-27 07:13:56 +02:00
Stefan Metzmacher
9a77cb247d
s3:rpc_server: add np_read_in_progress() function
...
metze
2010-05-27 07:13:53 +02:00
Günther Deschner
2807ab358e
s3-samr: move chgpasswd.c out of smbd and into the samr server.
...
Guenther
2010-05-26 22:17:02 +02:00
Günther Deschner
14b03d132b
s3-smbd: remove unused change/check_lanman_password.
...
Guenther
2010-05-26 22:16:43 +02:00
Simo Sorce
8aa96566a9
s3-rpc_server: Created a per connection spoolss pipe.
...
This way all code can reuse the same connection to spoolss
and not have to deal with the creation of a new pipe all over the
code every time we need to ask a service off spoolss.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-26 15:07:57 +02:00
Michael Adam
0b446e0842
s3:registry: add comment header block to registry.h
2010-05-25 10:35:31 +02:00
Michael Adam
0fe1ff99a1
s3:registry: move reg_objects.h to registry/ and use it only where needed
...
Every place outside of registry/ where this is used, should probably
be changed to use pure reg_api.c code.
2010-05-25 10:35:31 +02:00
Michael Adam
552e505cee
s3:registry: move non-reg_objects definitions from reg_objects.h to registry.h
2010-05-25 10:35:31 +02:00
Michael Adam
75e691ae6b
s3:registry: hide definition of regval_ctr and regval_blob in reg_objects.c
2010-05-25 10:35:31 +02:00
Michael Adam
987514d98d
s3:registry:reg_objects: add regval_ctr_set_seqnum()
2010-05-25 10:35:28 +02:00
Michael Adam
6b331321e3
s3:registry:reg_objects: add regval_ctr_get_seqnum()
2010-05-25 10:35:28 +02:00
Michael Adam
e0d5bccfd3
s3:registry:reg_objects: add regval_ctr_init()
2010-05-25 10:35:28 +02:00
Michael Adam
97846edfa5
s3:registry: move definition of registry_hook to reg_init_full.c - it's only user
2010-05-25 10:35:27 +02:00
Michael Adam
e829b42978
s3:registry: extract registry_pull/push_value prototypes into own header
...
reg_util_marshalling.h and use them only where needed.
2010-05-25 10:35:27 +02:00
Michael Adam
f3053739b7
s3:registry: move prototype registry_create_admin_token() to new header reg_util_token.h
...
and use it only where necessary.
2010-05-25 10:35:26 +02:00
Michael Adam
847a19df94
s3:registry: extract reg_eventlog prototypes to header of their own
...
and use them only where needed.
2010-05-25 10:35:26 +02:00
Michael Adam
5a92d88f38
s3:registry: extract reg_perfcount prototypes into header of their own.
...
And use them only when necessary.
2010-05-25 10:35:26 +02:00
Michael Adam
b94267aa3f
s3:registry: extraxt the reg_dispatcher prototypes into their own header.
...
And use them only where needed.
2010-05-25 10:35:26 +02:00
Michael Adam
d335f292ce
s3:registry: extract the reg_backend_db prototypes into their own header.
...
And use them only where needed.
2010-05-25 10:35:25 +02:00
Michael Adam
70a81796fc
s3:registry: fix regval_ctr_addvalue() to take data as uint8 *, not char *.
2010-05-25 10:35:25 +02:00
Michael Adam
f7f9ce30ca
s3:registry: fix data_p arg of regval_compose to be uint8 * instead of char *
2010-05-25 10:35:25 +02:00
Michael Adam
4ae77b2ef9
s3:registry: extract the reg_util prototypes into their own header.
...
And use them only where needed.
2010-05-25 10:35:25 +02:00
Michael Adam
c682fd65b2
s3:registry: remove superfluous comments from registry.h
2010-05-25 10:35:25 +02:00
Michael Adam
a4efda959a
s3:registry: extract the reg_util_legacy prototypes into their own header.
...
And use them only where necessary.
2010-05-25 10:35:24 +02:00
Michael Adam
14a025062e
s3:registry: extract the reg_cachehook prototypes into their own header.
...
And use them only where necessary.
2010-05-25 10:35:24 +02:00
Michael Adam
9c5d7c7896
s3:registry: protect registry.h from multiple inclusion
2010-05-25 10:35:24 +02:00
Jeremy Allison
b2a7ad8c95
Make DFS work over SMB2.
...
Jeremy.
2010-05-21 16:56:10 -07:00
Andrew Bartlett
cba7f8b827
s3:dom_sid Global replace of DOM_SID with struct dom_sid
...
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:39:59 +02:00
Andrew Bartlett
a92b653af9
s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 types
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:24:55 +02:00
Jeremy Allison
a8a4fe0605
Fix bug #7410 - samba sends "raw" inode number as uniqueid with unix extensions.
...
Move to a consistent get_FileIndex() function for all inode returns,
that checks if st_dev on the file is identical to the top directory
dev_t of the exported share, and if so uses the raw 64-bit inode
number. If it isn't (we've traversed a mount point) - return what
we used to do for Windows which is the concatination of the bottom
32-bits of the inode with the 32-bit device number. We can get more
creative with this over time (hashing?) if we want as now all inode returns go
through this single function.
Jeremy.
2010-05-20 11:36:47 -07:00