Thanks, so simply stripping off the ADdomain does not cut it...

Then 2 more commands:

1) ./checkuser -check "BSI\\userid1"
echo $?

2) ltrace su - "BSI\\userid1" > & /tmp/outfile.txt
(press CTRL-D to quit the shell)

Feel free to strip everything - just send me the parameters to the
getpwnam() call.

Rayson



On Fri, Jan 13, 2012 at 6:04 PM, Wolf, Dale <dwo...@bloodsystems.org> wrote:
> Here you go.
>
>
>
> FYI. I have globally change the server name, AD domain name, and user
> account to a generic value in this email.
>
>
>
> ----------------------------------------------------------------------------
>
> server1:~ # su - userid1
>
> su: user userid1 does not exist
>
> ----------------------------------------------------------------------------
>
> server1:~ # su - BSI\\userid1
>
> AD1\userid1@server1:~> id
>
> uid=10000(AD1\userid1) gid=10005(AD1\domain users) groups=10005(AD1\domain
> users),10006(AD1\onesign_kronos),10007(AD1\$duplicate-3e53),10008(AD1\messagestats
> web),10009(AD1\p8_ros_os_users),10010(AD1\sp infopath
> members),10011(AD1\xenconnect all
> users),10012(AD1\p8_dc_ri_views),10013(AD1\onesign_bluecoat_access),10014(AD1\pa
> e-donor),10015(AD1\p8_dc_earch_views),10016(AD1\pa office
> 2003),10017(AD1\onesign_commvault),10018(AD1\xenconnect xa6
> users),10019(AD1\p8_dc_sop_views),10020(AD1\bsi it systems
> unix),10021(AD1\p8_dc_os_users),10022(AD1\p8_dc_forms_views),10023(AD1\p8_dc_odg_views),10024(AD1\xc
> edms),10025(AD1\pa
> edms),10026(AD1\$duplicate-477a),10027(AD1\onesign_citrix_web_interface),10028(AD1\onesign_progesa_reflections_i),10029(AD1\bsiitsystems),10030(AD1\onesign_boe_crystal_reports),10031(AD1\pa
> drive mapping),10032(AD1\onesign_progesa_putty_i),10033(AD1\it time
> management),10034(AD1\pm enterprise resources),10035(AD1\pa
> magic),10036(AD1\pa iexplorer),10037(AD1\sysadmin full access),10038(AD1\pm
> project server team members),10039(AD1\bsi information
> technology),10040(AD1\p8_dc_trngmat_views),10041(AD1\internet),10042(AD1\p8defaultobjectstoreusers),10043(AD1\p8_dc_images_views),10044(AD1\sp
> pto
> users),10045(AD1\crystalusers),10046(AD1\sysadminlogs),10047(AD1\onesign_progesa_reflections_ii_prod),10048(AD1\onesign_webmail),10049(AD1\onesign_iconnect),10050(AD1\onesign_support_magic),10051(AD1\sp
> training users),10052(AD1\vmware
> administrators),10053,10054(AD1\sophosuser),10056(AD1\sp company images
> readonly)
>
> AD1\userid1@server1:~> cd /opt/sge/utilbin/linux-x64/
>
>
>
> ----------------------------------------------------------------------------
>
> AD1\userid1@server1:/opt/sge/utilbin/linux-x64> ls
>
> adminrun  checkprog  echo_raw  fstype         gethostbyname  getservbyname
> loadcheck  qrsh_starter  rlogin  rshd           spooldefaults  spoolinit
> uidgid
>
> authuser  checkuser  filestat  gethostbyaddr  gethostname    infotext
> now        read_raw      rsh     sge_share_mon  spooledit      testsuidroot
> valid_jvmlib
>
> AD1\userid1@server1:/opt/sge/utilbin/linux-x64> ./checkuser -check userid1
>
> AD1\userid1@server1:/opt/sge/utilbin/linux-x64> echo $?
>
> 1
>
>
>
> ----------------------------------------------------------------------------
>
>
>
>
>
> -----Original Message-----
> From: Rayson Ho [mailto:ray...@scalablelogic.com]
> Sent: Friday, January 13, 2012 3:45 PM
> To: Wolf, Dale
> Cc: users@gridengine.org
> Subject: Re: [gridengine users] Grid Engine complains about backslash in
> username when user is logged in with Active Directory account
>
>
>
> I don't have access to a system with Active Directory account
>
> management, so I will need your help. Can you run the following
>
> commands on your system and send us the output??
>
>
>
> 1) id
>
>
>
> 2) in $SGE_ROOT/utilbin/<architecture>/, run:
>
>
>
> ./checkuser -check <userid>   (ie. remove the ADdomain in ADdomain\userid.)
>
> echo $?
>
>
>
> I am interested in finding out if just using the userid is sufficient
>
> to authenticate or switch to the user. Also, does "sudo su - userid"
>
> work on the system??
>
>
>
> Rayson
>
>
>
>

_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to