Stéphanie,

utdiskadm is most probably being bitten by a backslash handling bug in nawk.
Editing /opt/SUNWut/bin/utdiskadm and setting its variable AWKCMD to 
/usr/xpg4/bin/awk (on Solaris) will get around this problem, but be warned that 
AWKCMD is used a lot in utdiskadm with the assumption that it is nawk on 
Solaris, so simply changing AWKCMD to /usr/xpg4/bin/awk may break other 
functionality.

To safely remove a mass storage device, it only needs to be unmounted 
successfully. You can use the utdomount utility as follows:
    /opt/SUNWut/lib/utdomount -u -p /tmp/SUNWut/mnt/UQAM\\lanthier_s/lexarmedia 
-i 
Note the double backslash when running this in a shell.

-a-


----------------------------------------
> Date: Wed, 23 Jul 2008 17:03:34 -0400
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: [SunRay-Users]       Utdiskadm problem with username containing 
> unusual character
> 
> Dear list members, 
> 
> I used the likewise-open software to enable authentication against a windows  
> AD2000 server.
> 
> The authentication works; users can now login on the solaris box, even from a 
>  Sun Ray. But the username to use is a UPN one. 
> 
> Let's say that on a Windows PC, I used to connect as user "Lanthier_S", on a 
> domain named "UQAM". Now, in the solaris 10 dtlogin box, I would enter this 
> string in the login field : "UQAM\\Lanthier".
> 
>>From an ssh command line, I should use : "ssh -l UQAM\\Lanthier_S servername"
> 
> My UPN work either (with ssh and on the Sun Ray), i.e. 
>       "ssh -l [EMAIL PROTECTED] servername"
> 
> Once logged, the user id appears as : "UQAM\lanthier_s".
> 
> Now, on the Sun Ray, I can connect a usb drive, and the "utadmdisk -l" Mount 
> path result for disk1 is :
>       
>       /tmp/SUNWut/mnt/UQAM\lanthier_s/lexarmedia
> 
> I can work with the drive, copy files, etc.
> 
> But when it's time to quit, the 
>       
>       utdiskadm -r disk1
> 
> command returns : 
> 
> Invalid mount point: /tmp/SUNWut/mnt/UQAM\lanthier_s/lexarmedia
> Utdiskadm: unmount /tmp/SUNWut/mnt/UQAM\lanthier_s/lexarmedia failed
> 
> It surely has to do with the backslash character in the username. Any ideas 
> to make this a success?
> 
> Best regards 
> __________________
> 
> Stéphanie Lanthier
> 
> Analyste de l'informatique
> Université du Québec à Montréal
> Service de l'informatique et des télécommunications
> [EMAIL PROTECTED]
> Téléphone : 514-987-3000 poste 6106
> Bureau : PK-M535
> 
>  
> 
> 
> 
> _______________________________________________
> SunRay-Users mailing list
> [email protected]
> http://www.filibeto.org/mailman/listinfo/sunray-users

_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to