[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
>....................
>ON THE NT:
>
>C:\>net user e: \\199.254.200.1\moorej
>The password is invalid for \\199.254.200.1\moorej.
>Type the password for \\199.254.200.1\moorej:
>The account is not authorized to login from this 
>station.

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.

>[global]
>   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
>[homes]
>   comment = Home Directories
>   valid users = %S
>   read only = No
>   browseable = No
>[moorej]
>   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!
http://login.mail.lycos.com/r/referral?aid=27005



More information about the samba mailing list