CentOS 5.4 not able to join a Windows Active Directory
David Tam
dtam_2000 at yahoo.com
Fri Dec 4 18:25:05 MST 2009
Hello,
I am setting up a samba share with Windows 2003 AD integration, but am running into a problem.
I have setup kerberos correctly as I can use kinit and create tickets.
but when I run net ads join -U user
I get the below error
Failed to join domain: Operations error
running it the debug option I get this error, hope it helps.
[2009/12/04 17:21:39, 2] libads/ldap.c:ldap_open_with_timeout(70)
Could not open LDAP connection to ADSERVER:389: No such file or directory
[2009/12/04 17:21:39, 1] utils/net_ads.c:net_ads_join(1470)
error on ads_startup: Operations error
Failed to join domain: Operations error
[2009/12/04 17:21:39, 2] utils/net.c:main(1075)
return code = -1
I am not sure why ldap is having issues.
below is my smb.conf file.
[global]
workgroup = workgroup name
realm = REALMNAME
netbios name = servername
security = ADS
log level = 5
log file = /var/log/samba/log.%m
max log size = 50
load printers = No
winbind separator = +
idmap uid = 600-20000
idmap gid = 600-20000
winbind enum users = yes
winbind enum groups = yes
password server = foxneo.com
[Share]
browseable = no
read only = no
valid users = %S
path = /home/storage
comment = Storage share
Any help will be greatly appreciated.
More information about the samba-technical
mailing list