Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Printserver einrichten
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
mec
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 147
Location: Munich

PostPosted: Mon Jul 21, 2003 10:34 pm    Post subject: Printserver einrichten Reply with quote

Hallo,

ich möchte einen Printserver einrichten. Derzeit stehe ich vor der Herausvorderung
- A Freigabe für LINUX-clients
- B Freigabe für WIN-clients

CUPS ist eingrichtet und lpr funzt!!!

Da ich derzeit nur über KnowHow von Samba verfüge, habe ich mir gedacht fange ich mit B an.

Da kommt aber gleich ein Problem....SWAT 901 wird nicht in netsat und nmap angezeigt und einen Zugriff habe ich folglich auch nicht, weder auf Printer resource noch auch Fileshares.

WHAT can I do????
Back to top
View user's profile Send private message
rincewind
Apprentice
Apprentice


Joined: 16 Aug 2002
Posts: 172
Location: Essen, Germany

PostPosted: Tue Jul 22, 2003 5:37 am    Post subject: Reply with quote

Hallihallo !

tja mit dem swat ist das schon ärgerlich, ich weiss wie lange ich nach der doku gesucht (und nicht gefunden habe)
1. Du musst in deiner /etc/services:
swat 901/tcp auskommentieren/anlegen

2. Script für Xinitd

# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
# $Header: /home/cvsroot/gentoo-x86/net-fs/samba/files/swat.xinetd,v 1.3 2002/05/06 19:57:08 woodchip Exp $

service swat
{
port = 901
socket_type = stream
wait = no
user = root
only_from = 127.0.0.1
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}

3. smbpasswd -a root
Dann sollte der swat mit dir reden
Hier noch ne Hammergeile Anleitung wie man einen Distiller server mit archiv aufsetzt:
http://mattias.schlenker-webdesign.de/mattias/index.rb?section=typesetting&subsection=pdf-service&style=screen

gruss rince
Back to top
View user's profile Send private message
mec
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 147
Location: Munich

PostPosted: Tue Jul 22, 2003 5:32 pm    Post subject: Reply with quote

....mmmh...an den xinit habe ich natürlich nicht gedacht :oops: peinlich.

werde es aber erst morgen ausprobieren können. bin heute nicht im lande.

aber schonmal thx

cu
michi
Back to top
View user's profile Send private message
mec
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 147
Location: Munich

PostPosted: Wed Jul 23, 2003 10:18 pm    Post subject: Reply with quote

also am SWAT liegt es wohl auch nicht. das xinit-Skript liegt im /etc/xinit.d/ aber netstat zeigt immer noch nix an. folgich komme ich auch nicht drauf.

kann es am kernel liegen. eigentlich habe ich in den kernel SMB-Unterstützung einkompiliert. Was muss hierzu in dmsg stehen?

oder kann es noch wo anders hacken???

cu
mec
Back to top
View user's profile Send private message
rincewind
Apprentice
Apprentice


Joined: 16 Aug 2002
Posts: 172
Location: Essen, Germany

PostPosted: Thu Jul 24, 2003 6:53 am    Post subject: Reply with quote

also wenn der port in etc services freigegeben ist, kannst du den swat ja mal von hand starten und schauen ob du dann drauf kommst. Dann weisst du das mit deinem xinet.d was nicht stimmt

gruss rince
Back to top
View user's profile Send private message
mec
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 147
Location: Munich

PostPosted: Fri Jul 25, 2003 6:39 am    Post subject: Reply with quote

ich kriege es einfach nicht gepacken...

Jetzt schreibe ich mal alles ganz genau auf....

- swat-file: /etc/xinit.d/swat vorhanden (habe nur disable auf no gesetzt)
Angaben wie o.a.
- services: /etc/services port 901 ist nicht auskommentiert
- smbpasswd -a funktioniert
- swat -s /etc/samba/smb.conf bzw. nur swat kommt keine antwort, kommt da überhaupt eine???


was habe ich geprüft:
- netstat -a dort steht nix von tcp/901
- nmap zeigt auch keinen 901 port
- ps -ef | grep samba --> keine Ausgabe
- /etc/init.d/samba restart funktioniert
- SAMBAinstallation ist die net-fs/samba-2.2.8a

cu
michi
Back to top
View user's profile Send private message
hopfe
Guru
Guru


Joined: 22 Oct 2002
Posts: 456
Location: Frankfurt Main oder Aachen

PostPosted: Fri Jul 25, 2003 7:34 am    Post subject: Reply with quote

Bist du dir sicher das du den xinetd richtig installiert hast, default mässig wird dieser nämlich von Gentoo nicht installiert.

Ein emerge -pv xinetd müßte dir Auskunft geben.
Back to top
View user's profile Send private message
mec
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 147
Location: Munich

PostPosted: Fri Jul 25, 2003 9:12 am    Post subject: Reply with quote

denke schon...
derzeit ist xinetd-2.3.11 installiert!
eine Konfig am xinetd habe ich nicht vorgenommen. muss man da was machen?
Back to top
View user's profile Send private message
hopfe
Guru
Guru


Joined: 22 Oct 2002
Posts: 456
Location: Frankfurt Main oder Aachen

PostPosted: Fri Jul 25, 2003 10:22 am    Post subject: Reply with quote

schreibt der xinetd beim starten irgendwelche Fehler raus?
Back to top
View user's profile Send private message
mec
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 147
Location: Munich

PostPosted: Fri Jul 25, 2003 1:49 pm    Post subject: Reply with quote

leider weiss ich nicht wo der xinetd hin loggt. in den noramlen log-files /var/log/... finde ich keine fehler.

in den manuels geht auch nix hervor.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum