Operating System - HP-UX
1830401 Members
2326 Online
110002 Solutions
New Discussion

Cifs server A.02.01.02, problem with ADS

 
Matteo Pignoni
Advisor

Cifs server A.02.01.02, problem with ADS

Hi all,
I have installed CIFS-Server A.02.01.02 and LdapUxClient B.04.00. I have configured the server with the smb.conf file:

[global]
workgroup = GD
realm = GIDI.IT
netbios name = CAD53
netbios aliases = CAD5332
server string = Samba CAD53
security = ADS
encrypt passwords = Yes
password server = gdbo01dc1
password level = 8
log level = 1
syslog = 0
log file = /var/opt/samba/log/log.%m
preferred master = False
local master = No
domain master = False
wins server = 10.55.10.1
host msdfs = Yes
guest account = pcguest
printer admin = @cdm
show add printer wizard = yes
username map = /etc/opt/samba/username.map

[BACKUP]
comment = condivisione BACKUP
path = /BACKUP
valid users = mpignoni
write list = mpignoni
force create mode = 0777
force directory mode = 0777


The /etc/krb5.conf is:

[libdefaults]
default_realm = GIDI.IT
default_tkt_enctypes = DES-CBC-MD5
default_tgs_enctypes = DES-CBC-MD5
ccache_type = 2
[realms]
GIDI.IT = {
kdc = gdbo01dc1.gidi.it:88
admin_server = gdbo01dc1.gidi.it
}
[domain_realm]
.gidi.it = GIDI.IT
.eth.gidi.it = GIDI.IT
[logging]
kdc = FILE: /var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/KRB5lib.log

The configuration is like the example Unified Domain Model in "HP CIFS Server 3.0b Administrator's Guide version A.02.01.01" (B8725-90079)
I've joinet the domain with the command /opt/samba/bin/net join -W GD -U useradm

Now I can use the share BACKUP, but I have some errors in log file. The strange is that there are 2 log files for my PC (called cdm001 with IP 10.11.50.51): log.cdm001 and log.10.11.50.51

The file log.cdm001 contains:

[2005/07/27 14:08:44, 0] lib/util_sock.c:get_peer_addr(1000)
getpeername failed. Error was Invalid argument
[2005/07/27 14:08:44, 0] lib/util_sock.c:write_socket_data(430)
write_socket_data: write failure. Error = Broken pipe
[2005/07/27 14:08:44, 0] lib/util_sock.c:write_socket(454)
write_socket: Error writing 4 bytes to socket 5: ERRNO = Broken pipe
[2005/07/27 14:08:44, 0] lib/util_sock.c:send_smb(646)


The file log.10.11.50.51 contains:

10.11.50.51 (10.11.50.51) connect to service HOMECAD53 initially as user mpignoni (uid=5241, gid=1111) (pid 5068)
[2005/07/27 13:03:07, 1] smbd/sesssetup.c:reply_spnego_kerberos(263)
Username GIDI.IT\CDM001$ is invalid on this system

It seems that there are some problems with reverse resolution, I don't understand if this is a problem or not.

Thank you
Matteo