summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:libcli/smb2: make use of _smb_setlen_tcp()Stefan Metzmacher2011-10-191-2/+2
| | | | metze
* s4:libcli/raw: make use of _smb_setlen_nbt()Stefan Metzmacher2011-10-192-2/+2
| | | | metze
* s4:lib/stream: make use of smb_len_tcp()Stefan Metzmacher2011-10-191-1/+7
| | | | metze
* s3: remove duplicate fsctl fn definitionsDavid Disseldorp2011-10-192-13/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli: move ioctl function field defs to smb_constantsDavid Disseldorp2011-10-199-67/+8
| | | | | | | Currently there are a lot of duplicate ioctl function field definitions between source3 and source4. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-s3-upgrade rename samba-tool domain samba3upgrade --libdir to --dbdir for ↵Andrew Bartlett2011-10-193-18/+18
| | | | | | | | | | | | clarity The things pointed at are not typically in a directory called lib, so avoid confusing our administrators. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Oct 19 15:43:04 CEST 2011 on sn-devel-104
* s4-s3-upgrade fix format string for secrets.tdb exceptionAndrew Bartlett2011-10-191-1/+1
|
* s4-s3-upgrade test upgrade without a wins.datAndrew Bartlett2011-10-191-0/+3
|
* s4-s3-upgrade Fix samba3upgrade code to cope with a missing wins.datAndrew Bartlett2011-10-191-1/+10
|
* s4-smb_server do not set credentials on gensec twiceAndrew Bartlett2011-10-191-4/+0
| | | | | | | The samba_server_gensec_start() has already set the credentials on the gensec_security context. Andrew Bartlett
* samba.getopt: Add some basic tests.Jelmer Vernooij2011-10-192-0/+58
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 19 05:04:33 CEST 2011 on sn-devel-104
* samba.getopt: Keep exception message when setting a lp option fails.Jelmer Vernooij2011-10-191-4/+5
|
* samba-tool: Improve getopt.py error handlingGiampaolo Lauria2011-10-191-4/+5
| | | | | | Modified code to handle -k and --kerberos options to: 1. Throw the correct exception 2. On error, display the correct user's specified option
* samba-tool: Improve getopt.py error handlingGiampaolo Lauria2011-10-191-1/+5
| | | | Throw an exception when the --option value is invalid
* samba-tool: Improve getopt.py error handlingGiampaolo Lauria2011-10-191-2/+1
| | | | Throw an exception when --option value is not in the form "a=b"
* samba-tool: Improve getopt.py error handlingGiampaolo Lauria2011-10-191-0/+3
| | | | Raise exception when -d or --debuglevel value is <0
* s4:auth/unix_token: match s3 behavior and add uid/gid to the groups arrayStefan Metzmacher2011-10-181-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
* lib/param: Remove parameters for wins and spoolss databasesAndrew Bartlett2011-10-183-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
* gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett2011-10-1819-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>
* gensec: move event-using code to gensec_update() hooks out of gensec_start*()Andrew Bartlett2011-10-183-39/+77
| | | | | | | This ensures that only gensec_update() will require an event context argument when the API is refactored. Andrew Bartlett
* s4-auth: match the new s3 gensec client and always negotiate SIGN with SEALAndrew Bartlett2011-10-181-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* ntlmssp: Prepare gensec_ntlmssp_start() for broader useAndrew Bartlett2011-10-182-4/+28
| | | | | | | | This moves the allocation of the ntlmssp pointer back to the callers. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett2011-10-186-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>
* s4-s3-upgrade: Give a better clue when we cannot open secrets.tdbAndrew Bartlett2011-10-182-2/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Revert "s4: Mark the winsreplication test as knownfail"Andrew Bartlett2011-10-181-1/+1
| | | | | | | | This reverts commit f7f6992a20dd29bd7643291e3b3d05bc8f6c9c76 because 75953f18469fa8746d9d8ad20bbbb3bcbd0df9dd solved the root cause, which was a race in ldb startup. Andrew Bartlett
* Revert "s4:selftest: skip flakey samba4.nbt.winsreplication for now"Andrew Bartlett2011-10-181-1/+0
| | | | | | | | This reverts commit 16fd935fc659555c203354b6c96fc23a55be5a3b because 75953f18469fa8746d9d8ad20bbbb3bcbd0df9dd solved the root cause, which was a race in ldb startup. Andrew Bartlett
* s4:dlz_bind9: add no memory checksStefan Metzmacher2011-10-171-0/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 17 14:07:25 CEST 2011 on sn-devel-104
* s4:dlz_bind9: Copy dn before changing in b9_has_soaStefan Gohmann2011-10-171-1/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:dlz_bind9: add missing earch bases for windows 2000 domainsStefan Gohmann2011-10-171-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>
* s4 provision: DNS backend should be set by callerKai Blin2011-10-174-8/+13
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Mon Oct 17 09:51:12 CEST 2011 on sn-devel-104
* s4 provision/dns: Clean up os level handlingKai Blin2011-10-171-10/+12
|
* s4 provision/dns: Clean up backend handlingKai Blin2011-10-171-6/+13
|
* s4 provision: Default to win2k3 domain function levelKai Blin2011-10-171-1/+1
|
* s4 provision: Reword opinionated dns backend help text, add NONE backendKai Blin2011-10-172-5/+13
|
* s4 provision: Rename bind9 flatfile backend to BIND9_FLATFILEKai Blin2011-10-173-8/+8
|
* provision: fix the docMatthieu Patou2011-10-161-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Oct 16 01:31:21 CEST 2011 on sn-devel-104
* s4-interfaces: allow pure ipv6 to workMatthieu Patou2011-10-161-1/+2
| | | | | This is the complementary part of patch abe5afc580dcaaab70f136904d98fa83bfae7b6e for samba4.
* s4: check that the xattr are supported in the folder where we want to provisionMatthieu Patou2011-10-162-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.
* Fix printf warning.Jeremy Allison2011-10-141-1/+1
|
* samba-tool: Add test to make sure all commands have a short description set.Jelmer Vernooij2011-10-141-0/+11
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Oct 14 01:53:45 CEST 2011 on sn-devel-104
* samba-tool: Add test to make sure all commands have a synopsis set.Jelmer Vernooij2011-10-143-3/+26
|
* samba-tool: Move main command implementation to samba.netcmd.main, so it is ↵Jelmer Vernooij2011-10-143-61/+79
| | | | accessible by the testsuite.
* samba-tool: Don't require full prog line to be in synopsis.Jelmer Vernooij2011-10-1417-98/+80
|
* samba.netcmd: Reintroduce Command.name.Jelmer Vernooij2011-10-142-0/+13
|
* samba-tool: Determine long option from docstring.Jelmer Vernooij2011-10-143-17/+25
|
* creds: Remove unnecessary calls to credopts.get_credentials.Jelmer Vernooij2011-10-141-2/+0
|
* python: Remove extra newlines.Jelmer Vernooij2011-10-141-3/+0
|
* s4:selftest: flakey test samba4.drs.delete_object.python should go into skipMichael Adam2011-10-142-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
* lib/util: Add back control of mmap and hash size in tdb for top level buildAndrew Bartlett2011-10-136-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
* s4-messaging: Pass the loadparm context, not just the messaging pathAndrew Bartlett2011-10-1313-32/+35
| | | | | | This will allow the TDB layer to get at the lp_ctx for tdb options. Andrew Bartlett