1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-19 21:57:57 +03:00

53802 Commits

Author SHA1 Message Date
Andrew Bartlett
d409a12ccd s4:setup Remove generated attributes from provision_configuration
Incorrectly added in 95eeef91d3ed7daf8e19029eadcc610caf26db63, and
found by OpenLDAP backend tests run by Theodor Chirana <office@adaptcom.ro>

Andrew Bartlett
2009-05-29 12:15:28 +10:00
Andrew Bartlett
a2e72ac556 s4:torture Don't run QueryDisplayInfo test for SAMR-USERS-PRIVILEGES 2009-05-29 11:56:29 +10:00
Andrew Bartlett
a3f619f9d9 s4:torture Clean up users and groups added in RPC-SAMR-LARGE-DC 2009-05-29 11:56:27 +10:00
Andrew Bartlett
98ff29291b s4:torture Half the repeditive tests run by RPC-SAMR-PASSWORDS-PWDLASTSET 2009-05-29 11:56:27 +10:00
Andrew Bartlett
10f076a77d Explicitly list RPC-SAMR-PASSWORDS-PWDLASTSET and RPC-SAMR-USERS-PRIVILAGES as slow 2009-05-29 11:56:26 +10:00
Andrew Bartlett
e8ea854f02 s4:client Match Samba3 and remove smbmount from the distribution 2009-05-29 11:56:25 +10:00
Andrew Bartlett
37e09f26dc s4:torture Make the RPC-SAMR-PWDLASTET more efficient
By using SamLogonEx we avoid setting up the credentials chain for each
request.

(Needs to be pushed further up the stack, to only connect to NETLOGON once).

Andrew Bartlett
2009-05-29 11:56:24 +10:00
Andrew Bartlett
340c690d17 Fix incorrect RID for KRBTGT. (was incorectly 514, should be 502)
Requires recompile of source4/kdc/*

Found by Andrew Kroeger <andrew@id10ts.net>

Andrew Bartlett
2009-05-29 10:55:43 +10:00
Andrew Bartlett
2e573a7cf4 Fix incorrect RID for KRBTGT. (was incorectly 514, should be 502)
Requires recompile of source4/kdc/*

Found by Andrew Kroeger <andrew@id10ts.net>

Andrew Bartlett
2009-05-29 10:40:22 +10:00
Jeremy Allison
9df85a9374 Make cli_posix_chown()/cli_posix_chmod() async.
Jeremy.
2009-05-28 16:15:09 -07:00
Tim Prouty
5c623e6c2e s3 onefs: update the onefs module to be compliant with stat_ex 2009-05-28 15:13:53 -07:00
Tim Prouty
0a455c1284 s3: Fix a few more users of stat to use stat_ex 2009-05-28 15:13:53 -07:00
Tim Prouty
9d373574e4 s3 tdbtorture: Fix linking issue
tdbtorture now calls the tdb transaction code and needs to link it appropriately
2009-05-28 15:13:52 -07:00
Jeremy Allison
656e86d5fa Make cli_posix_stat() async.
Jeremy.
2009-05-28 13:32:00 -07:00
Steven Danneman
fbca269239 s3/auth map NULL domains to our global sam name
This is an addendum to d8c54fdd, which made make_user_info_map() match
Windows behavior by mapping untrusted domains given to smbd on the wire
with the users credentials to smbd's global sam name.

This fix was being circumvented in the case where the client passed
a NULL domain.  Vista clients do this.  In that case smbd was always
remapping the name to the machine workgroup.  The NULL domain case
should also be mapped to the global sam name.

Removing the code in this patch, causes us to fall down to the logic
added in d8c54fdd and properly map the domain.
2009-05-28 13:21:15 -07:00
Jeremy Allison
d74e42e0ec Make getfacl async.
Jeremy.
2009-05-28 13:05:50 -07:00
Bo Yang
de4c13ca68 s3: fix building of pam_smbpass.
Signed-off-by: Bo Yang <boyang@samba.org>
2009-05-29 16:19:17 +08:00
Günther Deschner
b3f2a3a488 s3-winbindd: fix remaining callers of sid_binstring().
Guenther
2009-05-28 15:38:35 +02:00
Volker Lendecke
e63d9c29c9 Fix some nonempty blank lines 2009-05-28 14:10:14 +02:00
Björn Jacke
28e121a19b s3:nmbd: fix typo 2009-05-28 12:22:41 +02:00
Günther Deschner
136b2a3eb2 nss_wrapper: fix nss_wrapper build for solaris.
Guenther
2009-05-28 11:53:51 +02:00
Günther Deschner
37e4c92b38 nss_wrapper: remove re-structuring leftovers (unused variables).
Guenther
2009-05-28 11:53:51 +02:00
Volker Lendecke
0dbecbbee5 Make sid_binstring & friends take a talloc context 2009-05-28 11:33:21 +02:00
Volker Lendecke
01ea4249da TALLOC_ZERO_P->talloc_zero 2009-05-28 10:52:04 +02:00
Volker Lendecke
d07464b21f Do not segfault in pdb_search_destructor if no real search was started 2009-05-28 10:52:04 +02:00
Volker Lendecke
3194ad2838 Add smbldap_pull_sid 2009-05-28 10:52:04 +02:00
Günther Deschner
7a5475f098 s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from group" script.
Guenther
2009-05-28 10:40:22 +02:00
Günther Deschner
ebf8df35c9 nss_wrapper: support member add and delete for groups in nss_wrapper.pl.
Guenther
2009-05-28 10:39:37 +02:00
Günther Deschner
7bb9e08d7e nss_wrapper: split out passwd and group paths in nss_wrapper.pl.
Guenther
2009-05-28 10:32:21 +02:00
Günther Deschner
ec9a091705 nss_wrapper: restructure nwrap calls.
Guenther
2009-05-28 10:32:21 +02:00
Jeremy Allison
bd11948107 Add a smbclient "readlink" command and add docs for it.
Jeremy.
2009-05-27 22:02:20 -07:00
Jeremy Allison
bccc7ee2c6 Add cli_posix_readlink() and a torture test for it.
Jeremy.
2009-05-27 21:51:15 -07:00
Jeremy Allison
f55c7614bd Add aync POSIX hardlink and symlink and torture test for them.
Missing call cli_readlink() is next.
Jeremy.
2009-05-27 17:28:23 -07:00
Michael Adam
e381c13b02 s3:idmap_ldap: filter out of range mappings in default idmap config
This fixes bug #6417

Michael
2009-05-28 00:41:33 +02:00
Tim Prouty
c299833bf8 tdb: Fix some recently introduced warnings in tdbtool 2009-05-27 13:18:12 -07:00
Marc VanHeyningen
a4887e250b s3: Allow child processes to exit gracefully if we are out of fds
When we run out of file descriptors for some reason, every new
connection forks a child that immediately panics causing smbd to
coredump.  This seems unnecessarily harsh; with this code change we
now catch that error and merely log a message about it and exit
without the core dump.

Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-05-27 13:16:17 -07:00
Marc VanHeyningen
75de7c0e87 s3: zero an uninitialized array
Invalid pointers were being dereferenced in lookup_sids causing
occasional seg faults.

Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-05-27 12:37:35 -07:00
Michael Adam
3fe9859342 s3:idmap: fix a comment typo
Michael
2009-05-27 19:32:46 +02:00
Michael Adam
e12670a105 s3:idmap_tdb2: filter out of range mappings in default idmap config
This fixes bug #6416

Michael
2009-05-27 19:31:33 +02:00
Michael Adam
ca697a9e31 s3:idmap_tdb: add an entry debug statment to idmap_tdb_db_init()
Michael
2009-05-27 19:31:32 +02:00
Michael Adam
3d3f398382 s3:idmap_tdb: filter out of range mappings in default idmap config
This fixes bug #6415

Michael
2009-05-27 19:31:32 +02:00
Karolin Seeger
559e2eccdf s3/docs: Correct version number.
Karolin
2009-05-27 18:14:17 +02:00
Karolin Seeger
3046d30703 Revert "s3/docs: Fix build."
This reverts commit 84998cb85e59a92178d916f4e485c08fb826b838.

Actually, the "fix" breaks the build.
Works after 'make clean'. Sorry!
2009-05-27 16:18:34 +02:00
Karolin Seeger
84998cb85e s3/docs: Fix build.
$(DBLATEX) was empty.

Please check!

Karolin
2009-05-27 15:54:02 +02:00
Nadezhda Ivanova
ee4c1ed010 Modified SamDB to accept options like Ldb. 2009-05-27 21:08:35 +10:00
Björn Jacke
0d040ff448 s3: update manpage as to the new passdb backend default 2009-05-27 12:09:42 +02:00
Björn Jacke
9a06f5e171 s3: make passdb backend defaults to tdbsam 2009-05-27 12:09:37 +02:00
Volker Lendecke
4df33ec4a7 Fix the build of nfs4_acls.c 2009-05-27 11:54:15 +02:00
Volker Lendecke
a8ffc286a4 Fix a size_t/int warning 2009-05-27 11:54:14 +02:00
Volker Lendecke
d5e3d9478d Fix some nonempty blank lines 2009-05-27 11:16:45 +02:00