Andreas Schneider
66badc1740
s3-auth: Remove global smbd_server_conn from auth_unix.c.
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04 18:28:04 +10:00
Andreas Schneider
7e46a84bb7
s3-auth: Pass the remote_address down to user_info.
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04 18:28:02 +10:00
Andreas Schneider
45f70db010
s3-auth: Added remote_address to ntlmssp server.
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04 18:28:00 +10:00
Andreas Schneider
541f3cf639
s3-rpc_server: Migrate rpc function to tsocket_address.
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04 18:27:58 +10:00
Andreas Schneider
6ac68a803e
s3-rpc_server: Add local and remote address to pipes struct.
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04 18:27:57 +10:00
Andreas Schneider
c663dfff88
s3-util: Add a get_remote_hostname() function.
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04 18:27:55 +10:00
Andreas Schneider
6b86590342
s3-auth: Only reload the config file.
...
We only need to reload the config file. This removes a dependency to
smbd.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04 18:27:53 +10:00
Volker Lendecke
80838491e6
s3: Make cli_cm_open return NTSTATUS
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jul 3 23:57:53 CEST 2011 on sn-devel-104
2011-07-03 23:57:53 +02:00
Volker Lendecke
714e1014c5
s3: Make cli_cm_connect return NTSTATUS
2011-07-03 22:45:26 +02:00
Volker Lendecke
7ca63fb8fe
s3: Make "do_connect" return NTSTATUS
2011-07-03 22:45:26 +02:00
Volker Lendecke
3414182af0
s3: Remove a use of cli_errstr
2011-07-03 22:45:25 +02:00
Volker Lendecke
4569a3a75a
s3: Remove a use of cli_errstr
2011-07-03 22:45:25 +02:00
Volker Lendecke
8238d89823
s3: Remove a use of cli_errstr
2011-07-03 22:45:25 +02:00
Volker Lendecke
cfbd339b4a
s3: Remove a use of cli_errstr
2011-07-03 22:45:25 +02:00
Volker Lendecke
e5ad524902
s3: Remove two uses of cli_errstr
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jul 3 12:43:32 CEST 2011 on sn-devel-104
2011-07-03 12:43:32 +02:00
Volker Lendecke
c3a6e9b7ce
s3: RAP errors are WERROR
2011-07-03 11:31:29 +02:00
Volker Lendecke
c0d168392f
s3: Remove some bogus error mappings
...
The old cli_session_request that used this is gone
2011-07-03 11:31:29 +02:00
Volker Lendecke
d2b1671fb3
s3: Remove a use of cli_errstr
...
All code above that might have failed sets result
2011-07-03 11:31:29 +02:00
Volker Lendecke
c31871264c
s3: Allow NULL for arg pwritten in cli_write_andx
2011-07-03 11:31:29 +02:00
Volker Lendecke
25df2fe8e2
S3: Fix some nonempty blank lines
2011-07-03 11:31:29 +02:00
Volker Lendecke
e2498b1110
s3: Read symlink information in smbclient "allinfo"
2011-07-03 11:31:29 +02:00
Volker Lendecke
79d27e28ad
s3: Fix symlink_reparse_buffer_parse
2011-07-03 11:31:29 +02:00
Volker Lendecke
c1094a8cb0
s3: Add cli_readlink
2011-07-03 11:31:29 +02:00
Andrew Bartlett
a3c9dd3d48
s3-build Prepare to require fully defined modules
...
This specifies some more deps for our modules, and ensures that the
subsystem that it links against is in fact a library, which will avoid
issues with introducing duplicate symbols.
Andrew Bartlett
2011-07-03 09:20:02 +02:00
Andrew Bartlett
2240ac96c1
s3-param Remove #defines already in common loadparm.h
2011-07-02 12:31:35 +10:00
Andrew Bartlett
4f3a155fb5
s3-param Generate parameter tables
2011-07-02 12:31:34 +10:00
Andrew Bartlett
d4ef70a764
param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()
...
Jermey started this in 1997 with 0aa493cc03
(avoiding the duplicate function makes it easier to generate the
struct loadparm_globals).
Andrew Bartlett
2011-07-02 12:31:34 +10:00
Andrew Bartlett
6d8cc418ba
s3-param remove unused bIdmapReadOnly
2011-07-02 12:31:34 +10:00
Andrew Bartlett
b459a6d7c6
s3-param Remove unused bUpdateEncrypt
2011-07-02 12:31:34 +10:00
Günther Deschner
bafd7212eb
s3-net: use printing_migrate library, and eliminate duplicate code.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jul 1 17:57:09 CEST 2011 on sn-devel-104
2011-07-01 17:57:09 +02:00
Günther Deschner
e02abd6c83
s3-printing: split out printing migration code into a smaller library.
...
Guenther
2011-07-01 16:46:26 +02:00
Gregor Beck
1765833481
s3:smbldap: make smbldap_connect_system self contained
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jul 1 12:37:50 CEST 2011 on sn-devel-104
2011-07-01 12:37:50 +02:00
Gregor Beck
6aff8b19fc
s3:smbldap: add a destructor to smbldap_state, just in case
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-01 11:23:56 +02:00
Gregor Beck
796c7ab282
s3:smbldap: let smbldap_free_struct do what it claims to
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-01 11:23:49 +02:00
Gregor Beck
7eb9c70342
s3:smbldap: free the idle event scheduled in smbldap_open in smbldap_close
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-01 11:23:43 +02:00
Gregor Beck
343ef46b9b
s3:smbldap: use smbldap_state as memory context for idle event
...
ensure the event is canceled if the smbldap_state gets freed
this fixes a panic of winbindd if verify_idpool fails
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-01 11:22:56 +02:00
Jeremy Allison
1053a24a87
Part of fix for bug 8276 - FD_SET out of bounds access crash.
...
Ensure we never add fd's set to -1 to the pollfd set.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Jun 30 21:15:25 CEST 2011 on sn-devel-104
2011-06-30 21:15:25 +02:00
Michael Adam
76467dc406
s3:build: add vfs_examples to the everything target
...
So that one can not pass autobuild without keeping the vfs examples intact.
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Jun 30 16:52:48 CEST 2011 on sn-devel-104
2011-06-30 16:52:48 +02:00
Michael Adam
c2e88320a0
s3:build: add a vfs_examples target.
2011-06-30 15:41:25 +02:00
Michael Adam
1f72088633
s3:registry: when deleting the records for a key, also delete the sorted subkeys cache
...
This prevents orphaned empty sorted subkeys cache records from filling the database.
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-06-30 15:41:23 +02:00
Michael Adam
2b162db6e9
s3:registry: add helper function regdb_delete_sorted_subkeys()
...
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-06-30 15:41:22 +02:00
Stefan Metzmacher
75e9f21108
s3:nmbd_subnetdb: close all sockets attached to a subnet in close_subnet() (bug #8276 )
...
metze
2011-06-30 13:20:05 +02:00
Christian Ambach
847ca0a5d7
s3:smbd do not panic when CTDB is unhealthy (Bug #8278 )
...
when CTDB is unhealthy, log a message and exit cleanly
instead of creating a core file
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Thu Jun 30 13:18:12 CEST 2011 on sn-devel-104
2011-06-30 13:18:12 +02:00
David Disseldorp
c9e3f6ab02
s3-printing: skip migration of non-existent printers
...
Skip tdb migration of printer and security descriptor entries which
refer to non-existent printers.
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Jun 30 10:54:23 CEST 2011 on sn-devel-104
2011-06-30 10:54:23 +02:00
David Disseldorp
a36ce0735f
s3-printing: fill devicemode size in migrate_printer()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-06-30 09:40:50 +02:00
Günther Deschner
44a434a301
s3-winbind: Fix bug 7888 -- deal with buggy 3.0 based PDCs
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Jun 30 00:42:23 CEST 2011 on sn-devel-104
2011-06-30 00:42:23 +02:00
Günther Deschner
5586095512
s3-waf: lowercase libcli_lsa3 library name.
...
Guenther
2011-06-29 23:29:29 +02:00
Günther Deschner
e9bc0933ef
s3-waf: lowercase libsmb library name.
...
Guenther
2011-06-29 23:29:29 +02:00
Günther Deschner
8996d7737e
s3-waf: lowercase util_cmdline library name.
...
Guenther
2011-06-29 23:29:29 +02:00
Günther Deschner
f124c638e8
s3-waf: lowercase popt_samba3 library name.
...
Guenther
2011-06-29 23:29:28 +02:00