Hello, I have a mixed network of 98 and 2000 machines with RH 7.3 and Samba 2.2.5 The problem I'm having is my logon scripts contain a drive map to the user's home directory: net use H: \\server01\dave$ That works great for the 98 machines, but the 2000 machines map H: and Z: to \\server01\dave$ The 2000 machines also write a profile dirctory in that share, and copy the entire desktop contents to it each time the user logs off. For most of the users, this isn't a problem, but some users have a gig of video files on their desktop, and it writing all that crap to the sever is not necessary and slow. How do I make samba stop automatically mapping Z: as their home directory, and how do I make the profile writing to the server stop? Thanks, Aton
The actual root of this problem is educating your users to put SHORTCUTS on their desktop, not the actual files themselves... poor organization of files, if you ask me. If you don't want to save profiles, turn them off in the smb.conf. I don't think you CAN turn off the Z: mapping; think 'feature' not bug (blame MS). Why not just change the H: to Z: in the logon file? - jb --On Thursday, October 03, 2002 12:01 AM +0000 Aton <aton@skyenet.net> wrote:> Hello, > > I have a mixed network of 98 and 2000 machines with RH 7.3 and Samba 2.2.5 > > The problem I'm having is my logon scripts contain a drive map to the > user's home directory: > > net use H: \\server01\dave$ > > That works great for the 98 machines, but the 2000 machines map H: and Z: > to \\server01\dave$ The 2000 machines also write a profile dirctory in > that share, and copy the entire desktop contents to it each time the user > logs off. For most of the users, this isn't a problem, but some users > have a gig of video files on their desktop, and it writing all that crap > to the sever is not necessary and slow. > > How do I make samba stop automatically mapping Z: as their home > directory, and how do I make the profile writing to the server stop? > > Thanks, > Aton > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
> The 2000 machines also write a profile dirctory in that share, and > copy the entire desktop contents to it each time the user logs > off. For most of the users, this isn't a problem, but some users > have a gig of video files on their desktop, and it writing all that > crap to the sever is not necessary and slow. > > How do I make samba stop automatically mapping Z: as their home > directory, and how do I make the profile writing to the server > stop?Does this help you? [global] logon path = \\%N\profiles\%U logon home = \\%N\%U logon drive = Z: [profiles] path = /lan/samba/profile This way, profiles are kept in a different disk share than homes, and that share can be in a different partition altogether, where you can set quotas; users will be able to save their gig of video files in their home but will run out of space if they try to do it on their desktop. If you've found a better solution in the mean while, I'd be glad to hear it. :-) Massimiliano