Stefan Metzmacher
d53f82a1cf
s3:streams_depot: fix valgrind bug lp_parm_const_string() doesn't talloc the default value
...
metze
2008-12-01 14:11:33 -08:00
Stefan Metzmacher
549c2cb7a8
s3:streams_depot: add support for stream renames
...
metze
2008-12-01 14:10:04 -08:00
Stefan Metzmacher
ce310f666d
s3:streams_depot: map 'file::$DATA' to just 'file'
...
metze
2008-12-01 13:59:21 -08:00
Stefan Metzmacher
9ae1a17c95
s3:streams_xattr: add support for renaming streams
...
metze
2008-12-01 13:54:53 -08:00
Stefan Metzmacher
787b0536b7
s3:smbd: only try and fallback to open a directory if it's not a stream open
...
metze
2008-12-01 13:52:28 -08:00
Stefan Metzmacher
d1d9dc5574
s3:smbd: write times should be set on the base file instead of the stream name
...
metze
2008-12-01 13:45:55 -08:00
Stefan Metzmacher
4659215a00
s3:smbd: return DELETE_PENDING on path based operations on streams, when the main file was deleted.
...
metze
2008-12-01 13:35:28 -08:00
Jeremy Allison
ff7de4afe1
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
2008-12-01 13:32:35 -08:00
Stefan Metzmacher
8edd775244
s3:smbd: construct the correct newname for stream renames
...
The Windows Explorer creates temporary streams and renames
them later via SFILEINFO_RENAME_INFO. The newname comes
in as ":Stream:$DATA".
metze
2008-12-01 13:31:43 -08:00
Günther Deschner
0b7430b054
s3-samr: fix various potential memleaks in samr_SetUserInfo.
...
Was there any reason why we did all these individual TALLOC_FREEs ?
Guenther
2008-12-01 22:30:17 +01:00
Stefan Metzmacher
936037c7da
s3:smbd: wildcard characters are allowed in stream names
...
We only check the filename of the basefile now.
metze
2008-12-01 13:27:47 -08:00
Stefan Metzmacher
edde763d3f
s3:smbd: correctly verify stream names to pass RAW-STREAMS
...
metze
2008-12-01 13:22:55 -08:00
Stefan Metzmacher
49a8bd5e14
s3:smbd: '|' isn't allowed in windows filenames
...
metze
2008-12-01 13:01:09 -08:00
Günther Deschner
24fec0a8d7
s3-samr: avoid code duplication for identical code in _samr_Connect2, 4 and 5.
...
Guenther
2008-12-01 21:56:28 +01:00
Günther Deschner
c7c591c19f
s3-samr: modify logging in _samr_Connect2 so that it can be called from other calls as well.
...
Guenther
2008-12-01 21:52:03 +01:00
Volker Lendecke
4f0661ace8
Fix a debug message, append the correct \n
2008-12-01 17:36:04 +01:00
Bo Yang
81fc50b486
Fix script installmo.sh when no .po file exists
2008-12-01 11:09:52 +01:00
Michael Adam
e021ecea45
s3:vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)
...
Michael
2008-12-01 06:21:29 +01:00
Steven Danneman
7bd7846df7
Make nt4_compatible_acls() non-static for use by VFS ACL modules.
2008-11-30 21:04:19 -08:00
Michael Adam
0744c32678
s3:winbindd/nss_info: remove unused variable from nss_init()
...
Michael
2008-12-01 04:37:24 +01:00
Michael Adam
c77435caaf
s3:winbindd/nss_info: make nss_domain_list_add_domain() static
...
Michael
2008-12-01 04:37:24 +01:00
Michael Adam
37be1f6d08
s3:winbindd/nss_info: fix default backend handling for ad backends.
...
This fixes "winbind nss info = rfc2307" (or sfu or sfu20).
Originally, only explicitly configured domains (like "rfc2307:domain")
worked with the ad module, since the domain name was not passed
backe to the module. This is fixed by recording the first backend
listed without domain in the "winbind nss info" parameter as the
default backend, and creating new nss_domain entries (using this default
backend) on the fly as requests for domains which are not explicitly
configured are encountered.
Michael
2008-12-01 04:37:24 +01:00
Michael Adam
a7e60befdc
s3:winbindd/nss_info: whitespace cleanup.
...
Remove trailing spaces and fix tab / space mixup.
Michael
2008-12-01 04:37:23 +01:00
Michael Adam
af6f1b4085
s3:winbindd_cache: add debugging to get_nss_info_cached()
...
Michael
2008-12-01 04:37:23 +01:00
Michael Adam
09d05bcffe
s3:winbindd/nss_info: add entry debug message to nss_get_info()
...
Michael
2008-12-01 04:37:23 +01:00
Michael Adam
1048c2ccbe
s3:winbindd/nss_info: add debugging to nss_init()
...
Michael
2008-12-01 04:37:22 +01:00
Michael Adam
82ee6d2f7d
s3:winbindd/idmap_ad: add entry debug message to nss_ad_get_info()
...
Michael
2008-12-01 04:37:22 +01:00
Michael Adam
484fa90aef
s3:winbindd/idmap_ad: add support for trusted domains to idmap_ad (bug #3661 )
...
This initial fix does at least work for explicitly configured domains.
The patch has a few disadvantages:
1. It does work only for explicitly configured domains, not with
the default backend (idmap backend = ad), since it relies on the
domain name being passed in via the idmap_domain. One workaround
for this would be to create clones of the default idmap_domain
for domains not explicitly configured.
2. It calls find_domain_from_name_noinit() from idmap_ad_cached_connection.
The problem here is that only the NetBIOS domain name (workgroup
name) is passed in via the idmap_domain struct, and the module
has to establish a connection to the domain based on that information.
find_domain_from_name_noinit() has the disadvantage that it uses the state
of the domain list at fork time (unless used from the main winbindd).
But this should be ok as long as the primary domain was reachable at
start time.
For nss_info, the situation is similar - This will only work for domains
explicitly configured in smb.conf as follows:
"winbind nss info = rfc2307:dom1 sfu:dom2 rfc2307:dom3 template:dom4"
Setting the default nss info to one of the ad backends (rfc2307, sfu, sfu20)
will fail since the domain name is not passed in with the nss_domain_entry.
Michael
2008-12-01 04:37:22 +01:00
Michael Adam
be233ae32a
s3:winbindd/idmap_ad: refactor core of nss_{sfu|sfu20|rfc2307}_init to common function.
...
Michael
2008-12-01 04:37:22 +01:00
Michael Adam
73fddcd656
s3:winbindd/idmap_ad: rename ctx to mem_ctx in nss_ad_get_info()
...
in preparation to using the idmap_ad_context there
Michael
2008-12-01 04:37:22 +01:00
Michael Adam
11d5b1a21a
s3:winbindd/idmap: add diagnostic entry debug msg to idmap_backends_sid_to_unixid
...
Michael
2008-12-01 04:37:21 +01:00
Michael Adam
7b4e54359f
s3:winbindd/idmap: add diagnostic entry debug msg to idmap_backends_unixid_to_sid
...
Michael
2008-12-01 04:37:21 +01:00
Michael Adam
5f5fa28c5d
s3:winbindd/idmap: add diagnostic entry debug msg to idmap_find_domain().
...
Michael
2008-12-01 04:37:21 +01:00
Michael Adam
67cc93c4a2
s3:winbindd/idmap_util: unify entering debug messages and add ouput of domain
...
Michael
2008-12-01 04:37:20 +01:00
Michael Adam
757a1f5132
s3:winbindd/nss_info: change nss_map_{to|from}_alias to take nss_domain_entry
...
instead of just the domain name
Michael
2008-12-01 04:37:20 +01:00
Steven Danneman
8340d100f6
Set PRESENT flag when returning NULL [SD]ACL like Windows does.
...
This could also be handled inside each ACL VFS module, by setting the PRESENT
flag when a NULL [SD]ACL is created.
2008-11-30 15:56:17 -08:00
Volker Lendecke
8fc15ab96d
remove the explicit mem_ctx from ntlmssp_state, use the state itself
2008-11-30 17:15:19 +01:00
Volker Lendecke
d253a367ef
fix nonempty blank lines
2008-11-30 17:15:19 +01:00
Volker Lendecke
95873566e3
Do not build the session request if it si not used anyway
2008-11-30 12:31:04 +01:00
Volker Lendecke
88909acb6c
fix nonempty blank lines
2008-11-30 12:30:51 +01:00
Günther Deschner
28099876f9
s3-libnetjoin: Fix bug #5749 . Re-set acctflags while joining. fix from metze.
...
Guenther
2008-11-29 00:16:56 +01:00
Günther Deschner
42adfd1be2
s3-libnetjoin: remove unused md4_trust_password, found by metze.
...
Guenther
2008-11-29 00:16:46 +01:00
Günther Deschner
1cf5c154aa
s4-smbtorture: add some more testcases to pwdlastset test.
...
Guenther
2008-11-28 22:06:41 +01:00
Günther Deschner
fd2a15fa78
s4-smbtorture: fix RPC-SAMR-PASSWORDS-PWDLASTSET with samba3 option.
...
Guenther
2008-11-28 22:06:32 +01:00
Günther Deschner
143097d71c
s3-samr: add init_samr_user_info25 and init_samr_user_info26.
...
Guenther
2008-11-28 14:16:51 +01:00
Günther Deschner
580c2b3283
selftest: s4 does not have a pwdlastset implementation yet.
...
Guenther
2008-11-28 14:09:47 +01:00
Günther Deschner
4b687944f3
s4-smbtorture: allow to disable full testing of all possible opcode combinations.
...
Guenther
2008-11-28 14:09:26 +01:00
Günther Deschner
465466e1af
s4-smbtorture: move test to SAMR-PASSWORDS-PWDLASTSET.
...
Guenther
2008-11-28 14:09:18 +01:00
Günther Deschner
89ad20789c
s4-smbtorture: add test for samr password_expired flag while setting passwords.
...
Guenther
2008-11-28 14:09:10 +01:00
Günther Deschner
bd95b6b416
s4-smbtorture: add test_SetUserPass_level_ex.
...
Guenther
2008-11-28 14:08:14 +01:00