« Return to Thread: Authentication Failure In pam_ldap ?

Re: Authentication Failure In pam_ldap ?

by Alex Samad :: Rate this Message:

Reply to Author | View in Thread

does the group exist


use getent {passwd|groups} to see what the systems sees

On Tue, Dec 25, 2007 at 10:23:19AM -0800, Jyotishmaan Ray wrote:

> Hello Again, (Alex)
>
> This time i could log in via the text mode and GUI mode of the console in my ldap server machine.
>
> what i did is :
>
> 1. mkdir   /home/jmaan
> 2. chmod  700   /home/jmaan
> 3. chown   jmaan  /home/jmaan
> 4. chgrp     jmaan  /home/jmaan
> then  same i did with the test  user -ldapusr
>
> But now when i tried doing with  other users (in my ldap user like say for an exmple the user-aracd, i could not the change the group owership as i could do with the users jmaan and ldapusr.
> Now the question is why did it behave like this ?
> In no ways the users -jmaan or ldapusr was a member of the group jmaan or ldapusr, then how could i change their group successfully and other users like say to cite here as an example--the user "aracd".
>
> May i know i had been wrong somewhere ?
>
> Here are the transcripts of the commands:-
>
> [root@authdns home]# chown aracd /home/aracd
> [root@authdns home]# chgrp aracd /home/aracd
> chgrp: invalid group `aracd'
> [root@authdns home]# ls -l /home/aracd
> total 0
> [root@authdns home]# ls -l aracd
> total 0
> [root@authdns home]# ls -l
> total 120
> drwx------  2 akarim      root        4096 2007-12-25 22:50 akarim
> drwx------  2 akbanik     root        4096 2007-12-25 22:51 akbanik
> drwx------  2 akdas       root        4096 2007-12-25 22:51 akdas
> drwx------  2 aracd       root        4096 2007-12-25 22:31 aracd
> drwx------  2 ceoffice    root        4096 2007-12-25 22:48 ceoffice
> drwx------  2 dean_acd    root        4096 2007-12-25 22:31 dean_acd
> drwx------ 21 jmaan       jmaan       4096 2007-12-25 23:08 jmaan
> drwx------ 21 ldapusr     ldapusr     4096 2007-12-25 22:38 ldapusr
>
> [root@authdns home]#
>
> Here are the transcripts of the commands:-
>
>
> > Unless a user is not created by the system administrator(here, the
>  root), how will this /home/jmaan will be there and  owned by the
>  user-"jmaan".
>
> true
>
> >
> > Next, if the administrator creates this /home/jmaan directory, will
>  it be owned by the the user-"jmaan". This is so cause, the user-jmaan's
>  file was migrated into the ldap server machine in LDIF format, so there
>  arises no question of having a local /home/jmaan directory in the
>  server machine.
>
> true
>
> >
>
> This is very basic linux admin stuff, change the owner of the directory
>  !
>
> read up on chown, chmod and chgrp
>
> you can try man or google
>
> >
> > So, next, now as you said i would try to log in from the text
>  console.
> >
> > Thanks Alex,
> >
> > Jyotishmaan
> >
> > Alex
> >
> >
>
>
>
>
>
>       ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


signature.asc (196 bytes) Download Attachment

 « Return to Thread: Authentication Failure In pam_ldap ?