summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-20s3-printing: use ARRAY_SIZE() macro in forms functions.Günther Deschner1-6/+5
Guenther
2009-04-20s3-printing: use sec_initial_uid() instead "0" in print_access_check().Günther Deschner1-1/+1
Another babystep in order to make us pass RPC-SPOOLSS. Guenther
2009-04-20s4-smbtorture: test all levels in test_GetJob().Günther Deschner1-8/+23
Guenther
2009-04-19Make force_flush_samr_cache use a dom_sid to find what to flushVolker Lendecke1-16/+18
2009-04-19Remove flag "builtin_domain" from disp_infoVolker Lendecke1-9/+5
2009-04-19Remove flag "builtin_domain" from samr_infoVolker Lendecke1-6/+3
2009-04-19Make get_samr_info_by_sid use recent coding conventionsVolker Lendecke1-9/+5
2009-04-19Add "uint32_t access_granted" to policy handlesVolker Lendecke3-58/+97
All policy handles have a mask of allowed operations attached that were calculated at creation time, so they should carry this mask. This is the basis for consolidating all our policy handle access checks. If you want to do your own more complicated access checks further down, just pass "0" to policy_handle_find.
2009-04-19Make "struct policy" private to srv_lsa_hnd.cVolker Lendecke5-19/+31
2009-04-18Convert the samr connect_handles to type-safe callsVolker Lendecke1-23/+37
2009-04-18Add type-safe policy_handle_create/findVolker Lendecke2-0/+57
2009-04-18Add some constVolker Lendecke2-3/+7
2009-04-17s3-spoolss: remove some direct checks for 0 uid in AddForm,SetForm,DelForm.Günther Deschner1-4/+13
Also add some become_root()/unbecome_root() pairs which were missing IMHO. Guenther
2009-04-17s3:docs: document the --request-timeout option of netStefan Metzmacher1-0/+9
metze
2009-04-17s3:net: add --request-timeout optionStefan Metzmacher3-0/+4
metze
2009-04-17s3:net_rpc: don't shutdown a cli_state passed from the callerStefan Metzmacher1-9/+8
This fixes a crash bug if we timeout in net rpc trustdom list. metze
2009-04-17s3-selftest: enable RPC-SPOOLSS.Günther Deschner1-1/+1
Guenther
2009-04-17s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now.Günther Deschner1-2/+6
Guenther
2009-04-17s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 6.Günther Deschner1-1/+25
Guenther
2009-04-17s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 5.Günther Deschner1-0/+71
Guenther
2009-04-17s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 4.Günther Deschner1-0/+90
Guenther
2009-04-17s4-smbtorture: rework test_EnumPrinterDrivers() a little to succeed with s3.Günther Deschner1-10/+13
Yes, I feel dirty for this but promise to come back and fix appropriately. Guenther
2009-04-17s4-smbtorture: Fix RPC-SPOOLSS-WIN for printers with a lot of jobs in the queue.Günther Deschner1-0/+7
Guenther
2009-04-17s3: make installmo and uninstallmo scripts executableMichael Adam2-0/+0
Michael
2009-04-17s3: Fix uninstallmoMichael Adam1-1/+2
Michael
2009-04-17s3-selftest: samba 3 also passes RPC-JOIN so enable it.Günther Deschner1-1/+1
Guenther
2009-04-17s3:registry: Prevent creation of keys containing the '/' character.Michael Adam1-0/+10
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-17s3-samr: set the builtin_domain bool flag in get_samr_dispinfo_by_sid().Günther Deschner1-0/+2
Volker, please check. Found by torture test RPC-SAMR-PASSWORDS-PWDLASTSET (which we pass with this fix). Guenther
2009-04-17s3-selftest: enable RPC-SAMR-PASSWORDS-PWDLASTSET whilte testing Samba3.Günther Deschner1-1/+2
Guenther
2009-04-17s4-smbtorture: disable CreateUser2 tests when running RPC-SAMR-PASSWORDS-PWDLASTGünther Deschner1-1/+3
against Samba3. Samba 3 does not (yet) get all the ACB_flag settings right upon creation. Guenther
2009-04-17Merge branch 'master' of /home/jmcd/samba/git.samba.org/samba-master into ↵Jim McDonough19-13/+579
mymaster
2009-04-17s3-docs: fix typo in smb.conf.5.Günther Deschner1-1/+1
Guenther
2009-04-17s3-selftest: enable RPC-LSA-LOOKUPSIDS against samba 3.Günther Deschner1-1/+1
Guenther
2009-04-17s4-smbtorture: add LSA-LOOKUPSIDS to verify bug #6263.Günther Deschner2-0/+89
Guenther
2009-04-17s4-smbtorture: Fix crash in RPC-LSA-LOOKUPGünther Deschner1-0/+2
Guenther
2009-04-17s3-docs: document warn_pwd_expire pam_winbind option in manpage.Günther Deschner1-1/+8
Andreas, please check. Guenther
2009-04-16Add torture tester to ensure we don't regress the ulogoff bug.Jeremy Allison1-0/+45
Jeremy.
2009-04-16Fix bug found by Tim Prouty, logging off and then re-using a vuid can cause ↵Jeremy Allison1-0/+11
smbd to access a freed structure. Jeremy.
2009-04-16When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid.Jeremy Allison1-1/+1
Jeremy.
2009-04-16Fix IDL licensing file that got missed when IDL files were moved.Jeremy Allison2-0/+18
Jeremy.
2009-04-16Don't look up local user for remote changes, even when root.Jim McDonough1-6/+10
2009-04-16Add notify_onelevel.tdbVolker Lendecke8-0/+383
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-16Rename notify_context->db to db_recursiveVolker Lendecke1-9/+12
2009-04-16In net_conf_import, start a transaction when importing a single share.Martin Schwenke1-0/+8
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-16tsocket: fix the build without ipv6 supportStefan Metzmacher1-0/+2
metze
2009-04-16s3-lsa: Fix Bug #6263. Unexpected LookupSids reply crashes XP pre-SP3.Günther Deschner1-1/+9
LookupSids needs to bounce back string sids in case of NT_STATUS_NONE_MAPPED. Guenther (cherry picked from commit 1c9266c8caa59e287b993393b6050732a0b33547)
2009-04-15Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison12-59/+51
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-15s4-smbtorture: Fix crash bugs in RPC-SAMR_ACCESSMASK.Günther Deschner1-7/+15
Also disable security descriptor based tests while testing samba3. Guenther
2009-04-15s3-examples: make sure to match correct key name in adssearch.Günther Deschner1-1/+1
Guenther
2009-04-15s4-smbtorture: define TORTURE_DEFAULT_SERVICE and set to netlogon.Günther Deschner1-6/+8
Guenther