Hello,
I have some problems implementing an architecture
where a linux machine acts as a samba server, while a W2K PC acts as a samba
client.
From the PC I can see the service [myshare] on the
linux machine only through the guest account.
This is my smb.conf on the linux side:
; Copyright (c) 1999 SuSE GmbH Nuernberg,
Germany.
; [global] workgroup = SYAC guest account = winuser ; guest account = nobody keep alive = 30 os level = 2 kernel oplocks = false ; security = user ; Uncomment the following, if you want to use an
existing
; NT-Server to authenticate users, but don't forget that ; you also have to create them locally!!! ; security = server ; password server = 192.168.1.10 encrypt passwords = yes
printing = bsd
printcap name = /etc/printcap load printers = yes socket options =
TCP_NODELAY
map to guest = Bad User
; Uncomment this, if you want to integrate your
server
; into an existing net e.g. with NT-WS to prevent nettraffic ; local master = no ; Please uncomment the following entry and replace
the
; ip number and netmask with the correct numbers for ; your ethernet interface. interfaces = 192.168.2.30/255.255.255.0 ; Passwords are encrypted by default. This way the
latest Windows 95 and NT
; clients can connect to the Samba server with no problems. encrypt passwords = yes netbios name = MFlinux_30
; If you want Samba to act as a wins server, please
set
; 'wins support = yes' wins support = no ; If you want Samba to use an existing wins
server,
; please uncomment the following line and replace ; the dummy with the wins server's ip number. ; wins server = 192.168.1.1 [homes]
comment = home-directory browseable = no read only = no create mode = 0755 guest ok = true [printers]
comment = All Printers browseable = no printable = yes 43,3 76% browseable = no printable = yes public = no read only = yes create mode = 0700 directory = /tmp [myshare]
comment = test for samba share path = /home/mf writeable = true ; read only = yes ; guest ok = true ; user = "winuser" If I uncomment the line guest ok = true in myshare section everything works
fine. Winuser is a username/password existing in the
/etc/passwd file.
With the showed smb.conf, on the PC side a dialog box prompts me for
the username/password. I typed couples of username/password existing in
the
/etc/passwd file but the answer was sadly always the same: "Unknown user or
wrong password."
I tried also the null password option and a user with no password.
To make the statement netbios name = newname valid, do you have to reboot
the linux machine?
On the linux machine iI'm running a SUSE 7.3 version.
I tried this (my final target) also with a Strongarm processor running a
Montavista linux distribution.
I enclose the full smb.conf file, the /etc/passwd file and the /etc/group
file.
I will really appreciate your help.
Thank you for your kind attention,
best regards,
Marco Furlan ([EMAIL PROTECTED]) |
group
Description: Binary data
smb.conf
Description: Binary data
passwd
Description: Binary data