FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-07-2011, 10:58 PM
"Dan B."
 
Default samba weirdly taking wrong password

Does anyone recall whether Samba had problems with truncating passwords,
or possibly with mixing up user IDs and/or passwords between the serving
side and the "clienting" side (mounting other machines' shares)?

I'm having a really weird problem: the Samba server accepts a _wrong_
password instead of the expected password.

The wrong password that it is accepting is both:
1) the prefix (n-1 characters out of n) of the expected password (the
password of a user account on the Linux system running samba) and
2) the password of a (supposedly) unrelated Windows user account on a
Windows machine that happens to mount two shares from the Linux
system and serve out two shares mounted by that Linux system.

I _think_ the Windows user account should be completely unrelated,
because I don't use any Windows domain or Samba equivalent.

However, both the Windows system and the Linux system have user
accounts with the same name U, and when Windows user U is logged on,
there is a Windows mount, using Linux user account U, of the samba-
served share.

That makes me wonder if samba is mixing up the two different user
accounts because they have the same name.

However, I don't see how samba in Linux would ever get the password
for the Windows user account: Although Windows needs to pass the
password for Linux account U (which I gave to Windows when I set up
the mounting) to samba, it never needs to pass the password for
_Windows_ account U, right?

(The Linux machine mounts the Windows shares using a different
Windows user account (with a non-duplicate name), so that mounting
seems completely unrelated.)


The "clienting" I'm doing is mounting a samba-served share using

mount -t cifs -o user=... ...

and entering a password at the prompt.

When I enter the expected password (the n-character password of the
corresponding user account), it fails with samba's -13 permission
error.

When I enter the supposedly wrong password, it succeeds (and the
share is mounted).

That failure and success is the same whether the mount command is
issued on the sarge Linux machine running the samba server or is
issued on brand-new squeeze Linux machine.

(The sarge machine's samba version is 3.0.14a-3sarge11.)


Any ideas?


Thanks,
Daniel


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4EB870BB.70307@kempt.net">http://lists.debian.org/4EB870BB.70307@kempt.net
 

Thread Tools




All times are GMT. The time now is 04:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org