Re: [Samba] slow and max connection errors

2004-01-08 Thread Don Wheeling
Thanks for all the suggestions so far. I can log into the server but i 
still get slow copies and an error in my logs:

2004/01/08 10:25:37, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
ideas?

On Jan 6, 2004, at 12:23 AM, Craig White wrote:

On Mon, 2004-01-05 at 14:34, Don Wheeling wrote:
[global]
load printers = no
This should be yes if you want your printers to show up.
Otherwise the [printers] share below is there for no
reason.
Ok, for now I left this parameter to no and removed the printer
section

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
I don't think you need socket options anymore, I could be wrong.
I removed this line


netbios name = RSB
server string = RSB Server
workgroup = RSB
The SMB protocol doesn't allow you to have your machine name
the same as your workgroup name.  This may be an issue.
k, I renamed them:

netbios name = RSB
server string = RSB Server
workgroup = RSBShared


[shared]
valid users =
swashington,dwheeling,beaster,bfitch,breynoso,bwatson,cbowen,cs
anford,dg
oldfluss,dhuscher,dkalutkiewicz,dmauz,dmcintosh,dschneider,dtin
sley,dwhe
eling,dyoung,gblack,gbonner,gfriedman,gmarciniak,imoore,jburns,
jmayer,jm
ccormick,jmercer,jpallotto,jrodriguez,jsabel,jvirgil,jvoss,kjoh
nson,lbro
wn,lfields,lperkins,mfleming,mhaynes,mheimple,mkarge,mwager,nwa
llace,rbo
wen,robbowen,rrestivo,rstearns,rwinterboer,skirtland,swright,sy
oung,tbur
gess,tswapp,twolf,wgriffith
That's a lot of valid users.  Perhaps you should create a group,
just for managability.  Not strictly necessary.
This is part of my final configs I have planned. I made two user 
groups
that will replace the long list above


2. When macintosh and XP users connect all is fine except for
the speed
issue above but when a win2k client tries to connect it
gets an error
that max users/services have been reached.
What's the exact error and how does it present itself?  Is it
in the event log, or is it a popup dialog type error message?
The error is a popup window on Win2kPro machines:

The network place cannot be added because the following error has
occured:
There are currently no logon servers available to service the logon
request.
Like I said, I'm new but it looks like the server is not broadcasting
itself to the network? The weird thing is some Win2k/XP/Macintosh
machines can connect no problem.

smb.conf
domain master = yes
preferred master = yes
os level = 34 #YMMV
domain logons = yes
wins support = yes # really need to have a WINS Server if you don't
   # have one, then this PDC should be WINS Server
# or #
wins server = ip.address.of.other.server # need a wins server
On windows computer - either manually or via dhcp, however you
accomplish tcp/ip setup, you should point WINS (netbios) server to the
ip address of the PDC (or other server that is providing WINS)
Craig


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


Re: [Samba] slow and max connection errors

2004-01-06 Thread Craig White
On Mon, 2004-01-05 at 14:34, Don Wheeling wrote:
  [global]
  load printers = no
 
  This should be yes if you want your printers to show up.
  Otherwise the [printers] share below is there for no
  reason.
 
 Ok, for now I left this parameter to no and removed the printer 
 section
 
 
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 
  I don't think you need socket options anymore, I could be wrong.
 
 I removed this line
 
 
  netbios name = RSB
  server string = RSB Server
  workgroup = RSB
 
  The SMB protocol doesn't allow you to have your machine name
  the same as your workgroup name.  This may be an issue.
 
 k, I renamed them:
 
 netbios name = RSB
 server string = RSB Server
 workgroup = RSBShared
 
 
 
  [shared]
  valid users =
  swashington,dwheeling,beaster,bfitch,breynoso,bwatson,cbowen,cs
  anford,dg
  oldfluss,dhuscher,dkalutkiewicz,dmauz,dmcintosh,dschneider,dtin
  sley,dwhe
  eling,dyoung,gblack,gbonner,gfriedman,gmarciniak,imoore,jburns,
  jmayer,jm
  ccormick,jmercer,jpallotto,jrodriguez,jsabel,jvirgil,jvoss,kjoh
  nson,lbro
  wn,lfields,lperkins,mfleming,mhaynes,mheimple,mkarge,mwager,nwa
  llace,rbo
  wen,robbowen,rrestivo,rstearns,rwinterboer,skirtland,swright,sy
  oung,tbur
  gess,tswapp,twolf,wgriffith
 
  That's a lot of valid users.  Perhaps you should create a group,
  just for managability.  Not strictly necessary.
 
 This is part of my final configs I have planned. I made two user groups 
 that will replace the long list above
 
 
  2. When macintosh and XP users connect all is fine except for
  the speed
  issue above but when a win2k client tries to connect it
  gets an error
  that max users/services have been reached.
 
  What's the exact error and how does it present itself?  Is it
  in the event log, or is it a popup dialog type error message?
 
 The error is a popup window on Win2kPro machines:
 
 The network place cannot be added because the following error has 
 occured:
 There are currently no logon servers available to service the logon 
 request.
 
 Like I said, I'm new but it looks like the server is not broadcasting 
 itself to the network? The weird thing is some Win2k/XP/Macintosh 
 machines can connect no problem.

smb.conf

domain master = yes
preferred master = yes
os level = 34 #YMMV
domain logons = yes
wins support = yes # really need to have a WINS Server if you don't
   # have one, then this PDC should be WINS Server
# or #
wins server = ip.address.of.other.server # need a wins server

On windows computer - either manually or via dhcp, however you
accomplish tcp/ip setup, you should point WINS (netbios) server to the
ip address of the PDC (or other server that is providing WINS)

Craig

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


[Samba] slow and max connection errors

2004-01-05 Thread Don Wheeling
Sorry about not being specific enough. I will try and be more so in the  
future. Here is what I have currently:

Apple X-serve running Yellowdog (a Redhat 9 port for ppc) with 1GB of  
RAM, 3 60GB HD not setup as RAID. They are individual partitions (/var  
and /, /home and /shared). The shared partition is strictly for Samba  
file sharing. I build in a matching user in both the system and in  
Samba. This way each user gets a private and a public folder.

I am running Samba Version 2.2.8

Below is my smb.conf:

[global]
log file = /var/log/samba/%m.log
load printers = no
smb passwd file = /etc/samba/smbpasswd
passwd chat = *New*password* %n\n *Retype*new*password* %n\n  
*passwd:*all*authentication*tokens*updated*successfully*
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
max disk size = 400
wins support = true
dns proxy = no
netbios name = RSB
server string = RSB Server
printing = cups
default = shared
unix password sync = Yes
workgroup = RSB
os level = 20
printcap name = /etc/printcap
security = user
pam password change = yes

[homes]
browseable = no
writable = yes
comment = Home Directories
valid users = %S
create mode = 0664
max connections = 50
directory mode = 0775
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes
[shared]
browseable = yes
wide links = no
printable = no
writeable = yes
path = /mnt/drbd/nb1/shared
force create mode = 750
comment = Shared Files
valid users =  
swashington,dwheeling,beaster,bfitch,breynoso,bwatson,cbowen,csanford,dg 
oldfluss,dhuscher,dkalutkiewicz,dmauz,dmcintosh,dschneider,dtinsley,dwhe 
eling,dyoung,gblack,gbonner,gfriedman,gmarciniak,imoore,jburns,jmayer,jm 
ccormick,jmercer,jpallotto,jrodriguez,jsabel,jvirgil,jvoss,kjohnson,lbro 
wn,lfields,lperkins,mfleming,mhaynes,mheimple,mkarge,mwager,nwallace,rbo 
wen,robbowen,rrestivo,rstearns,rwinterboer,skirtland,swright,syoung,tbur 
gess,tswapp,twolf,wgriffith
create mode = 750
directory mode = 2750

I think that's it. Thanks

On Jan 5, 2004, at 9:36 AM, Jason Balicki wrote:

I am new to Samba and think I have it set up correctly. I have two
issues that I need to resolve but don't quite know where to start
first. The errors are as follows:
1. Client connections are very slow (about 1MB/sec to copy to or  
from).

2. When macintosh and XP users connect all is fine except for
the speed
issue above but when a win2k client tries to connect it gets an error
that max users/services have been reached.
I probably haven't configured the server correctly but any suggestions
as to where I should look to start would be helpful. Thanks
Don,

When you're asking for help on mailing lists, you should give as much
information as possible, including configuration files pasted inline
below the body of your main text.
You need to tell everyone what version of Samba you are using,
what OS and OS version it's running on, if it's Linux it'd be
nice to know what distro and version and what kernel version
(they are not the same thing.)  Then you need to give as much
detail as possible concerning what you've done to address the
problem yourself.  It's OK to say I don't know much, so I didn't
want to try anything without consulting someone else. -- But we
do need something.  Also, any information about the client
would be nice as well (is it up to date, is it running AV software,
etc.)  Hardware information about both the server and client
would be helpful, especially in performance situations like
this specific one.
Anyway, you should repost your question to the list containing
the information above (don't forget to include your smb.conf
at the end (please remove comments, unless you've added them
yourself for clarity)) and we'll all try to help you as much
as we can.
Thanks,

--J(K)


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


RE: [Samba] slow and max connection errors

2004-01-05 Thread Jason Balicki
I am running Samba Version 2.2.8

Below is my smb.conf:

[smb.conf edited for brevity]

[global]
 load printers = no

This should be yes if you want your printers to show up.
Otherwise the [printers] share below is there for no
reason.

 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

I don't think you need socket options anymore, I could be wrong.

 netbios name = RSB
 server string = RSB Server
 workgroup = RSB

The SMB protocol doesn't allow you to have your machine name
the same as your workgroup name.  This may be an issue.


[shared]
 valid users =  
swashington,dwheeling,beaster,bfitch,breynoso,bwatson,cbowen,cs
anford,dg 
oldfluss,dhuscher,dkalutkiewicz,dmauz,dmcintosh,dschneider,dtin
sley,dwhe 
eling,dyoung,gblack,gbonner,gfriedman,gmarciniak,imoore,jburns,
jmayer,jm 
ccormick,jmercer,jpallotto,jrodriguez,jsabel,jvirgil,jvoss,kjoh
nson,lbro 
wn,lfields,lperkins,mfleming,mhaynes,mheimple,mkarge,mwager,nwa
llace,rbo 
wen,robbowen,rrestivo,rstearns,rwinterboer,skirtland,swright,sy
oung,tbur 
gess,tswapp,twolf,wgriffith

That's a lot of valid users.  Perhaps you should create a group,
just for managability.  Not strictly necessary.

 2. When macintosh and XP users connect all is fine except for
 the speed
 issue above but when a win2k client tries to connect it 
gets an error
 that max users/services have been reached.

What's the exact error and how does it present itself?  Is it
in the event log, or is it a popup dialog type error message?


--J(K)

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


Re: [Samba] slow and max connection errors

2004-01-05 Thread Don Wheeling

[global]
load printers = no
This should be yes if you want your printers to show up.
Otherwise the [printers] share below is there for no
reason.
Ok, for now I left this parameter to no and removed the printer 
section


socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
I don't think you need socket options anymore, I could be wrong.
I removed this line


netbios name = RSB
server string = RSB Server
workgroup = RSB
The SMB protocol doesn't allow you to have your machine name
the same as your workgroup name.  This may be an issue.
k, I renamed them:

netbios name = RSB
server string = RSB Server
workgroup = RSBShared


[shared]
valid users =
swashington,dwheeling,beaster,bfitch,breynoso,bwatson,cbowen,cs
anford,dg
oldfluss,dhuscher,dkalutkiewicz,dmauz,dmcintosh,dschneider,dtin
sley,dwhe
eling,dyoung,gblack,gbonner,gfriedman,gmarciniak,imoore,jburns,
jmayer,jm
ccormick,jmercer,jpallotto,jrodriguez,jsabel,jvirgil,jvoss,kjoh
nson,lbro
wn,lfields,lperkins,mfleming,mhaynes,mheimple,mkarge,mwager,nwa
llace,rbo
wen,robbowen,rrestivo,rstearns,rwinterboer,skirtland,swright,sy
oung,tbur
gess,tswapp,twolf,wgriffith
That's a lot of valid users.  Perhaps you should create a group,
just for managability.  Not strictly necessary.
This is part of my final configs I have planned. I made two user groups 
that will replace the long list above


2. When macintosh and XP users connect all is fine except for
the speed
issue above but when a win2k client tries to connect it
gets an error
that max users/services have been reached.
What's the exact error and how does it present itself?  Is it
in the event log, or is it a popup dialog type error message?
The error is a popup window on Win2kPro machines:

The network place cannot be added because the following error has 
occured:
There are currently no logon servers available to service the logon 
request.

Like I said, I'm new but it looks like the server is not broadcasting 
itself to the network? The weird thing is some Win2k/XP/Macintosh 
machines can connect no problem.

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