- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- samba ads setup troubles: ads_join_realm: Operatio...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 01:45 AM
04-15-2008 01:45 AM
samba ads setup troubles: ads_join_realm: Operations error
I got a poblem trying to get Samba configured on my HP-UX ELITIL1 B.11.23 U ia64 server. I want it to act as a Windows domain server so I can autheticate users using ADS groups.
# ./net ads join -U administrator -d 10
....
[2008/04/15 11:21:43, 10] libsmb/clikrb5.c:ads_krb5_mk_req(408)
ads_krb5_mk_req: Ticket (ezhdc01$@ELISABETH.NL) in ccache (MEMORY:net_ads) is valid until: (Tue, 15 Apr 2008 21:21:46 MET - 1208287306)
[2008/04/15 11:21:43, 10] libsmb/clikrb5.c:get_krb5_smb_session_key(509)
Got KRB5 session key of length 8
[2008/04/15 11:21:43, 1] libads/ldap.c:ads_default_ou_string(1085)
Failed while searching for:
ads_join_realm: Operations error
[2008/04/15 11:21:43, 2] utils/net.c:main(901)
return code = -1
The kinit command seem to work (no error message) after I adjusted a setting in the ADS for the user I autenticate with ("Do not require Kerebos preauthentication").
I'm just guessing here but do I need a newer version of kerebos?
Here is my krb5.conf:
[logging]
default = FILE:/var/adm/krb5libs.log
kdc = FILE:/var/adm/krb5kdc.log
admin_server = FILE:/var/adm/kadmind.log
[libdefaults]
default_realm = ELISABETH.NL
default_tkt_enctypes = DES-CBC-MD5
default_tgs_enctypes = DES-CBC-MD5
ccache_type = 2
[realms]
ELISABETH.NL = {
kdc = ezhdc01.elisabeth.nl:88
admin_server = ezhdc01.elisabeth.nl
}
[domain_realm]
.ezhdc01.elisabeth.nl = ELISABETH.NL
[appdefaults]
pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
}
Thnx for helping out here.
Grtz,
Roderick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 02:07 AM
04-15-2008 02:07 AM
Re: samba ads setup troubles: ads_join_realm: Operations error
with an ads security configuration in smb.conf
Try this:
/opt/samba/bin/net join -w
the user adm_user needs to have powers on the Windows Primary Domain Controller(PDC) to join the domain.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 02:21 AM
04-15-2008 02:21 AM
Re: samba ads setup troubles: ads_join_realm: Operations error
# /opt/samba/bin/net join -w ELISABETH.NL -S ezhdc01.elisabeth.nl -U adminisrator
ads_join_realm: Operations error
ADS join did not work, falling back to RPC...
Joined domain ELISABETH.
Ok, now I can see the server in the ADS. Anyt idea why this command worked and not the other command?
Is there a difference now compared to the other command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:49 AM
04-15-2008 03:49 AM
Re: samba ads setup troubles: ads_join_realm: Operations error
[global]
preferred master = auto
local master = yes
domain master = auto
domain logons = no
password server = xxxxxxx.domain.nl, *
realm = ELISABETH.NL
security = ADS
wins server = winsserver.domain.nl
wins support = no
workgroup = DOMAIN
netbios name = servername
server string = Philips EasyAccess
encrypt passwords = yes
guest account = samba
directory mask = 0775
[folders]
comment = folders
path = /samba_exports
read only = Yes
create mask = 0775
browseable = No
oplocks = No
valid users = @"elisabeth+FS_C_SAMBA_PACS_FOLDERS"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 03:51 AM
04-15-2008 03:51 AM
Re: samba ads setup troubles: ads_join_realm: Operations error
[global]
preferred master = auto
local master = yes
domain master = auto
domain logons = no
password server = xxxxxxx.domain.nl, *
realm = DOMAIN.NL
security = ADS
wins server = winsserver.domain.nl
wins support = no
workgroup = DOMAIN
netbios name = servername
server string = EasyAccess
encrypt passwords = yes
guest account = samba
directory mask = 0775
[folders]
comment = folders
path = /samba_exports
read only = Yes
create mask = 0775
browseable = No
oplocks = No
valid users = @"elisabeth+FS_C_SAMBA_PACS_FOLDERS"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 05:44 AM
04-15-2008 05:44 AM
Re: samba ads setup troubles: ads_join_realm: Operations error
[2008/04/15 15:34:51, 1] nsswitch/winbindd.c:main(864)
winbindd version 3.0.14a based HP CIFS Server A.02.02.01 started.
Copyright The Samba Team 2000-2004
[2008/04/15 15:34:51, 0] nsswitch/winbindd_util.c:winbindd_param_init(555)
winbindd: idmap uid range missing or invalid
[2008/04/15 15:34:51, 0] nsswitch/winbindd_util.c:winbindd_param_init(556)
winbindd: cannot continue, exiting.
[2008/04/15 15:34:51, 1] nsswitch/winbindd.c:main(897)
Could not init idmap -- netlogon proxy only
[2008/04/15 15:34:51, 0] libads/kerberos.c:ads_kinit_password(146)
kerberos_kinit_password host/ELITIL1@ELISABETH.NL failed: Client not found in Kerberos database
[2008/04/15 15:34:51, 1] nsswitch/winbindd_ads.c:ads_cached_connection(81)
ads_connect for domain ELISABETH failed: Client not found in Kerberos database