[Samba] Cannot join domain

Andy theands at gmail.com
Fri Jan 22 13:25:52 MST 2010


Try LGD  :D

On Sat, Jan 23, 2010 at 7:10 AM, Claudia Rodriguez Brasicott
<claudiacrb at gmail.com> wrote:
> I got the following error message:
>
> -------------
> The domain name LGD-SERVER might be a NetBIOS domain name. If this is the
> case, verify that the domain name is properly registered with WINS.
>
> If you are certain that the name is not a NetBIOS domain name, then
> the following information can you troubleshoot your DNS
> configuration.
>
> The following error occurred when DNS was queried for the service
> location (SRV) resource record used to locate an Active Directory
> Domain Controller for domain US3:
>
> The error was: "DNS name does not exist."
> (error code 0x0000232B RCODE_NAME_ERROR)
>
> The query was for the SRV record for _ldap._tcp.dc._msdcs.LGD-SERVER
> -------------
>
> I though the server was unreachable, or there was a problem with the server
> name, but when I do "ping LGD-SERVER" from the client, I receive answer.
>
>
>
> On Fri, Jan 22, 2010 at 2:59 PM, Andy <theands at gmail.com> wrote:
>>
>> What message do you get when attempting to connect to the domain?
>>
>>
>>
>> On Fri, Jan 22, 2010 at 9:56 AM, Claudia Rodriguez Brasicott
>> <claudiacrb at gmail.com> wrote:
>> > Hello, I just configured a computer on my local network to work as a PDC
>> > with Samba, although I'm not able to join the Domain from the windows
>> > computer I want to add. I though it was that the server was unreachable,
>> > but
>> > I can ping the server from the computer and viceversa. If someone please
>> > can
>> > help me, I'll appreciate it.
>> >
>> > The smb.conf file is here:
>> >
>> > -------------------
>> > [global]
>> >   workgroup = LGD
>> >   netbios name = LGD-SERVER
>> >   server string = %h server (Samba, Ubuntu)
>> >
>> >   passdb backend = tdbsam
>> >   security = user
>> >   username map = /etc/samba/smbusers
>> >   name resolve order = wins bcast hosts
>> >   domain logons = yes
>> >   prefered master = yes
>> >   wins support = yes
>> >
>> >   # Set CUPS for printing
>> >   printcap name = CUPS
>> >   printing = CUPS
>> >
>> >   # Default logon
>> >   logon drive = H:
>> >   # logon script = scripts/logon.bat
>> >   logon path = \\%N\profile\%U
>> >
>> >   # Useradd scripts
>> >   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/usermod -G %g %u
>> >   add machine script = /usr/sbin/useradd -s /bin/false/ -d
>> > /var/lib/nobody
>> > %u
>> >   idmap uid = 15000-20000
>> >   idmap gid = 15000-20000
>> >
>> >
>> >   # sync smb passwords woth linux passwords
>> >   passwd program = /usr/bin/passwd %u
>> >   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
>> > *Retype\snew\sUNIX\spassword:* %n\n .
>> >   passwd chat debug = yes
>> >   unix password sync = yes
>> >
>> >   # set the loglevel
>> >   log level = 3
>> >
>> >
>> > [homes]
>> >   comment = Home
>> >   valid users = %S
>> >   read only = no
>> >   browsable = no
>> >
>> >
>> > [printers]
>> >   comment = All Printers
>> >   path = /var/spool/samba
>> >   printable = yes
>> >   guest ok = yes
>> >   browsable = no
>> >
>> >
>> > [netlogon]
>> >   comment = Network Logon Service
>> >   path = /home/samba/netlogon
>> >   admin users = Administrator
>> >   valid users = %U
>> >   read only = no
>> >
>> >
>> > [profile]
>> >   comment = User profiles
>> >   path = /home/samba/profiles
>> >   valid users = %U
>> >   create mode = 0600
>> >   directory mode = 0700
>> >   writable = yes
>> >   browsable = no
>> > -------------------------
>> > --
>> > To unsubscribe from this list go to the following URL and read the
>> > instructions:  https://lists.samba.org/mailman/options/samba
>> >
>
>



-- 
REGARDS,
Andy Z


More information about the samba mailing list