Hi mark,

Thanks for your reply. I think
/opt/IDEALX/sbin/smbldap-useradd is used to add users
in ldap directory. But we are using samba as PDC
without ldap support. When we try to join machine it
should create machine account using the following
[global] option

add user script = /usr/sbin/useradd -d /dev/null -g
10000 -s /bin/false -M %u

Regards,
Saravanan

--- Mark Sarria <[EMAIL PROTECTED]> wrote:

> Check that your user scripts are in that path, that
> looks like the default, 
> you may need to adjust the path to match yours. If
> you are using IDEALX 
> scripts, then the path should point to
> /opt/IDEALX/sbin/smbldap-useradd.....
> 
> --mark
> 
> ----- Original Message ----- 
> From: "Saravanan" <[EMAIL PROTECTED]>
> To: "Mark Wright" <[EMAIL PROTECTED]>;
> <samba@lists.samba.org>
> Sent: Thursday, August 04, 2005 3:02 PM
> Subject: Re: [Samba] Machine account setup fail
> 
> 
> > Hi,
> >
> > I also got the same error when i tried to add
> machine
> > account with the add user script.
> >
> > add user script = /usr/sbin/useradd -d /dev/null
> -g
> > 10000 -s /bin/false -M %u
> >
> > You first create machine account manually from the
> > shell. After that you can  join machine in the
> domain.
> >
> > Regards,
> > Saravanan
> >
> > --- Mark Wright <[EMAIL PROTECTED]> wrote:
> >
> >> Hi all
> >>
> >>
> >> I am trying to set up a Ubuntu Samba server from
> >> scratch.  I did this
> >> last year with 2.2.  I need a PDC and roaming
> >> profiles.  Problem is I
> >> can't join the domain with my lone test PC
> running
> >> NT4.  I am getting
> >> a message saying that the machine account cant be
> >> established.  Her
> >> is the log data;
> >>
> >> 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
> >>
> >> Testparm runs oK,  I have encrypt password = yes,
> I
> >> have been
> >> studying the Official Samba 3 How to guide but
> can't
> >> figure this out.
> >>
> >> I can "net use" the server from the client and
> map a
> >> home share.
> >> Smbclient gives me :
> >>
> >> [EMAIL PROTECTED]:~$ smbclient -L Ubuntu
> >> Password:
> >> Anonymous login successful
> >> Domain=[TCCGIRLS] OS=[Unix] Server=[Samba
> >> 3.0.14a-Ubuntu]
> >>
> >>          Sharename       Type      Comment
> >>          ---------       ----      -------
> >>          print$          Disk      Printer
> Drivers
> >>          Home            Disk      Home folders
> >>          IPC$            IPC       IPC Service
> >> (ubuntu server (Samba,
> >> Ubuntu))
> >>          ADMIN$          IPC       IPC Service
> >> (ubuntu server (Samba,
> >> Ubuntu))
> >> Anonymous login successful
> >> Domain=[TCCGIRLS] OS=[Unix] Server=[Samba
> >> 3.0.14a-Ubuntu]
> >>
> >>          Server               Comment
> >>          ---------            -------
> >>          GATEWAY              Gateway (Xandros
> >> Desktop)
> >>          UBUNTU               ubuntu server
> (Samba,
> >> Ubuntu)
> >>
> >>          Workgroup            Master
> >>          ---------            -------
> >>          HOME                 L200772
> >>          MDKGROUP             LOCALHOST
> >>          TCCGIRLS             UBUNTU
> >>
> >>
> >> Note:  MDKGROUP has Samba services turned off and
> >> L200772 is the NT
> >> workstation that I am trying to join the domain
> >> with.
> >>
> >> Any ideas?
> >>
> >> Thanks
> >>
> >> Mark
> >>
> >> -- 
> >> To unsubscribe from this list go to the following
> >> URL and read the
> >> instructions:
> >> https://lists.samba.org/mailman/listinfo/samba
> >>
> >
> >
> >
> >
> >
> ____________________________________________________
> > Start your day with Yahoo! - make it your home
> page
> > http://www.yahoo.com/r/hs
> >
> > -- 
> > To unsubscribe from this list go to the following
> URL and read the
> > instructions: 
> https://lists.samba.org/mailman/listinfo/samba 
> 
> 



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to