[Samba] windows XP authentication issues

Iain Dooley mail at iaindooley.com
Sun Aug 1 05:45:28 GMT 2004


hello list,

i am running Samba on FreeBSD 5.2.1-RELEASE. i am able to mount network
folders using sharity-light from one of my other freebsd boxes 'piper' on
the network with the command:

shlight //cessna/videos /usr/home/iain/vidoes

when logged in as the user 'iain'. there is a corresponding user on the
Samba server 'cessna'.

i created a user 'sasha' on 'cessna' with the same permissions as user
'iain', and then created the corresponding user on 'piper' and was able to
mount file systems on 'piper' from 'cessna' using sharity-light the same
as i had done for the user 'iain'.

i then created the user 'sasha' on an XP box on the same network, with the
same password as the user account on 'cessna' and logged into windows
using that user. the following occurs:

1) when i right click on My Computer and select Map Network Drive, and
then enter the share '\\10.0.1.30\videos' (10.0.1.30 is the internal IP
Address of the machine 'cessna' running the Samba server) i get the login
dialog, however the username is Guest, (rather than sasha as i would have
expected).

2) when i select to login with a different user name, and enter
'10.0.1.30\sasha', and the appropriate password, it comes up with the
login dialog but the password that is valid on the machine 'cessna' (as i
have tested it with sharity-light from 'piper') does not authenticate and
it defaults back to the user 10.0.1.30\Guest

3) when i select to login with the user name 'iain' (which is also a valid
account on 'cessna' as tested using sharity-light from 'piper') i get the
same results as with the user 'sasha'

4) if i enter just the IP address of 'cessna' (ie. 10.0.1.30) in the
network drive location of the login dialog it tells me that the network
location isn't valid (meaning i assume that it is actually finding the
share)

4) i cannot see the workgroup LIBERTY in the network browsing utility on
the XP box

here is the output from 'smbclient -L cessna' run on the machine 'cessna':

%smbclient -L cessna
added interface ip=10.0.1.30 bcast=10.0.1.255 nmask=255.255.255.0
Got a positive name query response from 10.0.1.30 ( 10.0.1.30 )
Password:
Domain=[LIBERTY] OS=[Unix] Server=[Samba 2.2.8a]

        Sharename      Type      Comment
        ---------      ----      -------
        music          Disk      Music Folder
        videos         Disk      Video Folder
        docs           Disk      Document Folder
        dools          Disk      Dooley's Network Folder
        images         Disk
        p-money        Disk      Mondo's Network Folder
        ryokun         Disk      Ryo's Network Folder
        womble         Disk      Sasha's network folder
        IPC$           IPC       IPC Service (Samba Server)
        ADMIN$         Disk      IPC Service (Samba Server)
        iain           Disk      Home Directories

        Server               Comment
        ---------            -------
        CESSNA               Samba Server

        Workgroup            Master
        ---------            -------
        LIBERTY              CESSNA
        MSHOME               BEAST
        WORKGROUP            LAPTOP

the MSHOME and WORKGROUP workgroups with masters 'BEAST' and 'LAPTOP' are
workgroups on the XP box that i am attempting to log on from. i am not
trying to access these shares from any of my freebsd boxes at this stage.

below is my smb.conf file contents.

# Samba config file created using SWAT
# from 10.0.1.3 (10.0.1.3)
# Date: 2004/07/24 01:35:05

# Global parameters
[global]
	workgroup = LIBERTY
	server string = Samba Server
	security = SHARE
	log file = /var/log/log.%m
	max log size = 50
	dns proxy = No
	guest account = samba_guest

[homes]
	comment = Home Directories
	read only = No
	browseable = No

[printers]
	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No

[music]
	comment = Music Folder
	path = /caravan/share/music
	guest account = liberty
	read only = No
	hosts allow = 10.0.1.

[videos]
	comment = Video Folder
	path = /caravan/share/video
	guest account = liberty
	read only = No
	hosts allow = 10.0.1.

[docs]
	comment = Document Folder
	path = /caravan/share/doc
	guest account = liberty
	read only = No
	hosts allow = 10.0.1.

[dools]
	comment = Dooley's Network Folder
	path = /caravan/dools
	guest account =
	read only = No
	hosts allow = 10.0.1.3
	hosts deny = 10.0.1.

[images]
	path = /tmp

[p-money]
	comment = Mondo's Network Folder
	path = /caravan/p-money
	guest account =
	read only = No
	hosts allow = 10.0.1.7
	hosts deny = 10.0.1.

[ryokun]
	comment = Ryo's Network Folder
	path = /caravan/ryokun
	guest account =
	read only = No
	hosts allow = 10.0.1.20
	hosts deny = 10.0.1.

[womble]
	comment = Sasha's network folder
	path = /caravan/womble
	guest account =
	read only = No
	hosts allow = 10.0.1.10
	hosts deny = 10.0.1.

can anyone see what is going wrong?

cheers

iain



More information about the samba mailing list