Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Network Authentication guide

  1. #11
    Join Date
    Jan 2006
    Beans
    496

    Re: Network Authentication guide

    I followed this guid at
    http://tuxnetworks.blogspot.com/2010...cid-short.html

    lance@Therese:$ ldapsearch -xLLL -b "dc=lbermudez,dc=net" uid=leanne
    dn: uid=leanne,ou=Users,dc=lbermudez,dc=net
    objectClass: top
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    objectClass: posixAccount
    objectClass: shadowAccount
    objectClass: sambaSamAccount
    cn: leanne
    sn: leanne
    givenName: leanne
    uid: leanne
    uidNumber: 1002
    gidNumber: 513
    homeDirectory: /home/leanne
    loginShell: /bin/bash
    gecos: System User
    sambaLogonTime: 0
    sambaLogoffTime: 2147483647
    sambaKickoffTime: 2147483647
    sambaPwdCanChange: 0
    displayName: leanne
    sambaSID: S-1-5-21-309243541-3266719748-2493639525-3004
    sambaPrimaryGroupSID: S-1-5-21-309243541-3266719748-2493639525-513
    sambaLogonScript: allusers.bat
    sambaProfilePath: "."
    sambaHomePath: "."
    sambaHomeDrive: ".":
    sambaLMPassword: 83BBB23C5A82EEA27A1555FFAFE3FA0A
    sambaAcctFlags: [U]
    sambaNTPassword: B329C5D4F278EC8752336F65E99F6DE0
    sambaPwdLastSet: 1308897542
    sambaPwdMustChange: 1312785542
    shadowLastChange: 15149
    shadowMax: 45

  2. #12
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    4,285
    Distro
    Ubuntu Development Release

    Re: Network Authentication guide

    Quote Originally Posted by lance bermudez View Post
    I followed this guid at
    http://tuxnetworks.blogspot.com/2010...cid-short.html

    lance@Therese:$ ldapsearch -xLLL -b "dc=lbermudez,dc=net" uid=leanne
    dn: uid=leanne,ou=Users,dc=lbermudez,dc=net
    objectClass: top
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    objectClass: posixAccount
    objectClass: shadowAccount
    objectClass: sambaSamAccount
    cn: leanne
    sn: leanne
    givenName: leanne
    uid: leanne
    uidNumber: 1002
    gidNumber: 513
    homeDirectory: /home/leanne
    loginShell: /bin/bash
    gecos: System User
    sambaLogonTime: 0
    sambaLogoffTime: 2147483647
    sambaKickoffTime: 2147483647
    sambaPwdCanChange: 0
    displayName: leanne
    sambaSID: S-1-5-21-309243541-3266719748-2493639525-3004
    sambaPrimaryGroupSID: S-1-5-21-309243541-3266719748-2493639525-513
    sambaLogonScript: allusers.bat
    sambaProfilePath: "."
    sambaHomePath: "."
    sambaHomeDrive: ".":
    sambaLMPassword: 83BBB23C5A82EEA27A1555FFAFE3FA0A
    sambaAcctFlags: [U]
    sambaNTPassword: B329C5D4F278EC8752336F65E99F6DE0
    sambaPwdLastSet: 1308897542
    sambaPwdMustChange: 1312785542
    shadowLastChange: 15149
    shadowMax: 45
    Did you install the ldap server? Is slapd running? Are there any errors in the slapd logs?
    *Don't PM me directly for support, open a new thread
    *Looking for a MythTV quick start guide?

  3. #13
    Join Date
    Jan 2006
    Beans
    496

    Re: Network Authentication guide

    lance@Therese:/var/log$ sudo /etc/init.d/slapd status
    * slapd is running

    I followed the http://tuxnetworks.blogspot.com/2010...cid-short.html
    guid so if it said to intall I installed it. and it said to install
    sudo apt-get install slapd ldap-utils libpam-smbpass smbldap-tools ldap-auth-client

    I installed them when the guid told me to install them. any idea as to why this is being a pain? I don't get why they are not talking to one another. I have the firewall turned off tell i can get this working.

  4. #14
    Join Date
    Jan 2006
    Beans
    496

    Re: Network Authentication guide

    I have attached the slapd log from from the
    cat syslog | grep slapd > /tmp/slapd-log.txt
    command
    Attached Files Attached Files

  5. #15
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    4,285
    Distro
    Ubuntu Development Release

    Re: Network Authentication guide

    Quote Originally Posted by lance bermudez View Post
    I have attached the slapd log from from the
    cat syslog | grep slapd > /tmp/slapd-log.txt
    command
    Looks like you need to run recovery

    Code:
    bdb(dc=nodomain): PANIC: fatal region error detected; run recovery
    There are also bind permissions errors, probably due to apparmor protecting bind updates from slapd
    *Don't PM me directly for support, open a new thread
    *Looking for a MythTV quick start guide?

  6. #16
    Join Date
    Jan 2006
    Beans
    496

    Re: Network Authentication guide

    How do I fix apparmor and run recovery?

  7. #17
    Join Date
    Jan 2006
    Beans
    496

    Re: Network Authentication guide

    found this at https://help.ubuntu.com/11.04/server...ap-server.html is this what you are talking about for apparmor?

    The AppArmor profile for slapd will need to be adjusted for the accesslog database location. Edit /etc/apparmor.d/usr.sbin.slapd adding:

    /var/lib/ldap/accesslog/ r,
    /var/lib/ldap/accesslog/** rwk,

    Then create the directory, reload the apparmor profile, and copy the DB_CONFIG file:

    sudo -u openldap mkdir /var/lib/ldap/accesslog
    sudo -u openldap cp /var/lib/ldap/DB_CONFIG /var/lib/ldap/accesslog/
    sudo /etc/init.d/apparmor reload

  8. #18
    Join Date
    Jan 2006
    Beans
    496

    Re: Network Authentication guide

    I was looking around and found this I have it in a pic for you. Is the pic what the log is talking about

    Jul 1 20:24:24 Therese slapd[10953]: bdb(dc=nodomain): PANIC: fatal region error detected; run recovery

    so how do i fix the error. I need a step by step for dummies.
    Attached Images Attached Images

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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