I am passing the username and domain to the kernel boot like:

label unattended
  kernel bzImage
  append initrd=initrd root=0:0 init=/linuxrc z_user=username/domain
z_pass=password z_path=\\server\install

For the linux boot (smbmount) to connect to a windows 2003 share this
seems ok z_user=username/domain or "user/workgroup" in the smb doc.

But in the context of net use when taken from tempcred.bat, it should be
"domainname\username".
 

(unless people use things like do/main/use/rname?)
Else somewhere around line 1103 in install.pl 
# "Temporary" credentials (username, password). 

So should there be something like, what I do $z_user =~
s/(.*)\/(.*)/$2\\$1/; 

Or I made another blunder, into the misery of miss-understanding or just
missed it!

Because the canonicalize_user sub in install.pl
Only splits user if it is a backslash \ not a forward /
And so I think the problem is coming from the beginning in the kernel
append settings sent to the master like - >
smbmount "$Z_PATH" /z -o "$smbmount_opts" \

So smbmount uses "user/workgroup" and "net use" uses
"domainname\username", 
so at the moment if you pass one or the other you are wrong somewhere, 
Would it not be better to split the username and domain name from the
very beginning?

I must say Linux boot is obviously a wonderful and great thing, can't
wait for gnuwinnt. 


Thanks
Max


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to