Hmmm.... This did produce some interesting output.  The output of the
gendiag is in the attachment.

Here is the info:

bash-3.2# sh cifs-chkcfg.sh 
cifs-chkcfg.sh: smbsrv: not found
CIFS driver (smbsrv) is not installed
make sure CIFS packages are installed properly
Usage: grep -hblcnsviw pattern file . . .
bash-3.2# svcadm enable -r smb/server
svcadm: svc:/milestone/network depends on svc:/network/physical, which has
multiple instances.


Thank you for taking time to look at this.  We feel that CIFS/ZFS is going
to be a big part of future, so again... we really appreciate your help.

Thanks,

Matt




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 12, 2008 2:01 PM
To: Burger, Matthew Ryan
Cc: [EMAIL PROTECTED]; Eoin Barry; linda kateley;
[EMAIL PROTECTED]; Wade, Joseph B;
[email protected]
Subject: Re: [cifs-discuss] [storage-discuss] [Fwd: CIFS Server Joining IU's
ADS]

Please run the following script and see if it complains:

http://opensolaris.org/os/project/cifs-server/files/cifs-chkcfg.sh

Please run the following script and send us the output:

http://opensolaris.org/os/project/cifs-server/files/cifs-gendiag.sh

Afshin

Burger, Matthew Ryan wrote:
> I did, indeed, sync the clocks
>
>
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2008 10:39 AM
> To: Eoin Barry
> Cc: linda kateley; [EMAIL PROTECTED];
> [email protected]
> Subject: Re: [cifs-discuss] [storage-discuss] [Fwd: CIFS Server Joining
IU's
> ADS]
>
>
>
> Did you sync the clocks . See step 3 in the procedure described here:
> http://blogs.sun.com/timthomas/en_GB/category/OpenSolaris
>
> Eoin Barry said the following :
>
> copying the cifs-discuss alias to get their input...
>
> linda kateley wrote:
>
> can i get a little help on this?
>
>
>
>   _____
>
>
>
>
> Subject:
>
> CIFS Server Joining IU's ADS
>
>
> From:
>
> "Burger, Matthew Ryan"  <mailto:[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
>
>
> Date:
>
> Fri, 12 Sep 2008 09:30:51 -0400
>
>
> To:
>
>  <mailto:[EMAIL PROTECTED]> "[EMAIL PROTECTED]"
> <mailto:[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
>
>
>
>
> To:
>
>  <mailto:[EMAIL PROTECTED]> "[EMAIL PROTECTED]"
> <mailto:[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
>
>
> CC:
>
> "Wade, Joseph B"  <mailto:[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
>
>
>
>
>
> Hello,
>
>
>
> I had a conversation with you yesterday and would be very interested in
> getting CIFS running on IU's Active Directory.
>
>
>
> This is basically what I get every time I try to join the domain:
>
>
>
> bash-3.2# smbadm join -u maburger ads.iu.edu
>
> This operation requires that the service be restarted.
>
> Would you like to continue ? [no]: yes
>
> Enter domain password:
>
> Joining 'ads.iu.edu' ... this may take a minute ...
>
> failed to join domain 'ads.iu.edu' (LOGON_FAILURE)
>
>
>
> I have set the krb5.conf and the nsswitch.conf files, as well as added the
> domain to the resolv.conf.
>
>
>
> Any ideas and/or help would be greatly appreciated.
>
>
>
> Thanks,
>
>
> Matthew Burger
>
> [EMAIL PROTECTED]
>
> 317-491-6429
>
>
>
>
>   _____
>
>
>
>
> _______________________________________________
> storage-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/storage-discuss
>
>
>
>
>
>   _____
>
>
>
>
> _______________________________________________
> cifs-discuss mailing list
> [EMAIL PROTECTED]
> http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> cifs-discuss mailing list
> [EMAIL PROTECTED]
> http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Fri Sep 12 14:39:49 EDT 2008

+==========================================
| 0) OS and Hardware
+==========================================
SunOS in-path-kramer 5.11 snv_97 i86pc i386 i86pc

+==========================================
| 0) NS Switch (/etc/nsswitch.conf)
+==========================================
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

#
# /etc/nsswitch.dns:
#
# An example file that could be copied over to /etc/nsswitch.conf; it uses
# DNS for hosts lookups, otherwise it does not use any other naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

# DNS service expects that an instance of svc:/network/dns/client be
# enabled and online.

passwd:     compat winbind
group:      compat winbind
shadow:     files

# You must also set up the /etc/resolv.conf file for DNS name
# server lookup.  See resolv.conf(4).
hosts:      files dns wins

# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes:   files dns

networks:   files dns
protocols:  db files
rpc:        db files
ethers:     db files
netmasks:   files
bootparams: files
publickey:  files
# At present there isn't a 'files' backend for netgroup;  the system will 
#   figure it out pretty quickly, and won't use netgroups at all.
netgroup:   files
automount:  files
aliases:    files
services:   db files
printers:       user files

auth_attr:  files
prof_attr:  files
project:    files

tnrhtp:     files
tnrhdb:     files

+==========================================
| 0) Resolver (/etc/resolv.conf)
+==========================================
domain pathology.iupui.edu
nameserver 134.68.1.9
nameserver 134.68.1.2
nameserver 129.79.1.1
domain ads.iu.edu
search pathology.iupui.edu iupui.edu ads.iu.edu iu.edu indiana.edu

+==========================================
| 0) Kerberos (/etc/krb5/krb5.conf)
+==========================================
[libdefaults]
        dns_lookup_realm = on

[realms]
        ADS.IU.EDU = {
                kdc = ads.iu.edu
                admin_server = ads.iu.edu
        }

[logging]
        default = FILE:/var/krb5/kdc.log
        kdc = FILE:/var/krb5/kdc.log

+==========================================
| 0) Network and routing information
+==========================================
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000 
e1000g0: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 
index 2
        inet 134.68.104.223 netmask ffffff00 broadcast 134.68.104.255
        ether 0:d:56:a5:66:88 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
index 1
        inet6 ::1/128 


Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface 
-------------------- -------------------- ----- ----- ---------- --------- 
default              134.68.104.254       UG        1       2393           
134.68.104.0         134.68.104.223       U         1        138 e1000g0   
127.0.0.1            127.0.0.1            UH        1        398 lo0       

Routing Table: IPv6
  Destination/Mask            Gateway                   Flags Ref   Use    If   
--------------------------- --------------------------- ----- --- ------- ----- 
::1                         ::1                         UH      1      28 lo0   

+==========================================
| 0) ZFS
+==========================================

| 0.1) List of zpools available
+------------------------------------------
no pools available

| 0.1) List of datasets available
+------------------------------------------
no datasets available

| 0.1) Zpools properties
+------------------------------------------


| 0.1) Datasets properties
+------------------------------------------

+==========================================
| 0) idmap
+==========================================

| 0.1) Properties
+------------------------------------------
config                         application
config/list_size_limit         count    0
config/stability               astring  Unstable
config/value_authorization     astring  solaris.smf.value.idmap
config/machine_sid             astring  
S-1-5-21-2445164008-3524814807-3444540951
rpcbind                        dependency
rpcbind/entities               fmri     svc:/network/rpc/bind
rpcbind/grouping               astring  require_all
rpcbind/restart_on             astring  restart
rpcbind/type                   astring  service
filesystem-minimal             dependency
filesystem-minimal/entities    fmri     svc:/system/filesystem/minimal
filesystem-minimal/grouping    astring  require_all
filesystem-minimal/restart_on  astring  error
filesystem-minimal/type        astring  service
general                        framework
general/action_authorization   astring  solaris.smf.manage.idmap
general/entity_stability       astring  Unstable
general/single_instance        boolean  true
general/value_authorization    astring  solaris.smf.manage.idmap
start                          method
start/exec                     astring  /usr/lib/idmapd
start/timeout_seconds          count    60
start/type                     astring  method
stop                           method
stop/exec                      astring  :kill
stop/timeout_seconds           count    60
stop/type                      astring  method
refresh                        method
refresh/exec                   astring  ":kill -HUP"
refresh/timeout_seconds        count    60
refresh/type                   astring  method
tm_common_name                 template
tm_common_name/C               ustring  "Native Identity Mapping Service"
tm_man_idmapd                  template
tm_man_idmapd/manpath          astring  /usr/share/man
tm_man_idmapd/section          astring  1M
tm_man_idmapd/title            astring  idmapd
tm_man_idmap                   template
tm_man_idmap/manpath           astring  /usr/share/man
tm_man_idmap/section           astring  1M
tm_man_idmap/title             astring  idmap

| 0.1) name-based mapping rules
+------------------------------------------

| 0.1) mappings cache
+------------------------------------------
-----------------------

+==========================================
| 0) Shares
+==========================================
default nfs=()
zfs

| 0.1) ACL of shared directories
+------------------------------------------

+==========================================
| 0) CIFS
+==========================================

| 0.1) Status
+------------------------------------------
fmri         svc:/network/smb/server:default
name         smbd daemon
enabled      true
state        online
next_state   none
state_time   Wed Sep 10 16:13:58 2008
logfile      /var/svc/log/network-smb-server:default.log
restarter    svc:/system/svc/restarter:default
contract_id  66 
dependency   require_any/error svc:/milestone/network (online)
dependency   require_all/error svc:/system/filesystem/local (online)
dependency   require_all/error svc:/system/idmap:default (online)

219 f99d5000  3fb98 210   1  smbsrv (CIFS Server Protocol 1.4)

svc:/network/smb/server:default (smbd daemon)
 State: online since Wed Sep 10 16:13:58 2008
   See: man -M /usr/share/man -s 1M smbd
   See: /var/svc/log/network-smb-server:default.log
Impact: None.

| 0.1) Package Info
+------------------------------------------
system      SUNWsmbskr                       SMB Server (Kernel)
system      SUNWsmbsr                        SMB Server (Root)
system      SUNWsmbsu                        SMB Server (Usr)

| 0.1) Properties
+------------------------------------------
read                             application
read/machine_passwd              astring  
read/read_authorization          astring  solaris.smf.read.smb
read/value_authorization         astring  solaris.smf.value.smb
smbd                             application
smbd/ads_site                    astring  
smbd/autohome_map                astring  /etc
smbd/ddns_enable                 boolean  false
smbd/domain_name                 astring  WORKGROUP
smbd/domain_sid                  astring  
smbd/keep_alive                  integer  5400
smbd/kpasswd_domain              astring  
smbd/kpasswd_seqnum              integer  0
smbd/kpasswd_server              astring  
smbd/lmauth_level                integer  4
smbd/max_connections             integer  -1
smbd/max_workers                 integer  64
smbd/mlrpc_keep_alive_interval   integer  30
smbd/netbios_scope               astring  
smbd/netlogon_seqnum             integer  0
smbd/oplock_enable               boolean  false
smbd/pdc                         astring  
smbd/restrict_anonymous          boolean  false
smbd/security                    astring  workgroup
smbd/signing_check               boolean  false
smbd/signing_enabled             boolean  false
smbd/signing_required            boolean  false
smbd/srvsvc_sharesetinfo_enable  boolean  false
smbd/stability                   astring  Evolving
smbd/sync_enable                 boolean  false
smbd/system_comment              astring  
smbd/value_authorization         astring  solaris.smf.value.smb
smbd/wins_exclude                astring  
smbd/wins_server_1               astring  
smbd/wins_server_2               astring  
smbd/domain_member               boolean  false
network                          dependency
network/entities                 fmri     svc:/milestone/network
network/grouping                 astring  require_any
network/restart_on               astring  error
network/type                     astring  service
filesystem-local                 dependency
filesystem-local/entities        fmri     svc:/system/filesystem/local
filesystem-local/grouping        astring  require_all
filesystem-local/restart_on      astring  error
filesystem-local/type            astring  service
idmap                            dependency
idmap/entities                   fmri     svc:/system/idmap:default
idmap/grouping                   astring  require_all
idmap/restart_on                 astring  error
idmap/type                       astring  service
general                          framework
general/action_authorization     astring  solaris.smf.manage.smb
general/entity_stability         astring  Evolving
general/single_instance          boolean  true
general/value_authorization      astring  solaris.smf.manage.smb
dependents                       framework
dependents/groups                fmri     svc:/network/shares/group
start                            method
start/exec                       astring  "/usr/lib/smbsrv/smbd %m"
start/group                      astring  sys
start/limit_privileges           astring  :default
start/privileges                 astring  
basic,net_mac_aware,net_privaddr,proc_audit,sys_devices,sys_smb
start/project                    astring  :default
start/resource_pool              astring  :default
start/supp_groups                astring  :default
start/timeout_seconds            count    60
start/type                       astring  method
start/use_profile                boolean  false
start/user                       astring  root
start/working_directory          astring  :default
stop                             method
stop/exec                        astring  :kill
stop/timeout_seconds             count    60
stop/type                        astring  method
refresh                          method
refresh/exec                     astring  ":kill -HUP"
refresh/timeout_seconds          count    60
refresh/type                     astring  method
tm_common_name                   template
tm_common_name/C                 ustring  "smbd daemon"
tm_man_smbd                      template
tm_man_smbd/manpath              astring  /usr/share/man
tm_man_smbd/section              astring  1M
tm_man_smbd/title                astring  smbd

Workgroup: WORKGROUP


| 0.1) SMB local groups
+------------------------------------------
administrators (Members can fully administer the computer/domain)
        SID: S-1-5-32-544
        Privileges: 
                SeTakeOwnershipPrivilege: On
                SeBackupPrivilege: Off
                SeRestorePrivilege: Off
        No members
backup operators (Members can bypass file security to back up files)
        SID: S-1-5-32-551
        Privileges: 
                SeTakeOwnershipPrivilege: Off
                SeBackupPrivilege: On
                SeRestorePrivilege: On
        No members
power users (Members can share directories)
        SID: S-1-5-32-547
        Privileges: 
                SeTakeOwnershipPrivilege: Off
                SeBackupPrivilege: Off
                SeRestorePrivilege: Off
        No members

| 0.1) SMB PAM module
+------------------------------------------


| 0.1) SMB local password file
+------------------------------------------

+==========================================
| 0) System log (last 50 lines)
+==========================================
Sep 12 07:25:13 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 07:25:14 in-path-kramer last message repeated 3 times
Sep 12 07:45:14 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 07:45:14 in-path-kramer last message repeated 3 times
Sep 12 08:05:14 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 08:05:14 in-path-kramer last message repeated 3 times
Sep 12 08:25:16 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 08:25:17 in-path-kramer last message repeated 3 times
Sep 12 08:45:17 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 08:45:17 in-path-kramer last message repeated 3 times
Sep 12 09:05:17 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 09:05:17 in-path-kramer last message repeated 3 times
Sep 12 09:25:17 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 09:25:17 in-path-kramer last message repeated 3 times
Sep 12 09:26:40 in-path-kramer smbd[542]: [ID 871254 daemon.error] smbd: failed 
joining ads.iu.edu (LOGON_FAILURE)
Sep 12 09:31:20 in-path-kramer last message repeated 2 times
Sep 12 09:45:18 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 09:45:18 in-path-kramer last message repeated 3 times
Sep 12 10:05:18 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 10:05:18 in-path-kramer last message repeated 3 times
Sep 12 10:25:18 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 10:25:19 in-path-kramer last message repeated 3 times
Sep 12 10:45:19 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 10:45:19 in-path-kramer last message repeated 3 times
Sep 12 11:05:19 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 11:05:19 in-path-kramer last message repeated 3 times
Sep 12 11:16:26 in-path-kramer su: [ID 810491 auth.crit] 'su root' failed for 
maburger on /dev/pts/2
Sep 12 11:18:24 in-path-kramer smbd[542]: [ID 871254 daemon.error] smbd: failed 
joining ads.iu.edu (LOGON_FAILURE)
Sep 12 11:25:19 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 11:25:19 in-path-kramer last message repeated 3 times
Sep 12 11:45:20 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 11:45:20 in-path-kramer last message repeated 3 times
Sep 12 12:05:20 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 12:05:20 in-path-kramer last message repeated 3 times
Sep 12 12:14:39 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 12:18:38 in-path-kramer last message repeated 15 times
Sep 12 12:37:23 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 12:37:23 in-path-kramer last message repeated 7 times
Sep 12 12:57:23 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 12:57:24 in-path-kramer last message repeated 3 times
Sep 12 13:17:24 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 13:17:24 in-path-kramer last message repeated 3 times
Sep 12 13:37:24 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 13:37:24 in-path-kramer last message repeated 3 times
Sep 12 13:57:25 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 13:57:25 in-path-kramer last message repeated 3 times
Sep 12 14:17:25 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail
Sep 12 14:17:25 in-path-kramer last message repeated 3 times
Sep 12 14:34:17 in-path-kramer su: [ID 810491 auth.crit] 'su root' failed for 
maburger on /dev/pts/2
Sep 12 14:37:25 in-path-kramer idmap[434]: [ID 153168 daemon.notice] Couldn't 
open and SASL bind LDAP connections to any domain controllers; discovery of 
some items will fail

+==========================================
| 0) smb/server SMF log (last 50 lines)
+==========================================
[ Sep 10 08:14:44 Disabled. ]
[ Sep 10 08:14:44 Rereading configuration. ]
[ Sep 10 08:45:24 Enabled. ]
[ Sep 10 08:45:25 Executing start method ("/usr/lib/smbsrv/smbd start"). ]
smbd: NetBIOS services started
[ Sep 10 08:45:26 Method "start" exited with status 0. ]
[ Sep 10 16:11:20 Stopping because service disabled. ]
[ Sep 10 16:11:21 Executing stop method (:kill). ]
[ Sep 10 16:12:21 Method or service exit timed out.  Killing contract 104. ]
[ Sep 10 16:13:56 Executing start method ("/usr/lib/smbsrv/smbd start"). ]
smbd: NetBIOS services failed to start
[ Sep 10 16:13:58 Method "start" exited with status 0. ]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to