[nflug] samba woes

Richard Hubbard rhubby at yahoo.com
Thu Mar 8 07:53:16 EST 2007


The reason why this is important is this:
Samba has a 'password sync' that tries to keep *nix an Samba passwords the same.  When someone is working in windows, and uses Windows tools to change passwords (ctrl-alt-del, change password), then when this is sent to the Samba server, samba will take the password and run a script to change the linux password.  
When you change a linux password, there is no background process that knows that it has to contact Samba and change that password.

First recommendation, use a centralized login.  Being the geek I am, I would recommend configuring one of your Samba boxes as a Windows Primary Domain Controller.  Make the windows machines, and all other samba boxes as member servers/members of the domain.  Set up Winbindd and pam, to get all authentication from the pdc first, then go local if the pdc isn't available.

This will probably take care of 90% of your password problems.
 
Richard Hubbard 
Technology Solutions Inc

----- Original Message ----
From: David J. Andruczyk <djandruczyk at yahoo.com>
To: nflug at nflug.org
Sent: Wednesday, March 7, 2007 4:41:20 PM
Subject: Re: [nflug] samba woes


You are still not saying HOW YOUR ARE CHANGING your password 
saying "webmin" tells me nothing as I donno what that is doing.

If you use "passwd" from an intereactive session, this won't  do
anything for samba,  you'd ALSO need to change the password in
samba via smbpasswd.  If you are changing the passwod from a
windows client  the unix side will ONLY be changed if you have
passwd sync and passwd chat PROPERLY setup.  read the smb.conf man
page and read up on passwd chat, and enable debugging to see where
it is failing...



--- eric <eric at bootz.us> wrote:

> one samba server is the file server
> the other two are just sharing folders for me and no one else, my
> user
> account is on all three seperatly, and since I was the first user
> created for each my UID is 1000, I changed my UID on the file
> server to
> 1500 just to see if that would make a difference, but it did
> not...
> again none of the servers depend on each other for anything and
> they are
> all in the same workgroup.
> 
> it is mind boggling to me... I thought maybe pam or shadow
> passwords was
> doing something funny, but on both samba servers I cannot change
> my
> password without samba failing me a connection, I must use my old
> password for samba. 
> 
> I would understand that maybe linux to samba password sync would
> not
> work on one server, but  two makes me think that something else
> is going
> on ...something interfering with samba over the network... its
> like when
> your internet goes down and you try to visit a website and your
> browser
> says "not available" then the internet is back on and you try to
> go to
> the same website with the same error only you know the internet
> is up
> ...and you simply have to refresh your browser ...sorry getting
> loopy
> 

-- David J. Andruczyk


 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug





 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list