ARGHHHH! Simple problem I'm sure.

Robert Dahlem Robert.Dahlem at gmx.net
Mon Nov 6 23:07:03 GMT 2000


Dwayne,

On Mon, 6 Nov 2000 10:32:33 -0500, King, Dwayne wrote:

>One last question (I promise!).  Isn't there a way to have the Samba
>password inherit that of the unix account?

Apply the registry hack for unencrypted passwords to all clients and 
reconfigure Samba to use unencrypted passwords. It will then use 
passwords from passwd/shadow.

Apparently this is not really what you will like to do ...

>i.e. I map our NT domain name "dwayne.king" to the unix name "dking", 
>however enabling the samba account with "smbpasswd -e dking" requires 
>a separate password.

>Obviously, I could just set them the same, but I am thinking about 
>when the unix pw changes.

You can try this one:

  [global]
    workgroup = your_domain_name_goes_here
    security = server
    password server = *
    username map = /etc/smb.usermap

/etc/smb.usermap:
  dking = dwayne.king
  
Make sure you have read _and_ understood everthing 'man smb.conf' has 
to tell you about "security = server", "password server = *" and 
"username map".

Regards,
        Robert


-- 
---------------------------------------------------------------
Robert.Dahlem at gmx.net           Fax +49-69-432647
---------------------------------------------------------------

Sent using PMMail (http://www.pmmail2000.com) - fast, decent, email
software; far better than Outlook. Try it sometime.






More information about the samba mailing list