LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-06-2001, 07:27 PM   #1
chuck77
Member
 
Registered: Nov 2001
Location: singapore
Posts: 120

Rep: Reputation: 15
Urgent help !! regarding samba !


How do i make every user logging into the network...is map to their own /home user directory ???

This is a netlogon batch in the samba directory.
I don't know the command to map into their own user directory.

Pls help...i mess it up without backup..


net time \\lead /set /yes
net print \\lead\hp4050
winpopup
net use g: \\lead\appl
net use h: \\lead\HylaFAX
net use i: \\lead\qa
:exit
 
Old 12-06-2001, 07:56 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
put the share in like this

[homes]

browseable = No
 
Old 12-06-2001, 08:47 PM   #3
chuck77
Member
 
Registered: Nov 2001
Location: singapore
Posts: 120

Original Poster
Rep: Reputation: 15
This is in my smb.conf. I use a batch in the netlogon directory for the user to map to their mapped drive and user directory.


[homes]
comment = Home Directories
browseable = no
writable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
writable = no
share modes = no
browseable = no


This is a windows batch file....how can map them to their
user /home directory ??? what command to add to the batch file ?

net time \\lead /set /yes
net print \\lead\hp4050
winpopup
net use g: \\lead\appl
net use h: \\lead\HylaFAX
net use i: \\lead\qa
:exit


pls advise...
 
Old 12-06-2001, 09:49 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
[homes]

is all thats required

do they have the path to their home dir in /etc/password

I think you are mapping them to /home/samba/netlogon
 
Old 12-06-2001, 09:52 PM   #5
chuck77
Member
 
Registered: Nov 2001
Location: singapore
Posts: 120

Original Poster
Rep: Reputation: 15
how do i create a universal command in the batch file mapping very users to their own /home user directory...??

Example: in the windows login, the username is "ABCDEF"

which will map them to \\LEAD\ABCDEF
i creating a universal batch file...where everyone will
map to their own shared directory based on their username..

pls help...
 
Old 12-06-2001, 09:57 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if the have a unix shell account use %S in the path statement
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
samba share urgent Tinku Linux - Software 9 08-20-2004 09:35 AM
problem connecting to appleshare with samba! URGENT! linuxuser89 Linux - Networking 2 05-26-2004 12:32 AM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 02:22 AM
URGENT!!! linux with samba, win9x clients with foxpro serj Linux - Software 6 09-08-2003 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration