Hello, ? I have a stupid question, but im bit lost, and cant find the solution with google. ? I have a samba ( debian ) 3.5.8 with ldap running fine. ? Now i added an extra server en want to login on this server also with ssh. this works but my users are not allowed to write in there own home folder. ? ? My setup. server 1: debian squeeze samba 3.5.8 + ldap user folders in /home/users ? server 2: debian squeeze no samba, i mounted the the remote? folder ( home/users ) on this server in /home/users ( only smbfs and smbclient installed ) ? getent passwd and getent group gives my users and groups.? ( done with nsswitch and libnss-ldap and libpam-nss ) I can login with ssh or telnet so this works fine. ? I think the mounted home folder is done wrong, but i need a hint this is what i have in /etc/fstab. ? //192.168.XXX.2XX/users$????/home/users cifs domain=BAZUIN,username=Administrator,password=XXXXXXX??????????????? 0?????? 0 ? ? yes i know nfs is also an option, but not for me :-( . ? anyone suggestions, this would me my day really good. ? Louis ?
On 01/05/2012 09:47 AM, L.P.H. van Belle wrote:> Hello, > > > > I have a stupid question, but im bit lost, and cant find the solution with google. > > > > I have a samba ( debian ) 3.5.8 with ldap running fine. > > > > Now i added an extra server en want to login on this server also with ssh. > > this works but my users are not allowed to write in there own home folder. > > > > > > My setup. > > server 1: debian squeeze > > samba 3.5.8 + ldap > > user folders in /home/users > > > > server 2: debian squeeze > > no samba, i mounted the the remote folder ( home/users ) on this server in /home/users > > ( only smbfs and smbclient installed ) > > > > getent passwd and getent group gives my users and groups. ( done with nsswitch and libnss-ldap and libpam-nss ) > > I can login with ssh or telnet so this works fine. > > > > I think the mounted home folder is done wrong, but i need a hint > > this is what i have in /etc/fstab. > > > > //192.168.XXX.2XX/users$ /home/users cifs domain=BAZUIN,username=Administrator,password=XXXXXXX 0 0 > > > > > > yes i know nfs is also an option, but not for me :-( . > > > > anyone suggestions, this would me my day really good. > > > > Louis > > >As you have it, only Administrator will be able to write to /home/users. With cifs I don't think you can have a wildcard for username= and password=, which is what you'd need. I struggled with this: http://www.mail-archive.com/samba at lists.samba.org/msg116463.html The gurus here told me it was not possible. That's when I had to go with nfs. HTH Steve
Hai, Ok, took notice of the links you send. i found also a automount option, but i need al my user folders to be accessable al the time. i did setup nfs, and it works Thanks for your answhere. Louis>-----Oorspronkelijk bericht----- >Van: steve at steve-ss.com [mailto:samba-bounces at lists.samba.org] >Namens steve >Verzonden: 2012-01-05 11:03 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] remote home no nfs > >On 01/05/2012 09:47 AM, L.P.H. van Belle wrote: >> Hello, >> >> >> >> I have a stupid question, but im bit lost, and cant find the >solution with google. >> >> >> >> I have a samba ( debian ) 3.5.8 with ldap running fine. >> >> >> >> Now i added an extra server en want to login on this server >also with ssh. >> >> this works but my users are not allowed to write in there >own home folder. >> >> >> >> >> >> My setup. >> >> server 1: debian squeeze >> >> samba 3.5.8 + ldap >> >> user folders in /home/users >> >> >> >> server 2: debian squeeze >> >> no samba, i mounted the the remote folder ( home/users ) on >this server in /home/users >> >> ( only smbfs and smbclient installed ) >> >> >> >> getent passwd and getent group gives my users and groups. ( >done with nsswitch and libnss-ldap and libpam-nss ) >> >> I can login with ssh or telnet so this works fine. >> >> >> >> I think the mounted home folder is done wrong, but i need a hint >> >> this is what i have in /etc/fstab. >> >> >> >> //192.168.XXX.2XX/users$ /home/users cifs >domain=BAZUIN,username=Administrator,password=XXXXXXX > 0 0 >> >> >> >> >> >> yes i know nfs is also an option, but not for me :-( . >> >> >> >> anyone suggestions, this would me my day really good. >> >> >> >> Louis >> >> >> >As you have it, only Administrator will be able to write to >/home/users. >With cifs I don't think you can have a wildcard for username= and >password=, which is what you'd need. I struggled with this: > >http://www.mail-archive.com/samba at lists.samba.org/msg116463.html > >The gurus here told me it was not possible. That's when I had >to go with >nfs. > >HTH >Steve > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
Reasonably Related Threads
- samba ldap domain member server with cifs and nfs
- Lost performance between Samba 3.0.24 and 3.5.8 with high number of concurrent connections
- nfs based shared home dir question
- : Server's root name change when log-in
- Classic upgrade and forced password change...