[Samba] Password problem

Ryan Novosielski novosirj at umdnj.edu
Fri Dec 14 16:30:11 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Check the manual for the "bad user" directive.

Prakash Hallalli wrote:
> Hello 
>   I have configured samba on CentOS-5, when i was logging from client side it con't ask password,it has loged in to "Anonymous" user.I configured user mode. I am using linux (serve) to linux (client), but i should avoid Anonymous login. What i should do?.I did this type configuration what i should add. 
>   
> 1) The contents of /etc/samba/smb.conf file as follows,
>      
>  [global]        
>     workgroup = MYGROUP
>     Netbios name = prakash
>         server string = Samba Server
>     security = user
>     encrypt passwords = yes
>     smb password file = /etc/samba/smbpasswd
>       hosts allow = 192.168.0. 192.168.2. 127.
>  
> [data]
>    comment = Mary's and Fred's stuff
>    path = /data
>    read only = NO
>    valid users = ravi
>    writable = yes
>    create mask = 0644
>    directory mask = 0755
> 
> 2) I set smbpassword for ravi user.    
> 
> # grep ravi /etc/samba/smbpasswd 
> 
> ravi:501:A81321B5A2C540EAAAD3B435B51404EE:BAD430DE03935B5C1FCBDAC1C028BD4C:[U          ]:LCT-475F93FC:
> 
> 
> #chmod 600 /etc/samba/smbpasswd 
> 
> # smbstatus 
> 
> Samba version 3.0.23c-2
> PID     Username      Group         Machine                        
> -------------------------------------------------------------------
> 
> Service      pid     machine       Connected at
> -------------------------------------------------------
> 
> No locked files
> 
>      I tried to find answer in some mailing lists but i couldn't get, plz help me.
>  
> Thanks and Regards,
> Prakash.
>        
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHYq+Tmb+gadEcsb4RAltpAKDDUbK6uqg9wrlJIDurV397e4iDegCaAr3Y
WC/mFq9dZ3O0tFqT3FQdNpE=
=WJZb
-----END PGP SIGNATURE-----


More information about the samba mailing list