FW: [Samba] samba and active directory on win 2003

This is a discussion on FW: [Samba] samba and active directory on win 2003 within the Samba forums, part of the Networking and Network Related category; Victor,=20 I just spent hours searching for the solution to the same problem you are having using samba version ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-26-2008
Jaan Talvet
 
Posts: n/a
Default FW: [Samba] samba and active directory on win 2003

Victor,=20

I just spent hours searching for the solution to the same problem you
are having using samba version 3.0.25b after an upgrade from version
3.0.10. the resolution for me was posted by Volker Lendecke:

"
> Make sure that the fully qualified domain name and your host name=20
> differ in the sense that you actually have a domain appended.
>
> Under Linux, "hostname" and "hostname -f" need to return different=20
> things, hostname -f should preferrably show your AD domain name=20
> appended.
>
> Volker

"
My /etc/hosts had an alias that made hostname & hostname -r return the
same value.

broken:
127.0.0.1 zelda localhost.localdomain localhost
172.16.1.29 zelda.ournetwork.org zelda

Works:
127.0.0.1 localhost.localdomain localhost
172.16.1.29 zelda.ournetwork.org zelda

Hope this helps
-jaan=20


-----Original Message-----
From: Victor Sterpu [mailto:victor@ambra.ro]=20
Sent: Saturday, March 08, 2008 3:36 PM
To: samba@lists.samba.org
Subject: [Samba] samba and active directory on win 2003

I use samba Version 3.0.25b-1.el5_1.4.
When I try to join the domain adtest.ro I receive the following error:

[root@zimbra samba]# net ads join -U Administrator
Administrator's password:
Using short domain name -- ADTEST
Failed to set servicePrincipalNames. Please ensure that
the DNS domain of this server matches the AD domain,
Or rejoin with using Domain Admin credentials.
Deleted account for 'ZIMBRA' in realm 'ADTEST.RO'
Failed to join domain: Type or value exists

In the process of joining the domain samba refers to=20
ADTEST-U5HTDLBY.ADTEST.RO instead adtest.ro.
I don't know why but I belive this is the cause of the problem.

hosts.conf contain this:
192.168.1.1 adtest.ro ADTEST-U5HTDLBY.ADTEST.RO

Kerberos authentication is ok:
"kinit Administrator@ADTEST.RO
Password for Administrator@ADTEST.RO: " returns no error.

samba.conf contains this configuration:
[global]
workgroup =3D ADTEST
realm =3D ADTEST.RO
password server =3D ADTEST-U5HTDLBY.ADTEST.RO
preferred master =3D no
server string =3D Linux Test Machine
security =3D ADS
encrypt passwords =3D yes
log level =3D 3
log file =3D /var/log/samba/%m
max log size =3D 50
printcap name =3D cups
printing =3D cups
winbind enum users =3D Yes
winbind enum groups =3D Yes
winbind use default domain =3D Yes
winbind nested groups =3D Yes
winbind separator =3D +
idmap uid =3D 600-20000
idmap gid =3D 600-20000
;template primary group =3D "Domain Users"
template shell =3D /bin/bash

[homes]
comment =3D Home Direcotries
valid users =3D %S
read only =3D No
browseable =3D No

[printers]
comment =3D All Printers
path =3D /var/spool/cups
browseable =3D no
printable =3D yes
guest ok =3D yes

Thank you.
--=20
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:37 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0