samba madness

Roger Oberholtzer roger
Fri Sep 9 07:20:39 PDT 2005


On Fri, 2005-09-09 at 13:01, Ken Moffat wrote:
> Roger Oberholtzer wrote:
> 
> >I have a SAMBA server (version 2.2) that is doing 'share' level
> >security. This is because each share has a different user and password.
> >Somehow, the XP clients out there, when trying to connect to a share,
> >get an authorization box with the user name already filled in (as 'G??st'
> >which is Swedish for Guest), and will not allow this to be modified. The
> >shares are not allowing guest login. On top of that, my Samba server
> >doers not speak Swedish, so I do not see how the name came from it.
> >
> >Is this something my SAMBA server is causing, or is it an XP thing? I
> >have done some searches but seem to to get my search terms correct as I
> >can't fine anything. Or not anything that I recognize as being relevant.
> >
> >Things look ok from smbclient. But that is a bit of a cheat as smbclient
> >would probably play along with whatever samba does more than XP would.
> >
> >Any pointers? 
> >
> >
> >
> >  
> >
> My XP box shows Guest and is not changeable, but when I type in a
> correct password for a user it connects. However, I have not set up
> passwords separately for each share.
> 
> AND I am unable to access my home dirs from other machines. This may
> require "security=user", but I'm not sure.

Wouldn't surprise me. SMB/CIFS does not really use the user name. It is
the password and the share (according to the samba docs). So, samba
looks up the password, finds the user that goes with it, and then checks
what smb.conf says about all this.

The problem with user level security is that you cannot have more than
one share on the machine with different passwords. We have various
shares that are available to different people. Controlled by the
password.

> 
> Here are 2 shares I use, and can access 'rw' from other machines,
> including XP:

Can you list your [globals] as well? There is nothing else in these two
entries?

> 
> [music]
>    path = /mnt/hda7/mp3
>    browseable = yes
>    write list = ken, jack, jill
> 
> [images]
>    path = /mnt/hda6/images
>    browseable = yes
>    write list = ken, jack, jill
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Kapellgr?nd 7              ?                               ?
? P. O. Box 4205             ?    Phone: Int + 46 8   314223 ?
? 102 65 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   314223 ?
+????????????????????????????+???????????????????????????????+



More information about the Linux-users mailing list