summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-06-29s3-param use C99 boolean for trueAndrew Bartlett1-99/+99
2011-06-29s3-param Convert sDefault to C99 initialisersAndrew Bartlett1-142/+142
The conversion has been verified with gdb (p sDefaults before and after) C99 booleans were helpfully provided by gdb, which was used to generate the C99 format, and so have been kept. 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-29s3-param Remove unused FLAG_DOS_STRINGAndrew Bartlett2-3/+2
2011-06-29param: Merge struct parm_struct definitionsAndrew Bartlett4-38/+41
This will allow the parameter tables to be shared between source3 and source4. Andrew Bartlett
2011-06-29s3-param Use .offset rather than .ptr when defining parametersAndrew Bartlett2-7/+6
This change has a number of purposes: * It removes the fancy logic around pointers into sDefault for all per-share parameters. Instead, this is always expressed as an offset, rather than implicitly via PTR_DIFF macros. * It makes struct parm_struct almost identical to that as used in source4/param. This will very shortly allow the loadparm tables and most of the 'special' helper functions to be placed in common. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 05:50:46 CEST 2011 on sn-devel-104
2011-06-29s3-param Remove .offset == 0 checks as 'valid' will have offset 0Andrew Bartlett1-18/+4
The validity of an entry in the parm_table is by having a .p_class of P_LOCAL or P_GLOBAL rather than P_SEPARATOR. Termination of the table is by having a .label of non-NULL. This is possible because there are no longer any specially handled smb.conf options without a value in the struct loadparm_globals or struct loadparm_service. This is required because the first element in the structure will have .offset = 0, and skipping that would be unfortunate (particularly as it is the vital 'valid' variable). Andrew Bartlett
2011-06-29s3-param use .offset rather than .ptr (renames)Andrew Bartlett1-437/+441
This commit uses GLOBAL_VAR and LOCAL_VAR macros to hide the use of .ptr in the source3 loadparm code. This will then be changed to use offsetof() in a future commit, removing the #define offset ptr hack. Andrew Bartlett
2011-06-29Fix bug #8219 - SMB Panic from Windows 7 ClientJeremy Allison1-0/+8
Caused by referencing an uninitialized variable in the duplicated struct smbd_smb2_request when sending a signed intermediate reply. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 29 04:37:28 CEST 2011 on sn-devel-104
2011-06-29s3-param use lp_parm_ptr() rather than parm.ptr directlyAndrew Bartlett4-69/+70
This will help with a change from .ptr to .offset Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 03:26:21 CEST 2011 on sn-devel-104
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-28krb5pac.idl: add PAC_CONSTRAINED_DELEGATION (S4U_DELEGATION_INFO)Stefan Metzmacher1-1/+13
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-28s3-waf: remove s3-waf specific dynconfig.Günther Deschner5-137/+36
This merge finally makes --with-logfilebase=foo and friends work appropriately. Andrews, Andreas, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jun 28 17:54:42 CEST 2011 on sn-devel-104
2011-06-28s3-waf: add some missing tdb dependencies.Günther Deschner5-13/+13
Guenther
2011-06-28s3-smbd Remove set but unused variablesAndrew Bartlett1-9/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jun 28 10:43:26 CEST 2011 on sn-devel-104
2011-06-28s3-param Rename struct service and struct globalsAndrew Bartlett1-31/+31
The rename of struct service -> loadparm_service and struct globals -> loadparm_globals makes this match the names used in source4/param, and is one step towards a single loadparm definition. Andrew Bartlett
2011-06-28s3-param Remove lp_parm_stringAndrew Bartlett1-12/+0
Samba 4.0 makes no attempt to provide a loader environment that will allow a module that is not rebuilt to operate. Andrew Bartlett
2011-06-28s3-param make lp_passdb_backend() a normal lp_ function againAndrew Bartlett1-42/+1
It is now a large number of releases since the multiple passdb backend support was removed in 3.0.23. Andrew Bartlett
2011-06-27s3: explicitly pass domain_sid to wbint_LookupRids() (bug #7841)Volker Lendecke4-9/+11
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jun 27 18:21:30 CEST 2011 on sn-devel-104
2011-06-27s3:g_lock: g_lock.tdb should not be executableChristian Ambach1-1/+2
TDBs are not executable, so do not create the file with the execution bit set Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon Jun 27 17:09:12 CEST 2011 on sn-devel-104
2011-06-25s3: Fix winbindd_wins_bynameVolker Lendecke1-2/+3
Before the async change, the addresses were separated by spaces, not tabs Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jun 25 15:40:15 CEST 2011 on sn-devel-104
2011-06-25s3:test: don't rely on pyhton being in /usr/bin/python in the sids2xids testMichael Adam1-1/+1
"/usr/bin/env pyhton" should always work as long as pyhton is in the path. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Jun 25 01:07:15 CEST 2011 on sn-devel-104
2011-06-24s3:test: fix the smbclient_s3 test on older systemsMichael Adam1-1/+1
mktemp requires precisely six Xs at the end of the template name
2011-06-24s3:test: fix the net registry roundtrip test on older systemsMichael Adam1-1/+1
mktemp requires exactly Xs at the end of the template name on SLES8
2011-06-24s3:configure: remove unused --with-rootsbindir configure optionStefan Metzmacher2-19/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jun 24 23:57:20 CEST 2011 on sn-devel-104
2011-06-24s3-autconf Move nmbd socket directory to PREFIX/var/nmbdAndrew Bartlett1-2/+2
This is consistent with the new ncalrpc socket directory, also added in this release. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> The last 2 patches address bug #8230 (Move .nmbd socket directory to non-hidden name PREFIX/var/nmbd). (cherry picked from commit 833fdb5b3693a7c9111bb98e5bc9a29d29be9d1d) Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-06-24s3-buildoptions Show compiled-in location of the new ncaclrpc and nmbd socketsAndrew Bartlett1-0/+2
(cherry picked from commit c558775713e505cfc1db5af417cc7b792dfc310e) Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-06-24Add NT_STATUS_IO_REPARSE_TAG_NOT_HANDLEDVolker Lendecke2-0/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jun 24 22:36:50 CEST 2011 on sn-devel-104
2011-06-24s3: Fix an error message in smbclient symlinkVolker Lendecke1-1/+1
2011-06-24s3: Use reparse point style symlinksVolker Lendecke1-18/+18
2011-06-24s3: Remove a call to cli_errstrVolker Lendecke1-2/+4
2011-06-24s3: Add cli_symlinkVolker Lendecke4-0/+242
2011-06-24s3: Add SYMLINK_FLAG_RELATIVE defineVolker Lendecke1-0/+2
2011-06-24s3: Add symlink reparse point marshalling routinesVolker Lendecke4-0/+185
2011-06-24lib: Allow NULL converted_size in convert_string_tallocVolker Lendecke1-2/+6
2011-06-24s4:selftest: test ntvfs.cifs with s4u2proxyStefan Metzmacher2-7/+56
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-24selftest/Samba4: correctly upper case the netbiosname variableStefan Metzmacher1-5/+7
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