Mario Bittencourt
2004-Jun-19 14:25 UTC
[Samba] Log in one server, have shares in another ?
Hi, I have samba server (2.2.X, migrating to 3.0.4) that authenticates the users and let them mount their "home" dir. I'd like to change that in order to have one server doing the authentication but the shares actually being accessed in a different one. user ----> samba server1/login --------------------> samba server2/mount How can I do that ? My ideai is to concentrate the passwords in samba server (since it already have the users created) but let them mount (without having to specifiy anything) the home located in a different server without having to create again the same user/password in samba server2
Once you go to samba 3 there is a parameter that allows you to specify the home dir location. Use the pdbedit command to change the homedir parameter. To use the same password data as the logon server, you can join your second workstation to the domain and use security=domain. Make sure that your unix IDs are synced as well, either manually or by using a network directory like LDAP or NIS. Mario Bittencourt wrote:>Hi, > >I have samba server (2.2.X, migrating to 3.0.4) that authenticates the >users and let them mount their "home" dir. > >I'd like to change that in order to have one server doing the >authentication but the shares actually being accessed in a different >one. > > >user ----> samba server1/login > --------------------> samba server2/mount > >How can I do that ? My ideai is to concentrate the passwords in samba >server (since it already have the users created) but let them mount >(without having to specifiy anything) the home located in a different >server without having to create again the same user/password in samba >server2 > >-- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Cell: 701-306-6254 Information Systems Consultant Fax: 701-281-1322 URL: www.ae-solutions.com mailto:pgienger@ae-solutions.com