• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Linux Client kann nicht auf Linux SMB Host drucken

Status
Für weitere Antworten geschlossen.
Hallo,
wahrscheinlich ist alles wieder so einfach, daß ich nicht draufkomme.
Ich habe auf meinem Rechner einen Samba Server (kein DC) eingerichtet und den Drucker und ein Share Laufwerk freigegeben.
Die Dienste scheinen auch zu funktionieren siehe:

Code:
athlon1800:/home/ingo # smbclient -L localhost -U%
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.2.4-5.2-1985-SUSE-CODE11]

        Sharename       Type      Comment
        ---------       ----      -------
        profiles        Disk      Network Profiles Service
        users           Disk      All users
        groups          Disk      All groups
        print$          Disk      Printer Drivers
        share           Disk      share
        netlogon        Disk      Network Logon Service
        IPC$            IPC       IPC Service (Samba 3.2.4-5.2-1985-SUSE-CODE11)
        hpphotosmart7150 Printer   HP photosmart 7150 with driver HP Photosmart 7150 Foomatic/hpijs, hpijs 2.8.7.3
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.2.4-5.2-1985-SUSE-CODE11]

        Server               Comment
        ---------            -------
        ATHLON1800           Samba 3.2.4-5.2-1985-SUSE-CODE11

        Workgroup            Master
        ---------            -------
        WORKGROUP            ATHLON1800

Auch testparm zeigt nichts spektakuläres:

Code:
athlon1800:/home/ingo # testparm
Load smb config files from /etc/samba/smb.conf
Can't find include file /etc/samba/dhcp.conf
Processing section "[homes]"
Processing section "[profiles]"
Processing section "[users]"
Processing section "[groups]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[share]"
Processing section "[netlogon]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        map to guest = Bad User
        printcap name = cups
        add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
        logon path = \\%L\profiles\.msprofile
        logon drive = P:
        logon home = \\%L\%U\.9xprofile
        os level = 65
        preferred master = Yes
        domain master = No
        usershare allow guests = Yes
        include = /etc/samba/dhcp.conf

[homes]
        comment = Home Directories
        valid users = %S, %D%w%S
        read only = No
        inherit acls = Yes
        browseable = No

[profiles]
        comment = Network Profiles Service
        path = %H
        read only = No
        create mask = 0600
        directory mask = 0700
        store dos attributes = Yes

[users]
        comment = All users
        path = /home
        read only = No
        inherit acls = Yes
        veto files = /aquota.user/groups/shares/

[groups]
        comment = All groups
        path = /home/groups
        read only = No
        inherit acls = Yes

[printers]
        comment = All Printers
        path = /var/tmp
        create mask = 0600
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin, root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775

[share]
        comment = share
        path = /windows/D/share/
        read only = No
        inherit acls = Yes

[netlogon]
        comment = Network Logon Service
        path = /var/lib/samba/netlogon
        write list = root
athlon1800:/home/ingo #

Probleme:
A) Wenn ich nun vom unter KDE 3.5x versuche über "Netzwerkordner" und SMB Freigaben versuche, meckert er, daß keine Freigaben im lokalen Netz vorliegen und dies durch eine Firewall verursacht sein könnte. (Ich habe aber die Firewall am Host für smb/eth0 geöffnet).
Wenn ich in den Konqueror aber in die Adressleiste eingebe:
Code:
smb://192.xxx.yyy.22/share
kommt brav ein Abfragefenster, das mich nach Username und Passwort fragt. Das Share wird auch korrekt angezeigt. (dasselbe geht auch in der Konsole mittels:
Code:
smbclient //192.xxx.yyy.22/share
Samba scheint also zumindest grundlegend zu funzen. Nebenfrage: Warum geht das nicht über den Hostnamen ("athlon1800")? bzw. warum wird der Name nicht aufgelöst?

B) Wenn ich versuche mit YAST auf dem Client die Warteschlange auf dem Host zu finden, verabschiedet Yast sich für 5 Minuten um angeblich "die Umgebung zu prüfen". Bisher ist mir nicht gelungen, über "neuer Drucker" "Netzwerkdrucker" "über SMB Serveer drucken"
die Warteschlange auf dem Host anzusprechen.

Hier noch meine smb.conf (user wurde mittels smbpasswd und useradd eingerichtet, /var/tmp hat Schreibrechte für alle.

Code:
[global]
	workgroup = WORKGROUP
	printing = cups
	printcap name = cups
	printcap cache time = 750
#	cups options = raw
	map to guest = Bad User
	include = /etc/samba/dhcp.conf
	logon path = \\%L\profiles\.msprofile
	logon home = \\%L\%U\.9xprofile
	logon drive = P:
	usershare allow guests = Yes
	add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
	domain logons = No
	domain master = No
	local master = Yes
	os level = 65
	preferred master = Yes
	security = user
	passdb backend = smbpasswd
[homes]
	comment = Home Directories
	valid users = %S, %D%w%S
	browseable = No
	read only = No
	inherit acls = Yes
[profiles]
	comment = Network Profiles Service
	path = %H
	read only = No
	store dos attributes = Yes
	create mask = 0600
	directory mask = 0700
[users]
	comment = All users
	path = /home
	read only = No
	inherit acls = Yes
	veto files = /aquota.user/groups/shares/
[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit acls = Yes
[printers]
	comment = All Printers
	path = /var/tmp
	printable = Yes
	create mask = 0600
	browseable = No
[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775
[share]
	comment = share
	inherit acls = Yes
	path = /windows/D/share/
	read only = No
[netlogon]
	comment = Network Logon Service
	path = /var/lib/samba/netlogon
	write list = root

Ich hioffe, ich habe jetzt niemanden mit den Details erschlagen und wäre für Tipps dankbar, alleine mit Mr. Goo oder http://gertranssmb3.berlios.de/output/ komme ich nicht weiter, da fehlt mir ehrlicherweise noch ein bisschen die Basis.
 

stka

Guru
Warum nimmst du da überhaupt samba *kopfschüttel*. Du hast zwei Linuxrechner, dann nimm NFS und CUPS.
 
@stka
...macnchmal sieht man den Wald vor Bäumen nicht :roll:

Danke für den Tipp erstmal, ich habe jetzt einen NFS Server eingerichtet und das share Verzeichnis exportiert.
Mein Problem bleibt aber dasselbe:

Ich kann den (Server)Rechner zwar vom Client aus unter seiner IP anpingen, jedoch taucht der Server weder bei der Yast
Druckerinstallation auf, noch wird das exportierte Verzeichnis bei der NFS client Einrichtung angezeigt.
Die firewall ist offen für cups, nfs-server und client. Ich komme einfach nicht weiter.

Kann das mit der fritz.box zusammenhängen, die als Router fungiert?
 
Status
Für weitere Antworten geschlossen.
Oben