users please help!!

Robert Styma stymar at agcs.com
Wed Jan 16 06:27:43 GMT 2002


To make this work, Paul needs a separate NT and UNIX account
and needs to log in separately on his NT machine for the private
area.  The deeper problem is paul is exibiting bad behaviour. To
cure this behaviour, log in as paul using the commonly know 
password and move his entire tree structure to some secret location
and then sit back to watch the panic. :-)

Chris Bourne wrote:
> 
> Chris Bourne wrote:
> 
> > Chris Bourne wrote:
> >
> >> > > > > Hello,
> >> > > > >          I have a windows 2000 user who is say logged in as
> >> user paul
> >> > > > > with password sunny and has access to certain samba shares
> >> on a linux
> >> > > > > server. Most people in the office knows paul password for
> >> whatever
> >> > > > > reason but paul wants to have his own private share only
> >> accessable to
> >> > > > > him with a password that he only knows. So I set up another
> >> user on the
> >> > > > > linux box called paul2 with a new password. Paul now tries
> >> to access the
> >> > > > > private share logged in as paul on his windows machine and
> >> gets prompted
> >> > > > > for a username and password. So paul types in paul2 and the
> >> new password
> >> > > > > and gets the message "the credentials supplied conflicts
> >> with an
> >> > > > > existing set of credentials". I need paul logged in as paul
> >> on the
> >> > > > > windows machine to have access to paul2 stuff without having
> >> to create a
> >> > > > > new user or log out of paul on the windows machine. Please
> >> help, Chris.
> >
> > Christian wrote;
> >
> >>
> >> > > > I know this problem from NT:
> >> > > > NT can only connect to one server as one user at a time, not
> >> samba
> >> > > > issiue. But If paul connects to "server" and paul2 connects to
> >>
> >> > > > "nummeric IP of the server" (for example
> >> "\\123.246.678.901\paul2")
> >> > > > than NT thinks it is takling to two servers and it works.
> >> > > >
> >> > > >
> >
> > Chris Bourne wrote;
> >
> >>
> >> >
> >> > > I thank you for your quick response. I am still not getting this
> >> to work.
> >> > > This is what I did. I edited the lmhosts file on the windows
> >> 2000 box and put
> >> > > in the lines
> >> > >
> >> > > net use \\servername\share1 /user:paul
> >> > > net use \\192.168.1.1\share2 /user:paul2
> >> > >
> >> > > I also created the user paul2 on the windows 2000 box as well(is
> >> this
> >> > > needed?) Now logged in as paul I tried to access share2 and was
> >> prompted for
> >> > > a user and passwd and entered paul2 and the passwd and still no
> >> luck. Is
> >> > > there something I did wrong or did not do? Thanks, Chris.
> >
> > Christian wrote;
> >
> >>
> >> >
> >> > First: Please answer to the whole list, there are a couple of
> >> > helpfull guys.
> >> >
> >> > I guess the error message has changed and you now get "wrong
> >> > password"? What have you changed in the lmhosts file. Leave it
> >> empty
> >> > if you do not have browsing problems. User paul2 should not be
> >> needed
> >> > on the w2k box, but on the sambe server. Have you set him up
> >> > correctly? Can you connect with his name and password when there
> >> is
> >> > no other connection? What happens if you do:
> >> >
> >> > net use \\server\share1 /user:paul
> >> > net use \\192.168.1.1\share1 /user:chris
> >> >
> >> > ??
> >> >
> >> > Christian
> >> >
> >> > _________________________________________________________________
> >> > In a world without walls and fences, who needs windows and gates?
> >> >
> >> > --
> >> > To unsubscribe from this list go to the following URL and read the
> >>
> >> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> > Chris Bourne wrote;
> >
> >>
> >>
> >> Ok, I thank you all for the help but unfortunately nothing is
> >> working. This is
> >> what is going on. On the windows 2000 box there is user paul only.
> >> On the Linux
> >> box there is user paul and paul2 as well as about 10 other users and
> >> everything is
> >> set up and working on the samba side with one exception paul2 cannot
> >> access his
> >> share logged in as paul on his windows 2000 box. No matter what I do
> >> I still get
> >> the same error "the credentials supplied conflicts with an existing
> >> set of
> >> credentials". This error happens with or without lines
> >>       net use \\servername\share1 /user:paul
> >>       net use \\192.168.1.1\share2 /user:paul2
> >>  in the lmhosts file on the windows machine. Here is a copy of the
> >> smb.conf file.
> >>
> >> # Samba Configuration File
> >> #
> >> # Global Parameters
> >> [Global]
> >>  workgroup = GIBSON
> >>  netbios name = BLACKBOX
> >>  domain master = Yes
> >>  prefered master = Yes
> >>  bind interfaces only = True
> >>  interfaces = 192.168.0.1
> >>  encrypt passwords = Yes
> >>  smb passwd file =  /etc/samba/smbpasswd
> >>
> >> [gibson]
> >>  comment = Gibson Main Share
> >>  path = /var/shares/gibson
> >>  create mask = 0664
> >>  directory mask = 0775
> >>  read only = No
> >>  valid users = carleton, dana, dava, emily, katie, kevin, michael,
> >> nada, paul,
> >> robert, susan, bob, jim, molanda, yulinda, susie, sandra, liz
> >>
> >> [homes]
> >>  read only = No
> >>  browseable = No
> >>
> >> [books]
> >>  comment = Gibson Financials
> >>  path = /var/shares/books
> >>  create mask = 0664
> >>  directory mask = 0775
> >>  read only = No
> >>  valid users = paul, jim
> >>
> >> [pg-personnel]
> >>  comment = Confidential Docs
> >>  path = /var/shares/pg-personnel
> >>  create mask = 0664
> >>  directory mask = 0775
> >>  read only = No
> >>  valid users = paul2
> >>
> >> I am still testing diff. configurations so if anyone can help I am
> >> under pressure
> >> to get this done last week. Thanks, Chris.
> >>
> >> --
> >> To unsubscribe from this list go to the following URL and read the
> >> instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
Robert E. Styma 
Principal Engineer
AG Communication Systems, Phoenix - A subsidiary of Lucent
Email: stymar at agcs.com
Phone: 623-582-7323
FAX:   623-581-4884
Company:  http://www.agcs.com
Personal: http://www.swlink.net/~styma




More information about the samba mailing list