[nflug] samba woes
David J. Andruczyk
djandruczyk at yahoo.com
Wed Mar 7 15:25:10 EST 2007
So you are managing user accounts manually across all 3 boxes??
Ouch, painful.
So this seems like two linux boxes and one windows box?
is the windows box just a workstation, or a server ?
How many unique users, and do they all need to access all machines
equally?
--- eric <eric at bootz.us> wrote:
> No your doing great. I have been slowly moving myself away from
> webmin,
> it was a great tool to learn from, because I can look at the
> module
> configurations to see where all my reconfigurations are going.
>
> Back to the issue:
> I don't have a smbusers file in /etc/samba/
>
> I have 2 servers running samba shares and one server running
> windows
> shares, none of which has ever been setup to manage user account
> centrally... and I am very sure of this
>
> David J. Andruczyk wrote:
>
> >I don't recommend webmin. I don't like gui tools that hide what
> >they are doing, as it makes it much harder to fix problems.
> >Do you have an /etc/samba/smbusers file (username map paramter)
> >that is mapping windos usernames to samba users? (this can be a
> >source of trouble if not setup correctly).
> >
> >How many servers in your environment? just this one?
> >
> >If you have an NT domain, and all your users have access in one
> >form or another to all boxes, if would make sense to make the
> >machine a member of the domain and manage access centrally.
> >
> >Without knowing how things are setup and supposed to work there.
> I
> >can't offer you a clean end all solution.
> >
> >
> >
> >--- eric <eric at bootz.us> wrote:
> >
> >
> >
> >>When I try to connect to a samba share from a windows computer
> >>after I
> >>log in and have changed my password for both linux and samba
> via
> >>webmin
> >>I cannot log in. However, if I do the same proceedure for
> other
> >>users
> >>it works fine... the users are able to connect to the samba
> >>shares after
> >>I change their passwords.
> >>
> >>Thanks,
> >>Eric
> >>
> >>
> >>David J. Andruczyk wrote:
> >>
> >>
> >>
> >>>WHICH password, linux login SW or samba password, and via
> how?
> >>>
> >>>
> >>>i.e. logged in running "passwd", or smbpasswd, or via windows
> >>>change password from a Ctrl-Alt-Del.
> >>>
> >>>
> >>>--- eric <eric at bootz.us> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>I just wanted to reiterate that changing other users'
> passwords
> >>>>work
> >>>>fine, but mine does not
> >>>>
> >>>>here are some of smb.conf flags:
> >>>>***********
> >>>>passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> >>>>*Retype\snew\sUNIX\spassword:* %n\n
> >>>>obey pam restrictions = yes
> >>>>winbind enable local accounts = no
> >>>>dns proxy = no
> >>>>security = user
> >>>>unix password sync = yes
> >>>>**************
> >>>>
> >>>>I also have myself as an admin user for each share
> >>>>
> >>>>
> >>>>Thanks again,
> >>>>Eric
> >>>>
> >>>>eric wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>I'm using webmin, in webmin I can set samba users to be
> >>>>>
> >>>>>
> >>created
> >>
> >>
> >>>>>everytime I create a linux user.
> >>>>>
> >>>>>Thanks for your help
> >>>>>
> >>>>>
> >>>>>David J. Andruczyk wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>You didn't make it very clear which PW you changed (linux
> >>>>>>
> >>>>>>
> >>login
> >>
> >>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>PW or
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>sambs PW, but you may want to look into "password sync"
> and
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>"passwd
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>chat" parameters for smb.conf
> >>>>>>
> >>>>>>but samba password sync will reset the UNIX login PW when a
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>user
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>changes their samba PW, however this doesn't work two
> ways.,
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>unless
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>you use the pam module pam_smb, or setup winbindd which
> will
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>allow
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>you to autheniticate your linux login-able accounts through
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>samba, or
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>an outside NT/window/samba pdc.
> >>>>>>
> >>>>>>google is your friend for these topics as there's numerous
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>howto's but
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>you need to investigate your environment (is it one
> server?
> >>>>>>
> >>>>>>
> >>or
> >>
> >>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>part
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>of an AD/NT domain.) to determine an appropriate course of
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>action.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>*/eric <eric at bootz.us>/* wrote:
> >>>>>>
> >>>>>> I know there is a samba expert out there who might be
> able
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>to help me.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>> I have a strange problem, firstly I have Linux users
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>sync-ing and
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>> creating samba users, I have many users on a samba file
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>server when I
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>> change their passwords everything works great, However
> >>>>>>
> >>>>>>
> >>when
> >>
> >>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>I
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>> change my
> >>>>>> password it only changes for my linux user, it is as if
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>either the
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>> network has a cache of my old password and will now not
> >>>>>>
> >>>>>>
> >>let
> >>
> >>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>me into
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>> samba shares or the samba password for only my user
> >>>>>>
> >>>>>>
> >>account
> >>
> >>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>will not
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>> change ...I have even tried just changing my samba user
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>password with
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>> still no luck.
> >>>>>>
> >>>>>> Any clues would really be nice, I think I have exhausted
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>all of my
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>> ideas.
> >>>>>>
> >>>>>> Thanks,
> >>>>>> Eric
> >>>>>> _______________________________________________
> >>>>>> nflug mailing list
> >>>>>> nflug at nflug.org
> >>>>>> http://www.nflug.org/mailman/listinfo/nflug
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>-- David J. Andruczyk
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
>
>>>>------------------------------------------------------------------------
> >>>>
> >>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Don't pick lemons.
> >>>>>>See all the new 2007 cars
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
>
>>>><http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw-->
> >>>>
> >>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>at Yahoo! Autos.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
>
>>>><http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw-->
> >>>>
> >>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
>
>>>>------------------------------------------------------------------------
> >>>>
> >>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>_______________________________________________
> >>>>>>nflug mailing list
> >>>>>>nflug at nflug.org
> >>>>>>http://www.nflug.org/mailman/listinfo/nflug
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>--
> >>>>after years of waiting...
> >>>>
> >>>>_______________________________________________
> >>>>nflug mailing list
> >>>>nflug at nflug.org
> >>>>http://www.nflug.org/mailman/listinfo/nflug
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>-- David J. Andruczyk
> >>>
> >>>
> >>>
> >>>
> >>>
>
>>____________________________________________________________________________________
> >>
> >>
> >>>Be a PS3 game guru.
> >>>Get your game face on with the latest PS3 news and previews at
> >>>
> >>>
> >>Yahoo! Games.
> >>
> >>
> >>>http://videogames.yahoo.com/platform?platform=120121
> >>>_______________________________________________
> >>>nflug mailing list
> >>>nflug at nflug.org
> >>>http://www.nflug.org/mailman/listinfo/nflug
> >>>
> >>>
> >>>
> >>>
> >>--
> >>after years of waiting...
> >>
> >>_______________________________________________
> >>nflug mailing list
> >>nflug at nflug.org
> >>http://www.nflug.org/mailman/listinfo/nflug
> >>
> >>
> >>
> >
> >
> >-- David J. Andruczyk
> >
> >
> >
>
>____________________________________________________________________________________
> >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
> >
> >
>
>
> --
> after years of waiting...
>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
-- David J. Andruczyk
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug
More information about the nflug
mailing list