LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba - Win2000 <-> SuSE 8.2 (https://www.linuxquestions.org/questions/linux-networking-3/samba-win2000-suse-8-2-a-90115/)

SantaGhost 09-07-2003 05:22 AM

Samba - Win2000 <-> SuSE 8.2
 
Im relatively new to linux and as a next step i tried to connect on one side a win2000 sp4 pc to the linux pc running SuSE 8.2.

I installed all the samba packages an began to configure smb.conf. I still was unable to see the linux pc from the windows pc. I read a lot of documentation and checked out the log files, it stated something about being unable to connect to the CUPS server.
Code:

[2003/09/07 11:33:15, 0] smbd/server.c:main(707)
  smbd version 2.2.7a-SuSE started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/09/07 11:33:15, 1] lib/debug.c:debug_message(258)
  INFO: Debug class all level = 1  (pid 2420 from pid 2420)
[2003/09/07 11:33:15, 0] printing/print_cups.c:cups_printer_fn(110)
  Unable to connect to CUPS server localhost - Connection refused

After installing those packages and doing some configuring in cupsd.conf the messag was gone.

still i cant see the linux box on network neighbourhood, everything else works fine (ping ect.)

below my smb.conf:

Code:

# 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: 2003-03-17
[global]
        workgroup = GEPELAN
        server string = SantaGhost Linux
        os level = 2
        time server = Yes
        unix extensions = Yes
        encrypt passwords = Yes
        log level = 1
        syslog = 0
        printing = CUPS
        printcap name = CUPS
        socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
        wins support = yes
;        wins server = 10.0.0.101
        veto files = /*.eml/*.nws/riched20.dll/*.{*}/
        encrypt passwords = yes
        smb passwd file = /etc/samba/smbpasswd
[homes]
        comment = Home Directories
        valid users = %S
        browseable = yes
        writeable = yes
        read only = No
        create mask = 0640
        directory mask = 0750
[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

i am also unable to connect to swat on localhost:901, after installing cups i could connect to cups` administration webbased tool on localhost but still no luck on swat.

any help is greatly appreciated

david_ross 09-07-2003 08:21 AM

Welcome to LQ.

A few thngs to check:
1) make sure you don;t have any firewall rules blocking ports 137, 138 & 139

2) Samba is usually better at being a master browser than windows. Try setting these variables:
local master = yes
os level = 65
preferred master = yes

Then restart samba.

SantaGhost 09-08-2003 11:11 AM

all hail david_ross :D

well its working allright, thx

but still no luck with accessing localhost:901

david_ross 09-08-2003 12:28 PM

You may need to enable it:
chkconfig swat on
/etc/init.d/xinetd restart

Personnaly I wouldn't use swat since it tends to screw wwith smb.conf and make it up itself. Once you get used to the format it isn't that difficult to use.


All times are GMT -5. The time now is 05:28 AM.