Re: [Samba] cant browse user home directories

2009-08-12 Thread Adam Williams

this is what I use for my homes share:

[homes]
   comment = Home Directories
   writeable = Yes
   browseable = No
   hide dot files = yes
   public = no
   valid users = %S
   create mask = 0750
   force create mode = 0750
   directory mask = 0750
   force directory mode = 0750
   csc policy = disable
   nt acl support = no
   veto files = /*.mp3/
   delete veto files = yes
   force group = users

however i think your users aren't authenticating for some reason.  are 
you using ldap, tdbsam, or smbpasswd authentication?


Roger D Vargas wrote:

I had to reainstall my server and couldnt avoid upgrading samba. Before
reinstalling, I had samba configured to let users browse their home
folders from Windows PCs using their Unix system user/pass. Now, it is
not possible, I have just managed to implement the same authentication
system as before and give access to a public folder. The home folders
remains invisible, if I set browseable = yes, then I see a "home"
folder, but it can not be browsed.
This is the relevant configuration (I think, if there is something
missing I can send the whole file)

workgroup = SCNET
netbios name = eht
security = user
encrypt passwords = no
passdb backend = tdbsam

[homes]
   comment = Home Directories
   browseable = no
   read only = no
   valid users = %S, %D%w%S
   inherit acls = yes


Is there any way to solve this?

  


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] cant browse user home directories

2009-08-12 Thread Roger D Vargas
Adam Williams escribió:
> this is what I use for my homes share:
>
> [homes]
>comment = Home Directories
>writeable = Yes
>browseable = No
>hide dot files = yes
>public = no
>valid users = %S
>create mask = 0750
>force create mode = 0750
>directory mask = 0750
>force directory mode = 0750
>csc policy = disable
>nt acl support = no
>veto files = /*.mp3/
>delete veto files = yes
>force group = users
>
> however i think your users aren't authenticating for some reason.  are
> you using ldap, tdbsam, or smbpasswd authentication?
What i want is to use default system users (/etc/passwd) for
authentication. The problem is that i already have 2 domains, with users
forced to have accounts in both, the mail password and the proxy
password. Security policies requires changing all those passwords and I
dont want to deal with a fourth password for samba. I know it is quite
old idea, I implemented it almost 10 years ago, but people is used to
access their home folders using their "mail" password and i would like
to keep it that way.
Also my resources are so scarce that I have a single server, so I cant
research an ldap migration  withouth breaking stuff in the server that
handles mail ,proxy, samba and firewall.


-- 
Roger D. Vargas
Using Gentoo Linux 2008.0, Ogre 1.6.2, fglrx
Powered by Celeron D 2.8 Ghz, 2Gb RAM, Radeon HD4770
Currently working on: Testing dotScene format
http://dsgp.blogspot.com

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] cant browse user home directories

2009-08-12 Thread Adam Williams



Roger D Vargas wrote:

Adam Williams escribió:
  


What i want is to use default system users (/etc/passwd) for
authentication. The problem is that i already have 2 domains, with users
forced to have accounts in both, the mail password and the proxy
password. Security policies requires changing all those passwords and I
dont want to deal with a fourth password for samba. I know it is quite
old idea, I implemented it almost 10 years ago, but people is used to
access their home folders using their "mail" password and i would like
to keep it that way.
Also my resources are so scarce that I have a single server, so I cant
research an ldap migration  withouth breaking stuff in the server that
handles mail ,proxy, samba and firewall.


  


why not?  i upgraded a live system from /etc/passwd to ldap and didn't 
break anything.  you can use the migration scripts provided with 
openldap to load the users into ldap, and use pdbedit to import the 
tdbsam/smbpasswd users to openldap, then configure and enable nss_ldap 
so that now pam is authenticating users in ldap, delete the users from 
/etc/passwd, then config samba to use ldap and restart it.  you can 
install microsoft virtual pc 2007 sp1 for free on a windows computer, 
and install linux in it and do all the testing you need.


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba