09-22-2016
Are you trying to change the password for the same user from both routes? Or for different users?
The point I am making is this.
You have a Unix system with a user on it with his Unix login password.
You then install Samba.
You then configure this user to use Samba.
Samba will NOT use the Unix login password for this user so at this point the user still cannot user Samba. (**)
The Samba password (although normally set the same as the Unix password) needs to be set.
However, at this point the Unix O/S knows that this user is also a Samba user so if the sysadmin resets that user's password, the system sets the user's Samba password at the same time too.
At this point the user can access using Samba.
So if the user tries to change password via Samba at this point (**), it will produce a security error.
Samba passwords are usually (depending on the exact Samba implementation) hashed in a 'smbpasswd' or 'smbpassword' file on the Unix system somewhere. You can look in there and see whether hashed passwords exist and for which users.
Yes, I know that this doesn't feel like a Debian problem but just perhaps it is. I cannot think of why one Samba client would behave differently to another from a security point of view.
Please do post back your progress.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have this NCurses utility that prompts for user input and takes action appropriately, I changed the default action for the three finger'd salute to run this utility instead of restarting the system.
This is a problem:
Printing to stdout happens immediately, but before anything else (such as... (0 Replies)
Discussion started by: thmnetwork
0 Replies
2. AIX
I wrote a ksh script for Helpdesk. I need to know how to disable ctrl-c,ctrl-z,ctrl-d..... so that helpdesk would not be able to get to system prompt :confused: (6 Replies)
Discussion started by: wtofu
6 Replies
3. IP Networking
I have a samba server node and I want to mount the samba (CIFS) shares from a second (client) unix machine.
However, the unix mount command requires I specify the name of the share. What if I don't know the name of the share?
How can I enumerate all the shares from the samba client machine?
... (1 Reply)
Discussion started by: siegfried
1 Replies
4. UNIX for Dummies Questions & Answers
I booted up Sun V240 server with boot cdrom -s using the Sun Operating System CD. I now am at the # prompt and su - root . The system will not allow me to set password for root. Get following error:
# passwd
New Password: xxxxxxxx
Re-enter new Password: xxxxxxxx
passwd: Unexpected failure. ... (4 Replies)
Discussion started by: mayewil
4 Replies
5. AIX
Hi,
We are currently in the process to move the user authentication for our AIX clients to a Windows 2003 server to authenticate them against the active directory entries.
What we have so far:
- NIS master server on Windows 2003 Server with the unix-subsystem installed -> This is managing... (1 Reply)
Discussion started by: candyflip2000
1 Replies
6. Programming
I'm new in ncurses. I'd like to ask one question.
Do you know whether ncurses supports Alt or Ctrl combination keys?
Our application wants to get response when inputting Alt or Ctrl combination keys by keyboard in one linux c project.
I try one testing on ncurses, it seems ncurses doesn't... (3 Replies)
Discussion started by: liuyan03
3 Replies
7. Red Hat
I am looking for a Samba Client for a redhat 4 installation.
I can't find it anywhere on the web. Does anyone have a link where i can find a working version ?
This is my version:
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
/usr/bin/file: ELF 32-bit LSB executable, Intel... (5 Replies)
Discussion started by: guidovans
5 Replies
8. Solaris
bash-3.00# passwd sami
New Password:
Re-enter new Password:
Dec 14 00:07:43 hack passwd: passwdutil: crypt_gensalt Invalid argument
passwd: Unexpected failure. Password database unchanged.
Permission denied
i got this error while i am change the user(sami) passwd. (3 Replies)
Discussion started by: samiulla
3 Replies
9. Solaris
Hi
I am new to samba & I need to configure samba client on Solaris 10 machine where I need to mount/share window folder (Window 2008 machine is configured as samba server).
I am following below mention link to mount this window's folder.
... (7 Replies)
Discussion started by: sb200
7 Replies
10. Solaris
Have an issue with a user or root changing the user's passwd.
We run the passwd command and a complex passwd is entered a message is displayed,
"passwd is based on a dictionary word."
We do have a dictionary file and I know for a fact the complex passwd is not in the list. This happens on a... (3 Replies)
Discussion started by: solizkewl
3 Replies
LEARN ABOUT CENTOS
gentest
GENTEST(1) Test Suite GENTEST(1)
NAME
gentest - Run random generic SMB operations against two SMB servers and show the differences in behavior
SYNOPSIS
gentest {//server1/share1} {//server2/share2} {-U user%pass} {-U user%pass} [-s seed] [-o numops] [-a] [-A] [-i FILE] [-O] [-S FILE] [-L]
[-F] [-C] [-X]
DESCRIPTION
gentest is a utility for detecting differences in behaviour between SMB servers. It will run a random set of generic operations against
//server1/share1 and then the same random set against //server2/share2 and display the differences in the responses it gets.
This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers.
OPTIONS
-U user%pass
Specify the user and password to use when logging on on the shares. This parameter is mandatory and has to be specified twice.
-s seed
Seed the random number generator with the specified value.
-o numops
Set the number of operations to perform.
-a
Print the operations that are performed.
-A
Backtrack to find minimal number of operations required to make the response to a certain call differ.
-i FILE
Specify a file containing the names of fields that have to be ignored (such as time fields). See below for a description of the file
format.
-O
Enable oplocks.
-S FILE
Set preset seeds file. The default is gentest_seeds.dat.
-L
Use preset seeds
-F
Fast reconnect (just close files)
-C
Continuous analysis mode
-X
Analyse even when the test succeeded.
VERSION
This man page is correct for version 4.0 of the Samba suite.
SEE ALSO
Samba
AUTHOR
This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2].
gentest was written by Andrew Tridgell.
This manpage was written by Jelmer Vernooij.
NOTES
1. Samba
http://www.samba.org/
2. Samba Team
http://www.samba.org/samba/team/
Samba 4.0 06/17/2014 GENTEST(1)