LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-31-2001, 10:09 PM   #1
hazza96
Member
 
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146

Rep: Reputation: 15

I have Mandrake 7.2 with samba 2.0.7 installed.

My WinME workstation can login to the samba box and run the logon.bat. It maps drives and sync's the time to the linux/samba box.

My problem is that I can't change the password from the Windows machine.

I go into 'Control Panel / Passwords', click on the 'Change Windows Password' button, tick the box next to 'Microsoft Networking' then enter the old password and the new password twice.

It thens comes back and says 'The password you typed is not correct for Microsoft Networking, blah blah..'
 
Old 05-31-2001, 10:25 PM   #2
hazza96
Member
 
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146

Original Poster
Rep: Reputation: 15
It just got worse!

I just tried to change the password again and it got worse.

I logged in via telnet using my normal user then tried to 'su -'

It wouldn't accept the root password but did accept the password I tried to change my samba user name to.

So it went like this:

Before:
root with password of root01
user1 with password of pass01

I tried to change my samba user password to test01

After:
root with password of test01
user1 with password of pass01

How would a samba user trying to change their password change the root's password? The user is an ordinary pleb user with no super user privlidges.
 
Old 06-01-2001, 04:43 AM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
On the surface it sounds like a prob with smbpasswd. Check your smb.conf to see if/what your unix passwd sync is set to. (I don't have the man pages here...)

Did you add the users to the smbpasswd file? (SWAT is kinda handy for that)
 
Old 06-01-2001, 09:12 AM   #4
hazza96
Member
 
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146

Original Poster
Rep: Reputation: 15
I have the 'synchronise linux with SMB passwords' turned on.

I also have an entry in my smb.conf that goes like:
passwd program = /usr/bin/passwd

The reason I entred that line is because when I didn't testparm came back with:
ERROR: the 'unix password sync' parameter is set and the 'passwd program' (/bin/passwd) cannot be executed (error was No such file or directory).

I added the users to the smbpasswd file by going:
smbpasswd -a user1
 
Old 09-22-2003, 10:37 PM   #5
Buttercups
Member
 
Registered: Jul 2002
Location: Malaysia
Distribution: RH
Posts: 42

Rep: Reputation: 15
hi hazza,
i wonder if u have the solution to this already,
maybe u can post them here.
i'm running into the same problem now.
i'm use RH7.1, samba 2.0.7.

thanks.
 
Old 09-23-2003, 06:37 AM   #6
hazza96
Member
 
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146

Original Poster
Rep: Reputation: 15
Yes I have found a solution... Upgrade to a recent distro.

I then use webmin to create the smbpasswd file for me.

Afterwards I customise a template smb.conf to match each situation.
 
Old 07-02-2004, 10:47 PM   #7
nicerahman
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Quote:
Originally posted by hazza96
I have Mandrake 7.2 with samba 2.0.7 installed.

My WinME workstation can login to the samba box and run the logon.bat. It maps drives and sync's the time to the linux/samba box.

My problem is that I can't change the password from the Windows machine.

I go into 'Control Panel / Passwords', click on the 'Change Windows Password' button, tick the box next to 'Microsoft Networking' then enter the old password and the new password twice.

It thens comes back and says 'The password you typed is not correct for Microsoft Networking, blah blah..'
 
Old 07-04-2004, 05:09 AM   #8
binidiot
Member
 
Registered: May 2004
Location: Spain
Distribution: Debian Woody, FreeBSD 5.2.1
Posts: 106

Rep: Reputation: 15
Try turning the password sync with unix or linux off and use /usr/bin/smbpasswd instead of passwd. Might work.
 
Old 07-05-2004, 12:33 AM   #9
nicerahman
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Quote:
Originally posted by nicerahman
I have Redhat9.0 with samba 3.0 installed.

My Wn2000 Professional worksstation can login to the samba box and run the logon.bat. It maps drives and sync's the time to the linux/samba box. I setup the Linux as a PDC Domain controller and the win2k
machine logs on to the Linux sambauser login and I can't see the samba user in the windows Control
Panel / Users and Passwords. How can i change my samba user pasword from my Win200 machine?


by

rahman
 
Old 07-22-2004, 09:59 AM   #10
muellerj
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
Hi,

I was wondering if anyone has any information on this. I have Samba 3.035 as a PDC running on Fedora Core 2. I'd like to be able to have users change their passwords with WinXP. I thought a saw a thread about this but I can't seem to find it now.

Any help or direction would be apprecitated.
 
Old 07-22-2004, 10:25 PM   #11
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
Same problem here... I am running Redhat 9 with samba 3.0.5rc1 acting as the PDC for a fewXP clients

i have these from lines in my smb.conf:
Code:
passwd program = /usr/bin/passwd
passwd chat = *Enter*new*UNIX*passwd* %n\n *Retype*new*UNIX*passwd* %n\n *Password*changed* %n\n
unix password sync = yes
I tried changing passwd to smbpasswd but still cannot get it to work...

When i tried to change the password in XP, i get "You do not have permission to change your password"

Any help?
 
Old 08-07-2004, 07:15 AM   #12
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Rep: Reputation: 15
Does anyone got this working?

Did anyone get this working without a reinstall/upgrade?

I am also having this problem. My setup is a RH9 samba PDC. I cannot change paswords from WinXP.
Error:
Wrong password

Any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logon samba on other samba password list hernandi Linux - Networking 1 10-14-2003 12:46 PM
Logon samba on other samba password list hernandi Linux - Networking 0 10-14-2003 12:40 PM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM
Samba: Not asking for password pickledbeans Linux - Networking 2 07-02-2002 12:09 PM
password in samba loganwva Linux - Networking 1 03-25-2002 11:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration