Typo in "Samba as a Domain Controller" guide causes domain joining to fail

Bug #371730 reported by N Rahl
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-docs (Ubuntu)
Fix Released
Medium
Connor Imes
Intrepid
Won't Fix
Undecided
Unassigned
Jaunty
Won't Fix
Undecided
Unassigned
Karmic
Fix Released
Medium
Connor Imes

Bug Description

Binary package hint: ubuntu-docs

The "Samba as a Domain Controller" guide located at
https://help.ubuntu.com/9.04/serverguide/C/samba-dc.html
and
https://help.ubuntu.com/8.10/serverguide/C/samba-dc.html

has a typo that causes joining of the domain from a Windows computer to fail with the message "the user name could not be found".

In the section of the guide titled "Primary Domain Controller", in step three, the current documentation reads:

add machine script = sudo /usr/sbin/useradd -n -g machines -c Machine -d /var/lib/samba -s /bin/false %u

The "-n" flag should be an "-N" flag, as "-n" is not a valid option to the useradd command.

summary: - Typo in "Samba as a Domain Controller" causes joining to fail
+ Typo in "Samba as a Domain Controller" guide causes domain joining to
+ fail
Dean Sas (dsas)
tags: added: serverguide
Lars Ljung (larslj)
Changed in ubuntu-docs (Ubuntu):
status: New → Confirmed
Connor Imes (ckimes)
Changed in ubuntu-docs (Ubuntu):
assignee: nobody → Connor Imes (rocket2dmn)
importance: Undecided → Medium
status: Confirmed → In Progress
Revision history for this message
Connor Imes (ckimes) wrote :

I created packages for Intrepid, Jaunty, and Karmic. They all seem to be the same, but I'll upload each separately anyway.

As I am in the process of learning bzr and have an ubuntu-doc branch for Karmic, I would like to try to propose a merge that way for the karmic branch if possible, but I'll attach the patch here as well.

Revision history for this message
Connor Imes (ckimes) wrote :
Revision history for this message
Connor Imes (ckimes) wrote :
Changed in ubuntu-docs (Ubuntu):
status: In Progress → Triaged
tags: added: patch
Revision history for this message
Matthew East (mdke) wrote :

Pushed to karmic branch, thanks Connor.

In terms of fixing previous releases, I can see the reasoning for fixing this there. Is this bug present in Hardy?

Changed in ubuntu-docs (Ubuntu Karmic):
status: Triaged → Fix Committed
Revision history for this message
Connor Imes (ckimes) wrote :

I didn't see any mention of "useradd" in the hardy serverguide. I believe serverguide is located in a different directory tree in Hardy, but I think I'm looking in the right place: generic/serverguide/C/

Please correct me if I'm wrong.

Revision history for this message
Adam Sommer (asommer) wrote :

Yes, that is the correct place Connor. The Windows Networking section wasn't updated for Hardy, so the bug should only be in the Intrepid branch.

Thanks for catching this bug, and providing the fix.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-docs - 9.10.2

---------------
ubuntu-docs (9.10.2) karmic; urgency=low

  * General:
    - fix menu entry for gparted; patch from Artur Szymanski, LP: #371851
    - a few corrections to use US not UK spelling, patch from Nathan Handler
    - remove unnecessary use of alt+f2 to start apps available from the menu, Dean Sas
  * Hardware:
    - fix instructions to lock screen with new FUSA applet, patch from Artur Szymanski, LP: #371930
  * Add-applications:
    - new section on PPA, patch from Nathan Handler
  * Musicvideophotos:
    - generalise photo import instructions, from Stephanie Mardell
    - update section on listening to online audio streams is outdated, patch from Shane Fagan
    - Rhythmbox has a tag editor, patch from Shane Fagan
  * Keeping-safe:
    - fix link to removing programs, patch from Artur Szymanski
  * Internet:
    - document easiest way to change preferred email client, Dougie Richardson, LP: #356894
    - java is no longer installed by ubuntu-restricted-extras, Dean Sas, LP: #366039
  * Serverguide:
    - Clarify read only explanation in samba section, patch from Connor Imes, LP: #281702
    - Patch by Joel Goguen adding note about restarting after joining a domain, LP: #352934.
    - Patch by Nathan Handler to remove information about dhcdbd that is no longer needed, LP: #373867.
    - Merge from Connor Imes: 2009-05-06 Fix bad flag in useradd command, LP: #371730
  * Games:
    - remove confusing lines from supertux instructions, patch from Shane Fagan, LP: #346892

 -- Matthew East <email address hidden> Sun, 17 May 2009 09:45:19 +0100

Changed in ubuntu-docs (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Connor Imes (ckimes) wrote :

Intrepid reached End of Life. I think we can safely say we won't fix this for Jaunty either.

Changed in ubuntu-docs (Ubuntu Intrepid):
status: New → Won't Fix
Changed in ubuntu-docs (Ubuntu Jaunty):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.