Re: [Samba] Samba over IPX
Thanks for your reply, I see there are some NCP servers that should fit, although not part of standard distributions. Thanks for your help. On 4/11/2011 8:57 PM, Chris Weiss wrote: I have TCP/IP on DOS on several systems, 2 of which are CNC, slowest is a 386 with 2MB ram, and I have no issues with it. yes IP uses more ram than IPX, but it's still not significant enough to cause problems with most programs. But back to your question: IPX isn't just a network layer, it's got it's own completely different file sharing protocols and NCP server software to go with it. I'd suggest plugging linux IPX into a search engine. you can share out the same folder structure using both SMB and NCP protocols, and also NFS and AFP if you like. On Mon, Apr 11, 2011 at 1:32 PM, Maurizio Manfredinimx2...@gmail.com wrote: I would like to add my case for a wish of IPX support in Samba: We use a number of CNC tool machines whose host is pure DOS based. Don't be surprised that DOS is stilll running somewhere. It is fairly OK when we get to the field of HW and real-time control, unlike Windows and the like... These hosts use IPX to access LAN shares. IPX is here preferable to TCP/IP because of its lower memory consumption. Anyone knows how to make Samba work over IPX, or is there any plan for IPX support in Samba ? Thanks in advance, Maurizio Manfredini -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] ldapsearch with samba4
Hi, I've got ldapsearch mostly working: root@morannon:/usr/local/samba/private/tls# ldapsearch '(sAMAccountName=dumaresq)' SASL/GSSAPI authentication started SASL username: administrator@XXX SASL SSF: 56 SASL data security layer installed. # extended LDIF # # LDAPv3 # base (default) with scope subtree # filter: (sAMAccountName=dumaresq) # requesting: ALL # results in here... # search result search: 5 result: 0 Success # numResponses: 2 # numEntries: 1 I cannot get ldapsearch -Z or ldaps working: ldapsearch '(sAMAccountName=dumaresq)' -Z SASL/GSSAPI authentication started ldap_sasl_interactive_bind_s: Server is unwilling to perform (53) additional info: SASL:[GSSAPI]: Sign or Seal are not allowed if TLS is used Here is what I get in samba.log when I do did that command: [2011/04/23 14:29:56, 3] ../source4/lib/ldb-samba/ldb_wrap.c:319(ldb_wrap_connect) ldb_wrap open of secrets.ldb [2011/04/23 14:29:56, 3] ../source4/lib/ldb-samba/ldb_wrap.c:319(ldb_wrap_connect) ldb_wrap open of secrets.ldb [2011/04/23 14:29:56, 3] ../source4/lib/ldb-samba/ldb_wrap.c:319(ldb_wrap_connect) ldb_wrap open of secrets.ldb [2011/04/23 14:29:56, 3] ../source4/smbd/service_stream.c:62(stream_terminate_connection) Terminating connection - 'ldapsrv_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED' [2011/04/23 14:29:56, 3] ../source4/smbd/process_single.c:104(single_terminate) single_terminate: reason[ldapsrv_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED] I'm not sure where to go from here. I've tried several different options in /etc/ldap/ldap.conf and I always get that error, unless I comment out #TLS_REQCERT allow then I get: ldapsearch '(sAMAccountName=dumaresq)' -Z ldap_start_tls: Connect error (-11) additional info: (unknown error code) ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1) additional info: (unknown error code) with: [2011/04/23 14:31:29, 3] ../source4/lib/ldb-samba/ldb_wrap.c:319(ldb_wrap_connect) ldb_wrap open of secrets.ldb [2011/04/23 14:31:29, 3] ../source4/lib/ldb-samba/ldb_wrap.c:319(ldb_wrap_connect) ldb_wrap open of secrets.ldb [2011/04/23 14:31:29, 1] ../source4/lib/tls/tls_tstream.c:542(tstream_tls_retry_read) TLS ../source4/lib/tls/tls_tstream.c:542 - A record packet with illegal version was received. [2011/04/23 14:31:29, 3] ../source4/smbd/service_stream.c:62(stream_terminate_connection) Terminating connection - 'ldapsrv_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_IO_DEVICE_ERROR' [2011/04/23 14:31:29, 3] ../source4/smbd/process_single.c:104(single_terminate) single_terminate: reason[ldapsrv_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_IO_DEVICE_ERROR] in samba.log Neither of those are helpful, I've tried stracing, but I don't see an errors. I believe this is a cert issue, but I'm not sure exactly what the cert issue is. Thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 64e7fba s3:include/vfs.h: remove very old hints for vfs modules with interface version 8 via 1cf715e Revert s3-vfs: another attempt to fix the Tru64 build. via 4a4a774 s3:smbd/nttrans: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's via 5186209 s3:lib/sysquota: remove ugly LARGE_SMB_OFF_T ifdef's via 75ad180 s3:libsmb: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's from bf3b2e2 Support the 'PYTHON' environment variable. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 64e7fba1be0d2897c5cee40b41f869bd9e5b272a Author: Stefan Metzmacher me...@samba.org Date: Sat Apr 23 10:17:27 2011 +0200 s3:include/vfs.h: remove very old hints for vfs modules with interface version 8 The interface version is at 28 now, and this defines cause problem on some systems, e.g. Tru64 defines vfs_init in the system headers. metze Autobuild-User: Stefan Metzmacher me...@samba.org Autobuild-Date: Sat Apr 23 12:07:35 CEST 2011 on sn-devel-104 commit 1cf715ed214809bd43e8f5be829f65bf37686980 Author: Stefan Metzmacher me...@samba.org Date: Sat Apr 23 10:15:00 2011 +0200 Revert s3-vfs: another attempt to fix the Tru64 build. This reverts commit 52909271879d909533a86c3a448839debb6497c6. A better fix will follow. metze commit 4a4a774e61aa5d95fa4c90485c538629ce5d0c92 Author: Stefan Metzmacher me...@samba.org Date: Sat Apr 23 10:30:59 2011 +0200 s3:smbd/nttrans: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's We rely on uint64_t for a long time now... metze commit 5186209277e0fec5c9f0c4df2ac57a5e16f74470 Author: Stefan Metzmacher me...@samba.org Date: Sat Apr 23 10:27:37 2011 +0200 s3:lib/sysquota: remove ugly LARGE_SMB_OFF_T ifdef's We rely on uint64_t for a long time now... metze commit 75ad18037955b1e787e48648a09b0016b1cdce8f Author: Stefan Metzmacher me...@samba.org Date: Sat Apr 23 10:22:32 2011 +0200 s3:libsmb: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's We rely on uint64_t for a long time now... metze --- Summary of changes: source3/configure.in |2 - source3/include/vfs.h | 12 source3/lib/sysquotas.c | 24 - source3/libsmb/cliquota.c | 62 +++- source3/smbd/nttrans.c| 49 +++ source3/wscript |2 - 6 files changed, 10 insertions(+), 141 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/configure.in b/source3/configure.in index 97e69a3..b2c1856 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -5400,8 +5400,6 @@ if test x$samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT = xyes; then fi AC_MSG_RESULT([$samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT]) -AC_CHECK_TYPE(struct vfsops,[AC_DEFINE(HAVE_STRUCT_VFSOPS,1,[Whether struct vfsops exists])],,[#include sys/mount.h]) - # # check for cluster extensions diff --git a/source3/include/vfs.h b/source3/include/vfs.h index c86fad8..185bc76 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -136,18 +136,6 @@ /* Leave at 28 - not yet released. Rename open function to open_fn. - gd */ #define SMB_VFS_INTERFACE_VERSION 28 - -/* to bug old modules which are trying to compile with the old functions */ - -#ifndef HAVE_STRUCT_VFSOPS /* vfsops struct on Tru64 has a vfs_init function pointer */ -#define vfs_init __ERROR_please_port_this_module_to_SMB_VFS_INTERFACE_VERSION_8_donot_use_vfs_init_anymore(void) { __ERROR_please_port_this_module_to_SMB_VFS_INTERFACE_VERSION_8_donot_use_vfs_init_anymore }; -#endif /* HAVE_STRUCT_VFSOPS */ - -#define lp_parm_string __ERROR_please_port_lp_parm_string_to_lp_parm_const_string_or_lp_parm_talloc_string { \ - __ERROR_please_port_lp_parm_string_to_lp_parm_const_string_or_lp_parm_talloc_string }; -#define lp_vfs_options __ERROR_please_donot_use_lp_vfs_options_anymore_use_lp_parm__functions_instead { \ - __ERROR_please_donot_use_lp_vfs_options_anymore_use_lp_parm__functions_instead }; - /* All intercepted VFS operations must be declared as static functions inside module source in order to keep smbd namespace unpolluted. See source of audit, extd_audit, fake_perms and recycle diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c index 6abafbd..12c34ed 100644 --- a/source3/lib/sysquotas.c +++ b/source3/lib/sysquotas.c @@ -303,7 +303,6 @@ static int command_get_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t DEBUG (3, (Parsed output of get_quota, ...\n)); -#ifdef LARGE_SMB_OFF_T DEBUGADD
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 123e5c1 s3: Fix Coverity ID 2478, UNINIT from 64e7fba s3:include/vfs.h: remove very old hints for vfs modules with interface version 8 http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 123e5c1a75a7e6cfe245af05d2954ab126238acf Author: Volker Lendecke v...@samba.org Date: Sat Apr 23 10:31:14 2011 +0200 s3: Fix Coverity ID 2478, UNINIT Autobuild-User: Volker Lendecke vlen...@samba.org Autobuild-Date: Sat Apr 23 14:11:22 CEST 2011 on sn-devel-104 --- Summary of changes: source3/lib/sysquotas_nfs.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/lib/sysquotas_nfs.c b/source3/lib/sysquotas_nfs.c index eff5874..043ab9f 100644 --- a/source3/lib/sysquotas_nfs.c +++ b/source3/lib/sysquotas_nfs.c @@ -91,7 +91,7 @@ int sys_get_nfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) { - CLIENT *clnt; + CLIENT *clnt = NULL; struct getquota_rslt gq_rslt; struct getquota_args gq_args; const char *mnttype; -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 9317923 Add missing dependency on com_err. via 67fd0cd Add check for krb5_free_unparsed_name, when using external heimdal. from 123e5c1 s3: Fix Coverity ID 2478, UNINIT http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 93179239ebda8e34c3fda671c1127a8214c216fa Author: Jelmer Vernooij jel...@samba.org Date: Sat Apr 23 15:56:39 2011 +0200 Add missing dependency on com_err. Autobuild-User: Jelmer Vernooij jel...@samba.org Autobuild-Date: Sat Apr 23 16:53:03 CEST 2011 on sn-devel-104 commit 67fd0cd62e14d0edce4e73f8fdafa3722f9c50f6 Author: Jelmer Vernooij jel...@samba.org Date: Sat Apr 23 15:46:18 2011 +0200 Add check for krb5_free_unparsed_name, when using external heimdal. --- Summary of changes: libcli/auth/wscript_build |2 +- source4/heimdal_build/wscript_configure |5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/libcli/auth/wscript_build b/libcli/auth/wscript_build index e7d8b56..bdf52d0 100644 --- a/libcli/auth/wscript_build +++ b/libcli/auth/wscript_build @@ -41,4 +41,4 @@ bld.SAMBA_SUBSYSTEM('SPNEGO_PARSE', bld.SAMBA_SUBSYSTEM('KRB5_WRAP', source='krb5_wrap.c kerberos_pac.c', -deps='krb5 ndr-krb5pac') +deps='krb5 ndr-krb5pac com_err') diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure index 3f46ed8..f711fe7 100644 --- a/source4/heimdal_build/wscript_configure +++ b/source4/heimdal_build/wscript_configure @@ -182,8 +182,9 @@ check_system_heimdal_lib(asn1, initialize_asn1_error_table, asn1_err.h, on check_system_heimdal_lib(heimbase, heim_cmp, heimbase.h, onlyif=roken) check_system_heimdal_lib(hcrypto, MD4_Init, hcrypto/md4.h, onlyif=asn1 roken com_err) -check_system_heimdal_lib(krb5, krb5_anyaddr, krb5.h, -onlyif=roken wind asn1 hx509 hcrypto com_err heimbase) +if check_system_heimdal_lib(krb5, krb5_anyaddr, krb5.h, +onlyif=roken wind asn1 hx509 hcrypto com_err heimbase): +conf.CHECK_FUNCS_IN('krb5_free_unparsed_name', 'krb5', headers=krb5.h) check_system_heimdal_lib(gssapi, gss_oid_to_name, gssapi.h, onlyif=hcrypto asn1 roken krb5 com_err wind) check_system_heimdal_lib(heimntlm, heim_ntlm_ntlmv2_key, heimntlm.h, -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 0645c01 Fix case of libUTIL_LDB. from 9317923 Add missing dependency on com_err. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 0645c01b8545ba3a313740feea50a4b8d60a7fb6 Author: Jelmer Vernooij jel...@samba.org Date: Sat Apr 23 17:59:23 2011 +0200 Fix case of libUTIL_LDB. Autobuild-User: Jelmer Vernooij jel...@samba.org Autobuild-Date: Sat Apr 23 18:52:06 CEST 2011 on sn-devel-104 --- Summary of changes: lib/util/wscript_build | 12 ++-- source4/dsdb/wscript_build |2 +- 2 files changed, 7 insertions(+), 7 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/util/wscript_build b/lib/util/wscript_build index 93827bc..aad386e 100755 --- a/lib/util/wscript_build +++ b/lib/util/wscript_build @@ -102,12 +102,12 @@ bld.SAMBA_SUBSYSTEM('UTIL_TEVENT', if bld.env._SAMBA_BUILD_ == 4: -bld.SAMBA_SUBSYSTEM('UTIL_LDB', - source='util_ldb.c', -local_include=False, - public_deps='ldb', -public_headers='util_ldb.h' - ) + bld.SAMBA_SUBSYSTEM('util_ldb', + source='util_ldb.c', + local_include=False, + public_deps='ldb', + public_headers='util_ldb.h' + ) bld.SAMBA_SUBSYSTEM('UTIL_RUNCMD', diff --git a/source4/dsdb/wscript_build b/source4/dsdb/wscript_build index 83d7433..9d56e4f 100644 --- a/source4/dsdb/wscript_build +++ b/source4/dsdb/wscript_build @@ -16,7 +16,7 @@ bld.SAMBA_LIBRARY('samdb-common', source='common/util.c common/util_groups.c common/util_samr.c common/dsdb_dn.c common/dsdb_access.c', autoproto='common/proto.h', private_library=True, - deps='ldb NDR_DRSBLOBS UTIL_LDB LIBCLI_AUTH samba-hostconfig samba_socket cli-ldap-common flag_mapping' + deps='ldb NDR_DRSBLOBS util_ldb LIBCLI_AUTH samba-hostconfig samba_socket cli-ldap-common flag_mapping' ) -- Samba Shared Repository
[SCM] Samba Shared Repository - tag release-alpha-4-0-0alpha14 created
The tag, release-alpha-4-0-0alpha14 has been created at 0eded28c2371adb356fc6c48185455fd6257c0c5 (commit) - Log - commit 0eded28c2371adb356fc6c48185455fd6257c0c5 Author: Jelmer Vernooij jel...@samba.org Date: Fri Dec 24 02:05:33 2010 +0100 Release alpha14. --- -- Samba Shared Repository
[SCM] Samba Shared Repository - annotated tag release-4-0-0alpha15 created
The annotated tag, release-4-0-0alpha15 has been created at 6a32ad6b4773daa122a413b0c1573d862ccc44d5 (tag) tagging 6925a799d04c6fa59dd2ddef1f5510f9bb7d17d1 (commit) replaces ldb-1-1-0 tagged by Jelmer Vernooij on Sun Apr 24 01:55:41 2011 +0200 - Log - Release alpha15. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJNs2cCAAoJEACAbyvXKaRXHl4P+gP8ssktg2DRu2HSt+oD2wV7 rSPH/lESnempfZbzt6OdkBUoq8yb9h7zsqL6i9KbD6R9SKRoseU1qRjoZxNBS91M l1QgPsx4GsR6UCYJ1fDRLkH9JLabN9YZriv4VPHWmTXjS1uN86lUbPfw8bcvGueg ZNI7W3GbIHhhhZxmoq1d6uSccVKUk4ny6cpQTtb/THHuibuMGXapJ9/RPry13gaw To6kEZKUE4JqA6iHvTD1Rs954vOgLaAJS4kqQPXSJm+sXTJk7COEcwtY40tgqkrh v0BVb8yceXqh9YcWZSkBBO6MBpLHwaaP8h55LbmEnmDWc1ye/QpaKlpyUFl5XNta mKrYB6E6C7ZiULHlUccuasLKW7yTNLYZAg7tvqJycLWc/b3SozyWejihT+/B1SMG wFTDMJH9XPjW8C/iZpJsVob9kTZf7DdeclE8VBueiPruDMMMyWrtWjcMDfS9rB5h ZMtBlt2rcruHaWQCWylu7GQNf+DH4/n1OdDsuHSkkxy3y6RwHb7xwjJbzbX9pCn+ cWP4VDRPfX3OmYmsnL1FyvFuALvrD4yrJo3+CQTbcpZiCz8Y9IstIRl4UAUrRxpX 24dUY4q92Eq1PzXj3nc54aJRKyseoM5E6l/VPikfTeHOdjTV++eC83JNL5rB//qb 5u/Wv4aJfMwpy21x1vY2 =Weo5 -END PGP SIGNATURE- Günther Deschner (6): s3-proto: move more rpc client prototypes to cli_pipe.h. s3-vfs: try to fix the Tru64 build. Revert s3-vfs: try to fix the Tru64 build. s3-waf: fix typo in comment. s3-waf: try to fix the build on sunos5. s3-vfs: another attempt to fix the Tru64 build. Jelmer Vernooij (6): Support the 'PYTHON' environment variable. Add check for krb5_free_unparsed_name, when using external heimdal. Add missing dependency on com_err. Fix case of libUTIL_LDB. Update WHATSNEW4.txt. Release alpha15. Jeremy Allison (3): Remove duplicate code - move to parent_dirname() as a common function. Fix compiler warning in debug message. Cosmetic. Fix bad indentation. Stefan Metzmacher (10): script: add hardcoded library release key id script/librelease: use a GPG_KEYID variable to hold the signing key script/librelease: set umask 0022 script/librelease: add more error checking script/librelease: display the permission on the server s3:libsmb: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's s3:lib/sysquota: remove ugly LARGE_SMB_OFF_T ifdef's s3:smbd/nttrans: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's Revert s3-vfs: another attempt to fix the Tru64 build. s3:include/vfs.h: remove very old hints for vfs modules with interface version 8 Volker Lendecke (9): s3: Fix Coverity ID 1340, NULL_RETURNS s3: Fix Coverity ID 986, BUFFER_SIZE_WARNING s3: Fix Coverity ID 2307, NULL_RETURNS asn1: Fix Coverity ID 2299, CHECKED_RETURN s3: Fix Coverity ID 2335, CHECKED_RETURN s3: Fix Coverity ID 2336, NULL_RETURNS s3: Fix Coverity ID 2325, RESOURCE_LEAK s3: Fix Coverity ID 2047, UNUSED_VALUE s3: Fix Coverity ID 2478, UNINIT --- -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via fb05e82 Fix license info for talloc in manpage. via febc4a7 Fix release script to cope with moved Samba 4 build tools. from 0645c01 Fix case of libUTIL_LDB. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit fb05e82c99f0779bd44371a2bdafdd7147448dd5 Author: Jelmer Vernooij jel...@samba.org Date: Sun Apr 24 02:39:14 2011 +0200 Fix license info for talloc in manpage. Autobuild-User: Jelmer Vernooij jel...@samba.org Autobuild-Date: Sun Apr 24 03:27:54 CEST 2011 on sn-devel-104 commit febc4a730ad55b781b94fdc3a9f5ed6c5bc488ab Author: Jelmer Vernooij jel...@samba.org Date: Sun Apr 24 02:14:17 2011 +0200 Fix release script to cope with moved Samba 4 build tools. --- Summary of changes: lib/talloc/talloc.3.xml |6 +++--- source4/script/mkrelease.sh |5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/talloc/talloc.3.xml b/lib/talloc/talloc.3.xml index a327922..99e8bcd 100644 --- a/lib/talloc/talloc.3.xml +++ b/lib/talloc/talloc.3.xml @@ -783,9 +783,9 @@ if (ptr) memcpy(ptr, p, strlen(p)+1);/programlisting /para para This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or (at - your option) any later version. + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 3 of the + License, or (at your option) any later version. /para para This program is distributed in the hope that it will be useful, but diff --git a/source4/script/mkrelease.sh b/source4/script/mkrelease.sh index 6ad927b..19a1ade 100755 --- a/source4/script/mkrelease.sh +++ b/source4/script/mkrelease.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash if [ ! -d .git -o `dirname $0` != ./source4/script ]; then echo Run this script from the top-level directory in the @@ -6,8 +6,7 @@ if [ ! -d .git -o `dirname $0` != ./source4/script ]; then exit 1 fi -cd source4 -../buildtools/bin/waf dist +./buildtools/bin/waf dist TGZFILE=`echo *.tar.gz` gunzip $TGZFILE TARFILE=`echo *.tar` -- Samba Shared Repository