1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

73583 Commits

Author SHA1 Message Date
Günther Deschner
f103e0c39f s3: fix more -Wunused-but-set-variable build warnings.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jun  1 00:29:30 CEST 2011 on sn-devel-104
2011-06-01 00:29:30 +02:00
Volker Lendecke
b9a727c5f1 Tiny simplification to dom_sid_string_buf
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue May 31 23:16:31 CEST 2011 on sn-devel-104
2011-05-31 23:16:31 +02:00
Volker Lendecke
d77854fbb2 struct make "struct shadow_copy_data" its own talloc context 2011-05-31 21:47:07 +02:00
Volker Lendecke
0ec9a90c29 s3: Remove SHADOW_COPY_DATA typedef 2011-05-31 21:47:07 +02:00
Volker Lendecke
5f6f719564 s3: Mark sockets in error state writable
Without this patch, when a socket only has a write event pending, we will never
detect an error condition. I've seen winbind doing

12:19:13.659964 gettimeofday({1306837153, 659984}, NULL) = 0 <0.000016>
12:19:13.660109 poll([{fd=35, events=POLLOUT}, {fd=32, events=POLLIN|POLLHUP}], 2, 9996) = 1 ([{fd=35, revents=POLLERR|POLLHUP}]) <0.000015>
12:19:13.660253 gettimeofday({1306837153, 660269}, NULL) = 0 <0.000013>
12:19:13.660298 poll([{fd=35, events=POLLOUT}, {fd=32, events=POLLIN|POLLHUP}], 2, 9996) = 1 ([{fd=35, revents=POLLERR|POLLHUP}]) <0.000015>

for a while when trying to connect to a DC when the socket had died already.

Volker

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue May 31 20:59:10 CEST 2011 on sn-devel-104
2011-05-31 20:59:10 +02:00
Michael Adam
cfef10a0a2 s3:doc: clean up the example section of the idmap_tdb manpage
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue May 31 19:47:45 CEST 2011 on sn-devel-104
2011-05-31 19:47:45 +02:00
Luk Claes
c3fecc6bdc winbindd.8: Use new idmap syntax for smbconfoptions
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-31 18:37:29 +02:00
Michael Adam
c0fc7aa129 s3:passdb: add GPL/copyright header to machine_sid.h 2011-05-31 18:37:29 +02:00
Michael Adam
fdd225c3e4 s3:nmbd: add _NMBD_NMBD_H_ guard to nmbd.h 2011-05-31 18:37:29 +02:00
Michael Adam
75cfafd698 s3:nmbd: add GPL/Copyright header to nmbd.h 2011-05-31 18:37:29 +02:00
Michael Adam
e403315521 s3:rpc_server: add _RPC_SERVER_SRV_ACCESS_CHECK_H_ guard to srv_access_check.h 2011-05-31 18:37:29 +02:00
Michael Adam
942ae874b8 s3:rpc_server: add GPL/Copyright header to rpc_server/srv_access_check.h 2011-05-31 18:37:29 +02:00
Michael Adam
c2887f0609 s3: add _LIB_IDMAP_CACHE_H_ guard to lib/idmap_cache.h 2011-05-31 18:37:29 +02:00
Michael Adam
2b8803d458 s3: add GPL/Copyright header to lib/idmap_cache.h 2011-05-31 18:37:29 +02:00
Björn Jacke
65f0800a34 replace: remove waring if IOV_MAX is not defined
as discussed on samba-techincal we currelty don't rely on it and we don't want
to flood this warning message during compile.

Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Tue May 31 18:36:53 CEST 2011 on sn-devel-104
2011-05-31 18:36:53 +02:00
Michael Adam
9549cf125a s3:librpc: remove unused file librpc/ndr/util.h
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue May 31 15:19:46 CEST 2011 on sn-devel-104
2011-05-31 15:19:46 +02:00
Michael Adam
52bc63aa85 s3:winbindd_nrd: include ../librpc/ndr/libndr.h instead of librpc/ndr/util.h 2011-05-31 12:54:22 +02:00
Michael Adam
72f2bd6a86 s3:libads/ndr: include ../librpc/ndr/libndr.h instead of librpc/ndr/util.h 2011-05-31 12:54:22 +02:00
Volker Lendecke
0fcafbf69b s3: Support shadow copy display over SMB2
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue May 31 12:53:10 CEST 2011 on sn-devel-104
2011-05-31 12:53:10 +02:00
Michael Adam
54c788f2df s3:doc: document "idmap gid" as deprecated.
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue May 31 11:39:38 CEST 2011 on sn-devel-104
2011-05-31 11:39:38 +02:00
Michael Adam
7c1021bc2b s3:doc: document "idmap uid" as deprecated. 2011-05-31 10:33:56 +02:00
Michael Adam
871daf1aa4 s3:doc: remove the documentation of "idmap alloc backend", which has been removed 2011-05-31 10:33:56 +02:00
Michael Adam
13c4c30a02 s3:doc: document "idmap backend" as deprecated. 2011-05-31 10:33:55 +02:00
Michael Adam
939378d42a s3:doc: update documentation of the "idmap config FOO : BAR" familiy of parameters 2011-05-31 10:33:55 +02:00
Michael Adam
36feb8a240 s3:lib/eventlog/proto.h: add _LIB_EVENTLOG_PROTO_H_ guard 2011-05-31 10:33:55 +02:00
Michael Adam
00530e3d01 s3:lib/eventlog/proto.h: add GPL/Copyright header 2011-05-31 10:33:54 +02:00
Andrew Bartlett
c7b9dbea10 s3-libsmb remove ldap_err2string() as common nterrs[] has the constants
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue May 31 08:58:00 CEST 2011 on sn-devel-104
2011-05-31 08:58:00 +02:00
Andrew Bartlett
6552561b87 s3-build Don't allow undefined symbols in pam_smbpass.so 2011-05-31 15:46:10 +10:00
Andrew Bartlett
c004a932c4 libcli/util Remove ntstatus_check_dos_mapping
This has been set to true since the global loadparm was removed in
2008, and removes an #ifdef SAMBA_BUILD == 4

Andrew Bartlett
2011-05-31 15:10:20 +10:00
Günther Deschner
4ac4ad2108 s3-utils: fix another -Wunused-but-set-variable build warning.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue May 31 05:18:42 CEST 2011 on sn-devel-104
2011-05-31 05:18:42 +02:00
Günther Deschner
6a6af31148 s3-libsmb: fix build warning of cli_qfilename().
Guenther
2011-05-31 04:09:30 +02:00
Andrew Bartlett
7e5660282e s3-build Put memcache in a standalone library
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue May 31 04:08:08 CEST 2011 on sn-devel-104
2011-05-31 04:08:07 +02:00
Andrew Bartlett
8c8ff2cd6b s3-lib Move source3-specific malloc replacements into a seperate file
This will make it easier to create a dep tree for otherwise simple
libraries.

Andrew Bartlett
2011-05-31 02:57:19 +02:00
Andrew Bartlett
52399f3177 lib/util Move sys_memalign into lib/util/system.c 2011-05-31 02:57:19 +02:00
Andrew Bartlett
38fee2b521 s3-smbd Fix conn_msg.c: Cannot return in a void function 2011-05-31 02:57:19 +02:00
Andrew Bartlett
9d5b53921d s3-lib Improve indentation of errmap_unix
This also makes it easier to compare and contrast with the source4
version, because the differences here matter, and need to be resolved
with care.

Andrew Bartlett
2011-05-31 02:57:19 +02:00
Andrew Bartlett
159fad92d9 s4-libcli Merge error map order with source3 errmap_unix.c
This makes it easier to see what the actual differences here are.

Andrew Bartlett
2011-05-31 02:57:19 +02:00
Andrew Bartlett
aa848c12eb s3-lib: Use ARRAY_SIZE() to walk the error mapping tables
This gives a constant termination condition, and may help the compiler.

Andrew Bartlett
2011-05-31 02:57:19 +02:00
Luk Claes
8a75d73867 winbindd.8: Fix typo
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue May 31 02:56:52 CEST 2011 on sn-devel-104
2011-05-31 02:56:52 +02:00
Luk Claes
762aa71ce0 idmap_tdb.8: Remove reference to idmap uid and idmap gid options as fallback
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-31 01:44:28 +02:00
Luk Claes
c42c8c957e idmap_tdb.8: Remove references to alloc backend
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-31 01:44:28 +02:00
Luk Claes
d73a891e38 idmap_tdb.8: Use new idmap syntax in examples
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-31 01:44:28 +02:00
Luk Claes
f5607da49c idmap_ldap.8: Remove reference to idmap uid and idmap gid options as fallback
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-31 01:44:28 +02:00
Luk Claes
f29cb77919 idmap_ldap.8: Backend is not only used for searching
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-31 01:44:28 +02:00
Luk Claes
fce6422360 idmap_ldap.8: Remove references to idmap alloc backend
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-31 01:44:28 +02:00
Luk Claes
47fdd740ce idmap_ldap.8: Rework example to use new idmap syntax
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-31 01:44:28 +02:00
Luk Claes
615a2d4abe idmap_tdb2.8: Remove mentioning of deprecated idmap uid and idmap gid options as fallback
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-31 01:44:28 +02:00
Luk Claes
f093d5199a idmap_tdb2.8: Avoid confusion with idmap uid and idmap gid options
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-31 01:44:28 +02:00
Luk Claes
a8d0d832e9 idmap_tdb2.8: Remove part about alloc backend
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-31 01:44:28 +02:00
Luk Claes
09b2dd93df idmap_tdb2.8: Use new syntax in example
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-31 01:44:28 +02:00