Patrik Gustavsson PS Sweden Senior Technical Consultant
2003-Jun-24 13:47 UTC
[Samba] Samba3-beta1 as a PDC and using tdbsam as passdb backend it takes the home-directory info from /etc/passwd
I didn't get any answers so I try again: I am using tdbsam as passdb backand. I have added root user with pdbedit. The machine trust account was added on the fly. I have added the user with pdbedit. I have created the user in /etc/passwd. When the user logs in from a W2k and mounts the home-directory I noticed that Samba didn't take the home-directory information from tdbsam, it took it from /etc/passwd. Is that correct ? I assumed it would use the info in tdbsam. /Patrik -- "In a world without fences who needs Gates" Patrik Gustavsson, Senior Technical Consultant patrik.gustavsson@sun.com Telephone: +46 60 671540 http://glen.sweden Mobile: +46 70 3551040 SUN MICROSYSTEMS Fax: +46 60 671550 --------------------------------------------------------------
Andrew Bartlett
2003-Jun-24 14:45 UTC
[Samba] Samba3-beta1 as a PDC and using tdbsam as passdb backend it takes the home-directory info from /etc/passwd
On Tue, 2003-06-24 at 23:47, Patrik Gustavsson PS Sweden Senior Technical Consultant wrote:> > I didn't get any answers so I try again: > > > I am using tdbsam as passdb backand. > > I have added root user with pdbedit. > > The machine trust account was added on the fly. > > I have added the user with pdbedit. > > I have created the user in /etc/passwd. > > When the user logs in from a W2k and mounts the home-directory I noticed > that Samba didn't take the home-directory information from tdbsam, it > took it from /etc/passwd. > > Is that correct ? > > I assumed it would use the info in tdbsam.tdbsam stores only NT things like the profile path and the drive letter to map it to - it does not store the unix info, like their unix home directory. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20030624/91c9b6ad/attachment.bin
Gémes Géza
2003-Jun-25 10:32 UTC
[Samba] Samba3-beta1 as a PDC and using tdbsam as passdb backend it takes the home-directory info from /etc/passwd
Patrik Gustavsson PS Sweden Senior Technical Consultant ?rta:> > I didn't get any answers so I try again: > > > I am using tdbsam as passdb backand. > > I have added root user with pdbedit. > > The machine trust account was added on the fly. > > I have added the user with pdbedit. > > I have created the user in /etc/passwd. > > When the user logs in from a W2k and mounts the home-directory I noticed > that Samba didn't take the home-directory information from tdbsam, it > took it from /etc/passwd. > > Is that correct ? > > I assumed it would use the info in tdbsam. > > /Patrik >Depends what do you meen by getting home-directory information. If you would refer to getting the /home/username from /etc/passwd, thats correct, this is what happen because of the sambas [homes] share, on the other side "rich" SAM databases such as tdbsam provide som NT-ish things, like homedrive, profilepath, and logonscript, I'm afraid, that you are confusing this two categories. Best Regards Geza Gemes
Maybe Matching Threads
- Is it sombody who has a working pam.conf for Solaris 9 ?
- Strange UID/GID mapping in Samba-3beta1 and Win2003 server
- Winbind in samba3-beta2 is broken compered to samba3-beta1 on solaris
- Problem to get winbind working for Samba3-beta1 on Solaris 9 against W2003 PDC
- Got strange message when using wbinfo/winbind on Samba-3 beta3