Re: [SLE] smbpasswd flakiness

jonathan_hughes_at_goodyear.co.za
Date: 07/29/04

  • Next message: Berge, Harry ten: "[SLE] document retrieval systems"
    To: suse-linux-e@suse.com
    Date: Thu, 29 Jul 2004 05:25:42 -0200
    
    

    I am not a SAMBA pro - however I have set it up a few times. Some comments
    here that may be way off topic for you, anyway here goes...

    From your problem description I would guess either the order of the SAMBA
    password authentication technique entries in your smb.conf file or the
    SAMBA authentication order of the entries themselves in your nsswitch.conf
    file may be incorrect.

    Be careful configuring this as you could lock yourself out of your system.

    If you are on a Windows domain type network and if that is why you are
    using SAMBA then checkout the document:

      http://www.linuxquestions.org/questions/archive/2/2004/03/4/155887

    This was the best document I read and it helped me immediatley.

    If you are not on a Windows domain based network - then try creating her
    user in YaST2 or via the command line tools first. Then create the user
    with the SMB tools as you have done. This is my suggestion - it is not an
    official suggestion ;-)

    On my windows domain, when SAMABA is configured correclty. SAMBA sucks in
    all my windows accounts and creates its own SAM files etc. from the Windows
    Domain. I have a script that then goes and reads all the domain accounts
    and creates the home directories for all the Windows users (before they
    login - bit of a pain) with the correct permissions. After that the users
    can login with their Windows user ID's and password - no problem.

    It has to work this way for me to make the system feasable and reduce
    additional Admin overhead.

    From your post I am not sure how or why you are using SAMABA. In my post I
    have assumed you are on a Windows based network.

    I had to do a lot of reading to get my SAMABA right. Once you get the hang
    of it I found it works well.

    Hope this helps somewhere...

    ---------------------------------------------
      Jonathan Hughes
      Technical Support Specialist
      Goodyear South Africa
    ---------------------------------------------
      MCSE / MCP
      Registered Linux User # 362669
    ==============================================================================

     When my parents finally realised that I was kidnapped, they snapped into
    action immediately: they rented out my room.
    -Woody Allen
    ==============================================================================

    The information in this e-mail contains confidential and / or proprietary
    information and is intended solely for the addressee. Access to this e-mail
    by anyone else is unauthorised and may not be copied or disseminated
    without the express consent of The Goodyear Tire & Rubber Company or one of
    its subsidiaries. If you are not the intended recipient, any disclosure,
    copying, distribution or any action taken or omitted in reliance on this,
    is prohibited and may be unlawful. Whilst all reasonable steps are taken to
    ensure the accuracy and integrity of information and data transmitted
    electronically and to preserve the confidentiality thereof, no liability or
    responsibility whatsoever is accepted if information or data is, for
    whatever reason, corrupted or does not reach its intended destination.

                                                                                                                
                          Henry Harpending
                          <harpend@xmissio To: suse-linux-e@suse.com
                          n.com> cc:
                                                   Subject: [SLE] smbpasswd flakiness
                          07/28/04 06:13
                          PM
                                                                                                                
                                                                                                                

    I have a working samba server on 9.1 in the sense that it works for me.
    But
    when as root I add my wife using

    #smbpasswd -a renee
      etc

    it writes an entry in /etc/samba/smbpasswd, but she cannot log in. She
    also
    cannot change her password invoking smbpasswd as a user. When I give never
    NO PASSWORD and have her as a user change her password

    renee% smbpasswd
     etc

    an error is returned saying the password is incorrect.

    I can't find anything like this using google except for someone complaining
    that a scrip was writing "LTC" in the /etc/samba/smbpasswd string instead
    of
    the correct "LCT". But I don't have this problem.

    I updated to the latest samba from apt, with no change in this behavior.

    I would be grateful for any help, thanks, Henry Harpending

    --
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Berge, Harry ten: "[SLE] document retrieval systems"

    Relevant Pages

    • Re: I want to be convinced; convince me.
      ... Mac, but I'm having trouble convincing myself to do it. ... Windows 2000 has been very stable for me for many years, ... But, like I said, I haven't used 10.4 with Samba yet. ... Or is it an post-installation manual install? ...
      (comp.sys.mac.advocacy)
    • Re: login fails from from Solaris to windows7
      ... I can see all three Windows boxes from Solaris, but I can not login to ... Samba has a huge number of configurable options (perhaps too ... server string = Samba Server ... # per user logon script ...
      (comp.unix.solaris)
    • Re: [SLE] Cant find NT Box and Printer with YaST - update
      ... Next we setup a simple share with SAMBA and attempted to copy a file from ... We invoked the Network Neighborhood and found the SuSE box, ... >and Linux client/Windows server. ... >Linux client is the easier case, assuming that the Windows printer is working ...
      (SuSE)
    • Re: I want to be convinced; convince me.
      ... Mac, but I'm having trouble convincing myself to do it. ... Windows 2000 has been very stable for me for many years, ... But, like I said, I haven't used 10.4 with Samba yet. ... Or is it an post-installation manual install? ...
      (comp.sys.mac.advocacy)
    • Re: Fedora 10 winbindd core dump
      ... PS>> have samba setup properly... ... CW> other windows domain controller that is providing ... CW> the part where it starts covering idmap, ... idmap config TOYON:range = 10000-300000000 ...
      (Fedora)