10-08-2001
Example config works fast for us.....
Here is our working samba conf file /etc/smb.conf
Quote:
[global]
workgroup = UNIX
encrypt passwords = yes
domain logons = yes
server string = Samba on UNIX
netbios name = ATHLON
hosts allow = 192.168.0.169 localhost
interfaces = 192.168.0.155/255.255.255.0
log level = 2
default service = data
local master = yes
wins support = yes
name resolve order = wins lmhosts hosts bcast
dns proxy = yes
security = user
os level = 34
preferred master = yes
domain master = yes
[homes]
browsable = no
writable = yes
[unix]
path = /usr/local/unix_files
valid users = unix, nobody, root
browseable = yes
comment = UNIX Disk on
WWW.UNIX.COM
volume = UNIX-Disk
guest ok = yes
writeable = yes
[data]
path = /usr/local
browseable = yes
comment = Data Disk on
WWW.UNIX.COM
volume = Data-Disk
guest ok = yes
writeable = yes
[netlogon]
comment = Domain Logon Service
path = /usr/local/samba/login
public = no
writeable = no
browsable = no
This configuration works fine (very fast).... is only one master controller (samba server) with a bunch of clients on the SAME subnet (ethernet segment). I would suggest you try something like this (without SSL) first to see if this is fast for you.
9 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
The site has gone slow for quite some time...
Can you do somethin abt it (2 Replies)
Discussion started by: DPAI
2 Replies
2. UNIX for Advanced & Expert Users
I have an HP-UX server with a Network Appliance Filer attached over Gigabit Ethernet. I am noticing very slow response time when using "ls -l" on one directory on one of the several NFS mounted filesystems. The "ls" command by itself does not seem to be a problem. Typically I get a response within... (3 Replies)
Discussion started by: keelba
3 Replies
3. SCO
Hi All
We have one SCO Server here and it never gives us any trouble. Until Now!! Well its not earth shattering but we have one user who is complaining of a very slow response time when changing to his Home Directory. Other users who have similar profiles are OK. I have su'd to this user and I can... (0 Replies)
Discussion started by: JohnOB
0 Replies
4. Shell Programming and Scripting
Hi I am using a cut command in the script which is slowing down the performance of the script .can anyone suggest the other ways of doing the same cut command
Record_Type=`echo "$line" | cut -c19-20`
*******this is slowing down*********
i have 4 more cut commands
2 in one loop and 2 in inner... (3 Replies)
Discussion started by: pukars4u
3 Replies
5. IP Networking
Hi everyone, I posted this on the Solaris forums but so far no one has been able to help...
I'm new to solaris and I've installed 10, update 5. I've configured samba (very badly I believe) so that I can access my solaris box from my XP 64 computer.
Both are on a local network (connected via... (1 Reply)
Discussion started by: ciscocbee
1 Replies
6. UNIX and Linux Applications
The problem is between 2:00 and 5:00 PM.
The email (procmail) proccess load up big time. If I do a prstat at 8:00 AM
I have about 100 proccess and 30 mails in mailq.
Now at 3:50 PM, I have over 1000 proccess from prstat and 600 e-mail in mailq.
Some mail takes 2 hours to get out or in.
... (1 Reply)
Discussion started by: photon
1 Replies
7. AIX
Hello.
I am running AIX 5.2 on a 9131-52A
I am trying to run a mksysb. I ran one on a similar 9131 and it did not take long at all. But this one is taking forever. My output is as follows:
*********************************************************
AIX:/ # mksysb -i /dev/rmt0
Creating... (2 Replies)
Discussion started by: mhenryj
2 Replies
8. Solaris
Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account.
If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies
9. Red Hat
Hi,
I have RHEL 6.1 on VM, where Big data is installed. Every 3-4 days, its web interface become very slow and I had to reboot this VM. I was checking with "top" and that shows that free memory is less. Can this be a reason for slowness ? No big load on CPU.
# free -m
total ... (6 Replies)
Discussion started by: solaris_1977
6 Replies
LEARN ABOUT REDHAT
cupsaddsmb
cupsaddsmb(8) Easy Software Products cupsaddsmb(8)
NAME
cupsaddsmb - export printers to samba for windows clients
SYNOPSIS
cupsaddsmb [ -H samba-server ] [ -U samba-user ] [ -h cups-server ] [ -v ] -a
cupsaddsmb [ -H samba-server ] [ -U samba-user ] [ -h cups-server ] [ -v ] printer [ ... printer ]
DESCRIPTION
cupsaddsmb exports printers to the SAMBA software (version 2.2.0 or higher) for use with Windows clients. Depending on the SAMBA configura-
tion, you may need to provide a password to export the printers. This program requires the CUPS or Adobe PostScript printer driver files
described below.
The -H option specifies the SAMBA server which defaults to the CUPS server.
The -U option specifies the SAMBA print admin username which defaults to your current username.
The -a option exports all known printers. Otherwise only the named printers are exported.
The -h option specifies a different CUPS server to use.
The -v option specifies that verbose information should be shown and is useful for debugging SAMBA configuration problems.
SAMBA CONFIGURATION
cupsaddsmb uses the new RPC-based printing support in SAMBA 2.2.x to provide printer drivers and PPD files to Windows client machines. In
order to use this functionality, you must first configure SAMBA (via the smb.conf file) to support printing through CUPS and provide a
printer driver download share, as follows:
[global]
load printers = yes
printing = cups
printcap name = cups
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
printer admin = root
[print$]
comment = Printer Drivers
path = /etc/samba/drivers
browseable = yes
guest ok = no
read only = yes
write list = root
This configuration assumes a FHS-compliant installation of SAMBA; adjust the [printers] and [print$] share paths accordingly on your system
as needed.
CUPS POSTSCRIPT DRIVERS FOR WINDOWS
cupsaddsmb can use the CUPS PostScript printer drivers for Windows, which are available for download from the CUPS web site.
The CUPS printer drivers are preferred over the Adobe drivers since they support page accounting, banner pages, and page labels on all
printers. However, currently only Windows NT, 2000, and XP are supported by the CUPS drivers, so you will also need to get the Adobe
driver to support Windows 95, 98, and Me clients.
Once you have extracted the driver files, create a "drivers" directory in the CUPS data directory (usually /usr/share/cups) and copy the
CUPS files using lowercase filenames, as follows:
[Windows NT, 2000, and XP]
cups.hlp
cupsdrvr.dll
cupsui.dll
ADOBE POSTSCRIPT DRIVERS FOR WINDOWS
cupsaddsmb can use the Adobe PostScript printer drivers for Windows, which are available for download from the Adobe web site
(http://www.adobe.com).
The CUPS printer drivers are preferred over the Adobe drivers since they support page accounting, banner pages, and page labels on all
printers.
Once you have extracted the driver files, create a "drivers" directory in the CUPS data directory (usually /usr/share/cups) and copy the
Adobe files using UPPERCASE filenames, as follows:
[Windows 95, 98, and Me]
ADFONTS.MFM
ADOBEPS4.DRV
ADOBEPS4.HLP
DEFPRTR2.PPD
ICONLIB.DLL
PSMON.DLL
[Windows NT, 2000, and XP]
ADOBEPS5.DLL
ADOBEPSU.DLL
ADOBEPSU.HLP
You can download and copy either set of driver files independently, and use the CUPS drivers for Windows NT, 2000, and XP while using the
Adobe drivers for the Windows 95, 98, and Me clients.
SEE ALSO
CUPS Software Administrators Manual, http://localhost:631/documentation.html
COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
27 September 2002 Common UNIX Printing System cupsaddsmb(8)