Re: How do I change passwords / remove users for Samba?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Kevin Thorpe wrote:
>
>>> I'm trying to set up a new Samba user. I've done useradd to put them in
>>> passwd, I've done smbpasswd to set a samba password. They're in the
>>> required group (spendtrak) for this share. I've even restarted samba.
>>> When I try and connect to the share with 'connect using a different
>>> username' form XP it just keeps asking me for the password. I can
>>> connect to the share as myself, but not if I define myself as the
>>> 'different user name'. Is there a log anywhere which will tell me what's
>>> going wrong with the login.
>>>
>>> Sorry, but this is frustrating the hell out of me.
>>>
>>>
>>>     # share for spendtrak
>>> [spendtrak]
>>>            comment = Spendtrak Files
>>>            path = /home/spendtrak
>>>            writable = yes
>>>            printable = no
>>>            valid users = +spendtrak
>>>            force group = spendtrak
>>>            create mode = 0660
>>>            create mask = 0660
>>>            force create mode = 0660
>>>            directory mode = 0770
>>>            directory mask = 0770
>>>            force directory mode = 0770
>>>            inherit permissions = yes
>>>
>>>
>>>      
>> Well smbclient seems to work fine so I guess it's Windows at fault (as
>> per bloody usual).
> Well I finally worked it out. Reboot Windows then it works. Bah! Stupid 
> Microsoft. Wasted half my morning because Windows is broken.

I don't think you can connect to the same machine as 2 different users - and 
windows will cache connections even if they aren't mapped to a drive letter.  If 
it happens again, try 'NET USE' from a cmd window to see if you have lingering 
connections and delete them.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux