[Samba] samba 3.0.13 + solaris 8
Anthony PEROT - Generation Unix
apero at generation-unix.net
Thu Jul 7 08:58:22 GMT 2005
Hi,
I've installed on a Solaris 8 box, using pkg-get (blastwave.org), the
following packages :
- Samba 3.0.13
CSWsamba + CSWsambaclient + CSWsambacommon + CSWsambalib + CSWsambaswat
- MIT Kerberos 1.4.1
CSWkrb5doc + CSWkrb5lib + CSWkrb5user
- OpenLdap 2.1.30 (ldap clients,libraries and server)
CSWoldap
Then, I've verified using smbd -b that samba has been build using LDAP and
Kerberos support, it OK, so I did the following config :
/etc/krb5/krb5.conf
[libdefaults]
default_realm = MYDOMAIN.COM
[realms]
MYDOMAIN.COM = {
kdc = 192.0.0.2
default_domain = MYDOMAIN.COM
}
[domain_realm]
.mydomain.com = MYDOMAIN.COM
mydomain.com = MYDOMAIN.COM
/opt/csw/etc/samba/smb.conf :
[global]
workgroup = DOMAIN
realm = MYDOMAIN.COM
server string = Samba File Server - Sun Solaris 8
netbios name = samba
security = ADS
client schannel = Auto
server schannel = Auto
client signing = Auto
server signing = Auto
client use spnego = No
socket options = TCP_NODELAY
dns proxy = No
# idmap uid = 10000-20000
# idmap gid = 10000-20000
winbind separator = _
winbind enum users = No
winbind enum groups = No
winbind use default domain = No
algorithmic rid base = 10000
dos filetimes = Yes
dos filemode = Yes
acl compatibility = win2k
inherit acls = yes
inherit permissions = yes
encrypt passwords = yes
I did "net ads join" and it has succeded
So, if I launch smbd, nmbd and winbindd they keep on running without
crashing, I can see the server in the network neigbourhood, but if I
double clic on it an authentication window appears and I can enter a
username/password but this windows always appear and I can't access to
browse the shares.
Output of log.smbd when just typing on a workstation "\\samba" :
[2005/07/07 09:49:30, 0] smbd/server.c:(388)
open_sockets_smbd: accept: Software caused connection abort
[2005/07/07 09:49:30, 0] auth/auth_util.c:(1195)
make_server_info_info3: pdb_init_sam failed!
[2005/07/07 09:49:30, 0] smbd/server.c:(388)
open_sockets_smbd: accept: Software caused connection abort
[2005/07/07 09:49:30, 0] auth/auth_util.c:(1195)
make_server_info_info3: pdb_init_sam failed!
[2005/07/07 09:49:30, 0] smbd/server.c:(388)
open_sockets_smbd: accept: Software caused connection abort
[2005/07/07 09:49:30, 0] auth/auth_util.c:(1195)
make_server_info_info3: pdb_init_sam failed!
[2005/07/07 09:49:30, 0] auth/auth_util.c:(1195)
make_server_info_info3: pdb_init_sam failed!
And now when trying to authenticate with a valid username/password :
[2005/07/07 09:51:11, 0] smbd/server.c:(388)
open_sockets_smbd: accept: Software caused connection abort
[2005/07/07 09:51:11, 0] auth/auth_util.c:(1195)
make_server_info_info3: pdb_init_sam failed!
Nothing in log.winbindd
What is working or not working :
wbinfo -t : OK
wbinfo -g : OK but only some BULTIN groups not all and not the other
groups in AD
wbinfo -p : OK
wbinfo -u : Not OK : Error looking up domain users
net user : OK : I get the full list in output
net group : OK : idem
net user INFO <username> : OK
Do you have any idea of what is wrong ?
Thanks
More information about the samba
mailing list