Samaba Server Connectivity Problem (Critical)

Alin Osan aline at home.ro
Tue Feb 13 06:53:11 GMT 2001


On 11 Feb 2001, at 17:39, Brijesh Shah wrote:

> Hi,
> 
> We are setting up the samba server in our environment.
> 
> We have Sun Os 5.7 on Sun E 450(name ABC)
> 
> We installed the samba server on  ABC.
> 
> There is one unix user called DCCATG in Unix box ABC.
> 
> Our plan is to create a share for ATG Dir on Unix box ABC and give
> permissions to only DCCATG Unix user.
> 
> We configured the smb.conf file as attached.
> 
> ============================================================================
> 
> # Samba config file created using SWAT
> # from 10.0.100.141 (10.0.100.141)
> # Date: 2001/02/09 08:58:51
> 
> # Global parameters
> [global]
>         workgroup = DCC
>         encrypt passwords = yes
>         security = user
>         domain master = yes
>         smb passwd file = /etc/opt/samba/private/smbpasswd
> 
> [homes]
>         writeable = Yes
> 
> [atg]
>         comment = For DCCATG USER Only
>         path = /atg
>         valid users = dccatg
>         security = USER
>         encrypt passwords = yes
>         writeable = Yes
> 
> [Aruba_FC]
>         comment = For DCCATG USER Only
>         path = /Aruba_FC
>         valid users = dccatg
> 
> [TEST]
>         path = /test
>         writeable = yes
>         guest ok = yes
> 
> "smb.conf" 33 lines, 651 characters
> 
> ============================================================================
> 
> 
> We have the entry for DCCATG user in /etc/opt/samba/private/smbpasswd
> 
> We have set encrypted = yes
> 
> From the Windows NT 4 sp 6 , If i go into network neighborhood, i m able to
> see the Unix box ABC and Share  ATG under that box.
> 
> But when i double click it asks me the user name and  password.
> 
> Here i am giving DCCATG and the appropriate Unix password.
> 
> But i m getting the message is "THE ACCOUNT IS NOT AUTHORIZED TO LOGON FROM
> THIS STATION".
> 
> - When i tried to access the /Test share its not asking me the password and
> i am able to see the files and i am able to upload the files/
> ( i think this is because of Guest Ok = yes )
> 
> 
> Let me know what are the other settings do i have to set ?
> 
> - Do i have to create a same user called DCCATG in Nt Domain ?
> 
> - We have a diff. machine for PDC , so i havnt set Domain logons = yes in
> smb.conf

You need to set Domain logons = yes or you'll not be able to 
access the server. This flag has nothing to do with PDC. Also add 
the users with smbpasswd -a username in case you omitted this.


Alin Osan
Network Administrator
http://www.tryrom.com/casa
phone 4059467200
fax   4059467202




More information about the samba mailing list