Re: FC5 SAMBA security=share [homes] problem

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

 



On Thursday 12 October 2006 14:04, Mogens Kjaer wrote:
> Gary Stainburn wrote:
> ...
>
> > However, if I remove /etc/samba/smbpasswd and /etc/samba/smbusers Samba
> > behaves exactly the same, so I think it's not using these files.
>
> Can you do a:
>
> testparm -v >/tmp/panic1
> <press return>
>
> fgrep smbpasswd /tmp/panic1
>
> What is the owner and permissions on /etc/samba/smbpasswd ?
>

[root@larry2 ~]# testparm -v|grep passwd
Load smb config files from /etc/samba/smb.conf
        smb passwd file = /etc/samba/smbpasswd
        passdb backend = smbpasswd
        passwd program =
        passwd chat = *new*password* %n\n *new*password* %n\n *changed*
        passwd chat debug = No
        passwd chat timeout = 2
        ldap passwd sync = no
[root@larry2 ~]# ll -d / /etc/ /etc/samba/ /etc/samba/smbpasswd
drwxr-xr-x 24 root root  4096 Oct 12 14:17 /
drwxr-xr-x 94 root root 12288 Oct 12 14:17 /etc/
drwxr-xr-x  2 root root  4096 Oct 12 14:31 /etc/samba/
-rw-------  1 root root   421 Oct 12 13:11 /etc/samba/smbpasswd
[root@larry2 ~]#  

I've also tried adding the smb passwd file= as suggested by Anna, but that has 
not made any difference.

Gary
-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux