[ale] Samba setup

Sergio Chaves sergio at turbocorp.com
Thu Aug 4 06:31:30 EDT 2005


Hi Mark.

A little OT but, what distribution are you using?
I do not know if you have time for this or not but for projects like the one 
you described, you may want to check the LTSP project www.ltsp.org .
Ltsp is available on either Fedora Core 4 or RHEL4.
Most of the configuration is done via the ltsp customized shell scripts to 
speed up the deployment process plus they (ltsp) have an excellent support 
mailing list.
So far, everything I've tried in my test box at home has worked as 
promissed(Fedora Core4).


Sergio

On Thursday 04 August 2005 01:28 am, Mark Wright wrote:
> I added a root passwd to the smbpasswd file and then made sure I
> added myself.  I did put a UID for myself on the system.  After I did
> this I have changed the failure message (which I forgot to mention in
> the original post)  Now I am getting a message that says a "machine
> account does not exist."
>
> That helps.  There is a script that is supposed to create this.  Here
> is the log data from this failure.
>
> [2005/08/03 20:30:08, 0] rpc_server/srv_samr_nt.c:_samr_create_user
> (2324)
>    _samr_create_user: Running the command `/usr/sbin/useradd -s /bin/
> false \-d /dev/null l200772$' gave 1
> useradd: unable to lock password file
>
> "unable to lock password file?"  What is that for?  More reading.....
>
> On Aug 4, 2005, at 12:24 AM, Mark Wright wrote:
> > Hi all,
> >
> > I am setting up a Domain controller with roaming profiles for a non-
> > profit organization that I am donating the server to.  I have messed
> > with Samba in the past just out or curiosity and didn't think it
> > would be too hard.  I have, and have read the Official Samba 3  Howto
> > and ref and I have been printing chapters from an excellent O'Rielly
> > book that my Googling turned up.  All this because the Domain I am
> > trying to create is not letting me log on with an NT 4 box I have
> > kept around.
> >
> > I want to do all the config work so I can deliver it (to Alabama)
> > Friday and sort of just plug and play with their network.  I have set
> > up all the users and when I connect it to their current peer to peer
> > network I want to be able to join each PC to the domain then set
> > permissions so they can share files like they want.
> >
> > Anyone have some knowledge of this and can take a minute to look?
> > Heres the testparm output.   Thanks.....  Mark
> >
> > # Global parameters
> > [global]
> >          workgroup = TCCGIRLS
> >          server string = %h server (Samba, Ubuntu)
> >          obey pam restrictions = Yes
> >          passdb backend = tdbsam, guest
> >          passwd program = /usr/bin/passwd %u
> >          passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew
> > \sUNIX\spassword:* %n\n .
> >          username map = /etc/samba/smbusers
> >          syslog = 0
> >          log file = /var/log/samba/log.%m
> >          max log size = 1000
> >          printcap name = cups
> >          add user script = /usr/sbin/useradd -m %u
> >          delete user script = /usr/sbin/userdel -r %u
> >          add group script = /usr/sbin/groupadd %g
> >          delete group script = /usr/sbin/groupdel %g
> >          add user to group script = /usr/sbin/suermod -G %g %u
> >          add machine script = /usr/sbin/useradd -s /bin/false \-d /
> > dev/null %u
> >          logon script = scripts\logon.bat
> >          logon path = \\%L\Profiles\%U
> >          logon drive = H:
> >          logon home = \\%L\%U
> >          domain logons = Yes
> >          os level = 65
> >          preferred master = Yes
> >          domain master = Yes
> >          dns proxy = No
> >          panic action = /usr/share/samba/panic-action %d
> >          idmap uid = 15000-20000
> >          idmap gid = 15000-20000
> >          invalid users = root
> >          printing = cups
> >          print command =
> >          lpq command = %p
> >          lprm command =
> >
> > [homes]
> >          comment = Home Directories
> >          valid users = %S
> >          read only = No
> >          create mask = 0700
> >          directory mask = 0700
> >          browseable = No
> >
> > [netlogon]
> >          comment = Network Logon Service
> >          path = /var/lib/samba/netlogon
> >          admin users = root, casey
> >          read only = No
> >          browseable = No
> >          share modes = No
> >
> > [Profiles]
> >          comment = Roaming Profile Share
> >          path = /var/lib/samba/profiles
> >          read only = No
> >          profile acls = Yes
> >          browseable = No
> >
> > [printers]
> >          comment = All Printers
> >          path = /var/spool/samba
> >          printer admin = root
> >          create mask = 0600
> >          guest ok = Yes
> >          printable = Yes
> >          browseable = No
> >
> > [print$]
> >          comment = Printer Drivers
> >          path = /var/lib/samba/printers
> >          write list = root, casey, mark
> >
> > [Home]
> >          comment = Home folders
> >          path = /root
> >          read only = No
> >          guest ok = Yes
> >
> > [beckyh]
> >          path = /home/beckyh
> >          read only = No
> >          guest ok = Yes
> >          browseable = No
> >
> > [junem]
> >          path = /home/junem
> >          read only = No
> >          guest ok = Yes
> >          browseable = No
> >
> > [sarahm]
> >          path = /home/sarahm
> >          read only = No
> >          guest ok = Yes
> >          browseable = No
> >
> > [casey]
> >          path = /home/casey
> >          read only = No
> >          guest ok = Yes
> >          browseable = No
> >
> > [mark]
> >          path = /home/mark
> >          read only = No
> >          guest ok = Yes
> >          browseable = No
> >
> > [shirley]
> >          path = /home/shirleyk
> >          read only = No
> >          guest ok = Yes
> >          browseable = No
> >
> > [elainel]
> >          path = /home/elainel
> >          read only = No
> >          guest ok = Yes
> >          browseable = No
> >
> > [peggym]
> >          path = /home/peggym
> >          read only = No
> >          guest ok = Yes
> >          browseable = No
> >
> > [yuchidirector]
> >          path = /home/yuchidirector
> >          read only = No
> >          guest ok = Yes
> >          browseable = No
> >
> > [intakedirector]
> >          path = /home/intakedirector
> >          read only = No
> >          guest ok = Yes
> >          browseable = No
> >
> > [rebeccam]
> >          path = /home/rebeccam
> >          read only = No
> >          guest ok = Yes
> >          browseable = No
> >
> > [yuchihrdept]
> >          path = /home/yuchihrdept
> >          read only = No
> >          guest ok = Yes
> >          browseable = No
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
>
> Mark Wright
> NASA Maintenance Specialist
> Mark_Wright at NASAsupport.com
> www.nasasupport.com
>
> 1.800.724.9692
>
> "Whatever It Takes"

-- 
"So they [the Government] go on in strange paradox, decided only to be 
undecided, resolved to be irresolute, adamant for drift, solid for fluidity, 
all-powerful to be impotent." 
 Sir Winston Churchill, Hansard, November 12, 1936
----
   . .                                                         . .
    v                Sergio Chaves                     v
 /(_)\         www.turbocorp.com             /(_)\
  ^ ^    Enhanced Solutions Computing   ^ ^
                   Main  770.532.2239
                   Fax   770.531.7878
                   Linux User #221305


 This transmission (including attachments) may be: (1) subject to the
 Attorney-Client Privilege, (2) an attorney work product, or (3) strictly
 confidential to Turbo Logistics, Inc.  If you are not the intended
 recipient of this message (or authorized to receive for the intended
 recipient), you may not read, retain, disclose, print, copy or disseminate
 to anyone this information. If you have received this in error, please
 reply and notify the sender (only) by reply email, and destroy all copies
 of the message (including any attachments). Unauthorized interception of
 this e-mail is a violation of federal criminal law



More information about the Ale mailing list