LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-24-2004, 12:54 PM   #1
antwoneeter
LQ Newbie
 
Registered: Sep 2004
Location: Appleton, WI
Distribution: Debian, SUSE, Red Hat
Posts: 12

Rep: Reputation: 0
Question Samba PDF share disappearing


I have Samba 3.0.4 set up as a PDC and also running file and print sharing. I have 3 printers set up and are made available/visible through the [printers] section, so I don't have separate print shares for them.

When I view the server from a W2K machine all 3 printers and the PDF show up fine. After about 30 seconds the PDF printer disappears! It shows back up if I restart Samba, for another 30 seconds and disappears again!

I can't be the only person on Earth to have experienced this, am I? I've googled my brains out and it seems no one has encountered this. Any similar experiences can help. Thanks in advance.

Here's the smb.conf.

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-06-03
[global]
workgroup = STRATEGIES-LLC
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
remote announce = 10.10.0.255/STRATEGIES
map to guest = Bad User
# logon path = \\%L\profiles\.msprofile
# logon drive = P:
# logon home = \\%L\%U\.9xprofile
security = user
encrypt passwords = yes
server string = SUSE Samba
netbios name = suse

add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
add user script = /usr/sbin/useradd -m %u
add group script = /usr/sbin/groupadd %g
delete user script = /usr/sbin/userdel -r %u
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u

domain master = true
domain logons = yes
local master = yes
preferred master = yes
os level = 65
ldap suffix = dc=example,dc=com
passdb backend = smbpasswd
# obey pam restrictions = yes
load printers = yes
wins support = yes
name resolve order = wins lmhosts bcast
[homes]
comment = Home Directories
valid users = %S
browseable = no
read only = No
inherit permissions = Yes
guest ok = no
printable = no
path = %H

;; [profiles]
;; comment = Network Profiles Service
;; path = %H
;; read only = No
;; store dos attributes = Yes
;; create mask = 0600
;; directory mask = 0700
;; browseable = yes
;; guest ok = no
;; printable = no
;; [users]
;; comment = All users
;; path = /home
;; read only = No
;; inherit permissions = Yes
;; veto files = /aquota.user/groups/shares/
;; browseable = yes
;; guest ok = no
;; printable = no

[smbpdf]
comment = PDF creator
path = /var/tmp
printable = yes
# print command = /usr/sbin/pdfprint %s %U %G %m %I %H
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z

[printers]
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = yes
guest ok = no

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root admin1
force group = ntadmin
create mask = 0664
directory mask = 0775
browseable = yes
guest ok = no
printable = no

[data]
comment = Shared Data
path = /data1/
 
Old 09-24-2004, 08:11 PM   #2
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Rep: Reputation: 15
Few things:

- domain master - did you mean to set this up as a PDC? I'd probably not worry about that line, or the ldap line.

- os level might be high, but it's been a long day. <G>

www.samba.org - there's a book there - Samba by Example - that shows step by step examples on samba configurations.
 
Old 10-04-2004, 09:49 PM   #3
antwoneeter
LQ Newbie
 
Registered: Sep 2004
Location: Appleton, WI
Distribution: Debian, SUSE, Red Hat
Posts: 12

Original Poster
Rep: Reputation: 0
jjohnston62,

Yes, as a PDC is correct. This seems to be an idiosyncratic problem that I've seen on SUSE Enterprise 8.1 for iSeries, Red Hat Enterprise 3 for x86, and SUSE Professional 9.1 for x86. The more I think of it, I think it's something with me. However, I've now got it running on SUSE 8.1 for ppc. So..., the mystery stands... Thanks for your thoughts.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Samba Share and Mac OS X - Files Disappearing? klugenratte Linux - Software 15 12-25-2011 11:58 PM
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM
The disappearing and appearing linux machine using Samba. Tiyogi Linux - Networking 0 04-06-2004 09:16 AM
samba printer share making PDF - Docs out of any print saavik Linux - Software 0 02-27-2003 11:07 AM


All times are GMT -5. The time now is 10:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration