[CentOS] new CentOS5.1, samba help requested

John R Pierce pierce at hogranch.com
Wed Mar 26 16:48:52 UTC 2008


Ray Leventhal wrote:
> Hi all,
>
> I'm fighting with samba on a new CentOS 5.1 install.
>
> The goal here is to have unix/linux usernames/passwords used for the 
> samba shares (which i'll setup using webmin, as I find it easy that 
> way).  At present, the home share and one for the company's public 
> share are in place.


# useradd ..... someuser
# passwd someuser
    new: ....
    again: ...
# smbpasswd -a someuser
    new: ....
    again: ....

the smbpasswd step is neccessary, because SMB/CIFS protocol uses a 
different hash than /etc/passwd & /etc/shadow, so samba keeps its own 
smbpasswd file.





More information about the CentOS mailing list