[Samba] Machine account setup fail
Mark Sarria
marksarria at socal.rr.com
Fri Aug 5 01:00:35 GMT 2005
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" <suzuki_babu at yahoo.com>
To: "Mark Wright" <mpwright at speedfactory.net>; <samba at 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 <mpwright at speedfactory.net> 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 :
>>
>> casey at ubuntu:~$ 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
More information about the samba
mailing list