Announcement

Collapse
No announcement yet.

smbpasswd Not Working!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    smbpasswd Not Working!

    Okay I've been fighting with this one for a while. I reinstalled samba (at least I think I did it correctly). I'm about 95% sure that permissions are correct (though who knows sometimes and suggestions are welcome). When I run smbpasswd it says that it does everything correctly, but the smbpasswd file remains unchanged. I can do the mksmbpasswd command, but I don't want to require that every Windows have the same name as a unix user. In fact, I only want want 2 people to have home directories on the server.



    Why on earth would the smbpasswd program pretend that everything is working and then end up doing nothing?


    I've searched high and low on these forums and if this has been answered before feel free to point it out to me, but I keep coming up with the same old questions about how to use smbpasswd.

    Thanks in advance!

    -Dave

    #2
    Re: smbpasswd Not Working!

    You did do it as sudo didn't you?

    Code:
    sudo smbpasswd -a <username>
    The smb user being added must already be a Linux user. The windows users don't have to have the same name as a Linux user, but they do have to use the smb user's name and password to log in, and that user must be a Linux user.

    Comment


      #3
      Re: smbpasswd Not Working!

      Yes, I did use sudo.

      On the second part of your question, I've tried it with and without a proper unix username. In both cases it seems not to work. I will however, examine this further to make sure I was using proper linux usernames.

      Comment

      Working...
      X