









|
[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[NMLUG] samba questions
- Subject: [NMLUG] samba questions
- From: timothyemerick at yahoo.com (Tim Emerick)
- Date: Mon Feb 2 10:56:49 2004
Hey gang. Couple of samba questions.
1)
I'm getting very confused with linux/samba permission conflicts. I would like to let samba take care of file permissions by creating/modifying files with a -rwxrwxrwx type permissions. I'm under the impression that this will defeat the linux permissions and let file access depend on a password passed to samba. Can someone give me a pointer on using chown and chmod such that samba is controlling file permissions 100%.
I am trying to emulate a Win98 type share mode file/print sharing setup where users must provide a password for certain shares. I've googled around but most help is directed to PDC type setups.
2)
I've been having problems with windows print jobs still showing in the queue even after they've been printed. While this is more an annoyance than anything else it seems that over time I have to kill the queue and re-create it to dump all the leftovers out. I think it has something to do with the LPR commands being passed.
3)
I've been having problems with a btrieve based application which slows to a crawl after some period of use. I moved it off the samba server and it now sits on a win98 machine humming along happily. It seems to be using btrieve 6.15 in a peer to peer mode. The application developer says they only support MS platforms but I'm sure I can move it to samba. Last time I tried I seemed to be having problems with file locks. Last time I googled there was a recognized issue out there with MS access files and btrieve files with oplocks. Anybody have any answers?
Thanks in advance for any help, suggestions, or links.
Tim Emerick
My system is RH7.2 and samba 2.2.7-security-rollup-fix (from redhat)
Here's my /etc/samba/smb.conf file:
# Samba config file created using SWAT
# from 10.20.252.68 (10.20.252.68)
# Date: 2004/01/15 13:32:05
# Global parameters
[global]
workgroup = GMADOM04102
netbios name = A1
netbios aliases = sandraf
server string = Reliable Server
security = SHARE
encrypt passwords = Yes
hosts equiv = /etc/hosts
null passwords = Yes
admin log = Yes
log level = 1
syslog = 2
log file = /shares/sambastuff/logs/%m.log
time server = Yes
deadtime = 60
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
wins server = 204.125.183.133
remote announce = 204.125.183.133/gmadom04102
username = nobody
guest ok = Yes
printing = lprng
map archive = No
[installs]
comment = Software Installation Point
path = /shares/installs
force user = nobody
guest only = Yes
[root]
comment = Admin Shares Access
path = /shares
username = root
guest account =
force user = root
read only = No
create mask = 0777
only user = Yes
browseable = No
[bluebook]
comment = KarPower & NADA - Map to W
path = /shares/bluebook
force user = nobody
read only = No
guest only = Yes
[kodata]
comment = Kodata CD Rom
path = /shares/kodata
force user = nobody
guest only = Yes
fake oplocks = Yes
[pathways]
comment = Body Shop CCC Pathways - Map to Z
path = /shares/pathways
force user = nobody
read only = No
guest only = Yes
strict sync = Yes
sync always = Yes
[rootroot]
comment = Root Access
path = /
username = root
guest account =
force user = root
read only = No
browseable = No
[nai]
comment = Norton Antivirus Update Files
path = /shares/antivirus
force user = nobody
guest only = Yes
[temp]
comment = Temporary Working Space
path = /shares/temp
force user = nobody
read only = No
guest only = Yes
[printers]
path = /tmp
printer admin = csmall01
guest only = Yes
printable = Yes
print command = lpr -U%U -r -P%p %s
lprm command = lprm -P%p -U%U %j
lppause command = lpc -U%U hold %p %j
lpresume command = lpc -U%U release %p %j
queuepause command = lpc -U%U -P%p stop
queueresume command = lpc -U%U -P%p start
browseable = No
[print$]
comment = Printer Definition Files
path = /shares/sambastuff/printerdrivers
username = root
guest account = root
read only = No
[accounting]
comment = Accounting Department Only
path = /shares/accounting
username = accounting
force user = accounting
read only = No
create mask = 0777
directory mask = 0777
guest ok = No
only user = Yes
[backup$]
comment = Hidden Backup Directory
path = /backup
username =
guest account = root
read list = root
force user = root
delete readonly = Yes
[accounting-pr]
comment = Payroll Department Only
path = /shares/accounting-pr
username = payroll
guest account =
read only = No
guest ok = No
[pdf]
comment = PDF pickup area
path = /shares/pdf
force user = nobody
read only = No
[pdf-printer]
comment = PDF Printer - Pickup finished PDF in \\a1\pdf
path = /tmp
guest account = root
printable = Yes
print command = /usr/bin/printpdf %s
lpq command =
lprm command =
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.b9.com/pipermail/nmlug/attachments/20040202/35b90a04/attachment.html
|
|