LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-29-2004, 01:33 AM   #1
michzap
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Rep: Reputation: 0
Samba 3 - changing passwords from windows


Hi

I have such a problem:

I have a Red Hat 9 machine running Samba 3 as a PDC. When I'm trying to change password from a XP Pro machine I receive a message:

"Domain my_domain is not available, unable to change password"

but password is changed !!!

Part of my smb.conf:

security = user
encrypt passwords = yes
passdb backend = tdbsam:/etc/samba/passdb.tdb
unix password sync = Yes
username map = /etc/samba/smbusers
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
log level = 3
wins support = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 60
domain master = yes
preferred master = yes
domain logons = yes
dns proxy = no
hide dot files = Yes



Any ideas ?
 
Old 09-02-2004, 10:27 AM   #2
Tarpan
LQ Newbie
 
Registered: Sep 2004
Location: Belgium
Posts: 1

Rep: Reputation: 0
not an answer but...

I have pretty much the same prob ( same distro ):

Browsing/sharing/logging on the samba PDC works but :

On login, i have a message telling me the password expires today.

If i try to change it, i have the message telling me that the domain is not available

Any clues to stop this "password expiry" issue?

smb/conf part :

security = user
encrypt passwords = yes
username map = /etc/samba/smbusers
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
wins support = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 99
domain master = yes
preferred master = yes
domain logons = yes
dns proxy = no
 
Old 09-03-2004, 01:48 AM   #3
michzap
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
First upgrade Samba to 3.0.4 or higher. My problem was an XP security hotfix from Microsoft (issued about april) and Samba 3.0.2. Upgrading had helped.

You can adjust password expiration (and other stuff) using

pdbedit -P <policy string>.

Just read man pdbedit.
 
  


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
SAMBA, guest account, Windows xp home and passwords woppa30 Linux - Networking 6 01-19-2005 02:57 AM
help: when changing files on samba share from windows system, changes do not appear zero79 Linux - Software 1 06-13-2004 05:58 PM
Changing Samba Passwords With Webmin djcomplex Linux - Software 0 03-08-2004 04:38 AM
Changing Samba Passwords from 95/98 Clients? kofi Linux - Software 6 09-24-2003 01:01 AM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 10:59 AM


All times are GMT -5. The time now is 03:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration