Re: cifs password length?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2007-01-13 at 20:48 -0500, Gene Heskett wrote:
> On Saturday 13 January 2007 16:12, Craig White wrote:
> [...]
> >----
> >If you are speaking of password entries in /etc/samba/smbpasswd, those
> >are the already hashed password using standard Windows NT hash
> >algorithm.
> >
> >If you want to set a password for say, user gene...
> >
> >smbpasswd gene
> >(it prompts you to enter a password)
> >
> >this is then 'hashed' and written to /etc/samba/smbpasswd
> >
> >Craig
> 
> Thanks Craig.
> 
> I added gene to smbusers, which looked ok, and I hoped that would stop 
> smbpasswd from complaining about a non-existent user, but it didn't.  
> 
> And it still won't set a passwd hash into the smbpasswd file which is 
> currently 0600 and owned by root, and zero bytes long.  And I was doing 
> that as root of course...
----
a samba user - say 'gene' must also be a Linux user too.

there are many different password db systems that can be used for samba
but /etc/samba/smbpasswd is the default if not specified otherwise. You
may wish to check what you have set in smb.conf

# testparm -sv |grep passdb

by default, perms on smb.conf are 644
# ls -l /etc/samba/smb.conf
-rw-r--r--    1 root     root         4210 Feb  1
2005 /etc/samba/smb.conf

Official Samba documentation is here...

http://samba.org/samba/docs/man/Samba-HOWTO-Collection/

Craig

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux