[Samba] sambaProfilePath and sambaHomePath when adding a BDC
I have a Samba3+LDAP PDC running. I set it up long time ago following de IDEALX howto and using smbldap-tools. The domain is called PRINCIPAL and the PDC netbios name is SMBSERV. In my LDAP tree, users have (among others) attributes like these: dn: uid=bachillerato01,ou=Users,dc=guaydil,dc=prv cn: Usuario prueba para bachillerato ... sambaProfilePath: \\SMBSERV\profiles\bachillerato01 sambaHomePath: \\SMBSERV\bachillerato01 Now I have a new network segment and I want to set up a BDC being also a slave LDAP server. I want workstations in the new network segment to take profiles, homes and everything directly from the BDC. So three questions: 1.- I need to change the sambaProfilePath and sambaHomePath for every user in the LDAP tree, isn't it? 2.- Would it work if I replace the above attributes with something like sambaProfilePath: \\%LOGONSERVER%\profiles\bachillerato01 sambaHomePath: \\%LOGONSERVER%\bachillerato01 ? Can smbldap-tools manage it? 3.- Would it be better to set all this attributes to null and use logon home and logon path in smb.conf? Thanks in advance and please forgive my poor English writing. Greetings -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] sambaProfilePath
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 7 Jan 2004, Andrew Bartlett wrote: On Tue, Jan 06, 2004 at 07:34:57PM -0700, Craig White wrote: dumb question... if I put \\SERVER\PROFILES\%u in sambaProfilePath for some user and that user logs in for the first time, it literally creates a %u directory in the proper folder and not the uid name. Am I dumb? Must I actually hard code each one in? We do not do % macro expansions form LDAP. Write a script to set them as your site requires. I thought we did, but that %U should be used in place of %u here. I know we used to to variable expansion here. cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc If we're adding to the noise, turn off this song --Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE//FToIR7qMdg1EfYRAtv1AJ9eos5OUWgd660jUA2oLzBw/djozQCfXf3h ox4eC8S8AkwZAGGIhCpUYhw= =yiyq -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] sambaProfilePath
On Tue, 2004-01-06 at 19:42, Andrew Bartlett wrote: On Tue, Jan 06, 2004 at 07:34:57PM -0700, Craig White wrote: dumb question... if I put \\SERVER\PROFILES\%u in sambaProfilePath for some user and that user logs in for the first time, it literally creates a %u directory in the proper folder and not the uid name. Am I dumb? Must I actually hard code each one in? We do not do % macro expansions form LDAP. Write a script to set them as your site requires. --- thanks - saves me the time and unnessary hair pulling. I kind of figured that to be the case since everything I tried didn't work. Craig -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba