summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-10-19samba-tool: Improve getopt.py error handlingGiampaolo Lauria1-1/+5
Throw an exception when the --option value is invalid
2011-10-19samba-tool: Improve getopt.py error handlingGiampaolo Lauria1-2/+1
Throw an exception when --option value is not in the form "a=b"
2011-10-19samba-tool: Improve getopt.py error handlingGiampaolo Lauria1-0/+3
Raise exception when -d or --debuglevel value is <0
2011-10-18s4:auth/unix_token: match s3 behavior and add uid/gid to the groups arrayStefan Metzmacher1-17/+31
If mappings use ID_TYPE_BOTH. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 18 10:39:54 CEST 2011 on sn-devel-104
2011-10-18lib/param: Remove parameters for wins and spoolss databasesAndrew Bartlett3-6/+10
This removes the smb.conf parameters per-database, replacing these with hard-coded database names in well known (and configurable) directories. The wins.ldb is now always in the "state dir", rather than being in both state and lock dir (ie, a bug). Less smb.conf parameters means less parameters to try and sync up between the loadparm subsystems. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 18 05:39:54 CEST 2011 on sn-devel-104
2011-10-18gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett19-71/+82
This avoids keeping the event context around on a the gensec_security context structure long term. In the Samba3 server, the event context we either supply is a NULL pointer as no server-side modules currently use the event context. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18gensec: move event-using code to gensec_update() hooks out of gensec_start*()Andrew Bartlett3-39/+77
This ensures that only gensec_update() will require an event context argument when the API is refactored. Andrew Bartlett
2011-10-18s4-auth: match the new s3 gensec client and always negotiate SIGN with SEALAndrew Bartlett1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18ntlmssp: Prepare gensec_ntlmssp_start() for broader useAndrew Bartlett2-4/+28
This moves the allocation of the ntlmssp pointer back to the callers. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett6-286/+11
This brings in the code from both libcli/auth and source4/auth/ntlmssp. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18s4-s3-upgrade: Give a better clue when we cannot open secrets.tdbAndrew Bartlett2-2/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18Revert "s4: Mark the winsreplication test as knownfail"Andrew Bartlett1-1/+1
This reverts commit f7f6992a20dd29bd7643291e3b3d05bc8f6c9c76 because 75953f18469fa8746d9d8ad20bbbb3bcbd0df9dd solved the root cause, which was a race in ldb startup. Andrew Bartlett
2011-10-18Revert "s4:selftest: skip flakey samba4.nbt.winsreplication for now"Andrew Bartlett1-1/+0
This reverts commit 16fd935fc659555c203354b6c96fc23a55be5a3b because 75953f18469fa8746d9d8ad20bbbb3bcbd0df9dd solved the root cause, which was a race in ldb startup. Andrew Bartlett
2011-10-17s4:dlz_bind9: add no memory checksStefan Metzmacher1-0/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 17 14:07:25 CEST 2011 on sn-devel-104
2011-10-17s4:dlz_bind9: Copy dn before changing in b9_has_soaStefan Gohmann1-1/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-17s4:dlz_bind9: add missing earch bases for windows 2000 domainsStefan Gohmann1-0/+1
By default the samba4 dlz_bind9 backend searches under CN=MicrosoftDNS,DC=DomainDnsZones and CN=MicrosoftDNS,DC=ForestDnsZones. In my samba4 test setup all DNS zones are under CN=MicrosoftDNS,CN=System. After adding the attached patch it works fine for me. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-17s4 provision: DNS backend should be set by callerKai Blin4-8/+13
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Mon Oct 17 09:51:12 CEST 2011 on sn-devel-104
2011-10-17s4 provision/dns: Clean up os level handlingKai Blin1-10/+12
2011-10-17s4 provision/dns: Clean up backend handlingKai Blin1-6/+13
2011-10-17s4 provision: Default to win2k3 domain function levelKai Blin1-1/+1
2011-10-17s4 provision: Reword opinionated dns backend help text, add NONE backendKai Blin2-5/+13
2011-10-17s4 provision: Rename bind9 flatfile backend to BIND9_FLATFILEKai Blin3-8/+8
2011-10-16provision: fix the docMatthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Oct 16 01:31:21 CEST 2011 on sn-devel-104
2011-10-16s4-interfaces: allow pure ipv6 to workMatthieu Patou1-1/+2
This is the complementary part of patch abe5afc580dcaaab70f136904d98fa83bfae7b6e for samba4.
2011-10-16s4: check that the xattr are supported in the folder where we want to provisionMatthieu Patou2-2/+9
By default we were checking this on the default folder for tempfile.NamedTemporaryFile (usualy /tmp) but this folder can be mounted on tmpfs (which didn't support xattr currently). Now we should check on the filesystem where the provision will be done.
2011-10-14Fix printf warning.Jeremy Allison1-1/+1
2011-10-14samba-tool: Add test to make sure all commands have a short description set.Jelmer Vernooij1-0/+11
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Oct 14 01:53:45 CEST 2011 on sn-devel-104
2011-10-14samba-tool: Add test to make sure all commands have a synopsis set.Jelmer Vernooij3-3/+26
2011-10-14samba-tool: Move main command implementation to samba.netcmd.main, so it is ↵Jelmer Vernooij3-61/+79
accessible by the testsuite.
2011-10-14samba-tool: Don't require full prog line to be in synopsis.Jelmer Vernooij17-98/+80
2011-10-14samba.netcmd: Reintroduce Command.name.Jelmer Vernooij2-0/+13
2011-10-14samba-tool: Determine long option from docstring.Jelmer Vernooij3-17/+25
2011-10-14creds: Remove unnecessary calls to credopts.get_credentials.Jelmer Vernooij1-2/+0
2011-10-14python: Remove extra newlines.Jelmer Vernooij1-3/+0
2011-10-14s4:selftest: flakey test samba4.drs.delete_object.python should go into skipMichael Adam2-1/+1
not knownfail, which will render it flakey again, just the other way round. Thanks Jelmer for pointing that out... Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Oct 14 00:21:26 CEST 2011 on sn-devel-104
2011-10-13lib/util: Add back control of mmap and hash size in tdb for top level buildAndrew Bartlett6-7/+17
This passes down a struct loadparm_context to allow these parameters to be checked. This may be s3 or s4 context, allowing the #if _SAMBA_BUILD_ macro to go away safely. Andrew Bartlett
2011-10-13s4-messaging: Pass the loadparm context, not just the messaging pathAndrew Bartlett13-32/+35
This will allow the TDB layer to get at the lp_ctx for tdb options. Andrew Bartlett
2011-10-13libcli/auth: Provide a struct loadparm_context to schannel callsAndrew Bartlett3-5/+5
This will allow us to pass this down to the tdb_wrap layer. Andrew Bartlett
2011-10-13samba-tool: Use self.outf in a few more places.Jelmer Vernooij13-88/+104
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 05:06:52 CEST 2011 on sn-devel-104
2011-10-13samba-tool delegation: Use self.outf, simplify some code.Jelmer Vernooij1-14/+8
2011-10-13samba.getopt: Refactor parsing of --kerberos argument into separate function.Jelmer Vernooij1-13/+16
2011-10-13s4:torture/smb2: we only support 64KB reads/writes for nowStefan Metzmacher2-8/+8
We don't have multi-credit support yet. metze
2011-10-13samba-tools/testparm: Add really basic unit test, demonstrating how to write ↵Jelmer Vernooij1-0/+29
unit tests for samba-tool in Python. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 01:56:20 CEST 2011 on sn-devel-104
2011-10-13netcmd: Add Command.get_logger() method.Jelmer Vernooij3-5/+8
2011-10-13netcmd: Add errf stream to command instances.Jelmer Vernooij2-8/+9
2011-10-13samba-tool/testparm: Fix traceback when checking client name/ip against ↵Jelmer Vernooij1-2/+2
hosts allowed.
2011-10-13samba-tool/testparm: Fix handling of command-line options.Jelmer Vernooij1-26/+29
2011-10-13selftest: mark samba4.drs.delete_object.python knownfailMichael Adam1-0/+1
this currently prevents autobuild from succeeding intermittently Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Oct 13 00:22:18 CEST 2011 on sn-devel-104
2011-10-12s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by valueGregor Beck3-5/+5
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12samba.upgrade: Use list comprehension.Jelmer Vernooij1-4/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 12 22:44:40 CEST 2011 on sn-devel-104