Find the answer to your Linux question:
Results 1 to 9 of 9
hi I am trying to login with windows username and password its not working.But I can join to the domain using the command net ads join.I think i had missed ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    7

    authantication with windows user id

    hi

    I am trying to login with windows username and password its not working.But I can join to the domain using the command net ads join.I think i had missed something in pam setings.could you please help me

    Thanks in advance.................

  2. #2
    Linux Newbie sdimhoff's Avatar
    Join Date
    Jan 2007
    Posts
    191
    Welcome to the Forum!

    Is your windows login account a member of samba? If it isn't then you won't be able to do a domain login.
    Linux since: 2001
    Gentoo since: 2004
    - - - - - - - -
    Translation:
    I fix things until they break.

  3. #3
    Just Joined!
    Join Date
    Feb 2008
    Posts
    7
    hi

    Thanks for your reply.How can i make my make my windows login account a member of samba.?please help me....

    Thanks in advance.......

    Ratheesh

  4. #4
    Linux Newbie sdimhoff's Avatar
    Join Date
    Jan 2007
    Posts
    191
    My post from this thread should give you what you need:

    http://www.linuxforums.org/forum/ser...s-problem.html
    Linux since: 2001
    Gentoo since: 2004
    - - - - - - - -
    Translation:
    I fix things until they break.

  5. #5
    Just Joined!
    Join Date
    Feb 2008
    Posts
    7
    hi

    Thank you very muc for your Reply.I think my case is different.I have the active directory in windows.I want my suse desktop to add to that windows domain,and I want to authenticate using windows user name and password.
    Please Help me on this..........................

    Thanks in advance................

    Ratheesh

  6. #6
    Linux Newbie sdimhoff's Avatar
    Join Date
    Jan 2007
    Posts
    191
    Actually that is exactly what those commands are in reference to. I'll go a little more step by step this time.

    So, you want to add a machine to the domain. In order to add a machine, there needs to be what is called a "trust relationship" between the client and server. This is achieved by setting up a machine account.
    To add machine to smbpasswd,
    find smbpasswd, default in /usr/local/samba/bin/ and run:
    # smbpasswd -a -m machinename
    To add a machine to /etc/passwd,
    find useradd, default in /usr/sbin/ and run:
    # useradd -g groupname -d /dev/null -c "comment about machine" -s /bin/false machinename$

    (Don't forget the $ at the end of the machine name for the useradd command)

    Now make sure that your user is also a samba user. If it isn't then run:
    smbpasswd -a <username>

    Now from your windows machine (as local computer administrator) ensure that you are actually part of the domain controlled by your linux server. If you had to change it, then restart. Now you should be able to log in with you linux/samba user.
    Linux since: 2001
    Gentoo since: 2004
    - - - - - - - -
    Translation:
    I fix things until they break.

  7. #7
    Just Joined!
    Join Date
    Feb 2008
    Posts
    7
    hi

    Thanks for your reply.
    I have the domain controller setup in windows 2003 ADC.I want to add my suse desktop client to that windows domain.My ADC working fine.I used the comman net ads join for joing the domain.its showing successfully joined to the domain.but I could'nt loging from my suse box,using my ADS account.



    Thanks in advance.............
    Ratheesh

  8. #8
    Linux Newbie sdimhoff's Avatar
    Join Date
    Jan 2007
    Posts
    191
    Sorry I got that all backward. Unfortunately I haven't worked all that much with windows servers. Hopefully someone else can step in and help out. Since I wasted plenty of your time I'll search around and repost if I find anything, but I can't guarantee it.
    Linux since: 2001
    Gentoo since: 2004
    - - - - - - - -
    Translation:
    I fix things until they break.

  9. #9
    Just Joined!
    Join Date
    Feb 2008
    Posts
    7
    hi,
    Thank you verymuch for your kind reply.Please search it for me.I think I had mised something in pam setings.

    Thanks in advance..........

    Ratheesh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...