Re: [opensuse] Windowsserver supplying a home-dir on SuSE10.2 (SOLVED)

2007-08-23 Thread Jan Engelhardt

On Aug 23 2007 19:59, G T Smith wrote:

In fact...

>> 
>> - succes.
>> 
>> - this is how-to let a wintendo mashine deliver home-dirs to a linux box.
>> 
>> [...]
>> On the linux box, as root, create a dir like this: mkdir /home

If /home is a separate mount, the directory will already exist.

>> Now, as root, reread /etc/fstab, do it with mount -a

There is no such thing as rereading fstab. Hence mount -a is superfluous.
Just mount /home;

>> Go into YaST. Create a new user, name him whatever, and see that his 
>> home-dir 
>> indeed now resides on the win-box.
>> 
>> - thanks to the list again for directing me !
>> 
>A number of thoughts
>
>a) user is root, password secret (locally hmm..). The first problem is
>NT/AD ids have a discrete ID scheme from that used in Linux, if root is
>translating into admin account you have an ordinary user logged as an
>admin to the windows server (and AD/NT)... somehow I do not think that
>is your intent :-) This can persist into other areas (like other users
>home directories)...
>
>b) The ideal would be for someone to log in the their home directory
>with the appropriate user credentials, however these credentials should
>only become available after the user has authenticated to the linux
>machine. /etc/fstab gives global mounts, for user specific mounts you
>probably need something different.

..like pam_mount for example.

>
>I would suggest you have a look at..
>
>http://pserver.samba.org/samba/ftp/cifs-cvs/linux-cifs-client-guide.pdf
>

Jan
-- 
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Windowsserver supplying a home-dir on SuSE10.2 (SOLVED)

2007-08-23 Thread G T Smith
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Verner Kjærsgaard wrote:
> 
> - succes.
> 
> - this is how-to let a wintendo mashine deliver home-dirs to a linux box.
> 
> - on win: create the share, name it (say) wintendo. Create a user named root, 
> give him a password, set it to never expire and it should not be changed 
> uppon first login. Give this user root all rights to the wintendo share.
> 
> - fire up Konqueror, type in an URL like this: 
> SMB://IP-of-win-machine/wintendo
> 
> -and check that root has access and all.
> Close konqueror.
> 
> 
> Now, on the Linux box, edit /etc/fstab. Comment out the mount for /home (you 
> DID put that on a partition for itself, right?).
> 
> 
> Add a line to fstab:
> 
> (the next two lines is in fact ONE line in fstab...
> //IP-of-windows-machine/wintendo /home cifs   
> rw,user=root,password=very-secret  0 0
> 
> On the linux box, as root, create a dir like this: mkdir /home
> 
> Now, as root, reread /etc/fstab, do it with mount -a
> 
> Go into YaST. Create a new user, name him whatever, and see that his home-dir 
> indeed now resides on the win-box.
> 
> - thanks to the list again for directing me !
> 
> Best regards,
> Verner
> 
> 

hmmm...

A number of thoughts

a) user is root, password secret (locally hmm..). The first problem is
NT/AD ids have a discrete ID scheme from that used in Linux, if root is
translating into admin account you have an ordinary user logged as an
admin to the windows server (and AD/NT)... somehow I do not think that
is your intent :-) This can persist into other areas (like other users
home directories)...

b) The ideal would be for someone to log in the their home directory
with the appropriate user credentials, however these credentials should
only become available after the user has authenticated to the linux
machine. /etc/fstab gives global mounts, for user specific mounts you
probably need something different.

I would suggest you have a look at..

http://pserver.samba.org/samba/ftp/cifs-cvs/linux-cifs-client-guide.pdf

I know those who have been mounting home dirs with NFS/NISS have
developed a number of ways of handling this over time, as cifs is now
giving a pure mount some of this knowledge an experience may be useful..

- --
==
I have always wished that my computer would be as easy to use as my
telephone.
My wish has come true. I no longer know how to use my telephone.

Bjarne Stroustrup
==
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGzdkMasN0sSnLmgIRAu+YAKDLvl6gjWbLN39GqId3f9toOnjOJQCfXJBC
oLQo4eDZBORME5RapV+m+Vg=
=O2YB
-END PGP SIGNATURE-
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Windowsserver supplying a home-dir on SuSE10.2 (SOLVED)

2007-08-23 Thread Sloan
Verner Kjærsgaard wrote:
> - succes.
>
> - this is how-to let a wintendo mashine deliver home-dirs to a linux box.
>
> - on win: create the share, name it (say) wintendo. Create a user named root, 
> give him a password, set it to never expire and it should not be changed 
> uppon first login. Give this user root all rights to the wintendo share.
>
> - fire up Konqueror, type in an URL like this: 
> SMB://IP-of-win-machine/wintendo
>
> -and check that root has access and all.
> Close konqueror.
>
>
> Now, on the Linux box, edit /etc/fstab. Comment out the mount for /home (you 
> DID put that on a partition for itself, right?).
>
>
> Add a line to fstab:
>
> (the next two lines is in fact ONE line in fstab...
> //IP-of-windows-machine/wintendo /home cifs   
> rw,user=root,password=very-secret  0 0
>
> On the linux box, as root, create a dir like this: mkdir /home
>
> Now, as root, reread /etc/fstab, do it with mount -a
>
> Go into YaST. Create a new user, name him whatever, and see that his home-dir 
> indeed now resides on the win-box.
>
> - thanks to the list again for directing me !
>   
Thanks for the report, I'd be curious to hear what sort of difficulties
you encounter down the road with this on things like ownerships and
permissions, and lack of unix filesystem features.

I notice that you have a single /home partition in /etc/fstab, owned by
root. Were you able to log in as that user and perform some typical
activities which would create, modify, delete, rename files, etc?

Joe
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Windowsserver supplying a home-dir on SuSE10.2 (SOLVED)

2007-08-23 Thread Verner Kjærsgaard


- succes.

- this is how-to let a wintendo mashine deliver home-dirs to a linux box.

- on win: create the share, name it (say) wintendo. Create a user named root, 
give him a password, set it to never expire and it should not be changed 
uppon first login. Give this user root all rights to the wintendo share.

- fire up Konqueror, type in an URL like this: 
SMB://IP-of-win-machine/wintendo

-and check that root has access and all.
Close konqueror.


Now, on the Linux box, edit /etc/fstab. Comment out the mount for /home (you 
DID put that on a partition for itself, right?).


Add a line to fstab:

(the next two lines is in fact ONE line in fstab...
//IP-of-windows-machine/wintendo /home cifs   
rw,user=root,password=very-secret  0 0

On the linux box, as root, create a dir like this: mkdir /home

Now, as root, reread /etc/fstab, do it with mount -a

Go into YaST. Create a new user, name him whatever, and see that his home-dir 
indeed now resides on the win-box.

- thanks to the list again for directing me !

Best regards,
Verner


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]