[Samba] Samba client question

2002-10-27 Thread Stephen Liu
Hi all folks,


OS: RH8.0
=

What shall be the steps for adding new clients and passwords on Samba
server and how to create a shared folder (directory) for each client
specifically, not open to public

/etc/samba/smb.conf
/ect/hosts
smbpasswd
etc. ?

Thanks in advance.

Stephen Liu


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba server and Win98 networking problem

2002-10-22 Thread Stephen Liu
Hi All Guys,

The problem is as follows:

ipchains and iptables stopped
# service smb start

On Win98
- 2 members found in the workgroup "Scw98"(Win98) and "M40G".
Samba server 
- Clicking "M40G" popup a warning "permission not allowed"
- Searching computer with the name of Samba server "M40G" found it there
but searching with its IP address could not find it
- Ping M40G and IP address of Samba server showed connected

On Samba server
"as root"
- "mount" could not mount Samba server
- Ping SCW98 and IP address of Win98 showed connecting


INFORMATION
===

Both Win98 and Samba server need password to login

Samba server
OS - RH8.0
2 NICs - one for broadband connection another for connecting Win98 via a
crossover cable
IP address - 192.168.0.2
Computer name - M40G

/etc/samba/smb.conf (basic configure)

[global]

workgroup = SEC 
guest account = satimis
encrypt passwords = no
hosts allow = yes
security = share 

[test] 
comment = share 
path = /home
browseable = yes
read only = no
guest only = no 
guest ok = yes

/etc/hosts
127.0.0.1   localhost.localdomain   localhost
192.168.0.1 SCW98
192.168.0.2 M40G


Win98
IP address - 192.168.0.1
Computer name - SCW98

Components

- IPX/SPX
- Net BEUI
- NetBIOS support for IPX/SPX
- TCP/IP



Kindly advise.  Thanks in advance.

Stephen Liu





-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Add User question

2002-10-18 Thread Stephen Liu
Hi all,


RH8.0

When I tried to add user "as root"

# smbpasswd -a AAA
New SMB password:
Retype new SMB password:
unable to open passdb database.
Added user AAA

AAA is an existing user of RH8.0 with password to login.  What is the
problem of "unable to open passdb database"

# which passdb
/usr/bin/which: no passdb in
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)

# locate passdb
[root@localhost root]#

How to correct it.

Thanks in advance.


Stephen Liu


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba server and WinME connection problem

2002-10-17 Thread Stephen Liu
Hi all folks

I encountered Samba and WinME connection problem both boxes are
connected with a crossover cable.  Ping both boxes showed
connected/connecting

Name of WinME = IWILL
share folder = Shared
IP address = 192.168.0.1
2 NICs
eth0   IP add = 192.168.0.1  connected to Samba server
eth1   dynamic IP for broadband connection

Name of Samba server = M40G
OS = RH8.0
IP address = 192.168.0.2
share folder = /test
2 NICs
-connected to WinME
-connected to broadbanddynamic IP

Workgroup = SEC

/etc/Samba/smb.conf  (BASIC)
[global]
workgroup = SEC
guest account = IWILL
encrypt passwords = Yes
hosts allow = yes
security = share

[test]
comment = test share
path = /test
browseable = yes
read only = no
guest only = no
guest ok = yes


/test
ls -l
drwxrwxrwx 2 root   root  4096 Oct 17 15:56 test


ipchains and iptables   stop


WinME box
=
Both IWILL  and  M40G
found under the group SEC  on  Windows Exploror
- clicking  M40G  said "shared folder not found
- search for computer could not find Samba server
  (tested with  192.168.0.2  and  M40G)


Samba Server


# mount
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/cdrom on /mnt/cdrom type udf (ro,nosuid,nodev)
/dev/fd0 on /mnt/floppy type vfat (rw,nosuid,nodev)


# smbclient -L IWILL
added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=218.188.76.21 bcast=218.188.79.255
nmask=255.255.252.0
Password:

Sharename  Type  Comment
-    ---
PRINTER$   Disk
HP DESKJET 6   Printer
SHARED Disk
IPC$   IPC   Remote Inter Process Communication

Server   Comment
----
IWILLS.LIU
M40G Samba 2.2.5

WorkgroupMaster
----
SEC  IWILL


# smbclient -L 192.168.0.1
added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=218.188.76.21 bcast=218.188.79.255
nmask=255.255.252.0
session request to 192.168.0.1 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)


# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
192.168.0.0 0.0.0.0 255.255.255.0   U 0  00
eth0
218.188.76.00.0.0.0 255.255.252.0   U 0  00
eth1
127.0.0.0   0.0.0.0 255.0.0.0   U 0  00
lo
0.0.0.0 218.188.76.10.0.0.0 UG0  00
eth1

/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1	localhost.localdomain	localhost
192.168.0.1 IWILL
192.168.0.2 M40G

/etc/resolv.conf
search localdomain
nameserver 210.0.144.66
nameserver 210.0.144.26

Kindly help

Thanks in advance

Stephen Liu


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Where to download samba-client-2.2.5-1 for RH7.3/RH8.0

2002-10-09 Thread Stephen Liu

Hi All,

OS - RH7.3/RH8.0

I jush have samba-2.2.5-1.i386,rpm downloaded from Samba.org but could 
not find samba-client-2.2.5-1.i386.rpm there.

 From Internet I found sam-client-2.2.5-1.4mlx.i386.rpm.   Could I use 
it or where can I download samba-client-2.2.5-1.i386.rpm?

Thanks in advance.

Stephen Liu

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba and WinXP connection problem

2002-10-07 Thread Stephen Liu

Hi All Guys,

I tried several days to get WinXP connected with Samba Server without 
success !!!

*** ipchains stopped ***

# mount(as root)

looking like connected but the shared folder did not show up 
under  /mnt/WinXP.

Hereinunder are another sets of my test results;

# findsmb

IP ADDR NETBIOS NAME   WORKGROUP/OS/VERSION
-
192.168.0.254   SERVER [SEC]


# nmblookup -A 192.168.0.1
Looking up status of 192.168.0.1
 M40G<00> - M 
 SEC <00> -  M 
 M40G<20> - M 
 SEC <1e> -  M 
 SEC <1d> - M 
 ..__MSBROWSE__. <01> -  M 

# nmblookup -A M40G
Looking up status of 192.168.0.1
 M40G<00> - M 
 SEC <00> -  M 
 M40G<20> - M 
 SEC <1e> -  M 
 SEC <1d> - M 
 ..__MSBROWSE__. <01> -  M 

# smbclient -L 192.168.0.1
added interface ip=192.168.0.254 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=218.188.79.94 bcast=218.188.79.255 nmask=255.255.252.0
session request to 192.168.0.1 failed (Called name not present)
session request to 192 failed (Called name not present)
Password:  (no password.  Any input or "just hit Enter" have the same response)

Domain=[SEC] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

 Sharename  Type  Comment
 -    ---
 IPC$   IPC   Remote IPC
 D$ Disk  Default share
 print$ Disk  Printer Drivers
 SharedDocs Disk
 Printer8   Printer   HP DeskJet 690C
 Printer5   Printer   Acrobat Distiller
 Printer2   Printer   Print to this device to send a fax.
 ADMIN$ Disk  Remote Admin
 C$ Disk  Default share
 Shared Disk
 PrinterPrinter   Print to this device to send a photo 
quality fax.

 Server   Comment
 ----
 M40G MAXTOR-40G
 SERVER   Samba 2.2.3a

 WorkgroupMaster
 ----
 SEC  M40G


It detected the printers of WinXP but the share folder did not show up in 
Samba Server


# smbclient -L M40G
added interface ip=192.168.0.254 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=218.188.79.94 bcast=218.188.79.255 nmask=255.255.252.0
Password:   (no password.  Any input or "just hit Enter" have the same 
response)
Domain=[SEC] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

 Sharename  Type  Comment
 -    ---
 IPC$   IPC   Remote IPC
 D$ Disk  Default share
 print$ Disk  Printer Drivers
 SharedDocs Disk
 Printer8   Printer   HP DeskJet 690C
 Printer5   Printer   Acrobat Distiller
 Printer2   Printer   Print to this device to send a fax.
 ADMIN$ Disk  Remote Admin
 C$ Disk  Default share
 Shared Disk
 PrinterPrinter   Print to this device to send a photo 
quality fax.

 Server   Comment
 ----
 M40G MAXTOR-40G
 SERVER   Samba 2.2.3a

 WorkgroupMaster
 ----
 SEC  M40G


/etc/samba/smb.conf FILE

# Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2002/10/04 19:55:55

# Global parameters
[global]
 workgroup = SEC
 server string = Samba %v
 security = SHARE
 encrypt passwords = yes
 guest account = M40G
 hosts allow = Yes

[test]
 comment = test share
 path = /test
 writable = yes
 browseable = yes
 follow symlinks = yes
 wide links = yes
 public = yes
     read only = No
 guest only = Yes
 guest ok = Yes


Kindly help.

Thanks

Stephen Liu





-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba and WinXP connection problem

2002-10-04 Thread Stephen Liu

Hi All Folks

I encountered difficulty in connecting a WinXP box to Samba Server.  Ping 
on WinXP showed connected and on Samba server also showed connecting.

"cygwin" worked connecting WinXP and Samba Server

RH7.3
Samba-2.2.3a
Connection - via a crossover cable
On WinXP - Shared folder under C:\

Server
(It is a LTSP Server)
name of computer=server.ltsp
password=yes
IP add=192.168.0.254

Workgroup=SEC

WinXP
(It works as Diskless Workstation and Standalone workstation as well)
name of computer=M40G
password=no
IP add=192.168.0.1

Hereinbelow are my test results:
===
ipchains STOP

**
/etc/samba/smb.conf
# Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2002/10/04 19:55:55
# Global parameters

[global]
workgroup = SEC
server string = Samba %v
security = SHARE
guest account = M40G
hosts allow = Yes

[test]
comment = test share
path = /test
writable = yes
browseable = yes
follow symlinks = yes
wide links = yes
public = yes
read only = No
guest only = Yes
guest ok = Yes


# mount
/dev/hde2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hde1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
//M40G/Shared on /mnt/WinXP type smbfs (0)

# cd /mnt/WinXP/
# ls
#
(It did not mount)


# smbclient -L O\\
added interface ip=192.168.0.254 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=218.188.79.94 bcast=218.188.79.255 nmask=255.255.252.0
Connection to O\ failed

# smbclient -L 192.168.0.1
added interface ip=192.168.0.254 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=218.188.79.94 bcast=218.188.79.255 nmask=255.255.252.0
session request to 192.168.0.1 failed (Called name not present)
session request to 192 failed (Called name not present)
Password:   (there is no passwork) [Enter]
Domain=[SEC] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
-  ---
IPC$ IPC Remote IPC
D$ Disk Default share
print$ Disk Printer Drivers
SharedDocs Disk
Printer8 Printer HP DeskJet 690C
Printer5 Printer Acrobat Distiller
Printer2 Printer Print to this device to send a fax.
ADMIN$ Disk Remote Admin
C$ Disk Default share
Shared Disk
Printer Printer Print to this device to send a photo quality fax.
Server Comment
- ---
M40G MAXTOR-40G
SERVER Samba 2.2.3a

Workgroup   Master
- ---
SEC M40G
#
# smbmount //M40G/Shared /mnt/WinXP
Password:   (there is no password)   [Enter]
#


# cd /mnt/WinXP
# ls
#

(It did not mount.  Shared folder not found)


WinXP
==
On Window Explorer
C:\My Network Places\Microsoft Windows Network\SEC\
showing

M40G
Samba 2.2.3a (Server)

right click "Samba 2.2.3a (Server)" -> Properties
displayed

Microsoft Networking
The server Server could not be found on the network
[OK]


Kindly help

Stephen Liu



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] SWAT could not start -localhost:901

2002-10-03 Thread Stephen Liu

Hi Bradley,

At 12:15 PM 10/3/2002 -0400, Bradley W. Langhorst wrote:
>- snip -
>you should try running the swat daemon interactively and watch what
>happens.

Kindly advise how to run swat daemon interactively.

Thanks in advance

Stephen



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Cannot connect WinXP

2002-10-03 Thread Stephen Liu

Hi All

Can't connect WinXP

(Remark:  Group=SEC  WinXP=M40G  
Samba Server=server.ltsp
ipchains stop)

# mount -t smbfs //M40G/Shared /mnt/WinXP/
params.c:Parameter() - Ignoring badly formed line in configuration file: 
127.0.0.1 localhost localhost.localdomain
params.c:Parameter() - Ignoring badly formed line in configuration file: 
192.168.0.1 M40G
params.c:Parameter() - Unexpected end-of-file at: 192.168.0.254 server.ltsp
Error connecting to 218.188.78.190 (Network is unreachable)
3049: Connection to M40G failed
SMB connection failed


# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[test]"
params.c:Parameter() - Ignoring badly formed line in configuration file: 
127.0.0.1 localhost localhost.localdomain
params.c:Parameter() - Ignoring badly formed line in configuration file: 
192.168.0.1 M40G
params.c:Parameter() - Unexpected end-of-file at: 192.168.0.254 server.ltsp
Loaded services file OK.


Configure File
===
#/etc/samba/smb.conf
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2002/08/05 16:52:24

# Global parameters
[global]
workgroup = SEC
security = SHARE
guest account = M40G

[test]
comment = test share
path = /test
writable = yes
browseable = yes
follow symlinks = yes
wide links = yes
public = yes
read only = No
guest ok = Yes
guest only = Yes


# /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localhost.localdomain
192.168.0.1 M40G
192.168.0.254   server.ltsp

Kindly advise.

Thanks in advance.

Stephen Liu
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] SWAT could not start -localhost:901

2002-10-03 Thread Stephen Liu

Hi all,

Could not start SWAT

Browser:- Mozilla (also tried Konqueror)

http://locathost:901

Alert !!!
The connection was refused when attempting to contact localhost:901

Kindly advise.  Thanks

Stephen Liu


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba