[SCM] Samba Shared Repository - branch v3-4-stable updated - release-4-0-0alpha7-825-g5c89bbd
The branch, v3-4-stable has been updated via 5c89bbd6b53d4a3ab7b84f906ecc7ad8a95b3183 (commit) via ea99b6854632c66bef81500e4d6c388351802d48 (commit) via bec6191ffa9ed1d860001689b8f46bd785ed932b (commit) via 035f4efa9943e4b9cb3ecbc239e3fa579a5cfdd2 (commit) via 9af9a660b376e09a800719861d7379ed75507705 (commit) via 7bc900deed605ec1afa9804df222f282f79b42bb (commit) via 7e30a445b840bfa0ceb47f4c03812744ee69e78a (commit) via 8d6692a2d7cce1ebddc8b69a315c847ac6668d6f (commit) via 2bf4ec443a1fafab6507a81b2597ad3160f61ca1 (commit) via b7305e3955e8be75fffa1f9bde2f56259464270d (commit) via ac408e406812f7e50372a2819d13c64f936d5c91 (commit) via cbef68847e7eef7d44bf24c7c4a460e715c67ff1 (commit) via 6045bbc6dbc4437826a7f0f6661215e95773206d (commit) via e5f46c2e032f0c043483ff13b6296a207a89bfa3 (commit) via c78cddd72296a1e3230bab03b6843672aa10e22b (commit) via 7372ce3715157a9efbd7ca1550cbc8850ce48305 (commit) via 09125185cd0b23c678de9c039e08424f43e7a596 (commit) via bcd4aafacf01a54ffab6501656c09e76f67264e7 (commit) via 76b850f3be7ef66cd911f65e91cfa565828ddb9b (commit) via 84dbdb56a5e90bef55a9b30722da5f13e2ceb534 (commit) via 030f9b5c7fd6bfc4cfd791b3b8fc573e39a89dcd (commit) via cb48d313e097af81600dfc8fda5ee71bc47aa2c7 (commit) via de195ef0717ed7b724a12d69acfd841e268bcaa9 (commit) via 3384209e617a9a4806ae2b984600578930228bae (commit) via 4c716b59adfc68ee36ea12f08cc41cf3be2ec542 (commit) via fe02a9842dacecb0532e4c419789dc82ed053661 (commit) via 01b1eff630bb07553a2eadb82df5246b3f70b3b7 (commit) via 799716eacaaf96eb71f4bf3628d2c1c983ae7f1e (commit) via e92e7afaf765257ce9fb26940d6df1102439873a (commit) via 2f97df10048314763c44ee701dff5654981159bd (commit) via 6bc7610fe57bd8430d5f2fc62791cfc313f6596d (commit) via 3cda976563a1ec5b1f9d02d6f7187cd579246b5b (commit) via 70e0f5a5f625ff63e76152663f1cc8f71430e3dc (commit) via 25557ed661cd29ab5e237d8f9789bf84adcf35a0 (commit) via 8eb8219bcd0a03a4f9300a2d79a428f95b0f2a4f (commit) via 07fdba31c1c125c441044f257ecc3b7b91b4b7f4 (commit) via 87d9bc7653c612f7739a9ade7f1698071687c048 (commit) via ce42bf82955ca4cf5995b09afecb85cbca56eedd (commit) via 4a7791c10200857c58772ee44866e58c3c96e0f5 (commit) via d4de0514d687ec1369e3072f9c9fe84c46cb9258 (commit) via 39efa93479c724cce8a339e46238b560d9003f10 (commit) via e64e99f210c4bdbc6fba2039dd78751bb76a3673 (commit) via fe2e574b60840e8f8710fa7ac3b27c82b10785db (commit) via 83d81d9a9d3ecd4d0f0516c7c3fec8000b0ddd01 (commit) via 34c45b1bd54cad2389d4eae920bdf2d4c4e15fb0 (commit) via 01204bf445aa982ad2716cbe90980bc5c31556f6 (commit) via 343ff932ab3f98c8ec1c57109c54fdcf17630de4 (commit) via 38223c681c0574b92604afbac2e4134b1bb4969e (commit) via 8f980f4f73bcf54ade3008a13b0e8d6a1980e52b (commit) via e3bb5ed7641081f14d828f459e43e64fbaa0d9c4 (commit) via 675e2e81f51f65566bdeedf53cf1e060f3fe606b (commit) via 137cff8b597950dd7b7e75c3ae5f08583a1eb544 (commit) via 0772ce864713a343c36b532597ec5078f7c55890 (commit) via 0f7eb7b95d4a72b02312a33970775be575580fb0 (commit) via 55351d1a2d32737783c66ba2f767423de360277e (commit) via 0b0737d6516a42bf4c4a48a633a504bf9dd39bb7 (commit) via 801fc31d363c1ab9f016bbe2dc8e0bbebbabcbd3 (commit) via 8839c4fd40d44b825996f4cee68d4d43f1097973 (commit) via e61e8f4c785248512c71f8e0a2002627037cb879 (commit) via 7ed136453a7a46e99cb7af5c9c4dc4b82feb6a45 (commit) via 311ba6b1a67d448bc58c7f3db7d0180a1e83aa46 (commit) via 40c07e69252a3ce80533ff1d82841ed9fec49df9 (commit) via dfa1d2b5cea954a36fe1c9d323db76e51d35f376 (commit) via 1bc31651748bb785d08f8d92df4d8439e42f383f (commit) via c61db17779388cb3b11db1d030e251b393462309 (commit) via c9dfce75b2dbd13e9c8aa140c51803b7f3ca6a49 (commit) from afcc2d0962a6f2a867d9022b30635707af3bafce (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-stable - Log - commit 5c89bbd6b53d4a3ab7b84f906ecc7ad8a95b3183 Author: Michael Adam ob...@samba.org Date: Tue Apr 28 12:18:23 2009 +0200 pm_process():raise level of debug message Michael (cherry picked from commit 664da577f931dfd47573d3d77a95afb573fba855) (cherry picked from commit caa1f05420191d934c2ea1c2acaa75702c8e5c2e) commit ea99b6854632c66bef81500e4d6c388351802d48 Author: Michael Adam ob...@samba.org Date: Mon Apr 27 18:10:14 2009 +0200 s3:loadparm: prevent infinite include nesting. This introduces a hard coded MAX_INCLUDE_DEPTH of 100. When this is exceeded, handle_include (and hence lp_load) fails. One could of
[SCM] Samba Shared Repository - annotated tag release-3-3-4 created - release-3-3-4
The annotated tag, release-3-3-4 has been created at 6b22b5eeed4e486257248177bcc4aa0149523f83 (tag) tagging 496c17067753943f3ffe26242ac0abc24ffeb1dc (commit) replaces release-3-3-3 tagged by Karolin Seeger on Wed Apr 29 08:41:56 2009 +0200 - Log - tag release-3-3-4 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) iD8DBQBJ9/a8bzORW2Vot+oRAhRZAJ0Y4XTN9c96IE0fOxiA2SqYohAIAQCfb7tk 4yJHClu7lNTinrexrMLbdA4= =nHb8 -END PGP SIGNATURE- Björn Jacke (1): Ñ3/configure: fix regexp for ld version recognition Guenther Deschner (1): s3-loadparm: Fix resume command typo for printing = vlp. Günther Deschner (13): s3-nsswitch: Fix Bug #6238. Make sure wbcLogoffUserParams are properly initialized before freed. s3-samr: try to to fix password_expired flag handling. s3-nsswitch: Fix Bug #6238 2nd part. zero blob pointer in wbcLogoffUserParams. s3-examples: Fix Bug #6205. Correct sample smb.conf share configuration. s3-net: Fix Bug #5329: add net rpc service delete/create. error-codes: add some service related error codes. netdomjoin-gui: make sure to grey out change fields when not running as root. s3-lsa: Fix Bug #6263. Unexpected LookupSids reply crashes XP pre-SP3. s3-docs: document warn_pwd_expire pam_winbind option in manpage. s3-docs: fix typo in smb.conf.5. s3-test: enable RPC-LSA-LOOKUPSIDS and RPC-JOIN during make test. s3-selftest: test wbinfo --allocate-uid/gid. s3-idmap: Fix bug #6286: Call init function for builtin idmap modules before probing for them as shared modules. Jeremy Allison (8): Allow pdbedit to change a user rid/sid. Based on a fix from Alexander Fix bug #6254 - PUT/GET produces an error in IPv6 to a smb-server(3.3) Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+ When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid. Fix bug found by Tim Prouty, logging off and then re-using a vuid can cause smbd to Add torture tester to ensure we don't regress the ulogoff bug. Fix bug #6279 - winbindd crash. Cope with LDAP libraries returning LDAP_SUCCESS but not returning a result. Add comment explaining the previous fix. Jim McDonough (1): Don't look up local user for remote changes, even when root. John H Terpstra (1): Added ability to revert to old modules for make revert. Karolin Seeger (10): s3/docs: Fix typo. s3/smbconf_reg: Fix typo. s3/gpo_ldap: Fix typo. s3/loadparm: Fiy typos. s3/popt.h: Fix typo. s3/packaging: Add idmap_hash and idmap_adex to the list of built modules. VERSION: Raise version number up to 3.3.4. WHATSNEW: Prepare WHATSNEW for 3.3.4. WHATSNEW: Update planned release date. WHATSNEW: Update changes since 3.3.3. Martin Schwenke (1): In net_conf_import, start a transaction when importing a single share. Michael Adam (2): s3:net conf: don't store share names as lower case, but as given. s3:registry: Prevent creation of keys containing the '/' character. Simo Sorce (2): Avoid duplicate aces Fix profile acls in some corner cases Stefan Metzmacher (3): s3:net_rpc: don't shutdown a cli_state passed from the caller s3:net: add --request-timeout option s3:docs: document the --request-timeout option of net Volker Lendecke (8): Bug #6243. Fix usrmgr.exe creating a user. Use procid_str in debug messages for better cluster-debuggability Use cluster-aware procid_is_me instead of comparing pid's Fix smbd crash for close_on_completion Fix two c++ warnings in vfs_gpfs.c Make some functions static to vfs_gpfs.c Fix a memleak in an unlikely error path in change_notify_create() Do not use the file system GET_REAL_FILENAME for mangled names --- -- Samba Shared Repository
svn commit: samba-web r1291 - in trunk: . devel history
Author: kseeger Date: 2009-04-29 07:20:00 + (Wed, 29 Apr 2009) New Revision: 1291 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=1291 Log: Announce Samba 3.3.4 Karolin Added: trunk/history/samba-3.3.4.html Modified: trunk/devel/index.html trunk/header_columns.html trunk/history/header_history.html trunk/index.html Changeset: Modified: trunk/devel/index.html === --- trunk/devel/index.html 2009-04-29 02:21:02 UTC (rev 1290) +++ trunk/devel/index.html 2009-04-29 07:20:00 UTC (rev 1291) @@ -20,8 +20,8 @@ 3.0.x and 2.2.x versions of Samba, which are no longer in active development. /p -pThe latest production release is emSamba 3.3.3/em (a -href=/samba/history/samba-3.3.3.htmlrelease notes/a and a +pThe latest production release is emSamba 3.3.4/em (a +href=/samba/history/samba-3.3.4.htmlrelease notes/a and a href=/samba/download/download/a)./p pWith the release of version 3 of the GPL, the Samba Team has decided to Modified: trunk/header_columns.html === --- trunk/header_columns.html 2009-04-29 02:21:02 UTC (rev 1290) +++ trunk/header_columns.html 2009-04-29 07:20:00 UTC (rev 1291) @@ -130,9 +130,9 @@ div class=releases h4Current Stable Release/h4 ul -lia href=/samba/ftp/stable/samba-3.3.3.tar.gzSamba 3.3.3 (gzipped)/a/li -lia href=/samba/history/samba-3.3.3.htmlRelease Notes/a/li -lia href=/samba/ftp/stable/samba-3.3.3.tar.ascSignature/a/li +lia href=/samba/ftp/stable/samba-3.3.4.tar.gzSamba 3.3.4 (gzipped)/a/li +lia href=/samba/history/samba-3.3.4.htmlRelease Notes/a/li +lia href=/samba/ftp/stable/samba-3.3.4.tar.ascSignature/a/li /ul h4Historical/h4 Modified: trunk/history/header_history.html === --- trunk/history/header_history.html 2009-04-29 02:21:02 UTC (rev 1290) +++ trunk/history/header_history.html 2009-04-29 07:20:00 UTC (rev 1291) @@ -77,6 +77,7 @@ div class=notes h6Release Notes/h6 ul +lia href=samba-3.3.4.htmlsamba-3.3.4/a/li lia href=samba-3.3.3.htmlsamba-3.3.3/a/li lia href=samba-3.3.2.htmlsamba-3.3.2/a/li lia href=samba-3.3.1.htmlsamba-3.3.1/a/li Added: trunk/history/samba-3.3.4.html === --- trunk/history/samba-3.3.4.html 2009-04-29 02:21:02 UTC (rev 1290) +++ trunk/history/samba-3.3.4.html 2009-04-29 07:20:00 UTC (rev 1291) @@ -0,0 +1,93 @@ +!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; +html xmlns=http://www.w3.org/1999/xhtml; + +head +titleSamba - Release Notes Archive/title +/head + +body + + H2Samba 3.3.4 Available for Download/H2 + +p +pre + = + Release Notes for Samba 3.3.4 + April, 29 2009 + = + + +This is the latest bugfix release of the Samba 3.3 series. + +Major enhancements in Samba 3.3.4 include: + +o Fix domain logins for WinXP clients pre SP3 (bug #6263). +o Fix samr_OpenDomain access checks (bug #6089). +o Fix usrmgr.exe creating a user (bug #6243). + + +## +Changes +### + + +Changes since 3.3.3: + + + +o Michael Adam ob...@samba.org +* net conf: Save share name as given, not as lower case only. +* Prevent creation of registry keys containing the '/' character. + + +o Jeremy Allison j...@samba.org +* BUG 6089: Fix samr_OpenDomain access checks. +* BUG 6254: Fix IPv6 PUT/GET errors to an SMB server (3.3) with + msdfs root set to yes. +* BUG 6279: Fix Winbind crash. +* Allow pdbedit to change a user rid/sid. +* When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid. +* Don't access a freed structure when logging off and re-using a vuid. + + +o Guenther Deschner g...@samba.org +* BUG 5329: Add net rpc service delete/create. +* BUG 6238: Make sure wbcLogoffUserParams are properly initialized before + freed. +* BUG 6263: Fix domain logins for WinXP clients pre SP3. +* BUG 6286: Call init function for builtin idmap modules before probing for + them as shared modules. +* Try to to fix password_expired flag handling. +* Make sure to grey out change fields in the netdomjoin-gui when not + running as root. + + +o Jim McDonough j...@samba.org +* Don't look up local user for remote changes, even when root. + + +o Volker Lendecke v...@samba.org +* BUG 6243: Fix usrmgr.exe creating a user. +* Use procid_str in debug messages for better cluster-debuggability. +* Use cluster-aware procid_is_me instead of comparing pids. +* Fix smbd
[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-832-g502bfe9
The branch, v3-4-test has been updated via 502bfe9352d36ee909d7210a9d0ec0b6c7db5149 (commit) via 480af4e0ead10241aa94f4095c7fa580240fec00 (commit) from 59e75824e81ffb6d05e624a5344123c585998904 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test - Log - commit 502bfe9352d36ee909d7210a9d0ec0b6c7db5149 Author: Michael Adam ob...@samba.org Date: Wed Apr 29 01:49:53 2009 +0200 s3:smbd/service: switch load_registry_service/shares to use loadparm routines instead of reading the registry directly with tdb and activating the configure options by hand. This eliminates the need for repeating checks done in loadparm. For instance it disables registry shares without path in the server as is the case with text based shares. Michael (cherry picked from commit 077bcc11257697b243916fbb02cd72b3a122b9ba) commit 480af4e0ead10241aa94f4095c7fa580240fec00 Author: Michael Adam ob...@samba.org Date: Wed Apr 29 01:31:03 2009 +0200 s3:loadparm: refactor process_registry_service out or process_registry_globals Michael (cherry picked from commit fb3b6576127ce837ac711e87c293d1f4cf97473c) --- Summary of changes: source3/include/proto.h |2 + source3/param/loadparm.c | 38 --- source3/smbd/service.c | 73 ++ 3 files changed, 31 insertions(+), 82 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/include/proto.h b/source3/include/proto.h index 5d665c6..1f883cf 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4256,6 +4256,8 @@ bool lp_string_is_valid_boolean(const char *parm_value); bool lp_invert_boolean(const char *str, const char **inverse_str); bool lp_canonicalize_boolean(const char *str, const char**canon_str); bool service_ok(int iService); +bool process_registry_service(const char *service_name); +bool process_registry_shares(void); bool lp_config_backend_is_registry(void); bool lp_config_backend_is_file(void); bool lp_file_list_changed(void); diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 68a6ca2..27f1dbb 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -6790,10 +6790,10 @@ static bool process_smbconf_service(struct smbconf_service *service) return true; } -/* - * process_registry_globals +/** + * load a service from registry and activate it */ -static bool process_registry_globals(void) +bool process_registry_service(const char *service_name) { WERROR werr; struct smbconf_service *service = NULL; @@ -6805,19 +6805,18 @@ static bool process_registry_globals(void) goto done; } - ret = do_parameter(registry shares, yes, NULL); - if (!ret) { - goto done; - } + DEBUG(5, (process_registry_service: service name %s\n, service_name)); - if (!smbconf_share_exists(conf_ctx, GLOBAL_NAME)) { - /* nothing to read from the registry yet but make sure lp_load -* doesn't return false */ + if (!smbconf_share_exists(conf_ctx, service_name)) { + /* +* Registry does not contain data for this service (yet), +* but make sure lp_load doesn't return false. +*/ ret = true; goto done; } - werr = smbconf_get_share(conf_ctx, mem_ctx, GLOBAL_NAME, service); + werr = smbconf_get_share(conf_ctx, mem_ctx, service_name, service); if (!W_ERROR_IS_OK(werr)) { goto done; } @@ -6835,7 +6834,22 @@ done: return ret; } -static bool process_registry_shares(void) +/* + * process_registry_globals + */ +static bool process_registry_globals(void) +{ + bool ret; + + ret = do_parameter(registry shares, yes, NULL); + if (!ret) { + return ret; + } + + return process_registry_service(GLOBAL_NAME); +} + +bool process_registry_shares(void) { WERROR werr; uint32_t count; diff --git a/source3/smbd/service.c b/source3/smbd/service.c index eb16a26..ab2371c 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -220,16 +220,6 @@ bool set_current_service(connection_struct *conn, uint16 flags, bool do_chdir) static int load_registry_service(const char *servicename) { - struct registry_key *key; - char *path; - WERROR err; - - uint32 i; - char *value_name; - struct registry_value *value; - - int res = -1; - if (!lp_registry_shares()) { return -1; } @@ -242,79 +232,22 @@ static int load_registry_service(const char *servicename) return -2; } - if (asprintf(path, %s\\%s, KEY_SMBCONF, servicename) == -1) {
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1314-g664ff08
The branch, master has been updated via 664ff081cadd29a1e750b349ecb23e8402d977cb (commit) via e89cc775e660183e7126bcfa8fb37496074cf5a1 (commit) from f8cc0e88fbbb082ead023e0cb437b1e12cf35459 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 664ff081cadd29a1e750b349ecb23e8402d977cb Author: Günther Deschner g...@samba.org Date: Wed Apr 29 11:46:43 2009 +0200 s3-docs: document net eventlog in net manpage. Guenther commit e89cc775e660183e7126bcfa8fb37496074cf5a1 Author: Günther Deschner g...@samba.org Date: Wed Apr 29 11:46:12 2009 +0200 s3-net: make net eventlog help output a little more appropriate. Guenther --- Summary of changes: docs-xml/manpages-3/net.8.xml | 59 + source3/utils/net.c |2 +- 2 files changed, 60 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml index 3907f2e..4860fe8 100644 --- a/docs-xml/manpages-3/net.8.xml +++ b/docs-xml/manpages-3/net.8.xml @@ -1582,6 +1582,65 @@ Delete the list of includes from the provided section (global or share). /refsect2 refsect2 +titleEVENTLOG/title + +paraStarting with version 3.4.0 net can read, dump, import and export native +win32 eventlog files (usually *.evt). evt files are used by the native Windows eventviewer tools. +/para + +para +The import and export of evt files can only succeed when parametereventlog list/parameter is used in +emphasissmb.conf/emphasis file. +See the citerefentryrefentrytitlesmb.conf/refentrytitle manvolnum5/manvolnum/citerefentry manpage for details. +/para + +paraThe eventlog commands are: +simplelist +membernet eventlog dump - Dump a eventlog *.evt file on the screen./member +membernet eventlog import - Import a eventlog *.evt into the samba internal +tdb based representation of eventlogs./member +membernet eventlog export - Export the samba internal tdb based representation +of eventlogs into an eventlog *.evt file./member +/simplelist +/para + +refsect3 +titleEVENTLOG DUMP/title + +para +Prints a eventlog *.evt file to standard output. +/para +/refsect3 + +refsect3 +titleEVENTLOG IMPORT replaceablefilename/replaceable replaceableeventlog/replaceable/title + +para +Imports a eventlog *.evt file defined by replaceablefilename/replaceable into the +samba internal tdb representation of eventlog defined by replaceableeventlog/replaceable. +replaceableeventlog/replaceable needs to part of the parametereventlog list/parameter +defined in smb.conf. +See the citerefentryrefentrytitlesmb.conf/refentrytitle manvolnum5/manvolnum/citerefentry manpage for details. +/para + +/refsect3 + +refsect3 +titleEVENTLOG EXPORT replaceablefilename/replaceable replaceableeventlog/replaceable/title + +para +Exports the samba internal tdb representation of eventlog defined by replaceableeventlog/replaceable +to a eventlog *.evt file defined by replaceablefilename/replaceable. +replaceableeventlog/replaceable needs to part of the parametereventlog list/parameter +defined in smb.conf. +See the citerefentryrefentrytitlesmb.conf/refentrytitle manvolnum5/manvolnum/citerefentry manpage for details. +/para + +/refsect3 + +/refsect2 + +refsect2 titleHELP [COMMAND]/title paraGives usage information for the specified command./para diff --git a/source3/utils/net.c b/source3/utils/net.c index bd5107a..9cd41c5 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -593,7 +593,7 @@ static struct functable net_func[] = { { eventlog, net_eventlog, NET_TRANSPORT_LOCAL, - Dump Win32 *.evt eventlog files, + Process Win32 *.evt eventlog files, Use 'net help eventlog' to get more information about 'net eventlog' commands. }, -- Samba Shared Repository
[SCM] SAMBA-CTDB repository - branch v3-2-ctdb updated - build_3.2.11_ctdb.59-8-g8a75176
The branch, v3-2-ctdb has been updated via 8a75176ef775b0222189ad29d19f43488f412d3b (commit) via e8d8ffa5f926b8beed6049dfed13ecc8b81e669e (commit) via 829374538db8733635b4c3848454faddfe87c691 (commit) from 993608e2fa84e43b8195a53e2c3f2024f0e92b8e (commit) http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-2-ctdb - Log - commit 8a75176ef775b0222189ad29d19f43488f412d3b Author: Michael Adam ob...@samba.org Date: Wed Apr 29 01:49:53 2009 +0200 s3:smbd/service: switch load_registry_service/shares to use loadparm routines instead of reading the registry directly with tdb and activating the configure options by hand. This eliminates the need for repeating checks done in loadparm. For instance it disables registry shares without path in the server as is the case with text based shares. Michael (cherry picked from commit 077bcc11257697b243916fbb02cd72b3a122b9ba) commit e8d8ffa5f926b8beed6049dfed13ecc8b81e669e Author: Michael Adam ob...@samba.org Date: Wed Apr 29 01:31:03 2009 +0200 s3:loadparm: refactor process_registry_service out or process_registry_globals Michael (cherry picked from commit fb3b6576127ce837ac711e87c293d1f4cf97473c) commit 829374538db8733635b4c3848454faddfe87c691 Author: Michael Adam ob...@samba.org Date: Wed Sep 24 20:31:39 2008 +0200 loadparm: rename process_registry_service() to process_smbconf_service(). There is nothing registry-specific in that function. Michael --- Summary of changes: source/param/loadparm.c | 44 ++- source/smbd/service.c | 73 ++- 2 files changed, 32 insertions(+), 85 deletions(-) Changeset truncated at 500 lines: diff --git a/source/param/loadparm.c b/source/param/loadparm.c index f6f2486..bbdb52c 100644 --- a/source/param/loadparm.c +++ b/source/param/loadparm.c @@ -6508,7 +6508,7 @@ static struct smbconf_ctx *lp_smbconf_ctx(void) return conf_ctx; } -static bool process_registry_service(struct smbconf_service *service) +static bool process_smbconf_service(struct smbconf_service *service) { uint32_t count; bool ret; @@ -6535,10 +6535,10 @@ static bool process_registry_service(struct smbconf_service *service) return true; } -/* - * process_registry_globals +/** + * load a service from registry and activate it */ -static bool process_registry_globals(void) +bool process_registry_service(const char *service_name) { WERROR werr; struct smbconf_service *service = NULL; @@ -6550,24 +6550,23 @@ static bool process_registry_globals(void) goto done; } - ret = do_parameter(registry shares, yes, NULL); - if (!ret) { - goto done; - } + DEBUG(5, (process_registry_service: service name %s\n, service_name)); - if (!smbconf_share_exists(conf_ctx, GLOBAL_NAME)) { - /* nothing to read from the registry yet but make sure lp_load -* doesn't return false */ + if (!smbconf_share_exists(conf_ctx, service_name)) { + /* +* Registry does not contain data for this service (yet), +* but make sure lp_load doesn't return false. +*/ ret = true; goto done; } - werr = smbconf_get_share(conf_ctx, mem_ctx, GLOBAL_NAME, service); + werr = smbconf_get_share(conf_ctx, mem_ctx, service_name, service); if (!W_ERROR_IS_OK(werr)) { goto done; } - ret = process_registry_service(service); + ret = process_smbconf_service(service); if (!ret) { goto done; } @@ -6580,7 +6579,22 @@ done: return ret; } -static bool process_registry_shares(void) +/* + * process_registry_globals + */ +static bool process_registry_globals(void) +{ + bool ret; + + ret = do_parameter(registry shares, yes, NULL); + if (!ret) { + return ret; + } + + return process_registry_service(GLOBAL_NAME); +} + +bool process_registry_shares(void) { WERROR werr; uint32_t count; @@ -6605,7 +6619,7 @@ static bool process_registry_shares(void) if (strequal(service[count]-name, GLOBAL_NAME)) { continue; } - ret = process_registry_service(service[count]); + ret = process_smbconf_service(service[count]); if (!ret) { goto done; } diff --git a/source/smbd/service.c b/source/smbd/service.c index 1c8ffbd..f463e45 100644 --- a/source/smbd/service.c +++ b/source/smbd/service.c @@ -221,16 +221,6 @@ bool set_current_service(connection_struct *conn, uint16
[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-834-g65d4acd
The branch, v3-4-test has been updated via 65d4acdb1b7f9cd78d38c23a00267688dc156da6 (commit) via e26efbd2c8a49012383032fef07cddec76561aa3 (commit) from 502bfe9352d36ee909d7210a9d0ec0b6c7db5149 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test - Log - commit 65d4acdb1b7f9cd78d38c23a00267688dc156da6 Author: Günther Deschner g...@samba.org Date: Wed Apr 29 11:46:43 2009 +0200 s3-docs: document net eventlog in net manpage. Guenther (cherry picked from commit 664ff081cadd29a1e750b349ecb23e8402d977cb) commit e26efbd2c8a49012383032fef07cddec76561aa3 Author: Günther Deschner g...@samba.org Date: Wed Apr 29 11:46:12 2009 +0200 s3-net: make net eventlog help output a little more appropriate. Guenther (cherry picked from commit e89cc775e660183e7126bcfa8fb37496074cf5a1) --- Summary of changes: docs-xml/manpages-3/net.8.xml | 59 + source3/utils/net.c |2 +- 2 files changed, 60 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml index 826b916..477c3d8 100644 --- a/docs-xml/manpages-3/net.8.xml +++ b/docs-xml/manpages-3/net.8.xml @@ -1582,6 +1582,65 @@ Delete the list of includes from the provided section (global or share). /refsect2 refsect2 +titleEVENTLOG/title + +paraStarting with version 3.4.0 net can read, dump, import and export native +win32 eventlog files (usually *.evt). evt files are used by the native Windows eventviewer tools. +/para + +para +The import and export of evt files can only succeed when parametereventlog list/parameter is used in +emphasissmb.conf/emphasis file. +See the citerefentryrefentrytitlesmb.conf/refentrytitle manvolnum5/manvolnum/citerefentry manpage for details. +/para + +paraThe eventlog commands are: +simplelist +membernet eventlog dump - Dump a eventlog *.evt file on the screen./member +membernet eventlog import - Import a eventlog *.evt into the samba internal +tdb based representation of eventlogs./member +membernet eventlog export - Export the samba internal tdb based representation +of eventlogs into an eventlog *.evt file./member +/simplelist +/para + +refsect3 +titleEVENTLOG DUMP/title + +para +Prints a eventlog *.evt file to standard output. +/para +/refsect3 + +refsect3 +titleEVENTLOG IMPORT replaceablefilename/replaceable replaceableeventlog/replaceable/title + +para +Imports a eventlog *.evt file defined by replaceablefilename/replaceable into the +samba internal tdb representation of eventlog defined by replaceableeventlog/replaceable. +replaceableeventlog/replaceable needs to part of the parametereventlog list/parameter +defined in smb.conf. +See the citerefentryrefentrytitlesmb.conf/refentrytitle manvolnum5/manvolnum/citerefentry manpage for details. +/para + +/refsect3 + +refsect3 +titleEVENTLOG EXPORT replaceablefilename/replaceable replaceableeventlog/replaceable/title + +para +Exports the samba internal tdb representation of eventlog defined by replaceableeventlog/replaceable +to a eventlog *.evt file defined by replaceablefilename/replaceable. +replaceableeventlog/replaceable needs to part of the parametereventlog list/parameter +defined in smb.conf. +See the citerefentryrefentrytitlesmb.conf/refentrytitle manvolnum5/manvolnum/citerefentry manpage for details. +/para + +/refsect3 + +/refsect2 + +refsect2 titleHELP [COMMAND]/title paraGives usage information for the specified command./para diff --git a/source3/utils/net.c b/source3/utils/net.c index 77662ef..d58858c 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -586,7 +586,7 @@ static struct functable net_func[] = { { eventlog, net_eventlog, NET_TRANSPORT_LOCAL, - Dump Win32 *.evt eventlog files, + Process Win32 *.evt eventlog files, Use 'net help eventlog' to get more information about 'net eventlog' commands. }, -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-837-g41dae82
The branch, v3-4-test has been updated via 41dae8256c9557ae7a00b1282a0eb05d4f36 (commit) via c3f1cbd26792928970b6a60d82746719fea688d7 (commit) via d845a971ee32c8e9adb4717abe546355eb7153c9 (commit) from 65d4acdb1b7f9cd78d38c23a00267688dc156da6 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test - Log - commit 41dae8256c9557ae7a00b1282a0eb05d4f36 Author: Günther Deschner g...@samba.org Date: Tue Apr 14 00:01:03 2009 +0200 s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 6. Guenther (cherry picked from commit 6900d61d369961e0c11e590ccdc102169f21cef3) commit c3f1cbd26792928970b6a60d82746719fea688d7 Author: Günther Deschner g...@samba.org Date: Tue Apr 14 00:00:37 2009 +0200 s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 5. Guenther (cherry picked from commit 5e563ee508d0b3cc87d72ad52d777946ee0537b1) commit d845a971ee32c8e9adb4717abe546355eb7153c9 Author: Günther Deschner g...@samba.org Date: Mon Apr 13 23:58:59 2009 +0200 s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 4. Guenther (cherry picked from commit d76837f6da2cf735d2b18c97f3b46ae2f04b750d) --- Summary of changes: source3/rpc_server/srv_spoolss_nt.c | 187 ++- 1 files changed, 186 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index f66c193..fee7383 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -4846,6 +4846,121 @@ static WERROR fill_printer_driver_info3(TALLOC_CTX *mem_ctx, } / + * fill a spoolss_DriverInfo4 struct + / + +static WERROR fill_printer_driver_info4(TALLOC_CTX *mem_ctx, + struct spoolss_DriverInfo4 *r, + const NT_PRINTER_DRIVER_INFO_LEVEL *driver, + const char *servername) +{ + const char *cservername = canon_servername(servername); + + r-version = driver-info_3-cversion; + + r-driver_name = talloc_strdup(mem_ctx, driver-info_3-name); + W_ERROR_HAVE_NO_MEMORY(r-driver_name); + r-architecture = talloc_strdup(mem_ctx, driver-info_3-environment); + W_ERROR_HAVE_NO_MEMORY(r-architecture); + + if (strlen(driver-info_3-driverpath)) { + r-driver_path = talloc_asprintf(mem_ctx, %s%s, + cservername, driver-info_3-driverpath); + } else { + r-driver_path = talloc_strdup(mem_ctx, ); + } + W_ERROR_HAVE_NO_MEMORY(r-driver_path); + + if (strlen(driver-info_3-datafile)) { + r-data_file= talloc_asprintf(mem_ctx, %s%s, + cservername, driver-info_3-datafile); + } else { + r-data_file= talloc_strdup(mem_ctx, ); + } + W_ERROR_HAVE_NO_MEMORY(r-data_file); + + if (strlen(driver-info_3-configfile)) { + r-config_file = talloc_asprintf(mem_ctx, %s%s, + cservername, driver-info_3-configfile); + } else { + r-config_file = talloc_strdup(mem_ctx, ); + } + W_ERROR_HAVE_NO_MEMORY(r-config_file); + + if (strlen(driver-info_3-helpfile)) { + r-help_file= talloc_asprintf(mem_ctx, %s%s, + cservername, driver-info_3-helpfile); + } else { + r-help_file= talloc_strdup(mem_ctx, ); + } + W_ERROR_HAVE_NO_MEMORY(r-help_file); + + r-dependent_files = string_array_from_driver_info(mem_ctx, + driver-info_3-dependentfiles, + cservername); + + + r-monitor_name = talloc_strdup(mem_ctx, driver-info_3-monitorname); + W_ERROR_HAVE_NO_MEMORY(r-monitor_name); + r-default_datatype = talloc_strdup(mem_ctx, driver-info_3-defaultdatatype); + W_ERROR_HAVE_NO_MEMORY(r-default_datatype); + + r-previous_names = string_array_from_driver_info(mem_ctx, + NULL, + cservername); + + return WERR_OK; +} + +/ + * fill a spoolss_DriverInfo5 struct + / + +static WERROR fill_printer_driver_info5(TALLOC_CTX *mem_ctx, +
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1315-gb6eab68
The branch, master has been updated via b6eab68c20f0914cb946f05ebae2faba67f32806 (commit) from 664ff081cadd29a1e750b349ecb23e8402d977cb (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit b6eab68c20f0914cb946f05ebae2faba67f32806 Author: Karolin Seeger ksee...@samba.org Date: Wed Apr 29 12:38:28 2009 +0200 s3/docs: Remove documentation of use kerberos keytab. This parameter has been removed with d96248a9b4655. Karolin --- Summary of changes: docs-xml/smbdotconf/security/usekerberoskeytab.xml | 23 1 files changed, 0 insertions(+), 23 deletions(-) delete mode 100644 docs-xml/smbdotconf/security/usekerberoskeytab.xml Changeset truncated at 500 lines: diff --git a/docs-xml/smbdotconf/security/usekerberoskeytab.xml b/docs-xml/smbdotconf/security/usekerberoskeytab.xml deleted file mode 100644 index ad6cc88..000 --- a/docs-xml/smbdotconf/security/usekerberoskeytab.xml +++ /dev/null @@ -1,23 +0,0 @@ -samba:parameter name=use kerberos keytab - context=G -type=boolean - xmlns:samba=http://www.samba.org/samba/DTD/samba-doc; -description - para - Specifies whether Samba should attempt to maintain service principals in the systems - keytab file for constanthost/FQDN/constant and constantcifs/FQDN/constant. - /para - - para - When you are using the heimdal Kerberos libraries, you must also specify the following in - filename/etc/krb5.conf/filename: -programlisting -[libdefaults] -default_keytab_name = FILE:/etc/krb5.keytab -/programlisting - /para - -/description - -value type=defaultFalse/value -/samba:parameter -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-839-g245b859
The branch, v3-4-test has been updated via 245b859dfb0e1de4c453cf9de97e6d50b163daa4 (commit) via 644d45ef4878e396fe62918e35e7103465eeb971 (commit) from 41dae8256c9557ae7a00b1282a0eb05d4f36 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test - Log - commit 245b859dfb0e1de4c453cf9de97e6d50b163daa4 Author: Karolin Seeger ksee...@samba.org Date: Wed Apr 29 12:45:39 2009 +0200 WHATSNEW: Update WHATSNEW. Karolin commit 644d45ef4878e396fe62918e35e7103465eeb971 Author: Karolin Seeger ksee...@samba.org Date: Wed Apr 29 12:38:28 2009 +0200 s3/docs: Remove documentation of use kerberos keytab. This parameter has been removed with d96248a9b4655. Karolin (cherry picked from commit b6eab68c20f0914cb946f05ebae2faba67f32806) --- Summary of changes: WHATSNEW.txt | 56 ++-- docs-xml/smbdotconf/security/usekerberoskeytab.xml | 23 2 files changed, 51 insertions(+), 28 deletions(-) delete mode 100644 docs-xml/smbdotconf/security/usekerberoskeytab.xml Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 2cd22c1..b13fef7 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -1,6 +1,6 @@ = Release Notes for Samba 3.4.0pre1 - + April 30, 2009 = @@ -18,12 +18,18 @@ o Samba4 and Samba3 sources are included in the tarball Authentication Changes: o Changed the way smbd handles untrusted domain names given during user - authentication + authentication. + +Printing Changes: +o Support for Windows Vista Printer Change Notification has been added. +o Various fixes for Samba spoolss print server. Internal changes: -o The ntsvcs, svcctl, eventlog and spoolss subsystems have been converted - to IDL. +o The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog + and spoolss) were replaced by autogenerated code based on PIDL. o Samba3 and Samba4 do now share a common tevent library. +o The code has been cleaned up and the major basic interfaces are shared with + Samba4 now. General Changes @@ -63,10 +69,21 @@ parameter map untrusted to domain can be enabled to revert to the legacy behavior. +Printing Changes + + +Support for Windows Vista Printer Change Notification has been added to Samba. + +The spoolss was replaced by autogenerated code based on PIDL. That fixes +several printing issues on Samba print servers and will stabilize the printing +functionality generally. + + Internal Changes -The ntsvcs, svcctl, eventlog and spoolss subsystems have been converted to IDL. +The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog and +spoolss) were replaced by autogenerated code based on PIDL. So Günther Deschner finally corrected one of the biggest mistakes in the development of Samba: Hand-marshalled RPC stubs. @@ -74,6 +91,35 @@ Thanks a lot! :-) Samba3 and Samba4 do now share a common tevent library for fd and timer events. +The code has been cleaned up and Samba3 and Samba4 do share the major basic +interfaces now. That is why the libraries were moved to the toplevel directory. +That is one of the first steps to share code and minimize the gap between +these two versions. + + +## +Changes +### + +smb.conf changes + + + Parameter Name Description Default + -- --- --- + access based share enumNew No + dedicated keytab file New + kerberos methodNew default + map untrusted to domainNew No + max open files Changed Default auto detected + perfcount module New + use kerberos keytabRemoved + + +New [sub]commands +- + + net eventlog + ## Reporting bugs Development Discussion diff --git a/docs-xml/smbdotconf/security/usekerberoskeytab.xml b/docs-xml/smbdotconf/security/usekerberoskeytab.xml deleted file mode 100644 index ad6cc88..000 --- a/docs-xml/smbdotconf/security/usekerberoskeytab.xml +++ /dev/null @@ -1,23 +0,0 @@ -samba:parameter name=use kerberos keytab - context=G -type=boolean - xmlns:samba=http://www.samba.org/samba/DTD/samba-doc; -description - para - Specifies whether Samba should attempt to maintain service principals in the systems - keytab file for
[SCM] Samba Shared Repository - branch v3-4-stable updated - release-4-0-0alpha7-836-g7084334
The branch, v3-4-stable has been updated via 7084334171746f6698c02037b9d71a5466d23f2f (commit) via 80c20a1cd287edd945dd3d9e5783824a613b3c41 (commit) via 8a3db2f6d5c3e2909888dc467d1034d688fb0620 (commit) via be297520dabf9e9877a7375f54b503388df4ebb1 (commit) via ce3abef6d4fa6441af9ba8a9104d9d44439109d3 (commit) via 6728bc093237aa45605daec5a2daf42e5f888fda (commit) via c417aa473fb37022d45b87ae9931b46d67a2bbfd (commit) via f29ab6bbb7309ce25df6a68d64d443bd54533411 (commit) via 6950d7b0302a70bc62ff1eeb3cf16e220523d1c7 (commit) via 1d1786bdb58569ea710740f45aca61119ecfa8ae (commit) via 49fdd2055ca6f68fd32f69e5dd3ee3ce047cc2cb (commit) from 5c89bbd6b53d4a3ab7b84f906ecc7ad8a95b3183 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-stable - Log - commit 7084334171746f6698c02037b9d71a5466d23f2f Author: Karolin Seeger ksee...@samba.org Date: Wed Apr 29 12:45:39 2009 +0200 WHATSNEW: Update WHATSNEW. Karolin (cherry picked from commit 245b859dfb0e1de4c453cf9de97e6d50b163daa4) commit 80c20a1cd287edd945dd3d9e5783824a613b3c41 Author: Karolin Seeger ksee...@samba.org Date: Wed Apr 29 12:38:28 2009 +0200 s3/docs: Remove documentation of use kerberos keytab. This parameter has been removed with d96248a9b4655. Karolin (cherry picked from commit b6eab68c20f0914cb946f05ebae2faba67f32806) (cherry picked from commit 644d45ef4878e396fe62918e35e7103465eeb971) commit 8a3db2f6d5c3e2909888dc467d1034d688fb0620 Author: Günther Deschner g...@samba.org Date: Tue Apr 14 00:01:03 2009 +0200 s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 6. Guenther (cherry picked from commit 6900d61d369961e0c11e590ccdc102169f21cef3) (cherry picked from commit 41dae8256c9557ae7a00b1282a0eb05d4f36) commit be297520dabf9e9877a7375f54b503388df4ebb1 Author: Günther Deschner g...@samba.org Date: Tue Apr 14 00:00:37 2009 +0200 s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 5. Guenther (cherry picked from commit 5e563ee508d0b3cc87d72ad52d777946ee0537b1) (cherry picked from commit c3f1cbd26792928970b6a60d82746719fea688d7) commit ce3abef6d4fa6441af9ba8a9104d9d44439109d3 Author: Günther Deschner g...@samba.org Date: Mon Apr 13 23:58:59 2009 +0200 s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 4. Guenther (cherry picked from commit d76837f6da2cf735d2b18c97f3b46ae2f04b750d) (cherry picked from commit d845a971ee32c8e9adb4717abe546355eb7153c9) commit 6728bc093237aa45605daec5a2daf42e5f888fda Author: Günther Deschner g...@samba.org Date: Wed Apr 29 11:46:43 2009 +0200 s3-docs: document net eventlog in net manpage. Guenther (cherry picked from commit 664ff081cadd29a1e750b349ecb23e8402d977cb) (cherry picked from commit 65d4acdb1b7f9cd78d38c23a00267688dc156da6) commit c417aa473fb37022d45b87ae9931b46d67a2bbfd Author: Günther Deschner g...@samba.org Date: Wed Apr 29 11:46:12 2009 +0200 s3-net: make net eventlog help output a little more appropriate. Guenther (cherry picked from commit e89cc775e660183e7126bcfa8fb37496074cf5a1) (cherry picked from commit e26efbd2c8a49012383032fef07cddec76561aa3) commit f29ab6bbb7309ce25df6a68d64d443bd54533411 Author: Michael Adam ob...@samba.org Date: Wed Apr 29 01:49:53 2009 +0200 s3:smbd/service: switch load_registry_service/shares to use loadparm routines instead of reading the registry directly with tdb and activating the configure options by hand. This eliminates the need for repeating checks done in loadparm. For instance it disables registry shares without path in the server as is the case with text based shares. Michael (cherry picked from commit 077bcc11257697b243916fbb02cd72b3a122b9ba) (cherry picked from commit 502bfe9352d36ee909d7210a9d0ec0b6c7db5149) commit 6950d7b0302a70bc62ff1eeb3cf16e220523d1c7 Author: Michael Adam ob...@samba.org Date: Wed Apr 29 01:31:03 2009 +0200 s3:loadparm: refactor process_registry_service out or process_registry_globals Michael (cherry picked from commit fb3b6576127ce837ac711e87c293d1f4cf97473c) (cherry picked from commit 480af4e0ead10241aa94f4095c7fa580240fec00) commit 1d1786bdb58569ea710740f45aca61119ecfa8ae Author: Günther Deschner g...@samba.org Date: Wed Apr 29 01:55:09 2009 +0200 samr: fix samr_ConnectVersion enum which is 32bit not 16bit. Volker, please check. Rafal, haven't we seen this in your tests at sambaxp as well ? Guenther (cherry picked from commit 67ca76c288eb095ae59e98927317d51c96c89551) (cherry picked from commit 59e75824e81ffb6d05e624a5344123c585998904) commit 49fdd2055ca6f68fd32f69e5dd3ee3ce047cc2cb Author: Günther Deschner g...@samba.org Date: Wed Apr 29
[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-840-g3da6273
The branch, v3-4-test has been updated via 3da62734fffa99cde1084beeb69e94a7bc623dde (commit) from 245b859dfb0e1de4c453cf9de97e6d50b163daa4 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test - Log - commit 3da62734fffa99cde1084beeb69e94a7bc623dde Author: Karolin Seeger ksee...@samba.org Date: Wed Apr 29 14:12:01 2009 +0200 s3/docs: Fix serveral typos. This fixes bug #4315. Thanks to Felipe Augusto van de Wiel faw [at] cathedrallabs [dot] org! Karolin (cherry picked from commit 3422b9c546cdd262bd747e1e737c2b6479b4d21e) --- Summary of changes: docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml index 957abbf..8659437 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml @@ -757,7 +757,7 @@ Samba-3 introduces a number of new password backend capabilities. indextermprimarytrust accounts/primary/indexterm The POSIX and sambaSamAccount components of computer (machine) accounts are both used by Samba. Thus, machine accounts are treated inside Samba in the same way that Windows NT4/200X treats - them. A user account and a machine account are indistinquishable from each other, except that + them. A user account and a machine account are indistinguishable from each other, except that the machine account ends in a $ character, as do trust accounts. /para @@ -1050,7 +1050,7 @@ is being added to the commandnet/command toolset (see link linkend=NetComm entrypara0/para/entry /row row - entryparaMimimum Password Length/para/entry + entryparaMinimum Password Length/para/entry entryparamin password length/para/entry entrypara1 - 14 (Chars)/para/entry entrypara0 - 4294967295 (Chars)/para/entry @@ -1615,7 +1615,7 @@ account policy value for password history is now 4 rootprompt; pdbedit -P maximum password age -C 7776000 account policy value for maximum password age was 4294967295 account policy value for maximum password age is now 7776000 -rootprompt; pdbedit -P minimum password age -C 7 +rootprompt; pdbedit -P minimum password age -C 604800 account policy value for minimum password age was 0 account policy value for minimum password age is now 7 rootprompt; pdbedit -P bad lockout attempt -C 8 @@ -1735,7 +1735,7 @@ to be removed. listitempara indextermprimarylookups/primary/indexterm The first problem is that all lookups must be performed sequentially. Given that - there are approximately two lookups per domain logon (one during intial logon validation + there are approximately two lookups per domain logon (one during initial logon validation and one for a session connection setup, such as when mapping a network drive or printer), this is a performance bottleneck for large sites. What is needed is an indexed approach such as that used in databases. @@ -2626,7 +2626,7 @@ sambaNTPassword: 878D8014606CDA29677A44EFA1353FC7 /sect3 sect3 - titleUsing OpenLDAP Overlay for Password Syncronization/title + titleUsing OpenLDAP Overlay for Password Synchronization/title para Howard Chu has written a special overlay called commandsmbk5pwd/command. This tool modifies the -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-5239-gb487a48
The branch, v3-3-test has been updated via b487a48c876fcaf88ec3fb4b05bacdd9b0bd8cd0 (commit) from 48d0ae00fa449a8368310b5edac708e8a3b97a3c (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit b487a48c876fcaf88ec3fb4b05bacdd9b0bd8cd0 Author: Karolin Seeger ksee...@samba.org Date: Wed Apr 29 14:12:01 2009 +0200 s3/docs: Fix serveral typos. This fixes bug #4315. Thanks to Felipe Augusto van de Wiel faw [at] cathedrallabs [dot] org! Karolin (cherry picked from commit 3422b9c546cdd262bd747e1e737c2b6479b4d21e) (cherry picked from commit 3da62734fffa99cde1084beeb69e94a7bc623dde) --- Summary of changes: docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml index 957abbf..8659437 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml @@ -757,7 +757,7 @@ Samba-3 introduces a number of new password backend capabilities. indextermprimarytrust accounts/primary/indexterm The POSIX and sambaSamAccount components of computer (machine) accounts are both used by Samba. Thus, machine accounts are treated inside Samba in the same way that Windows NT4/200X treats - them. A user account and a machine account are indistinquishable from each other, except that + them. A user account and a machine account are indistinguishable from each other, except that the machine account ends in a $ character, as do trust accounts. /para @@ -1050,7 +1050,7 @@ is being added to the commandnet/command toolset (see link linkend=NetComm entrypara0/para/entry /row row - entryparaMimimum Password Length/para/entry + entryparaMinimum Password Length/para/entry entryparamin password length/para/entry entrypara1 - 14 (Chars)/para/entry entrypara0 - 4294967295 (Chars)/para/entry @@ -1615,7 +1615,7 @@ account policy value for password history is now 4 rootprompt; pdbedit -P maximum password age -C 7776000 account policy value for maximum password age was 4294967295 account policy value for maximum password age is now 7776000 -rootprompt; pdbedit -P minimum password age -C 7 +rootprompt; pdbedit -P minimum password age -C 604800 account policy value for minimum password age was 0 account policy value for minimum password age is now 7 rootprompt; pdbedit -P bad lockout attempt -C 8 @@ -1735,7 +1735,7 @@ to be removed. listitempara indextermprimarylookups/primary/indexterm The first problem is that all lookups must be performed sequentially. Given that - there are approximately two lookups per domain logon (one during intial logon validation + there are approximately two lookups per domain logon (one during initial logon validation and one for a session connection setup, such as when mapping a network drive or printer), this is a performance bottleneck for large sites. What is needed is an indexed approach such as that used in databases. @@ -2626,7 +2626,7 @@ sambaNTPassword: 878D8014606CDA29677A44EFA1353FC7 /sect3 sect3 - titleUsing OpenLDAP Overlay for Password Syncronization/title + titleUsing OpenLDAP Overlay for Password Synchronization/title para Howard Chu has written a special overlay called commandsmbk5pwd/command. This tool modifies the -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3568-gccea7f2
The branch, v3-2-test has been updated via ccea7f24879265291615802982b67451ddb818ad (commit) from 679be14a080dfcbbbc9403ff0fc67b61073a357e (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit ccea7f24879265291615802982b67451ddb818ad Author: Karolin Seeger ksee...@samba.org Date: Wed Apr 29 14:12:01 2009 +0200 s3/docs: Fix serveral typos. This fixes bug #4315. Thanks to Felipe Augusto van de Wiel faw [at] cathedrallabs [dot] org! Karolin (cherry picked from commit 3422b9c546cdd262bd747e1e737c2b6479b4d21e) (cherry picked from commit 3da62734fffa99cde1084beeb69e94a7bc623dde) (cherry picked from commit b487a48c876fcaf88ec3fb4b05bacdd9b0bd8cd0) --- Summary of changes: docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml index 957abbf..8659437 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml @@ -757,7 +757,7 @@ Samba-3 introduces a number of new password backend capabilities. indextermprimarytrust accounts/primary/indexterm The POSIX and sambaSamAccount components of computer (machine) accounts are both used by Samba. Thus, machine accounts are treated inside Samba in the same way that Windows NT4/200X treats - them. A user account and a machine account are indistinquishable from each other, except that + them. A user account and a machine account are indistinguishable from each other, except that the machine account ends in a $ character, as do trust accounts. /para @@ -1050,7 +1050,7 @@ is being added to the commandnet/command toolset (see link linkend=NetComm entrypara0/para/entry /row row - entryparaMimimum Password Length/para/entry + entryparaMinimum Password Length/para/entry entryparamin password length/para/entry entrypara1 - 14 (Chars)/para/entry entrypara0 - 4294967295 (Chars)/para/entry @@ -1615,7 +1615,7 @@ account policy value for password history is now 4 rootprompt; pdbedit -P maximum password age -C 7776000 account policy value for maximum password age was 4294967295 account policy value for maximum password age is now 7776000 -rootprompt; pdbedit -P minimum password age -C 7 +rootprompt; pdbedit -P minimum password age -C 604800 account policy value for minimum password age was 0 account policy value for minimum password age is now 7 rootprompt; pdbedit -P bad lockout attempt -C 8 @@ -1735,7 +1735,7 @@ to be removed. listitempara indextermprimarylookups/primary/indexterm The first problem is that all lookups must be performed sequentially. Given that - there are approximately two lookups per domain logon (one during intial logon validation + there are approximately two lookups per domain logon (one during initial logon validation and one for a session connection setup, such as when mapping a network drive or printer), this is a performance bottleneck for large sites. What is needed is an indexed approach such as that used in databases. @@ -2626,7 +2626,7 @@ sambaNTPassword: 878D8014606CDA29677A44EFA1353FC7 /sect3 sect3 - titleUsing OpenLDAP Overlay for Password Syncronization/title + titleUsing OpenLDAP Overlay for Password Synchronization/title para Howard Chu has written a special overlay called commandsmbk5pwd/command. This tool modifies the -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1316-g3422b9c
The branch, master has been updated via 3422b9c546cdd262bd747e1e737c2b6479b4d21e (commit) from b6eab68c20f0914cb946f05ebae2faba67f32806 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 3422b9c546cdd262bd747e1e737c2b6479b4d21e Author: Karolin Seeger ksee...@samba.org Date: Wed Apr 29 14:12:01 2009 +0200 s3/docs: Fix serveral typos. This fixes bug #4315. Thanks to Felipe Augusto van de Wiel faw [at] cathedrallabs [dot] org! Karolin --- Summary of changes: docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml index 957abbf..8659437 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml @@ -757,7 +757,7 @@ Samba-3 introduces a number of new password backend capabilities. indextermprimarytrust accounts/primary/indexterm The POSIX and sambaSamAccount components of computer (machine) accounts are both used by Samba. Thus, machine accounts are treated inside Samba in the same way that Windows NT4/200X treats - them. A user account and a machine account are indistinquishable from each other, except that + them. A user account and a machine account are indistinguishable from each other, except that the machine account ends in a $ character, as do trust accounts. /para @@ -1050,7 +1050,7 @@ is being added to the commandnet/command toolset (see link linkend=NetComm entrypara0/para/entry /row row - entryparaMimimum Password Length/para/entry + entryparaMinimum Password Length/para/entry entryparamin password length/para/entry entrypara1 - 14 (Chars)/para/entry entrypara0 - 4294967295 (Chars)/para/entry @@ -1615,7 +1615,7 @@ account policy value for password history is now 4 rootprompt; pdbedit -P maximum password age -C 7776000 account policy value for maximum password age was 4294967295 account policy value for maximum password age is now 7776000 -rootprompt; pdbedit -P minimum password age -C 7 +rootprompt; pdbedit -P minimum password age -C 604800 account policy value for minimum password age was 0 account policy value for minimum password age is now 7 rootprompt; pdbedit -P bad lockout attempt -C 8 @@ -1735,7 +1735,7 @@ to be removed. listitempara indextermprimarylookups/primary/indexterm The first problem is that all lookups must be performed sequentially. Given that - there are approximately two lookups per domain logon (one during intial logon validation + there are approximately two lookups per domain logon (one during initial logon validation and one for a session connection setup, such as when mapping a network drive or printer), this is a performance bottleneck for large sites. What is needed is an indexed approach such as that used in databases. @@ -2626,7 +2626,7 @@ sambaNTPassword: 878D8014606CDA29677A44EFA1353FC7 /sect3 sect3 - titleUsing OpenLDAP Overlay for Password Syncronization/title + titleUsing OpenLDAP Overlay for Password Synchronization/title para Howard Chu has written a special overlay called commandsmbk5pwd/command. This tool modifies the -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1317-g3316ae9
The branch, master has been updated via 3316ae9d75dfe6c7a960938c9503367880510079 (commit) from 3422b9c546cdd262bd747e1e737c2b6479b4d21e (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 3316ae9d75dfe6c7a960938c9503367880510079 Author: Günther Deschner g...@samba.org Date: Wed Apr 29 14:29:25 2009 +0200 s3-test: make it possible to find the built vlp in make test. Guenther --- Summary of changes: source3/script/tests/selftest.sh | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index 60b71a5..15a0c06 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -254,7 +254,15 @@ cat $SERVERCONFFILEEOF [print1] copy = tmp printable = yes - printing = test + printing = vlp + print command = $BINDIR/vlp print %p %s + lpq command = $BINDIR/vlp lpq %p + lp rm command = $BINDIR/vlp lprm %p %j + lp pause command = $BINDIR/vlp lppause %p %j + lp resume command = $BINDIR/vlp lpresume %p %j + queue pause command = $BINDIR/vlp queuepause %p + queue resume command = $BINDIR/vlp queueresume %p + [print2] copy = print1 [print3] -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-842-g0146649
The branch, v3-4-test has been updated via 0146649cf95ad27a583057df300fe5712b89e806 (commit) via f51a4b95b472496f58759dae75ff1369324c0a29 (commit) from 3da62734fffa99cde1084beeb69e94a7bc623dde (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test - Log - commit 0146649cf95ad27a583057df300fe5712b89e806 Author: Günther Deschner g...@samba.org Date: Wed Apr 29 14:29:25 2009 +0200 s3-test: make it possible to find the built vlp in make test. Guenther (cherry picked from commit 3316ae9d75dfe6c7a960938c9503367880510079) commit f51a4b95b472496f58759dae75ff1369324c0a29 Author: Jelmer Vernooij jel...@samba.org Date: Wed Apr 22 23:54:10 2009 +0200 Specify explicit path to vlp, for those not having vlp in $PATH. (cherry picked from commit 79177c1d36e125b08aa4d6e0e42e9a97f625b3c8) --- Summary of changes: selftest/target/Samba3.pm| 10 +- source3/script/tests/selftest.sh | 10 +- 2 files changed, 18 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 96b32cc..d05b5ca 100644 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -503,7 +503,15 @@ sub provision($$) [print1] copy = tmp printable = yes - printing = test + printing = vlp + print command = $bindir_abs/vlp print %p %s + lpq command = $bindir_abs/vlp lpq %p + lp rm command = $bindir_abs/vlp lprm %p %j + lp pause command = $bindir_abs/vlp lppause %p %j + lp resume command = $bindir_abs/vlp lpresume %p %j + queue pause command = $bindir_abs/vlp queuepause %p + queue resume command = $bindir_abs/vlp queueresume %p + [print2] copy = print1 [print3] diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index 2fc35f1..708a45b 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -254,7 +254,15 @@ cat $SERVERCONFFILEEOF [print1] copy = tmp printable = yes - printing = test + printing = vlp + print command = $BINDIR/vlp print %p %s + lpq command = $BINDIR/vlp lpq %p + lp rm command = $BINDIR/vlp lprm %p %j + lp pause command = $BINDIR/vlp lppause %p %j + lp resume command = $BINDIR/vlp lpresume %p %j + queue pause command = $BINDIR/vlp queuepause %p + queue resume command = $BINDIR/vlp queueresume %p + [print2] copy = print1 [print3] -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-843-g83c7d86
The branch, v3-4-test has been updated via 83c7d8697a8df92ff1592af9c382f483354eeb0f (commit) from 0146649cf95ad27a583057df300fe5712b89e806 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test - Log - commit 83c7d8697a8df92ff1592af9c382f483354eeb0f Author: Karolin Seeger ksee...@samba.org Date: Wed Apr 29 14:44:59 2009 +0200 WHATSNEW: Correct WHATSNEW. Karolin --- Summary of changes: WHATSNEW.txt | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index b13fef7..14c4f53 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -21,8 +21,8 @@ o Changed the way smbd handles untrusted domain names given during user authentication. Printing Changes: -o Support for Windows Vista Printer Change Notification has been added. -o Various fixes for Samba spoolss print server. +o Various fixes including printer change notificiation for Samba spoolss + print servers. Internal changes: o The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog @@ -72,11 +72,10 @@ behavior. Printing Changes -Support for Windows Vista Printer Change Notification has been added to Samba. - -The spoolss was replaced by autogenerated code based on PIDL. That fixes -several printing issues on Samba print servers and will stabilize the printing -functionality generally. +The spoolss subsystem was replaced by autogenerated code based on PIDL. That fixes +several printing issues including printer change notificiation on Samba print +servers and will stabilize the printing functionality generally. +The support for spoolss printing with Windows Vista has been improved. Internal Changes -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-4-stable updated - release-4-0-0alpha7-840-gf2db08f
The branch, v3-4-stable has been updated via f2db08fca586f626646653855171c45c30be7933 (commit) via a983e988806c747f8c27fec493d6372b52f43743 (commit) via 53b724da1d23a015bd6f4f406c5a9a249bc920f6 (commit) via 90017b070d0f2148a5bb9c2cc73d77b3b4f2dd36 (commit) from 7084334171746f6698c02037b9d71a5466d23f2f (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-stable - Log - commit f2db08fca586f626646653855171c45c30be7933 Author: Karolin Seeger ksee...@samba.org Date: Wed Apr 29 14:44:59 2009 +0200 WHATSNEW: Correct WHATSNEW. Karolin (cherry picked from commit 83c7d8697a8df92ff1592af9c382f483354eeb0f) commit a983e988806c747f8c27fec493d6372b52f43743 Author: Günther Deschner g...@samba.org Date: Wed Apr 29 14:29:25 2009 +0200 s3-test: make it possible to find the built vlp in make test. Guenther (cherry picked from commit 3316ae9d75dfe6c7a960938c9503367880510079) (cherry picked from commit 0146649cf95ad27a583057df300fe5712b89e806) commit 53b724da1d23a015bd6f4f406c5a9a249bc920f6 Author: Jelmer Vernooij jel...@samba.org Date: Wed Apr 22 23:54:10 2009 +0200 Specify explicit path to vlp, for those not having vlp in $PATH. (cherry picked from commit 79177c1d36e125b08aa4d6e0e42e9a97f625b3c8) (cherry picked from commit f51a4b95b472496f58759dae75ff1369324c0a29) commit 90017b070d0f2148a5bb9c2cc73d77b3b4f2dd36 Author: Karolin Seeger ksee...@samba.org Date: Wed Apr 29 14:12:01 2009 +0200 s3/docs: Fix serveral typos. This fixes bug #4315. Thanks to Felipe Augusto van de Wiel faw [at] cathedrallabs [dot] org! Karolin (cherry picked from commit 3422b9c546cdd262bd747e1e737c2b6479b4d21e) (cherry picked from commit 3da62734fffa99cde1084beeb69e94a7bc623dde) --- Summary of changes: WHATSNEW.txt | 13 ++--- docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml | 10 +- selftest/target/Samba3.pm| 10 +- source3/script/tests/selftest.sh | 10 +- 4 files changed, 29 insertions(+), 14 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index b13fef7..14c4f53 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -21,8 +21,8 @@ o Changed the way smbd handles untrusted domain names given during user authentication. Printing Changes: -o Support for Windows Vista Printer Change Notification has been added. -o Various fixes for Samba spoolss print server. +o Various fixes including printer change notificiation for Samba spoolss + print servers. Internal changes: o The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog @@ -72,11 +72,10 @@ behavior. Printing Changes -Support for Windows Vista Printer Change Notification has been added to Samba. - -The spoolss was replaced by autogenerated code based on PIDL. That fixes -several printing issues on Samba print servers and will stabilize the printing -functionality generally. +The spoolss subsystem was replaced by autogenerated code based on PIDL. That fixes +several printing issues including printer change notificiation on Samba print +servers and will stabilize the printing functionality generally. +The support for spoolss printing with Windows Vista has been improved. Internal Changes diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml index 957abbf..8659437 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml @@ -757,7 +757,7 @@ Samba-3 introduces a number of new password backend capabilities. indextermprimarytrust accounts/primary/indexterm The POSIX and sambaSamAccount components of computer (machine) accounts are both used by Samba. Thus, machine accounts are treated inside Samba in the same way that Windows NT4/200X treats - them. A user account and a machine account are indistinquishable from each other, except that + them. A user account and a machine account are indistinguishable from each other, except that the machine account ends in a $ character, as do trust accounts. /para @@ -1050,7 +1050,7 @@ is being added to the commandnet/command toolset (see link linkend=NetComm entrypara0/para/entry /row row - entryparaMimimum Password Length/para/entry + entryparaMinimum Password Length/para/entry entryparamin password length/para/entry entrypara1 - 14 (Chars)/para/entry
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1318-g8aa41bd
The branch, master has been updated via 8aa41bdeb21d087cba1ab20bd2a4bd69cd519881 (commit) from 3316ae9d75dfe6c7a960938c9503367880510079 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 8aa41bdeb21d087cba1ab20bd2a4bd69cd519881 Author: Michael Adam ob...@samba.org Date: Wed Apr 29 16:33:45 2009 +0200 s3:vfs: untangle logic for loading and probing modules in vfs_init_custom() This is to be able to provide more specific error messages. Michael --- Summary of changes: source3/smbd/vfs.c | 34 +++--- 1 files changed, 23 insertions(+), 11 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 4267728..f219e55 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -161,18 +161,30 @@ bool vfs_init_custom(connection_struct *conn, const char *vfs_object) } /* First, try to load the module with the new module system */ - if((entry = vfs_find_backend_entry(module_name)) || - (NT_STATUS_IS_OK(smb_probe_module(vfs, module_path)) - (entry = vfs_find_backend_entry(module_name { - - DEBUGADD(5,(Successfully loaded vfs module [%s] with the new modules system\n, vfs_object)); - - if ((ops = entry-vfs_op_tuples) == NULL) { - DEBUG(0, (entry-vfs_op_tuples==NULL for [%s] failed\n, vfs_object)); + entry = vfs_find_backend_entry(module_name); + if (!entry) { + NTSTATUS status; + + DEBUG(5, (vfs module [%s] not loaded - trying to load...\n, + vfs_object)); + + status = smb_probe_module(vfs, module_path); + if (!NT_STATUS_IS_OK(status)) { + DEBUG(0, (error probing vfs module '%s': %s\n, + module_path, nt_errstr(status))); + goto fail; + } + + entry = vfs_find_backend_entry(module_name); + if (!entry) { + DEBUG(0,(Can't find a vfs module [%s]\n,vfs_object)); goto fail; - } - } else { - DEBUG(0,(Can't find a vfs module [%s]\n,vfs_object)); + } + } + + DEBUGADD(5,(Successfully loaded vfs module [%s] with the new modules system\n, vfs_object)); + if ((ops = entry-vfs_op_tuples) == NULL) { + DEBUG(0, (entry-vfs_op_tuples==NULL for [%s] failed\n, vfs_object)); goto fail; } -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1319-gedd2598
The branch, master has been updated via edd25980b03c5fac154967e51705ac1cdb8d4091 (commit) from 8aa41bdeb21d087cba1ab20bd2a4bd69cd519881 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit edd25980b03c5fac154967e51705ac1cdb8d4091 Author: Jeremy Allison j...@samba.org Date: Wed Apr 29 10:48:16 2009 -0700 More async calls in libsmb/clifile.c Jeremy. --- Summary of changes: source3/client/client.c |2 +- source3/include/proto.h | 19 - source3/libsmb/clifile.c | 220 +++--- 3 files changed, 188 insertions(+), 53 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/client/client.c b/source3/client/client.c index 4735e8c..0271b45 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -3370,7 +3370,7 @@ static int cmd_hardlink(void) return 1; } - if (!cli_nt_hardlink(targetcli, targetname, dest)) { + if (!NT_STATUS_IS_OK(cli_nt_hardlink(targetcli, targetname, dest))) { d_printf(%s doing an NT hard link of files\n,cli_errstr(targetcli)); return 1; } diff --git a/source3/include/proto.h b/source3/include/proto.h index 2eb838f..962215b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2339,10 +2339,25 @@ struct tevent_req *cli_rename_send(TALLOC_CTX *mem_ctx, const char *fname_dst); NTSTATUS cli_rename_recv(struct tevent_req *req); NTSTATUS cli_rename(struct cli_state *cli, const char *fname_src, const char *fname_dst); -bool cli_ntrename(struct cli_state *cli, const char *fname_src, const char *fname_dst); -bool cli_nt_hardlink(struct cli_state *cli, const char *fname_src, const char *fname_dst); +struct tevent_req *cli_ntrename_send(TALLOC_CTX *mem_ctx, +struct event_context *ev, +struct cli_state *cli, +const char *fname_src, +const char *fname_dst); +NTSTATUS cli_ntrename_recv(struct tevent_req *req); +NTSTATUS cli_ntrename(struct cli_state *cli, const char *fname_src, const char *fname_dst); + +struct tevent_req *cli_nt_hardlink_send(TALLOC_CTX *mem_ctx, +struct event_context *ev, +struct cli_state *cli, +const char *fname_src, +const char *fname_dst); +NTSTATUS cli_nt_hardlink_recv(struct tevent_req *req); +NTSTATUS cli_nt_hardlink(struct cli_state *cli, const char *fname_src, const char *fname_dst); + bool cli_unlink_full(struct cli_state *cli, const char *fname, uint16_t attrs); bool cli_unlink(struct cli_state *cli, const char *fname); + struct tevent_req *cli_mkdir_send(TALLOC_CTX *mem_ctx, struct event_context *ev, struct cli_state *cli, diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 97bc4d1..e055a88 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -552,84 +552,204 @@ NTSTATUS cli_rename(struct cli_state *cli, const char *fname_src, const char *fn NT Rename a file. / -bool cli_ntrename(struct cli_state *cli, const char *fname_src, const char *fname_dst) +static void cli_ntrename_done(struct tevent_req *subreq); + +struct cli_ntrename_state { + uint16_t vwv[4]; +}; + +static struct tevent_req *cli_ntrename_send_internal(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct cli_state *cli, + const char *fname_src, + const char *fname_dst, + uint16_t rename_flag) { - char *p; + struct tevent_req *req = NULL, *subreq = NULL; + struct cli_ntrename_state *state = NULL; + uint8_t additional_flags = 0; + uint8_t *bytes = NULL; - memset(cli-outbuf,'\0',smb_size); - memset(cli-inbuf,'\0',smb_size); + req = tevent_req_create(mem_ctx, state, struct cli_ntrename_state); + if (req == NULL) { + return NULL; + } - cli_set_message(cli-outbuf, 4, 0, true); + SSVAL(state-vwv+0, 0 ,aSYSTEM | aHIDDEN | aDIR); + SSVAL(state-vwv+1, 0, rename_flag); - SCVAL(cli-outbuf,smb_com,SMBntrename); - SSVAL(cli-outbuf,smb_tid,cli-cnum); - cli_setup_packet(cli); + bytes = talloc_array(state, uint8_t, 1); + if (tevent_req_nomem(bytes, req)) { + return tevent_req_post(req, ev); + } + bytes[0] = 4; + bytes = smb_bytes_push_str(bytes, cli_ucs2(cli), fname_src, +
Build status as of Thu Apr 30 00:00:02 2009
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2009-04-29 00:01:04.0 + +++ /home/build/master/cache/broken_results.txt 2009-04-30 00:00:41.0 + @@ -1,4 +1,4 @@ -Build status as of Wed Apr 29 00:00:02 2009 +Build status as of Thu Apr 30 00:00:02 2009 Build counts: Tree Total Broken Panic @@ -8,15 +8,15 @@ ldb 29 29 0 libreplace 29 11 0 lorikeet 0 0 0 -pidl 19 3 0 +pidl 18 3 0 ppp 12 0 0 rsync29 10 0 samba-docs 0 0 0 samba-web0 0 0 -samba_3_current 27 19 0 -samba_3_master 28 27 0 -samba_3_next 28 27 0 -samba_4_0_test 29 28 0 +samba_3_current 27 17 0 +samba_3_master 28 28 0 +samba_3_next 28 27 1 +samba_4_0_test 28 28 2 talloc 29 29 0 tdb 27 11 0
[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1320-g370e720
The branch, master has been updated via 370e7209dbafce147a5e9f283d9dcc53c72bce99 (commit) from edd25980b03c5fac154967e51705ac1cdb8d4091 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 370e7209dbafce147a5e9f283d9dcc53c72bce99 Author: Jeremy Allison j...@samba.org Date: Wed Apr 29 18:26:02 2009 -0700 Make cli_unlink async. Jeremy. --- Summary of changes: source3/client/client.c |4 +- source3/include/proto.h |9 ++- source3/libsmb/clifile.c | 117 +-- source3/libsmb/libsmb_dir.c |4 +- source3/torture/denytest.c|8 +- source3/torture/locktest.c|2 +- source3/torture/locktest2.c |2 +- source3/torture/mangle_test.c | 10 +- source3/torture/masktest.c|4 +- source3/torture/nbio.c|2 +- source3/torture/scanner.c |4 +- source3/torture/torture.c | 176 source3/torture/utable.c |8 +- 13 files changed, 210 insertions(+), 140 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/client/client.c b/source3/client/client.c index 0271b45..7dda981 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -2115,7 +2115,7 @@ static void do_del(file_info *finfo, const char *dir) return; } - if (!cli_unlink(finfo-cli, mask)) { + if (!NT_STATUS_IS_OK(cli_unlink(finfo-cli, mask, aSYSTEM | aHIDDEN))) { d_printf(%s deleting remote file %s\n, cli_errstr(finfo-cli),mask); } @@ -2191,7 +2191,7 @@ static int cmd_wdel(void) return 1; } - if (!cli_unlink_full(targetcli, targetname, attribute)) { + if (!NT_STATUS_IS_OK(cli_unlink(targetcli, targetname, attribute))) { d_printf(%s deleting remote files %s\n,cli_errstr(targetcli),targetname); } return 0; diff --git a/source3/include/proto.h b/source3/include/proto.h index 962215b..11fd45e 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2355,8 +2355,13 @@ struct tevent_req *cli_nt_hardlink_send(TALLOC_CTX *mem_ctx, NTSTATUS cli_nt_hardlink_recv(struct tevent_req *req); NTSTATUS cli_nt_hardlink(struct cli_state *cli, const char *fname_src, const char *fname_dst); -bool cli_unlink_full(struct cli_state *cli, const char *fname, uint16_t attrs); -bool cli_unlink(struct cli_state *cli, const char *fname); +struct tevent_req *cli_unlink_send(TALLOC_CTX *mem_ctx, +struct event_context *ev, +struct cli_state *cli, +const char *fname, +uint16_t mayhave_attrs); +NTSTATUS cli_unlink_recv(struct tevent_req *req); +NTSTATUS cli_unlink(struct cli_state *cli, const char *fname, uint16_t mayhave_attrs); struct tevent_req *cli_mkdir_send(TALLOC_CTX *mem_ctx, struct event_context *ev, diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index e055a88..54c5947 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -756,46 +756,111 @@ NTSTATUS cli_nt_hardlink(struct cli_state *cli, const char *fname_src, const cha Delete a file. / -bool cli_unlink_full(struct cli_state *cli, const char *fname, uint16_t attrs) -{ - char *p; +static void cli_unlink_done(struct tevent_req *subreq); - memset(cli-outbuf,'\0',smb_size); - memset(cli-inbuf,'\0',smb_size); +struct cli_unlink_state { + uint16_t vwv[1]; +}; - cli_set_message(cli-outbuf,1, 0, true); +struct tevent_req *cli_unlink_send(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct cli_state *cli, + const char *fname, + uint16_t mayhave_attrs) +{ + struct tevent_req *req = NULL, *subreq = NULL; + struct cli_unlink_state *state = NULL; + uint8_t additional_flags = 0; + uint8_t *bytes = NULL; - SCVAL(cli-outbuf,smb_com,SMBunlink); - SSVAL(cli-outbuf,smb_tid,cli-cnum); - cli_setup_packet(cli); + req = tevent_req_create(mem_ctx, state, struct cli_unlink_state); + if (req == NULL) { + return NULL; + } - SSVAL(cli-outbuf,smb_vwv0, attrs); + SSVAL(state-vwv+0, 0, mayhave_attrs); - p = smb_buf(cli-outbuf); - *p++ = 4; - p += clistr_push(cli, p, fname, - cli-bufsize - PTR_DIFF(p,cli-outbuf), STR_TERMINATE); + bytes = talloc_array(state, uint8_t, 1); + if (tevent_req_nomem(bytes, req)) { + return tevent_req_post(req,