I'm wondering if someone can help me. I've tried searching for my answer for a bit with no luck
What I have done is setup SUSE as a PDC, able to get Windows client to connect to it fine no problems at all.
Thing where I'm getting lost is I want to create a login script for the users (Windows clients at the moment). I want to make it so when a user using a Windows client creates/saves something to the Windows "my Documents" section it will be saved on the server (Linux). But on Windows look like it normally would/
Any idea's how this can be done in the login script? I would prefer a link to some documentation or something as I'm learning a heap of good stuff when reading up on how to do one thing but learning a heap more But if not an example would do.
Samba provides functionality for this. I used to do this all the time, but I haven't touched it in a while. To start, take a look at this link that outlines the basic steps to the logon process.
You will need to create a [netlogon] section in your smb.conf. Also, take a look at the documentation for the following parameters. They will provide some of the functionality you need without the need for running a logon script.
Also, with Windows NT4/200x/XP and probably Vista, you can create a ntconfig.pol group policy file. This is also outlined in the Samba documentation.
If you post your smb.conf file, someone can probably help with specifics.
Can't you map their "My Documents" to be on your server's share? Another option would be Unison, and have Unison scheduled to sync, but that won't be instantaneous.
bwhitehd is correct. With samba you can set up "roaming profiles" for your domain clients. The samba documentation bwhitehd and bforest posted a links to will tell you how to do this. My documents wont be the only thing on the server though. There entire directory under Documents and Settings on XP and Users on Vista will be on the server. Users tend to enjoy this because their desktop and application settings follow them to different machines as well. Your client support personnel will love this because it is less time spent helping users set up email, office, etc.
Hello all,
for security reasons my compagny imposes that my script be launch remotly via ssh under the users login shell.
So serverA launches the ssh command to serverB which has a local user with my script as a login shell.
Local script works like a charm on his own.
serverB$ grep... (20 Replies)
Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account.
If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Hello All,:confused:
I want to ask if we can make a bash script that would ask us 'which folder to share and what should be the permissions,share name, valid users and necessary info from us..and make an automatic entry to the smb.conf file.:rolleyes:
Thanks! (1 Reply)
Hopefully someone will be kind enough to help me. I have a fileserver acting as a PDC and providing samba shares to a small network. Authentication to the PDC is via LDAP (setup using ebox) The users all have real local accounts on the server.
I would like a windows logon script that will:... (4 Replies)
Hi everyone! I'm trying to run a script when a folder is shared and when it stop being shared.
Is there something like .start_share or .stop_share scripts in Samba where I could run some commands?:confused:
edit: maybe with a wrapper in smbmount but I share folders via nautilus. Any ideas? (0 Replies)
Can anybody help in writing a script that takes username and password and then successfully login onto windows operating system box?
For example
1. I have a box A with Linux OS.
2. I have another box B with windows OS.
How to login onto boxB from boxA? (3 Replies)
I am trying to get a script together so when any user logs into the system it will display a message. After the user answers the question based on the answer they will proceed into the system or be logged out. I only want the person to get prompted once per message. Below is what I have in all... (1 Reply)
Hi all,
I am trying to enable samba access to administrator. I have added the user, but i am not able to login as administrator. But for other users i am able to login. Can anyone help me out in fixing this.
Thank You in advance. (2 Replies)
Hi all,
I am trying to enable samba access to administrator. I have added the user, but i am not able to login as administrator. But for other users i am able to login. Can anyone help me out in fixing this.
Thank You in advance. (1 Reply)