Günther Deschner
d76837f6da
s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 4.
...
Guenther
2009-04-17 17:27:18 +02:00
Günther Deschner
cb9c0cefaf
s4-smbtorture: rework test_EnumPrinterDrivers() a little to succeed with s3.
...
Yes, I feel dirty for this but promise to come back and fix appropriately.
Guenther
2009-04-17 17:25:14 +02:00
Günther Deschner
81253ec146
s4-smbtorture: Fix RPC-SPOOLSS-WIN for printers with a lot of jobs in the queue.
...
Guenther
2009-04-17 17:23:59 +02:00
Michael Adam
d43a49d449
s3: make installmo and uninstallmo scripts executable
...
Michael
2009-04-17 15:57:30 +02:00
Michael Adam
bf1b7ba480
s3: Fix uninstallmo
...
Michael
2009-04-17 15:57:30 +02:00
Günther Deschner
4f9d3400e5
s3-selftest: samba 3 also passes RPC-JOIN so enable it.
...
Guenther
2009-04-17 15:14:44 +02:00
Michael Adam
8c023fea86
s3:registry: Prevent creation of keys containing the '/' character.
...
This creates a broken registry that can only be fixed with
tdbtool, since the '/' sign is used as a key separator after
normalization at a lower level.
This makes e.g. "net conf setparm abc/def comment xyz" fail with
WERR_INVALID_PARAM, which is much more desirable than a broken
registry.tdb.
Michael
2009-04-17 11:46:14 +02:00
Günther Deschner
0ba833f3ee
s3-samr: set the builtin_domain bool flag in get_samr_dispinfo_by_sid().
...
Volker, please check.
Found by torture test RPC-SAMR-PASSWORDS-PWDLASTSET (which we pass with
this fix).
Guenther
2009-04-17 11:21:20 +02:00
Günther Deschner
490f6c418d
s3-selftest: enable RPC-SAMR-PASSWORDS-PWDLASTSET whilte testing Samba3.
...
Guenther
2009-04-17 11:16:00 +02:00
Günther Deschner
32add69632
s4-smbtorture: disable CreateUser2 tests when running RPC-SAMR-PASSWORDS-PWDLAST
...
against Samba3.
Samba 3 does not (yet) get all the ACB_flag settings right upon creation.
Guenther
2009-04-17 11:15:58 +02:00
Jim McDonough
1214bf606d
Merge branch 'master' of /home/jmcd/samba/git.samba.org/samba-master into mymaster
2009-04-17 09:28:01 +02:00
Günther Deschner
05ea8daaca
s3-docs: fix typo in smb.conf.5.
...
Guenther
2009-04-17 01:32:45 +02:00
Günther Deschner
deb719a62e
s3-selftest: enable RPC-LSA-LOOKUPSIDS against samba 3.
...
Guenther
2009-04-17 01:32:45 +02:00
Günther Deschner
c794ba71b7
s4-smbtorture: add LSA-LOOKUPSIDS to verify bug #6263 .
...
Guenther
2009-04-17 01:32:45 +02:00
Günther Deschner
b0a0d2a0ae
s4-smbtorture: Fix crash in RPC-LSA-LOOKUP
...
Guenther
2009-04-17 01:32:44 +02:00
Günther Deschner
5517c0bcdd
s3-docs: document warn_pwd_expire pam_winbind option in manpage.
...
Andreas, please check.
Guenther
2009-04-17 01:32:44 +02:00
Jeremy Allison
37b1b9cfe9
Add torture tester to ensure we don't regress the ulogoff bug.
...
Jeremy.
2009-04-16 16:22:37 -07:00
Jeremy Allison
d55ec4fd23
Fix bug found by Tim Prouty, logging off and then re-using a vuid can cause smbd to
...
access a freed structure.
Jeremy.
2009-04-16 16:22:30 -07:00
Jeremy Allison
265829c32f
When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid.
...
Jeremy.
2009-04-16 15:16:28 -07:00
Jeremy Allison
6fc8ed7b1f
Fix IDL licensing file that got missed when IDL files were moved.
...
Jeremy.
2009-04-16 12:09:16 -07:00
Jim McDonough
75ccf934ac
Don't look up local user for remote changes, even when root.
2009-04-16 17:14:29 +02:00
Volker Lendecke
32a36e4703
Add notify_onelevel.tdb
...
This optimizes non-recursive notifys. For non-recursive notifies we can use a
per-directory file-id indexed notify record. This matters for the Windows
Explorer and IIS cases which do not use recursive notifies. In these cases, we
do not have to shuffle around the whole notify record on every change.
For the cluster case, this improves correctness of the notifies, ctdb only
distributes the tdb seqnum once a second, so we can lose notifies.
2009-04-16 15:07:06 +02:00
Volker Lendecke
ea3a022ca3
Rename notify_context->db to db_recursive
2009-04-16 15:07:06 +02:00
Martin Schwenke
448b434a86
In net_conf_import, start a transaction when importing a single share.
...
Commit d69c3db9d44ad5d9fd1f5d7a9499f3bd79ecfb47 caused the transaction
start to be conditional but the commit is still unconditional, so an
error occurs when importing a single share.
An alternate fix would be to return the transaction start to be
unconditional but then it would occur before other error checking.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Signed-off-by: Michael Adam <obnox@samba.org>
2009-04-16 10:38:38 +02:00
Stefan Metzmacher
56aae35a23
tsocket: fix the build without ipv6 support
...
metze
2009-04-16 09:31:14 +02:00
Günther Deschner
14304fc5e5
s3-lsa: Fix Bug #6263 . Unexpected LookupSids reply crashes XP pre-SP3.
...
LookupSids needs to bounce back string sids in case of NT_STATUS_NONE_MAPPED.
Guenther
(cherry picked from commit 1c9266c8ca
)
2009-04-16 01:52:56 +02:00
Jeremy Allison
d9804ae3cc
Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+
...
What a difference a name makes... :-). Just because something is missnamed
SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN,
don't automatically use it for a security check in _samr_OpenDomain().
Jeremy.
2009-04-15 15:40:00 -07:00
Günther Deschner
e6aa3f2d09
s4-smbtorture: Fix crash bugs in RPC-SAMR_ACCESSMASK.
...
Also disable security descriptor based tests while testing samba3.
Guenther
2009-04-15 22:50:05 +02:00
Günther Deschner
6fe012ff78
s3-examples: make sure to match correct key name in adssearch.
...
Guenther
2009-04-15 22:49:57 +02:00
Günther Deschner
f1fd39c09f
s4-smbtorture: define TORTURE_DEFAULT_SERVICE and set to netlogon.
...
Guenther
2009-04-15 22:48:54 +02:00
Matthias Dieter Wallnöfer
92d321006d
Enable software rollout through AD
...
This enables the sofware rollout feature in Samba4
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-04-15 12:27:02 +10:00
Jeremy Allison
8e06e945b6
Ensure a tls key is only generated once - wrap create & destroy in a mutex.
...
Change the function names to add _once to the tls_create & tls_destroy to
make this obvious.
Jeremy.
2009-04-14 15:19:39 -07:00
Günther Deschner
4721be488c
s3-spoolss: Fix format of description string in spoolss_PrinterInfo1.
...
This is what windows does and should get us closer to show the appropriate
printer location string in explorer.
Guenther
2009-04-14 23:21:47 +02:00
Günther Deschner
ca3de0103b
netdomjoin-gui: make sure to grey out change fields when not running as root.
...
Guenther
2009-04-14 23:06:30 +02:00
Jeremy Allison
0f1b402848
Try and fix the S4 build - include thread includes.
...
Jeremy.
2009-04-14 13:02:29 -07:00
Jeremy Allison
27a3118bcf
Make talloc_stack threadsafe using TLS. Volker please
...
check. Passes make test and basic valgrind testing.
Jeremy.
2009-04-14 12:23:22 -07:00
Günther Deschner
48f14949b1
libwbclient: Fix undocumented arguments doxygen warnings.
...
Guenther
(cherry picked from commit f2b3fbf0c0
)
2009-04-14 20:05:21 +02:00
Günther Deschner
1b9384a11f
s3-nsswitch: fix make test_wbpad.
...
Guenther
2009-04-14 14:56:59 +02:00
Stefan Metzmacher
74707e8e8e
socket_wrapper: fix the build on systems without ipv6 support
...
metze
2009-04-14 12:47:18 +02:00
Günther Deschner
a2ef1fee69
s4-smbtorture: make sure samba3 does not regress in EnumServicesStatusW call.
...
Guenther
2009-04-14 12:13:32 +02:00
Günther Deschner
fa302020ee
s3-svcctl: fix memcpy in _svcctl_EnumServicesStatusW().
...
Make sure we are not copying more than what we have as valid data.
Fix from Jeremy. Thanks a lot for watching this so closely!
Guenther
2009-04-14 12:13:24 +02:00
Günther Deschner
e3ceb0c653
s3-spoolss: remove unused dup_nt_devicemode().
...
Guenther
2009-04-14 12:13:17 +02:00
Günther Deschner
4a2dfbf3c9
s4-smbtorture: print SPOOLSS_JOB_CONTROL flags in RPC-SPOOLSS test.
...
Guenther
2009-04-14 12:13:08 +02:00
Andrew Bartlett
786447dea0
s3:charcnv remove now unused malloc() based conversion functions
2009-04-14 12:54:13 +10:00
Andrew Bartlett
97af7f1ed1
Add some harmless use of talloc_tos() in ntlm_auth
2009-04-14 12:54:12 +10:00
Andrew Bartlett
3b3e21bd9b
Convert Samba3 to use the common lib/util/charset API
...
This removes calls to push_*_allocate() and pull_*_allocate(), as well
as convert_string_allocate, as they are not in the common API
To allow transition to a common charcnv in future, provide Samba4-like
strupper functions in source3/lib/charcnv.c
(the actual implementation remains distinct, but the API is now shared)
Andrew Bartlett
2009-04-14 12:53:56 +10:00
Andrew Bartlett
4786a493f7
Solve some of the conflict between Samba3 and Samba4 push_string
...
This renames push_string in Samba3 into push_string_base and
push_string_check for the two different use cases.
This should allow push_string to be imported from Samba4, using it's
calling conventions.
2009-04-14 12:11:00 +10:00
Andrew Bartlett
41e4f12c48
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
2009-04-14 10:55:53 +10:00
Andrew Bartlett
82ad66e9df
s4:ldb Make it possible to re-run ldap.py again
...
The parentGUID test didn't clean up after itself correctly.
Andrew Bartlett
2009-04-14 10:52:33 +10:00
Günther Deschner
fc056e561b
s3-rpcclient: add set_job command.
...
Guenther
2009-04-13 23:45:52 +02:00