summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-07-08lib/param: Merge struct loadparm_service into commonAndrew Bartlett3-33/+52
This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
2011-07-08param: Move per-share parameters into a seperate file, to share with s3Andrew Bartlett2-37/+5
This will allow the struct loadparm_service to be in common between the two loadparm implementations in the tree. Andrew Bartlett
2011-07-08s4-param Remove offset != -1 checksAndrew Bartlett1-7/+2
No offset values are set to -1 in the parameter table Andrew Bartlett
2011-07-08s4-param change to struct bitmap to match s3-paramAndrew Bartlett2-16/+17
2011-07-08s4-param Also check the p_class matches when comparing offsetAndrew Bartlett1-1/+3
2011-07-08param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett4-18/+25
This is to that the pyparam hooks can use the hooks to connect with the s3 loadparm system. This now also includes per-service parameters. Andrew Bartlett
2011-07-07s4 provision: Add some of the AD-specific DNS records to the directoryKai Blin3-9/+236
Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Jul 7 02:29:53 CEST 2011 on sn-devel-104
2011-07-07s4 provision: split up DNS provisioning into generic and samba-specific ldifsKai Blin3-21/+31
Signed-off-by: Kai Blin <kai@samba.org>
2011-07-06s4:torture/smb2: s/smb2cli_unlock/test_smb2_unlockStefan Metzmacher1-3/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 6 19:07:42 CEST 2011 on sn-devel-104
2011-07-06s4:torture/smb2: s/smb2cli_lock/test_smb2_lockStefan Metzmacher1-19/+19
metze
2011-07-06libcli/smb move FILE_TYPE constants in commonAndrew Bartlett1-8/+0
This allows us to remove another _SAMBA_BUILD_ conditional Andrew Bartlett
2011-07-06libcli/smb move enum protocol_types to a common headerAndrew Bartlett1-0/+1
2011-07-05ldb: make ldb a top level library for Samba 4.0Andrew Bartlett150-49342/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-05s4-dbcheck: support the 'none' option for promptsAndrew Tridgell1-2/+10
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jul 5 08:22:40 CEST 2011 on sn-devel-104
2011-07-05s4-pycommon: support 'none' as an option in confirmAndrew Tridgell1-7/+20
this allows the user to ask for none of the changes of this type Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-05dbcheck: only use a paged search when checking a ldap databaseAndrew Tridgell1-1/+1
paged searches don't work against a local database (they return only the first N objects)
2011-07-05dbcheck: check for unknown attributes and offer to remove themAndrew Tridgell1-3/+46
this asks the user if they want to remove an unknown attribute. You can also choose 'all' which will auto-confirm all questions about removing unknown attributes.
2011-07-05s4-pycommon: allow an optional 'all' choice for confirm dialogsAndrew Tridgell1-3/+9
when asking the user to confirm an action, allow for an 'all' choice, which will be used to allow the user to confirm all future requests of the same type
2011-07-05s4-dsdb: allow removal of unknown attributes if RELAX setAndrew Tridgell2-2/+21
this allows attributes not known in the schema to be removed if the caller has set the RELAX control. This will be used by dbcheck to allow cleaning of bad attributes from the database
2011-07-02s4-param Remove unused 'announce version'Andrew Bartlett1-10/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jul 2 05:42:37 CEST 2011 on sn-devel-104
2011-07-02s3-param Generate parameter tablesAndrew Bartlett2-194/+2
2011-07-02param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()Andrew Bartlett4-4/+4
Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett
2011-07-01s4-dsdb guard principalName parse for invalid inputsAndrew Bartlett1-1/+6
We need to ensure that if this parses name.name_string as just one val, then we don't read uninitialised and possibly unallocated memory. Found by Adam Thorn <alt36@cam.ac.uk> While we are checking that, we need to fix the strncasecmp() check to first check if the string is the expected length, then check for a match against sAMAccountName-without-doller, as otherwise we will permit a string such as machinefoo to match a sAMAccountName of machine. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 1 03:55:00 CEST 2011 on sn-devel-104
2011-07-01s4-dsdb Allow a servicePrincipalName of machine$Andrew Bartlett1-0/+6
This is pointless, but MacOS X (version 10.6.8 was tested) apparently sets machine$ into this field. Andrew Bartlett
2011-06-30rebuildexetendeddn: PEP8: Use spaces rather than tabs.Jelmer Vernooij1-66/+61
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Jun 30 12:07:32 CEST 2011 on sn-devel-104
2011-06-30rpcclient: PEP8: Use spaces rather than tabs.Jelmer Vernooij1-45/+45
2011-06-30smbstatus: PEP8: Use spaces rather than tabs.Jelmer Vernooij1-38/+38
2011-06-30mischema: Remove unused import.Jelmer Vernooij1-1/+0
2011-06-30enablerecyclebin: Remove unused imports, fix formatting.Jelmer Vernooij1-5/+3
2011-06-29s4-param Handle BOOLREV parametersAndrew Bartlett1-0/+16
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 08:57:27 CEST 2011 on sn-devel-104
2011-06-29param: Merge param headers into lib/param/loadparm.hAndrew Bartlett1-101/+0
This defines a common table format, so we can in future define a common table. Andrew Bartlett
2011-06-29s4-param Match source3's param: use C99 initialisersAndrew Bartlett1-159/+1090
This makes it much easier to compare the parameter sets. Andrew Bartlett
2011-06-29s4-param Merge struct parm_struct with version from source3/Andrew Bartlett3-14/+15
2011-06-29param: Merge struct parm_struct definitionsAndrew Bartlett2-12/+13
This will allow the parameter tables to be shared between source3 and source4. Andrew Bartlett
2011-06-29Remove obsolete BUGS file.Jelmer Vernooij1-24/+0
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Jun 29 01:47:26 CEST 2011 on sn-devel-104
2011-06-28s4:kdc/mit_samba: disable mit_samba_check_s4u2proxy()Stefan Metzmacher1-0/+9
As mit_samba_update_pac_data() doesn't support adding S4U_DELEGATION_INFO to the pac (and I have no clue how to add that) we should disable S4U2Proxy until this is implemented. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 28 20:35:19 CEST 2011 on sn-devel-104
2011-06-28s4:kdc: generate the S4U_DELEGATION_INFO in the regenerated pacStefan Metzmacher5-11/+157
metze
2011-06-28s4:kdc: use KRB5_WINDC_PLUGIN_MINOR define instead of KRB5_WINDC_PLUGING_MINORStefan Metzmacher1-1/+1
metze
2011-06-28HEIMDAL:kdc: pass down the delegated_proxy_principal to the verify_pac()Stefan Metzmacher3-20/+41
function This is needed in order to add the S4U_DELEGATION_INFO to the pac. metze
2011-06-28HEIMDAL:kdc/windc_plugin.h: KRB5_WINDC_PLUGIN_MINOR 4 => 5Stefan Metzmacher1-2/+2
commit "heimdal Add support for extracting a particular KVNO from the database" (f469fc6d4922d796f5c61bf43e3efc018e37b680 in heimdal/master and 9b5e304ccedc8f0f7ce2342e4d9c621417dd1c1e in samba/master) changed the windc_plugin interface, so we need to change the version number. metze
2011-06-24s4:selftest: test ntvfs.cifs with s4u2proxyStefan Metzmacher1-1/+7
Pair-Programmed-With: Björn Baumbach <bb@sernet.de> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jun 24 20:35:30 CEST 2011 on sn-devel-104
2011-06-24s4:selftest: use wildcards for ntvfs.cifs tests in knownfail and skip filesStefan Metzmacher2-36/+20
metze
2011-06-24s4:kdc: implement samba_kdc_check_s4u2proxy()Stefan Metzmacher2-0/+106
metze
2011-06-24s4:samba-tool: add "delegation" subcommands for S4U2Proxy and related stuffStefan Metzmacher2-0/+269
For now this only works on the local sam.ldb, but it shouldn't be hard to improve it to talk to remove servers. Pair-Programmed-With: Björn Baumbach <bb@sernet.de> metze
2011-06-24s4:python/samba/samdb: add toggle_userAccountFlags() helper functionStefan Metzmacher1-10/+35
And let enable_account() use it. Pair-Programmed-With: Björn Baumbach <bb@sernet.de> metze
2011-06-24HEIMDAL:kdc: don't allow self delegation if a backend ↵Stefan Metzmacher1-4/+4
check_constrained_delegation() hook is given A service should use S4U2Self instead of S4U2Proxy. Windows servers allow S4U2Proxy only to explicitly configured target principals. metze
2011-06-24HEIMDAL:kdc: pass down the server hdb_entry_ex to check_constrained_delegation()Stefan Metzmacher1-5/+19
This way we can compare the already canonicalized principals, while still passing the client specified target principal down to the backend specific constrained_delegation() hook. metze
2011-06-24HEIMDAL:kdc: use the correct client realm in the EncTicketPartStefan Metzmacher1-1/+1
With S4U2Proxy tgt->crealm might be different from tgt_name->realm. metze
2011-06-24s4-lsa: Fix typoSumit Bose1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jun 24 16:19:36 CEST 2011 on sn-devel-104
2011-06-24param: Remove remaining references to announce as and announce versionAndrew Bartlett2-7/+0