[Bug 917319] Re: serverguide - Network Auth - Samba and LDAP - incorrect ldapadd command when adding samba schema

2012-03-11 Thread Connor Imes
** Package changed: ubuntu-docs (Ubuntu) = serverguide

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/917319

Title:
  serverguide - Network Auth - Samba and LDAP - incorrect ldapadd
  command when adding samba schema

To manage notifications about this bug go to:
https://bugs.launchpad.net/serverguide/+bug/917319/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 917319] Re: serverguide - Network Auth - Samba and LDAP - incorrect ldapadd command when adding samba schema

2012-01-17 Thread Jacob Smith
** Description changed:

  Description:Ubuntu 10.04.3 LTS
  Release:10.04
  
  Step 5 of the Samba and LDAP section of the Server Guide (in Network
- Authentication) shows the old way (incorrect) which doesn't work.  Also
- the line after describing what it should look like when complete has the
- wrong name in it.
+ Authentication) shows the old way (incorrect) to modify config which
+ doesn't work.  Also the line after describing what it should look like
+ when complete has the wrong name in it. *update* the next bullet after
+ step 5 about adding indexes contains a ldapmodify and ldapsearch that
+ are both using the older incorrect commands.
  
  5. Finally, using the ldapadd utility, add the new schema to the directory:
- ldapadd -x -D cn=admin,cn=config -W -f /tmp/cn\=samba.ldif -- way 
prior to make cn=config changes
+ ldapadd -x -D cn=admin,cn=config -W -f /tmp/cn\=samba.ldif -- way 
prior to make cn=config changes
  There should now be a dn: cn={X}misc,cn=schema,cn=config, where X is the 
next sequential schema, entry in the cn=config tree.   -- cn={X}misc is wrong
  
  Should be:
  5. Finally, using the ldapadd utility, add the new schema to the directory:
- sudo ldapadd -Y EXTERNAL -H ldapi:/// -f /tmp/cn\=samba.ldif-- 
current way to modify cn=config
+ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f /tmp/cn\=samba.ldif-- 
current way to modify cn=config
  There should now be a dn: cn={X}samba,cn=schema,cn=config, where X is the 
next sequential schema, entry in the cn=config tree.  -- cn={X}samba
+ 
+ *update*
+ The two incorrect commands:
+ ldapmodify -x -D cn=admin,cn=config -W -f samba_indexes.ldif
+ 
+ ldapsearch -xLLL -D cn=admin,cn=config -x -b cn=config -W
+ olcDatabase={1}hdb
+ 
+ Corrected:
+ ldapmodify -Y EXTERNAL -H ldapi:/// -f samba_indexes.ldif
+ 
+ ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b cn=config olcDatabase={1}hdb

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/917319

Title:
  serverguide - Network Auth - Samba and LDAP - incorrect ldapadd
  command when adding samba schema

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/917319/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs