[Samba] Re: Fw:

Dragan Krnic dkrnic at lycos.com
Fri Jun 20 19:30:53 GMT 2003

>Anyone know why I get this message on my NT when 
>trying to mount unix home to NT:
>   The account is not authorized
>   to login from this station.
>Ran smbpasswd -u moorej

There is no option "-u" (small "u"). RTFM.

>Ran smbclient -L fairchd1
>Domain=[MYGROUP] OS=[Unix]Server=Samba .2.3a]
>Sharename      Type      Comment
>---------      ----      -------
>moorej         Disk      Home Directory
>C:\>net user e: \\\moorej
>The password is invalid for \\\moorej.
>Type the password for \\\moorej:
>The account is not authorized to login from this 

You really want to map "E:" to your home 
directory, right? Why don't you use "net use" 
instead ? What you typed, "net user", means
you want to add a new user to an NT server.

>   workgroup = MYGROUP
>   server string = Samba Server
>   security = SHARE
>   unix password sync = Yes
>   log file = /usr/local/samba/var/log.%m
>   max log size = 50
>   dns proxy = No
>   comment = Home Directories
>   valid users = %S
>   read only = No
>   browseable = No
>   comment = Home Directory
>   path = /home/moorej  
>   valid users = moorej
>   read only = No

With security=SHARE you don't need [homes].
They don't fit. But don't hurt either.

Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!

More information about the samba mailing list