Re: [SLE] smbpasswd flakiness
To: email@example.com Date: Thu, 29 Jul 2004 05:25:42 -0200
I am not a SAMBA pro - however I have set it up a few times. Some comments
here that may be way off topic for you, anyway here goes...
From your problem description I would guess either the order of the SAMBA
password authentication technique entries in your smb.conf file or the
SAMBA authentication order of the entries themselves in your nsswitch.conf
file may be incorrect.
Be careful configuring this as you could lock yourself out of your system.
If you are on a Windows domain type network and if that is why you are
using SAMBA then checkout the document:
This was the best document I read and it helped me immediatley.
If you are not on a Windows domain based network - then try creating her
user in YaST2 or via the command line tools first. Then create the user
with the SMB tools as you have done. This is my suggestion - it is not an
official suggestion ;-)
On my windows domain, when SAMABA is configured correclty. SAMBA sucks in
all my windows accounts and creates its own SAM files etc. from the Windows
Domain. I have a script that then goes and reads all the domain accounts
and creates the home directories for all the Windows users (before they
login - bit of a pain) with the correct permissions. After that the users
can login with their Windows user ID's and password - no problem.
It has to work this way for me to make the system feasable and reduce
additional Admin overhead.
From your post I am not sure how or why you are using SAMABA. In my post I
have assumed you are on a Windows based network.
I had to do a lot of reading to get my SAMABA right. Once you get the hang
of it I found it works well.
Hope this helps somewhere...
Technical Support Specialist
Goodyear South Africa
MCSE / MCP
Registered Linux User # 362669
When my parents finally realised that I was kidnapped, they snapped into
action immediately: they rented out my room.
The information in this e-mail contains confidential and / or proprietary
information and is intended solely for the addressee. Access to this e-mail
by anyone else is unauthorised and may not be copied or disseminated
without the express consent of The Goodyear Tire & Rubber Company or one of
its subsidiaries. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted in reliance on this,
is prohibited and may be unlawful. Whilst all reasonable steps are taken to
ensure the accuracy and integrity of information and data transmitted
electronically and to preserve the confidentiality thereof, no liability or
responsibility whatsoever is accepted if information or data is, for
whatever reason, corrupted or does not reach its intended destination.
<harpend@xmissio To: firstname.lastname@example.org
Subject: [SLE] smbpasswd flakiness
I have a working samba server on 9.1 in the sense that it works for me.
when as root I add my wife using
#smbpasswd -a renee
it writes an entry in /etc/samba/smbpasswd, but she cannot log in. She
cannot change her password invoking smbpasswd as a user. When I give never
NO PASSWORD and have her as a user change her password
an error is returned saying the password is incorrect.
I can't find anything like this using google except for someone complaining
that a scrip was writing "LTC" in the /etc/samba/smbpasswd string instead
the correct "LCT". But I don't have this problem.
I updated to the latest samba from apt, with no change in this behavior.
I would be grateful for any help, thanks, Henry Harpending
-- Check the headers for your unsubscription address For additional commands send e-mail to email@example.com Also check the archives at http://lists.suse.com Please read the FAQs: firstname.lastname@example.org -- Check the headers for your unsubscription address For additional commands send e-mail to email@example.com Also check the archives at http://lists.suse.com Please read the FAQs: firstname.lastname@example.org