[Samba] Windows XP client cannot access Samba share on Linux
Dick Wieland
dwieland at bellatlantic.net
Fri Feb 21 18:19:10 GMT 2003
>From a Windows Explorer window I can see my Samba Server machine under
MyNetworkPlaces:EntireNetwork:MSWindowsNetwork ... but cannot open it. I
get
\xxx is not accessible. ... The account is not logged into this station.
My XP clients are logged onto to a workgroup.
The corresponding linges generated in log.<client> on the server machine
are shown below.
[2003/02/21 11:59:52, 3] smbd/process.c:process_smb(878)
Transaction 1 of length 137
[2003/02/21 11:59:52, 3] smbd/process.c:switch_message(685)
switch message SMBnegprot (pid 14640)
[2003/02/21 11:59:52, 3] smbd/sec_ctx.c:set_sec_ctx(329)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342)
Requested protocol [LANMAN1.0]
[2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342)
Requested protocol [Windows for Workgroups 3.1a]
[2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342)
Requested protocol [LM1.2X002]
[2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342)
Requested protocol [LANMAN2.1]
[2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(342)
Requested protocol [NT LM 0.12]
[2003/02/21 11:59:52, 3] smbd/negprot.c:reply_negprot(426)
Selected protocol NT LM 0.12
[2003/02/21 12:00:03, 3] smbd/process.c:timeout_processing(1098)
end of file from client
[2003/02/21 12:00:03, 3] smbd/sec_ctx.c:set_sec_ctx(329)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/02/21 12:00:03, 2] smbd/server.c:exit_server(461)
Closing connections
[2003/02/21 12:00:03, 3] smbd/connection.c:yield_connection(48)
Yielding connection to
[2003/02/21 12:00:03, 3] smbd/server.c:exit_server(495)
Server exit (normal exit)
I've scoured the mailing lists, and tried disabling on the XP client the
DomainMember fields associated with passwd authentication using
gpedit.msc , but to no avail.
One question .. my XP clients are on a local WORKGROUP ... do I have to
configure the Samba server as a PDC and join the domain? Is it required?
My smb.conf looks like this
[global]
log level =3
netbios name = MYSERVER
wins support = yes
domain master = no
hosts allow = 192.
valid users = myname
workgroup = MYWORKGROUP
server string = DHCPPC2 Samba Server
; hosts allow = 192.168.0. 192.168.2. 127.
printcap name = /etc/printcap
load printers = yes
; printing = bsd
; guest account = pcguest
log file = /var/log/samba/log.%m
max log size = 50
security = user
; password server = <NT-Server-Name>
; password level = 8
; username level = 8
; encrypt passwords = yes
; smb passwd file = /etc/samba/smbpasswd
; unix password sync = Yes
; passwd program = /usr/bin/passwd %u
; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
%n\n *passwd:*all*authentication*tokens*updated*successfully*
; username map = /etc/samba/smbusers
; include = /etc/samba/smb.conf.%m
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
; interfaces = 192.168.12.2/24 192.168.13.2/24
; remote browse sync = 192.168.3.25 192.168.5.255
; remote announce = 192.168.1.255 192.168.2.44
; local master = no
; os level = 33
; domain master = yes
; preferred master = yes
; domain controller = <NT-Domain-Controller-SMBName>
; domain logons = yes
; logon script = %m.bat
; logon script = %U.bat
; logon path = \\%L\Profiles\%U
; name resolve order = wins lmhosts bcast
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
dns proxy = no
; preserve case = no
; short preserve case = no
; default case = lower
; case sensitive = no
[homes]
comment = Home Directories
; browseable = no
writable = yes
read only = no
; [netlogon]
; comment = Network Logon Service
; path = /home/netlogon
; guest ok = yes
; writable = no
; share modes = no
;[Profiles]
; path = /home/profiles
; browseable = no
; guest ok = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; read only = yes
; write list = @staff
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
Any help would be much appreciated.
Thanks,
Dick Wieland
More information about the samba
mailing list