Find the answer to your Linux question:
Results 1 to 5 of 5
I know this question has been posted a million times on forums throughout the web, but I can't seem to resolve my problem. I run a standalone samba server on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    4

    Change Samba password from windows


    I know this question has been posted a million times on forums throughout the web, but I can't seem to resolve my problem.

    I run a standalone samba server on a Workgroup with XP and 2000 machines.

    When a user decides to change their password or has their password expire, I want that password to sync with the samba server.

    Couple of questions, can this be done with a standalone server or does it need to be a Primary Domain Controller?


    Here is my smb.conf.....


    # Global parameters

    workgroup = G2Staff
    netbios name = Samba
    security = user
    server string = Samba Server
    log file = /var/log/samba/%m.log
    max log size = 50
    hosts allow = 192.168.1. 127.
    encrypt passwords = yes
    update encrypted = no
    wins support = yes
    smb passwd file = /etc/samba/smbpasswd
    unix password sync = yes
    passwd chat debug = false
    passwd program = /usr/bin/passwd %u
    passwd chat = *new password*%n\n *new password*%n\n *changed*

    #typical user

    [frontdesk]
    comment = frontdesk
    path = /home/frontdesk/Docs
    valid users = frontdesk root
    force user = frontdesk
    public = no
    writeable = yes
    printable = no
    read only = no
    browseable = yes

  2. #2
    Linux User
    Join Date
    Feb 2005
    Posts
    290
    yey, if you join the domain, you will be able to change your smb password easily, just CTRL-ALT-DELETE and click on the change password button.

    btw, make sure you're using a recent version of samba or your windows XP SP2 machines might give you problem....

    good luck

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Posts
    4
    I am using samba version 2.2.7 is that too old for xp sp2?

    so it seems like this can't be done in a workgroup setting instead of a domain setting, is that correct?


    thanks

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User
    Join Date
    Feb 2005
    Posts
    290
    afaik, there is no way to change a sharing password (workgroup level) from client side , even if it involves only windows machine and no linux box

  6. #5
    Just Joined!
    Join Date
    Jun 2004
    Location
    Leiria - Portugal
    Posts
    72

    Of course

    In a workgroup level the number of users/passwords databases are just the same of the computers and each one are very diferent of the other.

    To have a such type of control you need to concentrate all the information into a single database, that is called domain controler.

    Many improvements you'll found on a domain like network.

    Post here for any help, but "...never forget to search for a solution before asking..."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •