[Samba] ADS Issues and possible bug in 3.0.20
Theodore Jencks
tjencks at navis.com
Sat Sep 24 21:05:52 GMT 2005
Here is some more logging info when running the net ads join command:
It looks like there is a bunch of strage stuff going on with wins but I
can't really tell what the problem is still as the error "No such file
or directory" still shows up at the end without any real explanation.
Regards,
Theo
[root at theo ~]# net ads join -U tjencks -d 10
[2005/09/24 14:01:55, 5] lib/debug.c:debug_dump_status(368)
INFO: Current debug levels:
all: True/10
tdb: False/0
printdrivers: False/0
lanman: False/0
smb: False/0
rpc_parse: False/0
rpc_srv: False/0
rpc_cli: False/0
passdb: False/0
sam: False/0
auth: False/0
winbind: False/0
vfs: False/0
idmap: False/0
quota: False/0
acls: False/0
locking: False/0
msdfs: False/0
[2005/09/24 14:01:55, 3] param/loadparm.c:lp_load(4082)
lp_load: refreshing parameters
[2005/09/24 14:01:55, 3] param/loadparm.c:init_globals(1366)
Initialising global parameters
[2005/09/24 14:01:55, 3] param/params.c:pm_process(574)
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
[2005/09/24 14:01:55, 3] param/loadparm.c:do_section(3542)
Processing section "[global]"
doing parameter workgroup = HQ
doing parameter server string = Theo's samba server
doing parameter security = ads
doing parameter password server = hqdc01.hq.navis.net
doing parameter encrypt passwords = yes
doing parameter smb passwd file = /etc/samba/smbpasswd
doing parameter realm = HQ.NAVIS.NET
doing parameter idmap uid = 16777216-33554431
doing parameter idmap gid = 16777216-33554431
doing parameter template shell = /bin/bash
doing parameter template homedir = /home/%D/%U
doing parameter winbind use default domain = yes
doing parameter winbind separator = +
doing parameter ldap suffix = ou=idmap,dc=hq,dc=navis,dc=net
doing parameter ldap admin dn = cn=Manager,dc=navis,dc=net
doing parameter idmap backend = ldap:ldap://localhost
doing parameter winbind cache time = 10
doing parameter log file = /var/log/samba/smbd.log
doing parameter max log size = 4096
doing parameter printcap name = /etc/printcap
doing parameter load printers = yes
doing parameter cups options = raw
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
doing parameter name resolve order = wins lmhosts bcast
doing parameter wins server = 192.168.192.60
doing parameter dns proxy = no
[2005/09/24 14:01:55, 4] param/loadparm.c:lp_load(4113)
pm_process() returned Yes
[2005/09/24 14:01:55, 7] param/loadparm.c:lp_servicenumber(4226)
lp_servicenumber: couldn't find homes
[2005/09/24 14:01:55, 10] param/loadparm.c:set_server_role(4031)
set_server_role: role = ROLE_DOMAIN_MEMBER
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UCS-2LE
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UCS-2LE
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UTF-16LE
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UTF-16LE
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UCS-2BE
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UCS-2BE
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UTF-16BE
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UTF-16BE
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UTF8
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UTF8
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UTF-8
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UTF-8
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset ASCII
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(111)
Registered charset ASCII
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset 646
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(111)
Registered charset 646
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset ISO-8859-1
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(111)
Registered charset ISO-8859-1
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UCS2-HEX
[2005/09/24 14:01:55, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UCS2-HEX
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2005/09/24 14:01:55, 5] lib/util.c:init_names(260)
Netbios name list:-
my_netbios_names[0]="THEO"
[2005/09/24 14:01:55, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.192.112 bcast=192.168.195.255
nmask=255.255.252.0
tjencks's password:
[2005/09/24 14:01:59, 6] libads/ldap.c:ads_find_dc(214)
ads_find_dc: looking for realm 'HQ.NAVIS.NET'
[2005/09/24 14:01:59, 8] libsmb/namequery.c:get_sorted_dc_list(1433)
get_sorted_dc_list: attempting lookup using [ads]
[2005/09/24 14:01:59, 10] libsmb/namequery.c:internal_resolve_name(1028)
internal_resolve_name: looking up hqdc01.hq.navis.net#20
[2005/09/24 14:01:59, 5] lib/gencache.c:gencache_init(59)
Opening cache file at /var/lock/samba/gencache.tdb
[2005/09/24 14:01:59, 10] lib/gencache.c:gencache_get(285)
Cache entry with key = NBT/HQDC01.HQ.NAVIS.NET#20 couldn't be found
[2005/09/24 14:01:59, 5] libsmb/namecache.c:namecache_fetch(195)
no entry for hqdc01.hq.navis.net#20 found.
[2005/09/24 14:01:59, 10] lib/gencache.c:gencache_del(214)
Deleting cache entry (key = NBT/HQDC01.HQ.NAVIS.NET#20)
[2005/09/24 14:01:59, 3] libsmb/namequery.c:resolve_wins(752)
resolve_wins: Attempting wins lookup for name
hqdc01.hq.navis.net<0x20>
[2005/09/24 14:01:59, 10] lib/gencache.c:gencache_get(285)
Cache entry with key = WINS_SRV_DEAD/192.168.192.60,0.0.0.0 couldn't
be found
[2005/09/24 14:01:59, 4] lib/wins_srv.c:wins_srv_is_dead(111)
wins_srv_is_dead: 192.168.192.60 is alive
[2005/09/24 14:01:59, 6] lib/wins_srv.c:wins_srv_ip_tag(308)
Current wins server for tag '*' with source 0.0.0.0 is 192.168.192.60
[2005/09/24 14:01:59, 10] lib/gencache.c:gencache_get(285)
Cache entry with key = WINS_SRV_DEAD/192.168.192.60,0.0.0.0 couldn't
be found
[2005/09/24 14:01:59, 4] lib/wins_srv.c:wins_srv_is_dead(111)
wins_srv_is_dead: 192.168.192.60 is alive
[2005/09/24 14:01:59, 3] libsmb/namequery.c:resolve_wins(791)
resolve_wins: using WINS server 192.168.192.60 and tag '*'
[2005/09/24 14:01:59, 10] lib/util_sock.c:open_socket_in(832)
bind succeeded on port 0
[2005/09/24 14:01:59, 5] libsmb/nmblib.c:send_udp(777)
Sending a packet of len 50 to (192.168.192.60) on port 137
[2005/09/24 14:01:59, 10] lib/util_sock.c:read_udp_socket(286)
read_udp_socket: lastip 192.168.192.60 lastport 137 read: 56
[2005/09/24 14:01:59, 10] libsmb/nmblib.c:parse_nmb(506)
parse_nmb: packet id = 20777
[2005/09/24 14:01:59, 5] libsmb/nmblib.c:read_packet(755)
Received a packet of len 56 from (192.168.192.60) port 137
[2005/09/24 14:01:59, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.192.60(137) header: id=20777 opcode=Query(0)
response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No
auth=Yes
header: rcode=3 qdcount=0 ancount=0 nscount=0 arcount=0
[2005/09/24 14:01:59, 3] libsmb/namequery.c:name_query(440)
Negative name query response, rcode 0x03: The name requested does not
exist.
[2005/09/24 14:01:59, 3] libsmb/namequery.c:resolve_lmhosts(855)
resolve_lmhosts: Attempting lmhosts lookup for name
hqdc01.hq.navis.net<0x20>
[2005/09/24 14:01:59, 4] libsmb/namequery.c:getlmhostsent(606)
getlmhostsent: lmhost entry: 127.0.0.1 localhost
[2005/09/24 14:01:59, 4] libsmb/namequery.c:getlmhostsent(606)
getlmhostsent: lmhost entry: 192.168.192.60 hqdc01 hqdc01.hq.navis.net
[2005/09/24 14:01:59, 4] libsmb/namequery.c:getlmhostsent(606)
getlmhostsent: lmhost entry: 192.168.192.61 hqdc02 hqdc02.hq.navis.net
[2005/09/24 14:01:59, 3] libsmb/namequery.c:name_resolve_bcast(694)
name_resolve_bcast: Attempting broadcast lookup for name
hqdc01.hq.navis.net<0x20>
[2005/09/24 14:01:59, 10] lib/util_sock.c:open_socket_in(832)
bind succeeded on port 0
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_KEEPALIVE = 0
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_REUSEADDR = 1
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_BROADCAST = 1
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(201)
Could not test socket option TCP_NODELAY.
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(201)
Could not test socket option TCP_KEEPCNT.
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(201)
Could not test socket option TCP_KEEPIDLE.
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(201)
Could not test socket option TCP_KEEPINTVL.
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(203)
socket option IPTOS_LOWDELAY = 0
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(203)
socket option IPTOS_THROUGHPUT = 0
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_SNDBUF = 110592
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_RCVBUF = 110592
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_SNDLOWAT = 1
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_RCVLOWAT = 1
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_SNDTIMEO = 0
[2005/09/24 14:01:59, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_RCVTIMEO = 0
[2005/09/24 14:01:59, 5] libsmb/nmblib.c:send_udp(777)
Sending a packet of len 50 to (192.168.195.255) on port 137
[2005/09/24 14:01:59, 5] libsmb/nmblib.c:send_udp(777)
Sending a packet of len 50 to (192.168.195.255) on port 137
[2005/09/24 14:02:00, 5] libsmb/nmblib.c:send_udp(777)
Sending a packet of len 50 to (192.168.195.255) on port 137
[2005/09/24 14:02:00, 4] libsmb/namequery.c:get_dc_list(1406)
get_dc_list: returning 0 ip addresses in an unordered list
[2005/09/24 14:02:00, 4] libsmb/namequery.c:get_dc_list(1407)
get_dc_list:
[2005/09/24 14:02:00, 6] libads/ldap.c:ads_find_dc(214)
ads_find_dc: looking for domain 'HQ'
[2005/09/24 14:02:00, 8] libsmb/namequery.c:get_sorted_dc_list(1433)
get_sorted_dc_list: attempting lookup using [wins lmhosts bcast]
[2005/09/24 14:02:00, 10] libsmb/namequery.c:internal_resolve_name(1028)
internal_resolve_name: looking up hqdc01.hq.navis.net#20
[2005/09/24 14:02:00, 10] lib/gencache.c:gencache_get(285)
Cache entry with key = NBT/HQDC01.HQ.NAVIS.NET#20 couldn't be found
[2005/09/24 14:02:00, 5] libsmb/namecache.c:namecache_fetch(195)
no entry for hqdc01.hq.navis.net#20 found.
[2005/09/24 14:02:00, 10] lib/gencache.c:gencache_del(214)
Deleting cache entry (key = NBT/HQDC01.HQ.NAVIS.NET#20)
[2005/09/24 14:02:00, 3] libsmb/namequery.c:resolve_wins(752)
resolve_wins: Attempting wins lookup for name
hqdc01.hq.navis.net<0x20>
[2005/09/24 14:02:00, 10] lib/gencache.c:gencache_get(285)
Cache entry with key = WINS_SRV_DEAD/192.168.192.60,0.0.0.0 couldn't
be found
[2005/09/24 14:02:00, 4] lib/wins_srv.c:wins_srv_is_dead(111)
wins_srv_is_dead: 192.168.192.60 is alive
[2005/09/24 14:02:00, 6] lib/wins_srv.c:wins_srv_ip_tag(308)
Current wins server for tag '*' with source 0.0.0.0 is 192.168.192.60
[2005/09/24 14:02:00, 10] lib/gencache.c:gencache_get(285)
Cache entry with key = WINS_SRV_DEAD/192.168.192.60,0.0.0.0 couldn't
be found
[2005/09/24 14:02:00, 4] lib/wins_srv.c:wins_srv_is_dead(111)
wins_srv_is_dead: 192.168.192.60 is alive
[2005/09/24 14:02:00, 3] libsmb/namequery.c:resolve_wins(791)
resolve_wins: using WINS server 192.168.192.60 and tag '*'
[2005/09/24 14:02:00, 10] lib/util_sock.c:open_socket_in(832)
bind succeeded on port 0
[2005/09/24 14:02:00, 5] libsmb/nmblib.c:send_udp(777)
Sending a packet of len 50 to (192.168.192.60) on port 137
[2005/09/24 14:02:00, 10] lib/util_sock.c:read_udp_socket(286)
read_udp_socket: lastip 192.168.192.60 lastport 137 read: 56
[2005/09/24 14:02:00, 10] libsmb/nmblib.c:parse_nmb(506)
parse_nmb: packet id = 8179
[2005/09/24 14:02:00, 5] libsmb/nmblib.c:read_packet(755)
Received a packet of len 56 from (192.168.192.60) port 137
[2005/09/24 14:02:00, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.192.60(137) header: id=8179 opcode=Query(0)
response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No
auth=Yes
header: rcode=3 qdcount=0 ancount=0 nscount=0 arcount=0
[2005/09/24 14:02:00, 3] libsmb/namequery.c:name_query(440)
Negative name query response, rcode 0x03: The name requested does not
exist.
[2005/09/24 14:02:00, 3] libsmb/namequery.c:resolve_lmhosts(855)
resolve_lmhosts: Attempting lmhosts lookup for name
hqdc01.hq.navis.net<0x20>
[2005/09/24 14:02:00, 4] libsmb/namequery.c:getlmhostsent(606)
getlmhostsent: lmhost entry: 127.0.0.1 localhost
[2005/09/24 14:02:00, 4] libsmb/namequery.c:getlmhostsent(606)
getlmhostsent: lmhost entry: 192.168.192.60 hqdc01 hqdc01.hq.navis.net
[2005/09/24 14:02:00, 4] libsmb/namequery.c:getlmhostsent(606)
getlmhostsent: lmhost entry: 192.168.192.61 hqdc02 hqdc02.hq.navis.net
[2005/09/24 14:02:00, 3] libsmb/namequery.c:name_resolve_bcast(694)
name_resolve_bcast: Attempting broadcast lookup for name
hqdc01.hq.navis.net<0x20>
[2005/09/24 14:02:00, 10] lib/util_sock.c:open_socket_in(832)
bind succeeded on port 0
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_KEEPALIVE = 0
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_REUSEADDR = 1
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_BROADCAST = 1
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(201)
Could not test socket option TCP_NODELAY.
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(201)
Could not test socket option TCP_KEEPCNT.
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(201)
Could not test socket option TCP_KEEPIDLE.
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(201)
Could not test socket option TCP_KEEPINTVL.
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(203)
socket option IPTOS_LOWDELAY = 0
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(203)
socket option IPTOS_THROUGHPUT = 0
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_SNDBUF = 110592
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_RCVBUF = 110592
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_SNDLOWAT = 1
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_RCVLOWAT = 1
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_SNDTIMEO = 0
[2005/09/24 14:02:00, 5] lib/util_sock.c:print_socket_options(203)
socket option SO_RCVTIMEO = 0
[2005/09/24 14:02:00, 5] libsmb/nmblib.c:send_udp(777)
Sending a packet of len 50 to (192.168.195.255) on port 137
[2005/09/24 14:02:00, 5] libsmb/nmblib.c:send_udp(777)
Sending a packet of len 50 to (192.168.195.255) on port 137
[2005/09/24 14:02:00, 5] libsmb/nmblib.c:send_udp(777)
Sending a packet of len 50 to (192.168.195.255) on port 137
[2005/09/24 14:02:01, 4] libsmb/namequery.c:get_dc_list(1406)
get_dc_list: returning 0 ip addresses in an unordered list
[2005/09/24 14:02:01, 4] libsmb/namequery.c:get_dc_list(1407)
get_dc_list:
[2005/09/24 14:02:01, 0] utils/net_ads.c:ads_startup(191)
ads_connect: No such file or directory
[2005/09/24 14:02:01, 2] utils/net.c:main(873)
return code = -1
-----Original Message-----
From: samba-bounces+tjencks=navis.com at lists.samba.org
[mailto:samba-bounces+tjencks=navis.com at lists.samba.org] On Behalf Of
Theodore Jencks
Sent: Friday, September 23, 2005 5:35 PM
To: samba at lists.samba.org
Subject: RE: [Samba] ADS Issues and possible bug in 3.0.20
As a follow up to my post I have run an strace on my system of the
following command:
Net ads join -U tjencks "HQ Servers"
Here is the end of the strace file:
gettimeofday({1127521399, 434197}, NULL) = 0
gettimeofday({1127521399, 434351}, NULL) = 0
select(7, [6], NULL, NULL, {0, 90000}) = 0 (Timeout)
stat64("/var/lock/samba", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/var/lock/samba/unexpected.tdb", O_RDONLY|O_LARGEFILE) = 7
read(7, "TDB file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
168) = 168
fstat64(7, {st_mode=S_IFREG|0644, st_size=73728, ...}) = 0
mmap2(NULL, 73728, PROT_READ, MAP_SHARED, 7, 0) = 0xb779e000
munmap(0xb779e000, 73728) = 0
close(7) = 0
gettimeofday({1127521399, 524936}, NULL) = 0
close(6) = 0
time(NULL) = 1127521399
open("/etc/localtime", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb77af000
read(6, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0"...,
4096) = 1017
close(6) = 0
munmap(0xb77af000, 4096) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
time([1127521399]) = 1127521399
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
socket(PF_FILE, SOCK_DGRAM, 0) = 6
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
connect(6, {sa_family=AF_FILE, path="/dev/log"}, 16) = 0
send(6, "<11>Sep 23 17:23:19 net: [2005/0"..., 83, MSG_NOSIGNAL) = 83
geteuid32() = 0
write(2, "[2005/09/23 17:23:19, 0] utils/n"..., 58) = 58
time([1127521399]) = 1127521399
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
send(6, "<11>Sep 23 17:23:19 net: ads_c"..., 66, MSG_NOSIGNAL) = 66
geteuid32() = 0
write(2, " ads_connect: No such file or d"..., 41) = 41
exit_group(-1) = ?
Process 4835 detached
Not really sure what to make of this, I can't really determine if the
program is really looking for a file that it can't find though I find
this entry odd: ("/var/lock/samba/unexpected.tdb" Not quite sure what
the unexpected.tdb is for.
Regards,
Theo
-----Original Message-----
From: samba-bounces+tjencks=navis.com at lists.samba.org
[mailto:samba-bounces+tjencks=navis.com at lists.samba.org] On Behalf Of
Theodore Jencks
Sent: Friday, September 23, 2005 4:34 PM
To: samba at lists.samba.org
Subject: [Samba] ADS Issues and possible bug in 3.0.20
Before I lay out the problems I am currently suffering from let me
describe my environment:
Dell OptiPlex GX270 2.6Ghz 512MB Ram RedHat Linux Fedora Core 3 with all
current updates. Samba compile is version 3.0.20 stable.
Uname -a: Linux theo.hq.navis.net 2.6.12-1.1378_FC3 #1 Wed Sep 14
04:24:31 EDT 2005 i686 i686 i386 GNU/Linux
Everything was running fine until my last YUM update. Where upon my
machine account via wbinfo -t failed to work.
While I am on the subject this particular directive doesn't work:
ldap idmap suffix = dc=hq,dc=navis,dc=net
I find from my LDAP logs that something is adding an extra comma at the
end of the LDAP DN when doing a search. I was able to resolve this
issue with the help of:
Ldap suffix
Directive which doesn't append the comma.
So to get back on topic everything about ads was working fine for me I
then ran a recent YUM update which added a new kernel and some CUPS libs
I believe. After which ADS is now broken...there is nothing wrong with
my Kerberos settings as I am granted a ticket when doing kinit
"username".
Now when I try and do a:
Net ads join -U tjencks "organizationalUnit" I get the following
response:
[root at theo nsswitch]# net ads join -U tjencks "HQ Servers"
tjencks's password:
[2005/09/23 11:55:00, 0] utils/net_ads.c:ads_startup(191)
ads_connect: No such file or directory
I've checked the web for this and I'm not sure what the function
ads_connect is really missing. Below is my smb.conf file followed by my
samba 3.0.20 compile options:
[root at theo source]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[software]"
Processing section "[printers]"
Loaded services file OK.
'winbind separator = +' might cause problems with group membership.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions
[global]
workgroup = HQ
realm = HQ.NAVIS.NET
server string = Theo's samba server
security = ADS
password server = hqdc01.hq.navis.net
log file = /var/log/samba/smbd.log
max log size = 4096
name resolve order = wins lmhosts bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
dns proxy = No
wins server = 192.168.192.60
ldap admin dn = cn=Manager,dc=navis,dc=net
ldap suffix = ou=idmap,dc=hq,dc=navis,dc=net
idmap backend = ldap:ldap://localhost
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/bash
winbind separator = +
winbind cache time = 10
winbind use default domain = Yes
cups options = raw
[software]
comment = Software for the Navis Information Technology
department.
path = /share/software
valid users = tjencks
admin users = tjencks
create mask = 0765
force create mode = 0640
force directory mode = 0750
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
CFLAGS="-O2 -march=i686"; export CFLAGS
./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--datadir=/usr/share --sysconfdir=/etc -
-localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man
--with-privatedir=/etc/samba --with-lo
ckdir=/var/lock/samba --with-piddir=/var/run/samba
--with-swatdir=/inet/swat --with-configdir=/etc/samba --w
ith-logfilebase=/var/log/samba --with-mandir=/usr/share/man
--with-smbwrapper --with-dce-dfs --with-ldap --w
ith-ads --with-krb5=/usr --with-automount --with-smbmount --with-pam
--with-pam_smbpass --with-syslog --with
-quotas --with-libsmbclient --with-acl-support --with-aio-support
--with-winbind
========================================================================
===
Theodore A. Jencks
Network Systems Administrator
1000 Broadway, Suite 150
Oakland, CA 94607
Phone: (510) 267.5152
Fax: (510) 267.5100
Email: tjencks at navis.com
http://www.navis.com <http://www.navis.com/>
This e-mail message and any files attached to it are intended only for
the recipients named above, and may contain information that is
PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, or
the employee or agent responsible for delivering this message to an
intended recipient, you are strictly prohibited from reading, copying,
distributing, disclosing or otherwise using this communication. Please
immediately notify the sender, either by replying to this message or by
telephoning (+1 510 267 5000), and delete all copies of this message
from your system.
--
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
More information about the samba
mailing list