Help Badly

Paul J Collins pjdc at
Sat Jul 1 21:04:26 GMT 2000

>>>>> "Elijah" == Elijah Savage <esavage at> writes:

    Elijah> I have a few problems I will try to be brief but complete. I am trying to
    Elijah> use samba as a file server on a nt network. I want to use swat to configure
    Elijah> it first of all. I went into the /etc/services and swat 901/tcp is there. I
    Elijah> went into /etc/inetd.conf and uncommented the swat line way down at the very
    Elijah> bottom. I restarted the inetd services with kill -hup but no luck swat will
    Elijah> not come up. So then I said the heck with it I can do it by hand. Look at
    Elijah> the files below and see where I have gone wrong please. When I try to
    Elijah> connect to this machine it gives me \\linuxpower is not acessable network
    Elijah> not available. But strange thing is I can ping it by name and address. Plus
    Elijah> if it was not available I would not be able to get out because it is the dns
    Elijah> for my domain. This box is  dual pentium 233 with 256 meg of ram and
    Elijah> 10,000rpm UWscsi IBM 9.1 gig drive. And 3 2.1 gig Wide seagate scsi drives.

    Elijah> # Global parameters
    Elijah> [global]
    Elijah>         workgroup = DIGITALRAGE
    Elijah>         netbios name = LINUXPOWER
    Elijah>         server string = linuxpower
    Elijah>         name resolve order = lmhosts host bcast

You should add wins here, since you have defined the wins server
parameter below.

    Elijah>         domain master = no
    Elijah>         dns proxy = no
    Elijah>         os level = 29
    Elijah>         smb passwd file = /etc/smbpasswd
    Elijah>         security = server
    Elijah>         encrypt passwords = True
    Elijah>         log file = /var/log/samba/log.%m
    Elijah>         bind interfaces only = True
    Elijah>         read raw = no
    Elijah>         interfaces = eth0

Covered this line in my previous post.

    Elijah>         debug level = 1
    Elijah>         create mask = 0644
    Elijah>         directory mask = 0755        
    Elijah>         level2 oplocks = true
    Elijah>         password server = 192.168.X.X
    Elijah>         read raw = no
    Elijah>         max log size = 50
    Elijah>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    Elijah>         dns proxy = No
    Elijah>         wins server = 192.168.X.X
    Elijah>         hosts allow = 192.168.X.X-192.168.X.X

The format of this line is like this:

hosts allow = 192.168.X.  # all of this subnet, (192.168.X. is class C)

Have you created an account on the Unix box for the user who is trying
to access the machine from the Windows box?  It is a requirement that
every entry in smbpasswd have a corresponding entry in /etc/passwd,
since Samba uses the UID/GID in the filesystem to determine access
rights to files.


Paul Collins <sneakums at> - - - - - [ A&P,a&f ]
 GPG: 0A49 49A9 2932 0EE5 89B2  9EE0 3B65 7154 8131 1BCD
 PGP: 88BA 2393 8E3C CECF E43A  44B4 0766 DD71 04E5 962C
"Where?  Where is the town?  Now it's nothing but flowers!"

More information about the samba-ntdom mailing list