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
Günther Deschner
e4bdb7e00e
s3-libads: add ads_set_sasl_wrap_flags().
...
Guenther
2010-05-20 18:45:59 +02:00
Günther Deschner
764cde5190
s3-build: add missing prototype for regtype_by_string().
...
Guenther
2010-05-20 13:54:08 +02:00
Günther Deschner
ba1befd365
s3-services: move services.h closer to services implementation.
...
Guenther
2010-05-20 13:39:46 +02:00
Jeremy Allison
2c61c93a51
Fix bug 7442 - Samba returns incorrect SMB2 QFS device info.
...
Add the correct devicetype and characteristics for this info level.
Jeremy.
2010-05-19 21:28:08 -07:00
Jeremy Allison
572e5dec1b
Implement missing info level SMB_FILE_LINK_INFORMATION.
...
Fix bug #7435 - SMB2 hardlink fails (invalid level).
Found at the Microsoft plugsharing plugfest.
Jeremy.
2010-05-18 18:34:54 -07:00
Günther Deschner
f6f3bb1813
s3-passdb: move get_logon_hours_from_pdb() into samr server.
...
Guenther
2010-05-18 21:43:05 +02:00
Günther Deschner
8478770c35
s3-rpc_client: move protos to init_samr.h
...
Guenther
2010-05-18 21:42:57 +02:00
Günther Deschner
5a6f3a0666
s3-rpc_client: move protos to init_spoolss.h
...
Guenther
2010-05-18 21:42:48 +02:00
Günther Deschner
cc06133b0a
s3-rpc_client: move protos to cli_spoolss.h
...
Guenther
2010-05-18 21:42:45 +02:00
Günther Deschner
230b880d14
s3-rpc_client: move protos to cli_lsarpc.h
...
Guenther
2010-05-18 21:42:41 +02:00
Günther Deschner
5ed3654112
s3-rpc_client: move protos to cli_netlogon.h
...
Guenther
2010-05-18 21:42:37 +02:00
Günther Deschner
3f2719c202
s3-rpc_client: move protos to cli_samr.h
...
Guenther
2010-05-18 21:42:32 +02:00
Andrew Bartlett
7a8e34fe86
s3:split secrets.c to put machine account secrets in a new file
...
This helps the s3compat effort by allowing these functions to be
replaced by functions that query the cli_credentials and secrets.ldb
APIs.
Also, this changes a couple of DOM_SID to struct dom_sid along the
way.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 21:39:42 +02:00
Simo Sorce
d6a73ad85b
s3-spoolss: Removed the Phantom DeviceMode.
...
This was a hack that required a special client from HP.
The client code has never been released and was discontinued,
so this code was just dead weight.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 15:52:28 +02:00
Andreas Schneider
7d363b8922
s3-spoolss: Create a spoolss_map_to_os2_driver function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 15:17:23 +02:00
Günther Deschner
d4474ba470
s3-secdesc: use SD_REVISION from security.idl.
...
Guenther
2010-05-18 12:52:18 +02:00
Günther Deschner
a531537341
s3-secdesc: move SEC_DESC_HEADER_SIZE to its only user.
...
Guenther
2010-05-18 12:51:35 +02:00
Günther Deschner
7f6bb48bdf
s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".
...
Guenther
2010-05-18 12:30:12 +02:00
Günther Deschner
8951c8301a
s3-secdesc: remove "typedef struct security_acl SEC_ACL".
...
Guenther
2010-05-18 12:30:12 +02:00
Günther Deschner
a8b01d1f3b
s3-secdesc: remove "typedef struct security_ace SEC_ACE".
...
Guenther
2010-05-18 12:30:11 +02:00