Re: [Samba] Transfer rates faster than 23MBps?

2006-09-22 Thread Pitti, Raul

i am not an expert, but,
do you have jumbo frame enabled on your nic and  switch?
try using ethtools...

RP

Mark Smith wrote:

Mark Smith wrote:
As a data point, I'm going to try a newer version of Samba.  (RHEL4 
uses 3.0.10-RedHat-Heavily-Modified-Of-Course)  If that makes a 
difference, then I have to decide whether it's worth it to me to keep 
RedHat support or not.  (And when I say I, I really mean my 
management.)


I've just tried this.  Samba v3.0.23c, built locally from the Fedora 
Source RPM as distributed at samba.org, makes no noticeable difference: 
 still about 45 seconds.


I have lots of memory.  I use these configurations in sysctl.conf to 
up the performance of send/recieve windows on my systems.  There's 
articles out there.  I don't have historical references handy.

YMMV.
net.core.wmem_max = 1048576
net.core.rmem_max = 1048576
net.ipv4.tcp_wmem = 4096 65536 1048575
net.ipv4.tcp_rmem = 4096 524288 1048575
net.ipv4.tcp_window_scaling = 1


I have not tried tweaking the TCP stack in the OS.  I'll give that a 
shot.


The person at RedHat who's handling my ticket just suggested these very 
changes, without the last one.  They did not help.  The values he gave 
were a little different:


- snip! -
# increase TCP maximum buffer size
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216

# increase Linux autotuning TCP buffer limits
# min, default, and maximum number of bytes to use
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
- snip! -

I also tried your values, with the tcp_window_scaling, with no luck.

-Mark


--

Raúl Pittí Palma, Eng.

Global Engineering and Technology S.A.
mobile (507)-6616-0194
office (507)-390-4338
Republic of Panama
www.globaltecsa.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Fedora Core 5 and Windows 98

2006-05-29 Thread Pitti, Raul

Samuel Santiago wrote:


Greetings All,

My problem is trying to mount an SMB share from Fedora Core5 to a
Windows 98 Machine. Before upgrading from FC4 to FC5 everything worked.
I have searched around and it appears that the smbmount and mount -t
smbfs options have been deprecated in Samba 3.0.22-1 in favor of CIFS.
The command I have been trying now is:

mount -t cifs //192.168.0.126/laptop /mnt/share -o username=chime

whereas I used to be able to do...

mount -t smbfs //192.168.0.126/laptop /mnt/share -o username=chime

but the problem I have now is that it won't mount. I get an error 


mount error 112 = Host is down

The host is NOT down, that is the IP address of the laptop running
Windows 98 with file and print sharing enabled, and I have named the
share laptop. There is no Firewall installed blocking any ports on the
98 machine. 
I can ping it and no other config on it has changed. The only change was

going from FC4 to FC5. Here are the results of my smb.conf testparm

Server role: ROLE_STANDALONE
[global]
server string = Linux Server
guest account = guest
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
dns proxy = No
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
hosts allow = 192.168.0.126
cups options = raw

[homes]
comment = Home Directories
read only = No

Anyone have any insight to this issue.

Thanks for your help

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

 

AFAIK, cifs does not support lanmman , thus you are unable to mount a 
win98 share onyour stock fedora5 kernel.  You need to recompile your 
kernel to support smbfs.

let me know how it goes.
RP

--

Raúl D. Pittí Palma
Associate
Global Engineering and Technology S.A.
mobile (507)-6616-0194
office (507)-264-4337 / 390-43398
Republic of Panama
www.globaltecsa.com 


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Write access doesn't grant delete access?!

2006-05-08 Thread Pitti, Raul

Jerry Westrick wrote:


On Sunday 07 May 2006 23:24, Adam Nielsen wrote:
 


Hi Jeremy,

Sorry it has taken me so long to get back to you.

   


I didn't realise that Samba treated Delete access separately to
Write access - how do I grant Delete access on a folder?
   


It doesn't. Can you post a debug level 10 log of a delete request
please?
 


I'll send you the debug log off-list, but from the looks of it there's
an issue with the ACLs.  Samba says I don't have enough access to
delete files, which I could understand, except for the fact that I can
*modify* the file I'm trying to delete.  I would've assumed in this
case that I didn't have write or execute access to the directory,
but as far as I can tell, I do.

Thanks,
Adam.
   



Yo, Adam...

There is a special Linux security attribute which in effect says only
owner can delete...  I forget the exact value,  but got bitten by it once.

Check to see if that's your problem...

Jerry
 



try to apply chmod 0770 or whatever you want to remove all the special 
attributes.  Tell us how it goes.

hope this help!

RP


--

Raúl D. Pittí Palma
Associate
Global Engineering and Technologies
mobile (507)-6616-0194
office (507)-264-2362
Republic of Panama
www.globaltecsa.com 


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] changing passwords from Windows XP Pro workstations

2006-03-30 Thread Pitti, Raul

Gary Dale wrote:


Craig White wrote:


I'm keeping this on list.

On Thu, 2006-03-30 at 08:52 -0500, Gary Dale wrote:
 


Craig White wrote:
  



 



if I was going to guess...I think your problems are...

http://samba.org/samba/docs/man/Samba3-ByExample/small.html#id2525330

see items #3 through #7

you don't have a passwd chat script as I recall. That's probably
important.

your setup should track this setup as I see it.

http://samba.org/samba/docs/man/Samba3-ByExample/secure.html

since you have no interest in advancing your skills, count me out next
time unless you learn to ask simple questions. The simple truth is, if
you want know little, point and click Windows network administration,
you are probably better off using a Microsoft Windows server.
My interest is in helping people that actually are interested in
learning something, yes gasp, those that actually do want to become
expert. Lastly, I would heavily suggest you forget about LDAP until 
your
attitude changes because it is hostile to administrators that don't 
want

to become knowledgdable.

Craig






Thanks Craig. I think you'll see a problem here. You suggest that 
the issue may be a lack of a passwd chat script, while two others 
suggest I remove the passwd chat script - which is almost identical 
to the one in the second URL you just gave.


The issue isn't about whether people want to learn. It's about how 
much they have to learn to get things to work. If something takes 
too much effort, in the real world it doesn't get done. There is 
nothing inherently complicated about managing a directory service. 
Look at the simple Linux tools for user  or printer administration 
for proof. I see no virtue in making Samba-LDAP configuration a 
black art. A basic setup should be easy to achieve. In fact, from 
what I have been reading, LDAP should be the standard Samba backend. 
That won't happen if people have to spend a week or more learning 
how to use it.
  



You completely do not get it.

Samba is infinitely configurable.

Windows - at the moment of setup you have to choose the role for a
server, whether a domain controller or a member server. The workstation
is sold separately.
Samba provides all of those roles including a Windows 95/98 server too.

There is no way that anyone can solve your problem with any certainty
without suitable logs, an inspection of your tdbsam and your /etc/passwd
files AND the smb.conf, the whole of which you dumped on us last night
and undoubtedly have changed many times since. Proper mail list
etiquette and a commitment to demonstrating that you are actually
focused on the problem would dictate that you limit those items to only
the minimum necessary logs, smb.conf, etc.

Your information is incomplete and as I stated last night, I am not
going to speculate any further on your problems. In fact, your reply has
made me sorry that I even speculated on the solution to your problem.
As for my 'seeing' the problem - that being in your mind - different
suggestions to solve your problem - that is absolutely absurd.
***The problem*** is you don't know how to provide the information with
which someone can tell you what the definitive solution would be.

As for your suggestion that Samba-LDAP a black art...Samba is Samba and
LDAP is LDAP - you understand neither package so expecting them to work
for you is a rather pointless endeavor. Knowledge is power and you
appear to be lacking both. Yet you expect them to work for you even
though you don't understand them nor wish to understand them - I wish
you luck.

Let me be blunt - you are a help vampire. Please don't email me any more
until you change your ways.

Craig

 

Under your rules, it is up to the patient to figure out what tests 
need to be performed before visiting the doctor. :)


I have always regarded the help process as a dialogue - maybe that 
comes from my having worked in systems support at one time, or maybe 
it comes from my being a systems consultant (both inhouse and contract 
at various times) - but I have never expected the customer to tell me 
what is wrong in a manner that I can immediately say here's what you 
have to do.


In my experience, the customer/patient comes to the experts with a 
problem. The experts dig around to determine what the issue really is, 
including asking for specific tests or more information. Then they 
make a diagnosis and prescribe a treatment/solution.


Insulting the patient/customer is usually not a good way to go about 
things. I've been working with PCs since 1978 and with Linux since 
1998. I put a lot of effort into learning about making things work. 
And according the the Mensa test, I'm not stupid. :) But I'm also not 
someone who has a narrowly defined role. My customers expect me to be 
broadly knowledgeable on just about every topic associated with 
computers. Even if I became an LDAP guru, I'd be unlikely to maintain 
that level of expertice for long. That is a fact of life in the real