Re: [Samba] Samba PDC - upgrading from winxp clients to linux (OpenSUSE) clients

2007-03-12 Thread Michael Heydon



My question is this: How do I set up the OpenSUSE clients to
have the same behavior as the Windows XP clients. They need to
store their profiles both locally on the client and on the
server in the existing users home directory. Authentication
for the existing PDC is smbpasswd.
  

My first idea would be: NFS. If it is not possible, you
should try pam_mount, you would be able to mount the home once
the logon happens and that should solve the problem.

The real problem will come up if you need to have a HOT
copy of local $HOME and $SERVERHOME, that could be tricky to
implement and you would probably need to use a distributed file
system, but I'm not really sure what would be the best solution
in that case.


Here's my plan: I'll share the home directories on the server
with NFS, mount the respective home directory on the client
computer in a directory OTHER than home. Then create a shell
script that would sync the local home directory (hidden files
and all) on the client with the respective home directory on
the server during log out.

  
Yes this would work, if you wanted to use something like rsync you could 
achieve the same thing much more efficiently and without any mounting. 
Regardless of how you do the sync'ing you are going to have a few 
hurdles to get over (What happens if a user logs into multiple machines 
simultaneously?).


Why do you need a copy of the profile locally? It would greatly simplify 
things if you just put /home on nfs.


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


Re: [Samba] Samba PDC - upgrading from winxp clients to linux (OpenSUSE) clients

2007-03-12 Thread Lake-Wind
Felipe Augusto van de Wiel wrote:
> On 03/11/2007 12:51 PM, Lake-Wind wrote:
> [...]
>> My question is this: How do I set up the OpenSUSE clients to
>> have the same behavior as the Windows XP clients. They need to
>> store their profiles both locally on the client and on the
>> server in the existing users home directory. Authentication
>> for the existing PDC is smbpasswd.
> 
>   My first idea would be: NFS. If it is not possible, you
> should try pam_mount, you would be able to mount the home once
> the logon happens and that should solve the problem.
> 
>   The real problem will come up if you need to have a HOT
> copy of local $HOME and $SERVERHOME, that could be tricky to
> implement and you would probably need to use a distributed file
> system, but I'm not really sure what would be the best solution
> in that case.
> 
> 
>> Any help with this matter would be greatly appreciated.
>> Thank you in advance!
> 
>   Kind regards,
> 
Thank you for responding to my question. After reading your
response, I have come up with a possible solution but I need
help in implementing it. At this point, the only reason for
the server is login authentication and centralized backups for
all home directories and the shared directory.

Here's my plan: I'll share the home directories on the server
with NFS, mount the respective home directory on the client
computer in a directory OTHER than home. Then create a shell
script that would sync the local home directory (hidden files
and all) on the client with the respective home directory on
the server during log out.

I believe that is what happens when Windows XP logs out or
shuts down. That's when the profile data is copied from the
local machine to the server. If I can replicate that with a
shell script, I'll be all set.

Is it possible to have a shell script run automatically that
would overwrite the users home directory on the server when
logging out of KDE  on the local machine? If so, this might be
the solution I am looking for.

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


Re: [Samba] Samba PDC - upgrading from winxp clients to linux (OpenSUSE) clients

2007-03-12 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/11/2007 12:51 PM, Lake-Wind wrote:
[...]
> My question is this: How do I set up the OpenSUSE clients to
> have the same behavior as the Windows XP clients. They need to
> store their profiles both locally on the client and on the
> server in the existing users home directory. Authentication
> for the existing PDC is smbpasswd.

My first idea would be: NFS. If it is not possible, you
should try pam_mount, you would be able to mount the home once
the logon happens and that should solve the problem.

The real problem will come up if you need to have a HOT
copy of local $HOME and $SERVERHOME, that could be tricky to
implement and you would probably need to use a distributed file
system, but I'm not really sure what would be the best solution
in that case.


> Any help with this matter would be greatly appreciated.
> Thank you in advance!

Kind regards,

- --
Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF9U/CCj65ZxU4gPQRAjupAKDAQXhLB3svFSKnplJBuA927jUKhgCgjYVg
OC13H9qr+quYvhIt4rVSA+Y=
=Jo0g
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba PDC - upgrading from winxp clients to linux (OpenSUSE) clients

2007-03-11 Thread Lake-Wind
Hello,

I do volunteer work for a local non-profit business. I've
built several computers for them, set up their network, etc...
A few years ago I set up a Samba PDC server for them with
Windows XP clients. The current setup works fine. The Windows
clients store their profiles and documents on the server in
the corresponding home directory and locally (on the client)
so that if the server is down for some reason (hasn't happened
yet), they still have access to their documents. They also
have a shared directory on the server for storing shared
documents. Backups are done periodically on the server of the
home directories and the shared directory using a script,
crontab and re-writable DVD's.

Recently I donated an older computer to them for use by their
maintenance department for internet only (not for logging on
to the domain).  This computer has OpenSUSE 10.2 installed on
it. The Director tried out the computer and wants to "upgrade"
all but one of their networked desktops to OpenSUSE 10.2.

At home, I've set up a test PDC and test desktop to log on to
the PDC with OpenSUSE 10.2. However, the home directory on the
client computer is only stored locally on the client
(/home/domain_name/user_name), NOT on the server as well. It's
important that the existing home directories on the server
"sync up" with the new Linux desktops and that the profiles
are stored locally and on the server.

My question is this: How do I set up the OpenSUSE clients to
have the same behavior as the Windows XP clients. They need to
store their profiles both locally on the client and on the
server in the existing users home directory. Authentication
for the existing PDC is smbpasswd.

Any help with this matter would be greatly appreciated.

Thank you in advance!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba