LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2012, 03:17 PM   #1
ronw69
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Rep: Reputation: Disabled
Dynamic mount of Active Directory Share


I have many Xbuntu clients they log on to a Active directory network with Likewise. All of these clients could have any of 100 different users log on to them at any time. I need to map the users AD share automatically on the desktop or in GVFS places. I have tried using the gvfs-mount command but it calls for entering the users name and password. I have thought of creating a bash file and using the mount command with the USER global variable but I am not aware of a global variable for the password.
 
Old 02-14-2012, 04:43 PM   #2
Felipe
Member
 
Registered: Oct 2006
Posts: 302

Rep: Reputation: 32
Hallo:

It's a long time I don't use Likewise (I used it with Kubuntu, now I use Centos/Opensuse with Samba).

I think it's possible to use samba and likewise. In that case, if you have a kerberos ticket, shares can be mounted with:

sudo /sbin/mount.cifs //server.domain/share /home/DOM/user1/net/share1 -o sec=krb5i,guest,utf8,setuids,rw,uid=user1,gid="Domain users"

and umount it with:
sudo umount /home/DOM/user1/net/share1

Also can try with (you have to install smb4k):
sudo smb4k_mount //server.domain/share /home/DOM/user1/net/share1 -n -s -t cifs -o krb5i,guest

Nevertheless, I used gvfs-mount and it also worked. So is possible that you have a problem with your configuration or it doesn't work fine with Likewise.

And finally, I'm not sure but, doesn't likewise have commands for mounting samba shares?

Regards
 
Old 02-15-2012, 01:43 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
please ignore. Led to wrong dupe thread.

Last edited by jschiwal; 02-15-2012 at 01:50 AM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Share + Active Directory IwantLINUX Linux - Newbie 2 12-26-2011 01:04 AM
Can delete files in one smb share but not in another - using cifs.mount in active dir Lordandmaker Linux - Server 4 02-12-2009 05:34 AM
Active Directory Auth via Kerb, How to mount a network home? greslore Linux - General 0 01-31-2007 02:44 PM
Authenticating through Windows active directory to connect to a Linux share ganninu Linux - General 1 04-07-2005 05:39 PM
Authenticating to Samba share using "Active Directory Server" hlslaughter Linux - Software 36 07-23-2004 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:32 PM.

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