1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

83249 Commits

Author SHA1 Message Date
Stefan Metzmacher
8a1c7a0a66 s3:smbd: add exit_server to the smbd_shim hooks
This is in preparation of moving sessionid_tdb and conn_tdb
to smbd exclusively.

metze

Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19 12:14:58 +02:00
Michael Adam
8eab264470 s3:smbd: move initialization of the smbd_shim from smbd_init_globals() to main()
This is in preparation of adding server exit hooks to the shim.

Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19 12:14:58 +02:00
Michael Adam
781db9d1e5 s3: fix comment header description for smbd_shim
This was copy'n'pasted from "RPC pipe client"...

Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19 12:14:58 +02:00
Stefan Metzmacher
980191d189 s3:smbd: update sconn->remote_hostname after the netbios session request
Also update the info in the new smbXsrv structure.
This way we can log the remote name in status outputs.

metze

Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19 12:14:57 +02:00
Stefan Metzmacher
1de9e71475 buildtools/wafsamba: only display 'ok' if the result is True
Otherwise we print the raw value.

metze

Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19 12:14:57 +02:00
Jelmer Vernooij
e3a48bb5f6 samba-tool user test: Fix expected output.
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Fri Oct 19 11:37:44 CEST 2012 on sn-devel-104
2012-10-19 11:37:44 +02:00
Jelmer Vernooij
364ed82d22 samba.tests.docs: Ignore removed parameters. 2012-10-19 09:21:01 +02:00
Jelmer Vernooij
4b4e8e2123 smb.conf(5): Mark four removed parameters as such. 2012-10-19 09:20:44 +02:00
Jelmer Vernooij
ed37b8ad14 samba.tests.docs: Assume docs are generated by waf. 2012-10-19 09:16:55 +02:00
Jelmer Vernooij
cfa72bcc5e samba.tests.docs: Write error output from xsltproc to standard out. 2012-10-19 09:10:14 +02:00
Jelmer Vernooij
8412b57f5c samba.tests.docs: Skip tests if xsltproc is not present. 2012-10-19 09:10:14 +02:00
Jelmer Vernooij
2a31f0b509 smb.conf(5): Consistent spelling of parameter names.
This includes spacing and casing.
2012-10-19 09:10:14 +02:00
Jelmer Vernooij
32fad2b910 samba.tests.docs: Support spaces before synonyms. 2012-10-19 09:10:14 +02:00
Jelmer Vernooij
be4dea45da samba.tests.docs: Support synonyms. 2012-10-19 09:10:14 +02:00
Jelmer Vernooij
d0e644e0c8 samba.tests.docs: Distinguish between unknown and undocumened parameters. 2012-10-19 09:10:14 +02:00
Jelmer Vernooij
d2f8fe855d tests: Convert find_missing_doc into a unit test. 2012-10-19 09:10:13 +02:00
Jelmer Vernooij
47902702b3 smb.conf(5): Fix mixing of tabs and spaces. 2012-10-19 08:33:31 +02:00
Jelmer Vernooij
aad30c062f smb.conf(5): Add basic documentation for 'nsupdate command'. 2012-10-18 22:34:32 +02:00
Jelmer Vernooij
0cea6daffe smb.conf(5): Add basic documentation for 'afs token lifetime'. 2012-10-18 22:34:31 +02:00
Jelmer Vernooij
695df863ed smb.conf(5): Add 'ldap password sync' as synonym for 'ldap passwd sync'. 2012-10-18 22:34:31 +02:00
Jelmer Vernooij
6c160e3892 smb.conf(5): Add 'socket address' as alias for 'nbt client socket address'. 2012-10-18 22:34:31 +02:00
Jelmer Vernooij
03b48e2bdb smb.conf(5): Add basic documentation for 'tls dh params file'. 2012-10-18 22:34:31 +02:00
Jelmer Vernooij
946a873e47 smb.conf(5): Add basic documentation for 'tls enabled'. 2012-10-18 22:34:31 +02:00
Jelmer Vernooij
2e4f054e16 smb.conf(5): Add basic documentation for 'tls crlfile'. 2012-10-18 22:34:31 +02:00
Jelmer Vernooij
008dfb9a21 smb.conf(5): Add basic documentation for 'tls certfile'. 2012-10-18 22:34:31 +02:00
Jelmer Vernooij
0f5e45b84c smb.conf(5): Add basic documentation for 'tls keyfile'. 2012-10-18 22:34:30 +02:00
Jelmer Vernooij
4e1a06dc23 smb.conf(5): Add basic documentation for 'tls cafile'. 2012-10-18 22:34:30 +02:00
Jelmer Vernooij
e27e8f4f88 smb.conf(5): Add basic documentation for 'log nt token command'. 2012-10-18 22:34:30 +02:00
Jelmer Vernooij
7341dcac10 smb.conf(5): Add basic documentation for 'ntp signd socket directory'. 2012-10-18 22:34:30 +02:00
Jelmer Vernooij
6f36bde82f smb.conf(5): Add basic documentation for 'spn update command'. 2012-10-18 22:34:30 +02:00
Jelmer Vernooij
68fdcaa6b7 smb.conf(5): Add basic documentation for 'allow dns updates'. 2012-10-18 22:34:30 +02:00
Jelmer Vernooij
b0b0266aa7 smb.conf(5): Add basic documentation for 'rndc command'. 2012-10-18 22:34:30 +02:00
Jelmer Vernooij
4ccea7f867 smb.conf(5): Add basic documentation for 'dns update command'. 2012-10-18 22:34:29 +02:00
Jelmer Vernooij
3cc61af7ff smb.conf(5): Add basic documentation for 'server services'. 2012-10-18 22:34:29 +02:00
Jelmer Vernooij
a63d6a9094 smb.conf(5): Add basic documentation for 'samba kcc command'. 2012-10-18 22:34:29 +02:00
Jelmer Vernooij
d09f151638 samba-tool user: Fix typos, improve messages. 2012-10-18 22:34:29 +02:00
Jelmer Vernooij
e7c8fcaea5 smb.conf(5): Add basic documentation 'winbind sealed pipes'. 2012-10-18 22:34:29 +02:00
Jelmer Vernooij
e9d91cd4a1 smb.conf(5): Add basic documentation for 'dns forwarder'. 2012-10-18 22:34:29 +02:00
Jelmer Vernooij
394258ad4c smb.conf(5): Add basic documentation for 'ntvfs handler'. 2012-10-18 22:34:29 +02:00
Jelmer Vernooij
c6ba8575ea smb.conf(5): Add : to idmap config description to mark it as parametric. 2012-10-18 22:34:29 +02:00
Jelmer Vernooij
3cea6257a9 smb.conf(5): Add basic documentation for 'winbindd privileged socket directory'. 2012-10-18 22:34:28 +02:00
Jelmer Vernooij
d0b3875247 smb.conf(5): Add basic documentation for 'winbindd socket directory'. 2012-10-18 22:34:28 +02:00
Jelmer Vernooij
dfe75c2f35 smb.conf(5): Extend 'server min protocol' description. 2012-10-18 22:34:28 +02:00
Andrew Bartlett
bea7a25178 build: Assert that auth_domain, auth_builtin, auth_sam, auth_winbind are builtin
These modules are used by default and for various reasons cannot be compiled into a .so

The code setting up these lists is generic, so it is easier to just assert early,
for this non-default configuration.

Andrew Bartlett

Signed-off-by: Andreas Schneider <asn@samba.org>

Address bug #9295 - Can't find guest.so module if auth_builtin is built as
module.

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Thu Oct 18 13:14:38 CEST 2012 on sn-devel-104
2012-10-18 13:14:38 +02:00
Andreas Schneider
7786919428 BUG #9295: Build standard auth modules as internal modules.
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-10-18 11:33:17 +02:00
Alexander Wuerstlein
64886e312f Warn when setting UID/GID without idmap_ldb:use rfc2307 = Yes
Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Oct 18 09:51:35 CEST 2012 on sn-devel-104
2012-10-18 09:51:35 +02:00
Alexander Wuerstlein
071047e895 Tests for 'samba-tool user create' with RFC2307 attributes
Check if attributes are correctly set and read from SamDB
Test automatic creation of attributes from getpwent (NSS)
Check if overriding NSS attributes works

getpwent will be skipped if the current UID of the user running the
tests has no passwd entry (getpwuid(geteuid())).

If a user with the name of the current UID already exists in the
directory, the getpwent test will fail. If that should happen, the
test would need to be updated to use a nonexistent UID that is
visible to the Python 'pwd' module.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-10-18 17:10:58 +11:00
Alexander Wuerstlein
bfdaaf2327 Set RFC2307 attributes in samba-tool create
Optionally set RFC2307 (NIS Schema) attributes in samba-tool create.
Mainly needed for UID mapping to be usable.
Not all attributes are set-able, only harmless and non-overlapping
ones (uid, uidNumber, gidNumber, loginShell, gecos). Description and
homeDirectory should already be set, userPassword seems problematic.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-10-18 17:10:58 +11:00
Andrew Bartlett
9eb022c8c6 provision: No longer use the wheel group in new AD Domains
The issue here is that if we set S-1-5-32-544 (administrators) to a
GID only, then users cannot force a mandetory profile to be owned by
administrators (which is a requirement).

There is no particularly useful reason for us to enforce this matching
a system group.

Andrew Bartlett
2012-10-18 17:10:58 +11:00
Michael Adam
b557f34c80 s3:smbd: fix brace placements in validate_my_share_entries() for readability
according to coding guidelines

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Oct 17 14:37:58 CEST 2012 on sn-devel-104
2012-10-17 14:37:58 +02:00