Ubuntu :: Run Script After Domain User Login?
May 21, 2011
I'm trying to integrate my Ubuntu PC into an Active Directory domain using Samba, Kerberos and Winbind. The task I'm trying to accomplish now is to automatically connect user folder from DFS server when domain user logs in. I created a simple (contains one line ) script to do that:
Code:
#!/bin/bash
mount //<server.domain>/Users$/$1 /media/dfs_user -o rw,user=<domain>\$1
I need to run this script with root privileges and parameter $(whoami) after domain user logs in so it results in command:
Code:
mount //<server.domain>/Users$/<username> /media/dfs_user -o rw,user=<domain><username>
What should I do? Is there any other better way (seems little unsecure like this)? I was thinking about adding this into /etc/fstab file, but don't know how to tell it what is the actual name of logged in user... I'm using Ubuntu 10.04 x32.
View 2 Replies
ADVERTISEMENT
Sep 7, 2010
USE(SUSE 11 AS)system to existing windows 2003 domain...but now the problem is...i m not able to login using the domain users although i can see the users list if i run wbinfo -u
View 34 Replies
View Related
Jun 3, 2011
I have installed OpenSUSE and could able to join to Windows 2008 domain but I am not able to login to SUSE system using domain ID. It is showing "Unable to authenticate user."
View 2 Replies
View Related
Aug 17, 2009
I want to give Administrator privileges to Root user in Linux Domain Controller
View 12 Replies
View Related
Apr 7, 2011
i had created domain but not getting domain in /var/qmail/user/assign file.also it error /home/vpopmail/bin/vdominfo abc.co.inInvalid domain name
View 2 Replies
View Related
Feb 18, 2010
In the office there is a local network with samba+openldap PDC. The local domain name is company.net. The company desided to create a corporate Website on a remote hosting and desided that the site's domain should be company.net which is same as local network's domain name. So now it is not possible to reach that corporate website from within the company's local network because, as I guess, bind9 which is installed on above menioned PDC looks for company.net on a local webserver. Is there a possibility to let people from this local network browse the remote site?
View 1 Replies
View Related
Aug 24, 2010
I recently installed likewise 6.0 on a Ubuntu 10.04 box and I was able to login as a Domain user. However my domain user account is not showing on the "User Settings" panel (I can only see locally created accounts). And if try to change login shell by typing "chsh", then it tells me user "DOMAINusername" does not exist in /etc/passwd.
Does anyone know a way around this?
View 1 Replies
View Related
Jan 28, 2011
Every time I log into my Ubuntu machine I have to enter my username (manually type it in)as pete@domain-name.net then put in my password.I can see local users are displayed on the welcome page, how can I add my domain user to the pick list, so I can just select it then tap in my password?
View 4 Replies
View Related
Aug 6, 2010
I used Likewise (specifically, likewise-open-gui) to add my computer to the Windows domain at work. I can log into the computer with my domain credentials.
Until I reboot.
If the computer ever shuts down fully, I get an authentication failure when I log in using the domain account. But if I log in using a local account and run likewise-open-gui again from there, everything works. I don't have to rejoin the domain, only launch the program, close it, and log out of the local account. This seems to allow me to log into the domain afterward.
Is there something in specific that I can add to my startup scripts that will connect me to the domain before login?
View 4 Replies
View Related
Jul 21, 2011
With Kerberos it's possible to join and login in Windows domain. The easiest way to do is this or I think so...
When installing likewise-open, it installs Kerberos also. I have no idea what are those realms and other stuff. There's some guides (also by Microsoft!), but it's gibberish for me. My native language isn't English, so half of those words go in one ear and out from the other.
I'm running Windows Server 2008 R2 Enterprise SP1 and I'm able to join the domain with my Windows clients. Now I want to join with Ubuntu but I have no idea what to do.
Like what's FQDN how to find out domain's FQDN Whats Kerberos realm and what it should contain how to install Kerberos correctly and so on
View 1 Replies
View Related
Aug 26, 2010
I am thinking of getting a domain name or ten I do not know were to point the domain to?
and what do I need to setup if a user wants a domain name to point to his account on the server? ok more like I want to have a few domains pointing to my user accounts I have setup on the server..can I do this directly or do I need a server domain first before users can get a domain name?
I have a basic setup user web space and ftp and mysql setup
what extra would I have to install or not to be able to get a domain pointed to my server and/or user accounts?
I don't seem to be able to find anything specific on how to set this up anywhere.
View 7 Replies
View Related
Jun 25, 2010
I have configured Samba+Ldap domain controller in 8.04 server.
In client side i have installed ubuntu 10.04 desktop. i have joined the client to server. i am able to login with domain user. but thunderbird 3.0 is not openning.
View 1 Replies
View Related
Jul 20, 2010
I've just rolled out about 60 ubuntu 10.04 desktops. All of them are joined to our windows domain using likewiseopen.
At the gnome login screen, the users have to click "other" and type in their windows username and password.
Is there any way to bypass this and just have the username displayed?
View 1 Replies
View Related
Dec 11, 2010
I did a fresh install of the netbook version of 10.10 on a Gateway CX2618. I ran all updates and then rebooted. I installed LWO 5.4 from the repository and joined the domain. I put in a kerberos realm (same as my domain) but I don't know for sure if I have a kerberos realm. I successfully joined the domain with the GUI. I rebooted, per instructions.
I tried to login with domain username and password (DOMAINusername). It takes a couple seconds to think and then kicks me right back to the GDM login screen. I have tried several times with the same login and have tried other domain users. It doesn't say "authentication failure" but I should have tried to use the wrong password to see if it would do the same.
I'm stumped. Is there a ppa I need to add? Is Likewise-Open supposed to work with the maverick netbook edition. I saw the previous notice on the Likewise site about OpenLDAP but I thought that was resolved in the updates and no longer in effect. Should I install LWO 6.0? If so, from where? From a ppa somewhere? From the Likewise site?
I can still login with a local admin account.
My ultimate goal is to automatically mount network windows shares for various students, based on their login credentials and using CIFS. I almost had this figured out before this fresh install.
View 8 Replies
View Related
Dec 14, 2010
I'm seeing really bad user login format under a standard installation and am wondering why ubuntu does this as default. I have noticed that the graphical login for gnome sizes itself to accommodate a user's exact password length. This indicates to me that somewhere on the unencrypted part of a standard installation with user encryption contains at least some indication of the content of the password length which seems a security flaw even if not a complete hole, it majorly reduces the number of attempts a cracker would have to cycle through.
And that's assuming that *only* the length is contained. Furthermore it seems that it would be MUCH better to simply display the number of characters entered into the pw field and allowing the gui to expand itself from an fixed size as the field is filled out so the the user still receives visual feedback for entering characters. Either a simple character count display should be entered into the field or a 10 dot to new line so that one can visually quickly count the number enter by multiplying from a 10base graphical observation.
View 9 Replies
View Related
Jun 17, 2010
I have installed a Clearos box (believe this is based on redhat/centos)in our office as this is an easy setup to try and replace a windows box. We can add our windows pc so it as it acts like a domain controller.I would like to get a couple of Linux machine on the network such as Mint, Debian Lenny or ubuntu. The problem here is I need to find a way of getting these pc to as such login to the domain so they authenticating with the clearos box to login. Is there an easy way of doing this.
View 1 Replies
View Related
Dec 11, 2009
I am using the sudo command to log on locally as another user by the following command:
sudo -u theotheruser -s
or
sudo -u theotheruser sh
As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.
View 11 Replies
View Related
Oct 24, 2010
I have setup the fetchmail as below:
Code:
poll domain.com
proto pop3
via domain.com
user "user@domain.com"
pass "123456789"
is user@domain.com
keep
no fetchall
When I try to login it gives the following message:
Code:
fetchmail: 6.3.8 querying domain.com (protocol POP3) at Sun 24 Oct 2010 10:51:52 AM EEST: poll started
Trying to connect to domain.com/110...connected .....
fetchmail: domain.com: upgrade to TLS succeeded.
fetchmail: POP3> USER user@domain.com
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< -ERR Authentication failed.
fetchmail: Authentication failed.
fetchmail: Authorization failure on user@domain.com@domain.com
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Logging out
Although I'm able to login to the webmail of my domain.com cpanel with the same username and password, please note also that it some time working smoothly and most time it gives login authentication failure:
View 3 Replies
View Related
Apr 1, 2010
I have Ubuntu Server installed in one machine and ubuntu desktop in 3 more machines. What I would like to have is, authenticate the clients using a central user DB and also the home folder for a user should be available in any client machine in which he logs. I see that openLDAP takes care of authenticating clients but what application to use to mount the user's home folder from the server to the client machine on logging.
View 2 Replies
View Related
Dec 31, 2010
I have a very stupid case, I have to use a domain user to install one software in RHL4.8, but this software need a super-user permission but not root.
So I need a domain user who has super-user permission.
Not use su, sudo.
If I use su or sudo ,the software will be installed under root. The requirement is the software must be installed under a domain user.
How can I do?
View 4 Replies
View Related
Oct 18, 2010
how you allow a domain user to access a smb share when the linux machine (RHEL) that the share is on is on the same subnet as the domain but not joined to it (it has the name of a DC for the domain configured in /etc/hosts.conf also)
View 4 Replies
View Related
Nov 22, 2010
easier way to forward email, in postfix, from a user to one domain for the user without listing every domain and user name? Example:send all of user joe's email to joe@somewhere, in which there are mulitple domains other than "somewhere".
Usual Given Example-
/etc/postfix/virtual:
joe@example.com joe@somewhere
jane@example.com jane@somewhere-else
[code]....
I'm looking for an easier way to forward email, verses having (ex) 50 different lines for 5 users and 10 domains.
View 2 Replies
View Related
Jun 3, 2011
yesterday I updated my fedora 13 to fedora 14 (on laptop) and today i cannot log in on user. It just go blank for a sec and is back to login.
At text console (alt+ctr+f2/f3) i enter my username and pass it give this for a sec and resets (clean) console
username: Name
password:
last used: [date]
login: no shell permission denied
i used unetbootin (fedora 14 netinstall to update) and later i updated 1,5G before reboot (did update that fix, forgot its name tho :s)
I would most likely reinstall everything, but i have some work at laptop and as death-line is near, i would prefer to fix it if possible.
edited:
i have installed F13 on unused space, is there a way for me to access and fix it? or at least get some files from there?
View 1 Replies
View Related
Jun 27, 2011
I joined my Ubuntu 1004 LST to Windows 2003 AD.
it always frozen my ssh login window when the DC crashes. when the DC crashes, the putty won't give me the password prompt and will go inactive directly after a while no matter what username(local or domain users) I give
is it possible to avoid to check domain users before it gives me the password prompt? or, we can make it to check if the user is a local user first?
View 2 Replies
View Related
Jul 15, 2010
I have set up Samba to act as a domain login for a Windows 7 PC. The Windows 7 PC has the two correct registry compat entries.
So, I've added "root" to smbpasswd and the Windows machine tries the "LINNIS" server. Authentication is successful, as stated in the Samba log but the Windows machine fails with the following:
"The specified computer account could not be found. Contact an administrator to verify the account is in the domain. If the account has been deleted, unjoin, reboot and rejoin the domain."
I feel like I'm doing something dumb, but the authentication passed so what is it talking about?
Slack 13.1 (Samba 3.5.x)
View 11 Replies
View Related
Mar 7, 2011
May i ask if how or should i concern about my history records my rdesktop full cmd. I dont want to disable my history in the cmd and want to use it.
Im using rdesktop cmd since it more easy and direct to connect to a terminal RDP. I noticed the history records all my full command rdesktop which state the domain, user ,password. in txt mode..May i ask if this has any problem should i concern with..
View 1 Replies
View Related
May 2, 2011
How can I change Personal Settings language for window domain user? For local user and root user, I can change my language and from personal setting and it works fine for me.
Find my conf in the following-
->System-> Language->Primary Language = English
->Personal Settings->land/Region->Language = Deutsch
For domain user, I could not change this personal settings language, it is inactive . But for local user I can do that.
View 3 Replies
View Related
Apr 14, 2010
I planned to use Squid on my W2k3 network, because I'm tired of ISA2k6.it's a factory in itself. So, I just installed a VM with OpenSuse 11.2 and joined it to my AD W2k3 domain. After correcting the clock problems, everything is running fine except a strange feature that I was not able to solve.After a reboot, I'm not able to login with a domain account. I enter the username/password, choose the domain then it the input fields become grey for 1-2 seconds then the password field is reset and nothing happens.The most strange part comes when you logon with the local root account. You login as root, then logoff and login with any domain account : works like a charm..
View 3 Replies
View Related
Apr 16, 2010
I have the following problem: I can't authorize with my central WinNT 4.0 domain controller. I set up all parameters in YaST, but still can't see any shares or get inet access.I am using gnome and it shows several windows workgroups. While I am trying to open it, gnome shows a window to request my login credentials. I am setting up all thing right and then it shows it again. I tried smbclient utility to login, but still can't login.What can I do about it?Also I have some problems with my http proxy: suse doesn't sent it my login/password while I can easily work with proxy, that doesn't request it
View 1 Replies
View Related
Apr 9, 2011
I joined my computer to a Samba directory and I would like to have that domain as default in the login screen rather than <LOCAL> but I cannot figure how to do it.
View 3 Replies
View Related