Using automounter maps.

Towers, Tim (London) ttowers at MLE.CO.UK
Fri Oct 3 15:53:22 GMT 1997

Dear All,

   We have a situation here where systems administrators want
the ability to move users between home servers without the users
having to change anything. For NFS we use SUN's automounter
(and amd) and up to now have been running samba on a machine
which gets the data over NFS from the real server.

   I suspect that this is causing some file locking and reliability
problems (forgetting any performance hit from sending data over
the net twice).

   I was hoping that the new automounter support in 1.9.17p2
would solve all my problems - unfortunately I can't figure out
how to work it.

   I am including a debug level 3 log of a connection, where
we can see the user (me) being looked up and my correct
home server is located. What I could really do with then is
for my NT client to be redirected to my share on that home
server. Instead, the connection carries on as if nothing
happened and I am connected to my home directory on
my slave machine using SMB over NFS.

   Am I barking up the wrong tree?

   Any clues gratefully received.

Here are some Makefile settings I am using...
LIBSM = -lsocket -lnsl -lrpcsvc
My operating system is Solaris 2.6 (built on 2.5.1)

10/03/97 15:29:45 Transaction 1 of length 174
switch message SMBnegprot (pid 3872)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [XENIX CORE]
Requested protocol [MICROSOFT NETWORKS 1.03]
Requested protocol [LANMAN1.0]
Requested protocol [Windows for Workgroups 3.1a]
Requested protocol [LM1.2X002]
Requested protocol [LANMAN2.1]
Requested protocol [NT LM 0.12]
Connecting to at port 139
connected to password server LONIF24200
negprot w/password server as 3872loniw24328
got session
password server OK
using password server validation
Selected protocol NT LM 0.12
10/03/97 15:29:45 Transaction 2 of length 133
switch message SMBsesssetupX (pid 3872)
Domain=[]  NativeOS=[Windows NT 1381] NativeLanMan=[]
nobody is in 1 groups
uid 60001 registered to name nobody
Setting default HOMESHR to: \\logon server\HOMES
NIS Domain:
YP Error: no such key in map
Clearing default real name
 Client requested max send size of 61440
Chained message
switch message SMBtconX (pid 3872)
ACCEPTED: guest account and guest ok
found free connection number 12
Connect path is /tmp
chdir to /tmp
chdir to /
10/03/97 15:29:45 loniw24328 ( connect to service IPC$ as
user nobody (uid=60001,gid=60001) (pid 3872)
10/03/97 15:29:45 tconX service=ipc$ user=nobody cnum=12
10/03/97 15:29:45 Transaction 3 of length 193
switch message SMBsesssetupX (pid 3872)
Domain=[MLLONDON]  NativeOS=[Windows NT 1381] NativeLanMan=[]
password server LONIF24200 accepted the password
adding home directory towers at /home/towers
towers is in 2 groups
3170 5020 
uid 12725 registered to name towers
Setting default HOMESHR to: \\logon server\HOMES
NIS Domain:
NIS lookup succeeded
	Home server length: 5
	Allocated 17 bytes for HOMESHR
	User = towers
	UID = 12725
	NIS result = ateam:/home4/&

	HOMESHR = \\ateam\homes
Clearing default real name
 Client requested max send size of 61440
Chained message
switch message SMBtconX (pid 3872)
ACCEPTED: validated uid ok as non-guest
found free connection number 69
Connect path is /home/towers
towers is in 2 groups
3170 5020 
chdir to /home/towers
chdir to /
10/03/97 15:29:46 loniw24328 ( connect to service towers
as user towers (uid=12725,gid=3170) (pid 3872)
10/03/97 15:29:46 tconX service=towers user=towers cnum=69

More information about the samba mailing list