Re: [Samba] GPFS Samba CTDB cluster how to

2013-10-14 Thread Jeremy Allison
On Mon, Oct 14, 2013 at 03:35:13PM +0100, Ian CLANCY wrote: > Hi List, > I've created an extensive how to for setup of clustered Samba on GPFS using > CTDB . > Can anyone suggest an appropriate forum to share this information . > Perhaps the Samba Wiki ?. Putting this into the Samba Wiki would be

Re: [Samba] Samba4 - PDC - RHEL6 - Slow browsing from Mac clients

2013-10-11 Thread Jeremy Allison
On Fri, Oct 11, 2013 at 04:15:35PM +, Paul Older wrote: > On 11/10/2013 17:04, "Jeremy Allison" wrote: > > > >On Fri, Oct 11, 2013 at 11:36:41AM +, Paul Older wrote: > >> * A few years ago, Samba made changes to their licensing meaning > >>

Re: [Samba] Samba4 - PDC - RHEL6 - Slow browsing from Mac clients

2013-10-11 Thread Jeremy Allison
On Fri, Oct 11, 2013 at 11:36:41AM +, Paul Older wrote: > I think I'm unravelling the mystery I have on this one. I believe the > situation to be as follows: > > * Apple used to deploy the actual open source Samba system with it OSX. > * A few years ago, Samba made changes to their l

Re: [Samba] Folder disappears on rename

2013-10-04 Thread Jeremy Allison
On Fri, Oct 04, 2013 at 10:54:00AM -0700, Brian Martin wrote: > > I have received a suggestion to check whether this might be related > to a mis-configured off-line synchronization (mobsync.exe) on the > workstation, which I will check the next time I have access to the > machine. Assuming I don't

Re: [Samba] name mangling makes 8.3 unreadable unlike Windows fileserver

2013-10-03 Thread Jeremy Allison
On Thu, Oct 03, 2013 at 07:14:35PM -0400, Kevin Field wrote: > > > > Thanks Jeremy! I'm not sure how I missed that in the docs. Anyway, > it is much, much better than before, but still not exactly like > Windows. For example, we have two folders beginning with C-FZP. We're never going to give t

Re: [Samba] Experience getting winbind Active Directory login on a Samba 4 domain controller

2013-10-03 Thread Jeremy Allison
On Thu, Oct 03, 2013 at 09:25:30AM -0600, Jacobson, Jared M @ CSG - CSW wrote: > Hey, all, > > I had a lot of trouble getting login working for Active Directory users > on a Red Hat Enterprise Linux Samba 4 Active Directory domain > controller. Here are some things I learned that I hope will be u

Re: [Samba] Folder disappears on rename

2013-10-03 Thread Jeremy Allison
On Thu, Oct 03, 2013 at 11:57:21AM -0700, Brian Martin wrote: > I have Samba 4.0.9 installed under Ubuntu 12.04. It's configured as > a domain member, with a Windows 2008R2 server being the DC. All > workstations are running Windows 7. One of my users is reporting > problems in the following sce

Re: [Samba] client hangs

2013-10-03 Thread Jeremy Allison
On Thu, Oct 03, 2013 at 02:07:05PM -0500, Doug Tucker wrote: > Already been down that path. I can't find a network issue anywhere. > Our samba server itself is set up with a bonded interface which > attaches to 2 different cards in the switch. I've pulled each > ethernet cable to see the results

Re: [Samba] Cisco ISE unable to retrieve AD group list from samba 4 server

2013-10-03 Thread Jeremy Allison
On Thu, Oct 03, 2013 at 08:53:19AM +0200, Andreas Oster wrote: > Am 02.10.2013 21:53, schrieb Jeremy Allison: > > On Wed, Oct 02, 2013 at 11:38:21AM +0200, Andreas Oster wrote: > >> Hi all, > >> > >> I have run into a problem with our samba4 setup. I have

Re: [Samba] name mangling makes 8.3 unreadable unlike Windows fileserver

2013-10-03 Thread Jeremy Allison
On Thu, Oct 03, 2013 at 10:17:18AM -0400, Kevin Field wrote: > Hi, > > I'm cross-posting here from serverfault.com in case anyone can help. > I just found a similar question on askubuntu.com also without an > answer. > > Switched recently from W2K3 to Samba4.0.9/CentOS6.4 for our > fileshare for

Re: [Samba] client hangs

2013-10-03 Thread Jeremy Allison
On Thu, Oct 03, 2013 at 12:03:39PM -0500, Doug Tucker wrote: > I see a lot of this in the logs, but can't determine if it really > means anything: > > Oct 2 09:45:28 agentsmith2 smbd[21954]: getpeername failed. Error > was Transport endpoint is not connected > Oct 2 09:45:28 agentsmith2 smbd[2

Re: [Samba] Samba Crashing

2013-10-02 Thread Jeremy Allison
On Wed, Oct 02, 2013 at 06:20:34AM -0600, Wayne Andersen wrote: > I have Samba 4.0.9 installed on three Centos servers. > > On my primary DC I am getting faults and core dumps. > > Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.083800, 0] > ../lib/util/fault.c:72(fault_report) > Oct 2 06:

Re: [Samba] Cisco ISE unable to retrieve AD group list from samba 4 server

2013-10-02 Thread Jeremy Allison
On Wed, Oct 02, 2013 at 11:38:21AM +0200, Andreas Oster wrote: > Hi all, > > I have run into a problem with our samba4 setup. I have successfully > joined a Cisco ISE v1.1.4 (Identity Service Engine) test machine to the > samba4 AD. User authentication does work but unfortunately the ISE is > unab

Re: [Samba] Cisco ISE unable to retrieve AD group list from samba 4 server

2013-10-02 Thread Jeremy Allison
On Wed, Oct 02, 2013 at 11:38:21AM +0200, Andreas Oster wrote: > Hi all, > > I have run into a problem with our samba4 setup. I have successfully > joined a Cisco ISE v1.1.4 (Identity Service Engine) test machine to the > samba4 AD. User authentication does work but unfortunately the ISE is > unab

Re: [Samba] Samba4 consumes more CPU

2013-09-30 Thread Jeremy Allison
On Mon, Sep 30, 2013 at 05:21:44PM -0300, Thiago Fernandes Crepaldi wrote: > Andrew, in my company we are also experiencing a higher CPU usage of Samba > 4 (smbd) if compared to Samba 3. > > In fact, it almost reaches 100% of CPU and uses all the memory during *dir > copies* (individual file copy

Re: [Samba] Error samba task: cc scavenger.c -> scavenger 91.o

2013-09-27 Thread Jeremy Allison
On Fri, Sep 27, 2013 at 02:28:47PM +0200, ant...@u-picardie.fr wrote: > Thanks for your reply. > > So, in root i run this : > > > git cherry-pick -x 31714c97845fff11b2997c86b5fc3a3bff8ed710 No, it's more complicated. Download the patch file and do: git am /path/to/patch-file to fix in your tr

Re: [Samba] Error samba task: cc scavenger.c -> scavenger 91.o

2013-09-27 Thread Jeremy Allison
On Fri, Sep 27, 2013 at 08:09:42AM +0200, LIBERT Anthony wrote: > Hello everybody, > > I try to install samba on ubuntu server 13.04 > > So I downloaded the 4.0.9 version of samba but when the make I get > this error: > > ../source3/smbd/scavenger.c : In function 'scavenger_timer' : > ../source3

Re: [Samba] MAC Client - Issue Following Symbolic Links

2013-09-27 Thread Jeremy Allison
On Thu, Sep 26, 2013 at 10:23:34PM +0100, Jonathan Buzzard wrote: > actually a symlink it should follow. > > In short the Mac OSX smb clients are a steaming pile of dinosaur > droppings which have subtly different behaviour between at least the > following versions 10.4, 10.5, 10.6 and 10.7 that m

Re: [Samba] Samba 3.6.15 Not honouring create mode

2013-09-26 Thread Jeremy Allison
On Thu, Sep 26, 2013 at 12:08:39PM -0500, Taylor, Jonn wrote: > Using samba 3 as cluster share for many years now and we now need to > for the create mode on files. This seems to not be working in3.6.15. > > [share] > comment = Share Data > path = /clustershare/share > force user = roo

Re: [Samba] MAC Client - Issue Following Symbolic Links

2013-09-26 Thread Jeremy Allison
On Thu, Sep 26, 2013 at 12:29:18PM -0500, Jeffrey Johnson wrote: > I run SAMBA 3.6.15 on a Solaris 10 server that acts as a portal for my MS > Windows users into a large number of UNIX servers providing amongst other > things web-servers and ftp-servers. > > The SAMBA server has these varied resou

Re: [Samba] Conversion error: Illegal multibyte sequence

2013-09-10 Thread Jeremy Allison
On Tue, Sep 10, 2013 at 07:44:39PM +0200, Volker Lendecke wrote: > On Tue, Sep 10, 2013 at 09:48:57AM -0700, Jeremy Allison wrote: > > It's an old, old check back from when SJIS and EUC were > > common multi-byte systems. > > > > SJIS especially has the prope

Re: [Samba] Conversion error: Illegal multibyte sequence

2013-09-10 Thread Jeremy Allison
On Tue, Sep 10, 2013 at 11:43:40AM +0200, Volker Lendecke wrote: > Hi, Jeremy! > > On Mon, Sep 09, 2013 at 03:40:06PM -0700, Jeremy Allison wrote: > > Ok, here is a fix for 3.6.x. Can you test this and see > > if it fixes the problem ? If so, I'll get this fixed > &

Re: [Samba] Conversion error: Illegal multibyte sequence

2013-09-09 Thread Jeremy Allison
On Fri, Sep 06, 2013 at 05:04:53PM -0700, Jeremy Allison wrote: > On Sat, Sep 07, 2013 at 02:02:26AM +0200, Laurent Blume wrote: > > On 2013-09-06 10:54 PM, Jeremy Allison wrote: > > > > > Either that or add another debug inside > > > convert_string_internal()

Re: [Samba] Conversion error: Illegal multibyte sequence

2013-09-06 Thread Jeremy Allison
On Fri, Sep 06, 2013 at 09:40:25PM +0200, Laurent Blume wrote: > On 2013-09-05 11:34 PM, Jeremy Allison wrote: > > No, it doesn't make sense. smb_iconv() vectors > > through pull and push function pointers that > > do the actual conversion - that's where the >

Re: [Samba] Conversion error: Illegal multibyte sequence

2013-09-06 Thread Jeremy Allison
On Sat, Sep 07, 2013 at 02:02:26AM +0200, Laurent Blume wrote: > On 2013-09-06 10:54 PM, Jeremy Allison wrote: > > > Either that or add another debug inside > > convert_string_internal() to print out > > the values of srclen and i_len at various > > points and

Re: [Samba] Conversion error: Illegal multibyte sequence

2013-09-05 Thread Jeremy Allison
On Thu, Sep 05, 2013 at 11:28:14PM +0200, Laurent Blume wrote: > > I'm not sure I'm still good at adding printf("DEBUG\n") lines around :-) > so I tried my hand with dtrace for a start. > > Here are some examples of what it returns when looking at smb_iconv() > while I opened the directory and li

Re: [Samba] Conversion error: Illegal multibyte sequence

2013-09-05 Thread Jeremy Allison
On Thu, Sep 05, 2013 at 10:15:16PM +0200, Laurent Blume wrote: > Hello list, > > I've noticed this problem for a few years now, I think. I see it popped > out now and then in discussions. But they always end before a solution > is given. > > So let's try one more time :-) > > I have plenty of UT

Re: [Samba] How do I lock a shared file?

2013-09-05 Thread Jeremy Allison
On Thu, Sep 05, 2013 at 06:25:15PM +0200, steve wrote: > Hi > Yeah, the lesson plan is a good idea! > > LibreOffice locks files as you'd expect:) Nothing else works though. I'm > amazed that no one else has encountered this before. Every "content management service" software product is based on t

Re: [Samba] Share stuff that located on another server

2013-08-30 Thread Jeremy Allison
On Fri, Aug 30, 2013 at 01:45:49PM +0200, Patric Falinder wrote: > Ok so I've been testing a little bit more with NFS and while using "force > user" works just fine, "inherit owner" does not. Inherit owner works just > fine on the rest of the Samba share that's not on NFS. There must be a way > to

Re: [Samba] Odd Samba 4 ("4.2.0pre1-GIT-b505111"; actually only using client) behaviour #2 - "accept: Software caused connection abort".

2013-08-29 Thread Jeremy Allison
On Thu, Aug 29, 2013 at 10:10:38AM +0100, Tris Mabbs wrote: > Hiya Andrew, > > Many thanks for the typically helpful and comprehensive reply :-) > > > I think that's probably the right track :-) > > > > The code here is triggered when poll() indicates that the socket is > readable. > > This socke

Re: [Samba] rpcclient netshareenum 502 causes SEGV

2013-08-19 Thread Jeremy Allison
On Mon, Aug 19, 2013 at 06:21:02PM -0400, pisymbol . wrote: > Hello: > > I have a Windows 2003 Server that is causing rpcclient to SEGV via the > following command: > > $ rpcclient -U Administrator%foobar -c 'netshareenum 502' > ... > type: 0x6269: SEC_DESC_OWNER_DEFAULTED SEC_DESC_DACL_DEFAULTE

Re: [Samba] rpcclient netshareenum 502 causes SEGV

2013-08-19 Thread Jeremy Allison
On Mon, Aug 19, 2013 at 06:21:02PM -0400, pisymbol . wrote: > Hello: > > I have a Windows 2003 Server that is causing rpcclient to SEGV via the > following command: > > $ rpcclient -U Administrator%foobar -c 'netshareenum 502' > ... > type: 0x6269: SEC_DESC_OWNER_DEFAULTED SEC_DESC_DACL_DEFAULTE

Re: [Samba] Speed differences for windows clients

2013-08-12 Thread Jeremy Allison
On Mon, Aug 12, 2013 at 10:00:18AM +0200, Philipp Lies wrote: > Hi, > > we have a strange phenomenon with the transfer speed between windows > clients and samba servers. Here's the setup: > > server 1: centos 6.3 with samba 3.5.10 > server 2: centos 6.4 with samba 3.6.9 > both servers are configu

Re: [Samba] UIDs/GIDs Mapping and Permissions in Samba

2013-08-01 Thread Jeremy Allison
On Thu, Aug 01, 2013 at 02:05:48AM +0100, Chris Hayes wrote: > > Basically, I want to know more about which Samba uses, how much it > tries to keep the two in sync, etc. For example, a moment ago I > changed the POSIX ACLs on a file that already had a security.NTACL > glob in the extended attribut

Re: [Samba] Slow FIND_FIRST2 response

2013-07-31 Thread Jeremy Allison
On Tue, Jul 30, 2013 at 12:56:18PM -0400, Ryan Bair wrote: > I'm running Samba 4.0.7 on CentOS 6.4 running double duty as DC and file > server. > > OS X clients are taking a _long_ time to list long directories. One > directory with 10K entries is taking 3-4 minutes to display the entries in > Fin

Re: [Samba] WARNING to those running Samba on OpenIndiana or other Illumos based systems with > 16 groups

2013-07-15 Thread Jeremy Allison
On Sun, Jul 14, 2013 at 09:50:29AM -0400, Ira Cooper wrote: > On Sun, Jul 14, 2013 at 8:23 AM, Andrew Bartlett wrote: > > > On Wed, 2013-04-24 at 10:31 +1000, Andrew Bartlett wrote: > > > Just a heads-up, because this bug took me absolutely ages to chase down, > > > and I want to save others the

Re: [Samba] Removed params 'force security mode' etc. What to use instead?

2013-07-11 Thread Jeremy Allison
On Thu, Jul 11, 2013 at 10:25:56AM -0400, Brian H. Nelson wrote: > I hate to bump, but surely someone can offer some input on this. At > least question 1? > > Thanks, > Brian > > > On 7/3/2013 2:56 PM, Brian H. Nelson wrote: > >I noticed that the fix for bug 9190 (inc in samba 4.0) resulted in >

Re: [Samba] About NAS versus Samba

2013-07-11 Thread Jeremy Allison
On Thu, Jul 11, 2013 at 08:01:20AM -0500, Chris Weiss wrote: > On Wed, Jul 10, 2013 at 11:00 PM, Jeremy Allison wrote: > >> but not all NASs do. there are > >> several commercial SMB/CIFS implementation out there. > > > > Sure, but non available to buy as

Re: [Samba] About NAS versus Samba

2013-07-10 Thread Jeremy Allison
On Wed, Jul 10, 2013 at 10:17:56PM -0500, Chris Weiss wrote: > > a cheaper nas will probably use samba, Or a very expensive one :-). Samba is used mainly in the low end NAS (due to cost), or extremely high end NAS (due to flexibility for the vendor to make it do *anything* :-) > but not all NASs

Re: [Samba] Help Samba license

2013-07-10 Thread Jeremy Allison
On Wed, Jul 10, 2013 at 11:30:35AM +0800, blue_sky886 wrote: > Hi, > > I want to use library of samba that license is "GPLv2" in my program that is > proprietary. > > The source code version of samba is 3.0.6. > > Is it possible to modify the license to "LGPL"? I'm afraid not. Your only optio

Re: [Samba] dcerpc + threads

2013-07-08 Thread Jeremy Allison
On Mon, Jul 08, 2013 at 11:12:04AM -0700, Ilya Markov wrote: > I have read that none of the samba code has been written to explicitly > support threads, but that there are "sections" are not inherently > thread-unsafe (e.g. talloc). > > I am attempting to write a multi-threaded client to interfa

Re: [Samba] Mac Os 10.6 - 10.8 and Samba 3.6.9

2013-06-21 Thread Jeremy Allison
On Fri, Jun 21, 2013 at 03:03:33PM -0400, Terre Porter wrote: > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 > SO_SNDBUF=65536 Not to comment on any other thing in your post bue please remove this line from your smb.conf. It's voodoo bullshit from the long-ancient past :-)

Re: [Samba] Problems when saving AutoCAD files

2013-06-20 Thread Jeremy Allison
On Thu, Jun 20, 2013 at 06:15:34PM -0300, Santiago Pestarini wrote: > 2013/6/14 Santiago Pestarini : > > Hi! > > I was searching for info about this issue and found almost nothing. > > So, let's go directly to the matters... > > > > - Problem: > > AutoCAD says "You do not have permission to save to

Re: [Samba] [Announce] Samba 3.6.16 Available for Download

2013-06-19 Thread Jeremy Allison
On Wed, Jun 19, 2013 at 10:45:33AM +0200, Karolin Seeger wrote: > == > "All water has a perfect memory and is >forever trying to get back to where >it was." > >

Re: [Samba] str[fp]time - what is this and can I add padding? smb.conf

2013-06-18 Thread Jeremy Allison
On Mon, Jun 17, 2013 at 04:23:56PM +0100, Tom Jermy wrote: > I'm wanting to extend vfs shadow_copy2 in samba a little and want to add > additional information to the snapshot name - it's parsed by str[fp]time with > the format: > > %Y%m%d-%H%M%S > > I want to add a 6 arbitrary characters to the

Re: [Samba] WORKAROUND: Re: [samba4] crash of winbind after "ls -l /usr/local/samba/var/locks/sysvol"

2013-06-17 Thread Jeremy Allison
a6ca5656ef3e41019 is the first bad commit > > commit f77d5d6479c879c8770fbc9a6ca5656ef3e41019 > > Author: Timur Bakeyev > > Date: Wed Feb 27 16:25:07 2013 -0800 > > > > Fix bug # 9666 - Broken filtering of link-local addresses. > > > > This patch should ad

Re: [Samba] NT_STATUS_BAD_NETWORK_NAME for Windows Server 2008

2013-06-06 Thread Jeremy Allison
On Thu, Jun 06, 2013 at 04:10:46PM +0100, samuel.feren...@barclays.com wrote: > > -Original Message- > From: Jeremy Allison [mailto:j...@samba.org] > Sent: Thursday, June 06, 2013 4:51 PM > To: Ferencik, Samuel: Markets (PRG) > Cc: samba@lists.samba.org >

Re: [Samba] NT_STATUS_BAD_NETWORK_NAME for Windows Server 2008

2013-06-06 Thread Jeremy Allison
On Wed, Jun 05, 2013 at 05:14:47PM +0100, samuel.feren...@barclays.com wrote: > Hi, > > Our smbclient calls have started failing on connections to Windows 2008 AD > servers. (Previously there were only Windows 2003 Servers, so we had no > issues.) > > Domain=[INTRANET] OS=[Windows Server 2008

Re: [Samba] Server 2012 Encrypted Shares

2013-05-30 Thread Jeremy Allison
On Wed, Mar 06, 2013 at 01:28:39PM -0600, Cory Spence wrote: > > In all my efforts, I can't seem to get this to work in the lab. Does Samba > 4 support SMB 3.0 encrypted shares? This would include either where the > Samba server is serving out an encrypted share as the file server or as a > clie

Re: [Samba] ports

2013-05-10 Thread Jeremy Allison
On Thu, May 09, 2013 at 10:02:23AM -0700, Jessica Guynn wrote: > Is there a parameter for smb config for incoming connections to originate > from ports greater than 1024 (insecure ports)? smbd doesn't care what port number the incoming connection is arriving from. Jeremy. -- To unsubscribe from

Re: [Samba] Hello & a query to relieve some confusion about samba

2013-05-06 Thread Jeremy Allison
On Sat, May 04, 2013 at 04:44:37PM +, CCOR58 wrote: > Hi > I am new today here and have a couple of confusing items I hope > someone here o the list can straighten out for me. > > 1. The definitions of the served usershares apprears in more than > one location; in ubutu 12.04 LTS there appears

Re: [Samba] Samba 3.6.13 configuration file issue

2013-04-30 Thread Jeremy Allison
On Tue, Mar 26, 2013 at 02:22:19PM +0100, taom...@inwind.it wrote: > > https://bbs.archlinux.org/viewtopic.php?id=160161 > > This is my issue report for 3.6.13 version. Looking at the thread posts, it > is a common issue. After some test what I found is that samba (only 3.6.13 > version) in sha

Re: [Samba] segfault Re: Errors, errors, errors in log

2013-04-29 Thread Jeremy Allison
On Mon, Apr 29, 2013 at 07:09:16PM +1000, Andrew Bartlett wrote: > Jeremy, > > This backtrace looks like it might be something to do with your recent > struct DIR work. The revision 5727bfa is from master after the work you > did for Ceph in the VFS. I think David nailed it. I think this is like

Re: [Samba] Weird, sudden 3.4 problem. [Solved]

2013-04-11 Thread Jeremy Allison
On Thu, Apr 11, 2013 at 02:11:18PM -0700, Don Krause wrote: > > Ok, eliminating both "Valid users" and "admin users" and adding "write list = > %S" to the [homes] share appears for have solved the issue. > > Thanks! Great - that makes me feel a lot happier about the safety of your solution :-

Re: [Samba] Weird, sudden 3.4 problem.

2013-04-11 Thread Jeremy Allison
On Thu, Apr 11, 2013 at 12:18:46PM -0700, Don Krause wrote: > > On Apr 11, 2013, at 12:08 PM, Jeremy Allison wrote: > > > On Thu, Apr 11, 2013 at 12:01:02PM -0700, Don Krause wrote: > >> > >> > >> [homes] > >> admin users = %S > >

Re: [Samba] Weird, sudden 3.4 problem.

2013-04-11 Thread Jeremy Allison
On Thu, Apr 11, 2013 at 12:01:02PM -0700, Don Krause wrote: > > > [homes] >admin users = %S Having admins users = %S seems strange. Is this what you want ? admin users (S) This is a list of users who will be granted administrative privileges on the share. This means

Re: [Samba] Pruning embedded samba 3.6 installation

2013-04-11 Thread Jeremy Allison
On Thu, Apr 11, 2013 at 07:01:21AM -0700, Paul D. DeRocco wrote: > > From: Volker Lendecke [mailto:volker.lende...@sernet.de] > > > > Start with only smbd and depending on your configuration the > > VFS modules. Depending on whether you need NetBIOS, you > > might also need nmbd. Please try to av

Re: [Samba] Weird, sudden 3.4 problem.

2013-04-11 Thread Jeremy Allison
On Thu, Apr 11, 2013 at 10:44:11AM -0700, Don Krause wrote: > We've had basically no issues with an older samba 3.4 installation working > with Win 7, but suddenly this morning, "homes" shares are acting strange. > > I can create new folders, I can create new documents. However, any attempt to >

Re: [Samba] Winbind using 100% CPU

2013-04-10 Thread Jeremy Allison
On Wed, Apr 10, 2013 at 06:46:48PM -0400, Dylan Klomparens wrote: > I am trying to figure out why winbind is using 100% CPU on my file server. > I am using Samba version 4.0.4. Everything is fine for a few minutes when I > start winbind, however after a while it begins using 100% CPU. I haven't > b

Re: [Samba] S4 file server : access to large file > 1 GB

2013-04-05 Thread Jeremy Allison
On Fri, Apr 05, 2013 at 03:37:47PM +0200, BOTZ Franck (Informaticien) - DDT 67/SG/MGI/CI wrote: > Hi all > > My S4 is configured as a file server. > > The AD DC is a 2003 win server. > > My users are talking about slow speed on open pst file or other largest file. > > I have this in my smb.con

Re: [Samba] Need Methods Around Anonymous LDAP Binding for User Auth

2013-04-02 Thread Jeremy Allison
On Tue, Apr 02, 2013 at 11:52:08AM -0700, Khanh N. wrote: > Thanks, for the reply. > > I did read quite a few HowTo's about joing an AD and setup Samba that way. >  However, my company's IT department won't give out an LDAP binding user > account because of their security policies, hence I need th

Re: [Samba] Need Methods Around Anonymous LDAP Binding for User Auth

2013-04-01 Thread Jeremy Allison
On Mon, Apr 01, 2013 at 08:01:12PM -0700, Khanh N. wrote: > Hi, > > I've been search for almost a week, and I think I'm at a dead end without a > solution. > > Initially, I wanted to setup a Centos Samba server for Windows users of our > company lab, and use our company's AD/LDAP for log-in wit

Re: [Samba] stat between reads

2013-03-22 Thread Jeremy Allison
On Fri, Mar 22, 2013 at 02:07:29PM -0700, Jeremy Allison wrote: > On Fri, Mar 22, 2013 at 05:24:20PM +0100, Volker Lendecke wrote: > > If I see it right, we could avoid most of those calls. > > First, they are only relevant to see whether we can do > > sendfile. That choice i

Re: [Samba] stat between reads

2013-03-22 Thread Jeremy Allison
On Fri, Mar 22, 2013 at 05:24:20PM +0100, Volker Lendecke wrote: > On Fri, Mar 22, 2013 at 03:18:53PM +0100, Frank Kautz wrote: > > Hello, > > > > when re-exporting the parallel (network) file-system FhGFS, I noticed a > > significantly reduced read performance. In the output of strace, I see a >

Re: [Samba] Can smbclient bind the source IP address?

2013-03-20 Thread Jeremy Allison
On Fri, Mar 15, 2013 at 08:44:35AM +, Marcel Hernandez Bertran wrote: > > I'd like to know if there's any way to bind a source IP address for smbclient > requests, the likes of ssh's -b argument: > > ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address]... > > -b bind_address >Use bin

Re: [Samba] "not permitted to access this share"

2013-03-20 Thread Jeremy Allison
On Tue, Mar 19, 2013 at 02:54:52PM -0400, Mark Drummond wrote: > Hello all, > > Been fighting with this all day and I am at a loss. Maybe I've been > staring at it too long. I'm getting a "not permitted to access this > share error" where I think I should be getting in no problem. > > user 'fizbi

Re: [Samba] Server 2012 Encrypted Shares and SMB 3.0

2013-03-18 Thread Jeremy Allison
On Sun, Mar 17, 2013 at 11:59:49PM -0500, Cory Spence wrote: > Hello Samba folks, > > Server 2012 has an option to create encrypted shares which enable > in-transit data encryption between Windows 8 clients using SMB 3.0. > > ( > http://blogs.technet.com/cfs-filesystemfile.ashx/__key/communityse

Re: [Samba] smbclient using smb2 protocol linux-2-linux share

2013-03-16 Thread Jeremy Allison
On Wed, Feb 06, 2013 at 01:41:56PM -0800, rmarquez wrote: > Trying to get a linux samba file server using samba 4.0.3 (compiled on the > machine) running on ubuntu 3.8rc6 kernel to share out and negotiate with a > linux client running the same kernel and smbd compiled from 4.0.3 samba > source. >

Re: [Samba] Samba4 smb.conf parse shares diffently depending on where a section is located.

2013-03-15 Thread Jeremy Allison
On Fri, Mar 15, 2013 at 12:53:16PM +0100, Daniel Hedblom wrote: > I guess this works as intended but i wanted to put it here anyhow for > future reference for others. > > If a share definition is located above [Global] it gets totally different > attributes. We had enormous problems with rights on

Re: [Samba] no network interfaces found on OpenIndiana (Illumos)

2013-03-06 Thread Jeremy Allison
On Wed, Mar 06, 2013 at 11:42:02AM +0100, Joeri Vanthienen wrote: > Hi, > > I've downloaded the samba 3.6.12 OpenCSW package. > I joined openindiana to the the active directory, winbind seems to > work fine, I see all the users with "wbinfo -u". > However, my samba server is not starting. It seems

Re: [Samba] Access to Samba-Shares with "sign communications = mandatory"

2013-03-04 Thread Jeremy Allison
On Mon, Mar 04, 2013 at 11:01:04AM +0100, d.guthm...@gmx.net wrote: > Hello Samba-Specialists, > > which smb.conf-options do I have to set to get access to a Samba-Share from a > Windows7-Machine, if the Windows7-Machine is very restrictive configured > regarding 'smb-signing'? > > Windows7-Con

Re: [Samba] samba4 PDC to BDC file replication

2013-03-03 Thread Jeremy Allison
On Sun, Mar 03, 2013 at 02:41:35PM +1000, C Waddy wrote: > No luck so far with a suitable solution for file replication to BDC and > retain ntfs perms.. > > After testing again with Rsync, it will not preserve NTFS permissions, no > matter what flags are used? > > Glusterfs is cool but only for 6

Re: [Samba] samba4 PDC to BDC file replication

2013-03-01 Thread Jeremy Allison
On Thu, Feb 28, 2013 at 09:13:39PM -0800, Gregory Sloop wrote: > > I'm in the same boat, and I'm only aware of two possibilities. > > 1) Robocopy - using a Windows client. >BUT Robocopy doesn't do file deltas - changed files are copied in >their entirety. Which isn't a problem if you don'

Re: [Samba] linux-to-linux samba weird problem

2013-02-27 Thread Jeremy Allison
On Wed, Feb 27, 2013 at 04:00:23PM -0500, Neal Murphy wrote: > I've a weird problem with Samba. I'm using Samba to share a filesystem > between > two linux systems because I believe I need byte range locking to prevent > multiple processes on different computers from reading/writing the same ISA

Re: [Samba] net rpc share allowedusers gives "Coult not query secdesc for share"?

2013-02-27 Thread Jeremy Allison
On Wed, Feb 27, 2013 at 05:27:47PM +0800, Paul Wise wrote: > Hi all, > > [Please CC me in reply, I'm not subscribed] > > On two of our machines, "net rpc share allowedusers" gives the error > "Coult not query secdesc for share", partial debug log (-d10) below. > > The servers are both running Wi

Re: [Samba] smb2 vs. NT1

2013-02-25 Thread Jeremy Allison
On Mon, Feb 25, 2013 at 09:38:51AM +0100, Papp Tamas wrote: > hi All, > > > We have a glusterfs cluster with 5 nodes on Ubuntu 12.04 amd64. > We use this smb.conf: > > [global] > socket options = IPTOS_THROUGHPUT TCP_NODELAY IPTOS_LOWDELAY > SO_SNDBUF=131072 SO_RCVBUF=131072 Remove the

Re: [Samba] Possible bug in Samba 4 - no Recycle VFS object

2013-02-22 Thread Jeremy Allison
On Fri, Feb 22, 2013 at 10:01:11AM +, Sebastian Arcus wrote: > Hi Jeremy. Thanks for the reply. Would that mean that it is not > possible to use the recycle bin in the ADS domain mode? It's nothing to do with the ADS domain mode, it's to do with what fileserver backend you're using. smbd ==

Re: [Samba] Possible bug in Samba 4 - no Recycle VFS object

2013-02-21 Thread Jeremy Allison
On Thu, Feb 21, 2013 at 07:24:26PM +, Sebastian Arcus wrote: > Just a quick check here before I file a bug report. I've just > checked if I can use the recycle VFS object in Samba 4 like I do in > Samba 3 - and it seems that is not implemented yet. Should I file it > as a bug report - or Samba

Re: [Samba] Question marks, asterisks, colons in filenames

2013-02-21 Thread Jeremy Allison
On Thu, Feb 21, 2013 at 04:38:13PM -0600, Rob Townley wrote: > On Wednesday, February 20, 2013, Jeremy Allison wrote: > > On Wed, Feb 20, 2013 at 11:30:37AM +0100, Sven Tegethoff wrote: > >> > >> What we have here is a problem of two incompatible text fields,

Re: [Samba] What will happen if I disable reverse check for \\server\printer on samba?

2013-02-21 Thread Jeremy Allison
On Wed, Feb 20, 2013 at 12:03:08PM -0500, Alex Korobkin wrote: > Hi team, > > In Samba 3.6, rpc_server/spoolss/srv_spoolss_nt.c file has this stance at > line 1740: > > /* some sanity check because you can open a printer or a print > server */ > /* aka: \\server\printer or \\server */ >

Re: [Samba] Question marks, asterisks, colons in filenames

2013-02-20 Thread Jeremy Allison
On Wed, Feb 20, 2013 at 11:30:37AM +0100, Sven Tegethoff wrote: > > What we have here is a problem of two incompatible text fields, and > it does not make a difference if that incompatibility is a filenames > in a file system or some table in some kind of non-filesytem media > library. If you can'

Re: [Samba] Question marks, asterisks, colons in filenames

2013-02-19 Thread Jeremy Allison
On Tue, Feb 19, 2013 at 08:50:39PM +0100, Ray wrote: > Hi, > > at home I only use Linux, so no problem there. Even all my > Squeezebox radios haven't got any problem with "special" characters, > which is not really a surprise, because under the hood they also run > Linux. > > But I also run a sit

Re: [Samba] Samba 4 DC log.smd flooded with Conversion error

2013-02-09 Thread Jeremy Allison
On Sat, Feb 09, 2013 at 11:54:26PM +0800, Kinglok, Fong wrote: > My machine is running samba 4.0.3 inside a DomU of Debian Wheezy. > > Following the Samba AD Howto and running Samba 4.0.3 successfully but with > one pretty serious problem. When I try access the folder with 1000 files, > the spe

Re: [Samba] FW: APIs are provided of the samba for development or not

2013-01-30 Thread Jeremy Allison
On Wed, Jan 30, 2013 at 10:21:43AM +, Nirmit Kansal wrote: > > Hi, > > I need to implement the the samba in the source code of my project and for > this I need to do the command line part through my code > So I need the APIs for doing the things, like add user and all other things > so, > I

Re: [Samba] Samba 4 vs UNIX password

2013-01-17 Thread Jeremy Allison
On Thu, Jan 17, 2013 at 09:09:43PM +, Benjamin Huntsman wrote: > Ok, now I'm stuck... > > We have several stand-alone UNIX (AIX) systems that we need to share a few > SMB shares from. None of these are joined to our domain. > > We want the end-users to be able to map these shares to their W

Re: [Samba] Switching between

2013-01-11 Thread Jeremy Allison
On Fri, Jan 11, 2013 at 08:31:57PM +, Steve Tice wrote: > Jeremy Allison samba.org> writes: > > > > > There's no code in Samba to do this unless you're doing it > > via a client. > > > > You could write custom code to pull the data out of t

Re: [Samba] Switching between

2013-01-11 Thread Jeremy Allison
On Fri, Jan 11, 2013 at 07:07:26PM +, Steve Tice wrote: > My organization is in the position of having to support full > Windows ACLs on CIFS shares. We've been successfully utilizing > Samba 3.5.10-125 and vfs_acl_tdb to accomplish that. However, > the size of the resulting > /var/lib/samba/st

Re: [Samba] Samba 4 on AIX with XLC

2013-01-08 Thread Jeremy Allison
On Tue, Jan 08, 2013 at 06:46:16PM +, Benjamin Huntsman wrote: > >See if there's a config.log. Look for things to do with "nls", > >"i18n", "l10n", "gettext" etc. > > > >Btw, I think OpenLDAP and "Active Directory support" are only relevant > >to client/member support for AD. The Samba 4.x AD

Re: [Samba] Samba 4 on AIX with XLC

2013-01-07 Thread Jeremy Allison
On Mon, Jan 07, 2013 at 10:58:08PM +, Benjamin Huntsman wrote: > As a further follow-up, here's an example, from source3/utils/net_cache.c: > > d_printf(_("Key: %s\t Timeout: %s\t Value: %s %s\n"), keystr, > timeout_str, datastr, timeout > now_t ? "": _("(expired)")); > > My

Re: [Samba] SMB2 CREATE + ACCESS_SYSTEM_SECURITY

2013-01-03 Thread Jeremy Allison
On Mon, Dec 31, 2012 at 04:47:56PM +, Steve Tice wrote: > Jeremy Allison samba.org> writes: > > > > > On Tue, Dec 18, 2012 at 12:24:04PM -0600, Steve Tice wrote: > > > Can anybody provide the expected response to an SMB2 CREATE request that > > >

Re: [Samba] SMB2 CREATE + ACCESS_SYSTEM_SECURITY

2012-12-26 Thread Jeremy Allison
On Tue, Dec 18, 2012 at 12:24:04PM -0600, Steve Tice wrote: > Can anybody provide the expected response to an SMB2 CREATE request that > includes ACCESS_SYSTEM_SECURITY in the DesiredAccess mask? I’m particularly > interested in cases where the SMB client is connected as an authenticated > user wit

Re: [Samba] smbclient 3.5.6 potential bug: 100-character filenames not extracted properly from tar

2012-12-14 Thread Jeremy Allison
On Fri, Dec 07, 2012 at 08:57:24PM +, Bjoren Davis wrote: > Hello Samba folks, > I have come across a problem with smbclient 3.5.6 when I use the tar 'x' > feature. > Pathnames that work out to be 100 characters long are extracted incorrectly: > bash-3.2$ tar tvf ugh.tar > -rw-r--r-- bdavis/Do

[Samba] Samba 4.0 released - The First Free Software Active Directory Compatible Server is now available !

2012-12-11 Thread Jeremy Allison
Samba Team Releases Samba 4.0 = December 11th 2012. The Samba Team is proud to announce the release of Samba 4.0, a major new release of the award-winning Free Software file, print and authentication server suite for Microsof

Re: [Samba] permissions keeping changing

2012-12-05 Thread Jeremy Allison
On Wed, Dec 05, 2012 at 02:34:46PM -0500, Bill Brunt wrote: > I am using version 3.5.6 so I could use that but obviously don't want to > negate it with an upgrade. > > I'm thinking I must crazy to ask for "force directory security mode" > parameter to come back? Well they were very confusing, a

Re: [Samba] permissions keeping changing

2012-12-04 Thread Jeremy Allison
On Tue, Dec 04, 2012 at 06:12:36PM -0500, Bill Brunt wrote: > I've got a share where I needed the permissions to be 770 and I think an > Apple Mac computer is connecting to a Samba share and changing the > permissions each day. > > At the end of the day, I'll set permissions to: > > root@backbl

Re: [Samba] permissions keeping changing

2012-12-04 Thread Jeremy Allison
On Tue, Dec 04, 2012 at 06:12:36PM -0500, Bill Brunt wrote: > I've got a share where I needed the permissions to be 770 and I think an > Apple Mac computer is connecting to a Samba share and changing the > permissions each day. > > At the end of the day, I'll set permissions to: > > root@backbl

Re: [Samba] VFS ACL with SMB2

2012-12-03 Thread Jeremy Allison
On Fri, Nov 23, 2012 at 01:44:53PM +0100, Adrian Berlin wrote: > Hi! > > Seems I cannot send attach to lists.samba.org > > Debug file with level 10 below: Please log a bug @ bugzilla.samba.org and attach the log there. Lists aren't the place for debug files. Thanks, Jeremy. -- To unsubscrib

[Samba] Press around releasing Samba4.

2012-11-26 Thread Jeremy Allison
e send the quotes directly to me j...@samba.org (unless you're happy to send to the lists). Thanks in advance, and I hope Samba4 works well for everyone, as we've had a lot of fun developing it ! Cheers, Jeremy Allison, Samba Team. -- To unsubscribe from this list go

Re: [Samba] VFS ACL with SMB2

2012-11-26 Thread Jeremy Allison
On Wed, Nov 21, 2012 at 09:53:53AM +0100, Adrian Berlin wrote: > Hi! > > Thanks for reply. > > Debug file with level 10 attached. I didn't say post to the list (it got stripped anyway :-). I said log a bug and attach the log there. Hope this helps, Jeremy. -- To unsubscribe from this list go

Re: [Samba] VFS ACL with SMB2

2012-11-20 Thread Jeremy Allison
On Tue, Nov 20, 2012 at 10:47:19AM +0100, Adrian Berlin wrote: > Hi! > Do you have any feedback? > Best regards/Adrian Berlin At this point you need to log a bug and attach a debug level 10 log showing the problem. Hope this helps, Jeremy. -- To unsubscribe from this list go to the following UR

  1   2   3   4   5   6   7   8   9   10   >