ERROR samba server

5 May

Pada saat setup service samba, walaupun service berjalan normal, serta dapat digunakan dengan baik.
Tetatpi ternyata jika diperiksa dengan tail /var/log /messages, akan dijumpai seperti berikut :
================
error :
================
1. Apr 30 10:57:43 linux smbd[8416]: call_nt_transact_ioctl(0x9009c): Currently not implemented.
2. Apr 30 11:00:57 linux smbd[7304]: nb03 (172.20.200.222) couldn’t find service cb_pp
3. Apr 30 14:50:48 linux smbd[16682]: [2009/04/30 14:50:48, 0] smbd/service.c:make_connection(1191)
4. Apr 30 14:50:48 linux smbd[16682]: kf99 (172.20.231.99) couldn’t find service gv_pp
5. Apr 30 14:54:16 linux smbd[15895]: [2009/04/30 14:54:16, 0] lib/util_sock.c:read_data(534)
6. Apr 30 14:54:16 linux smbd[15895]: read_data: read failure for 4 bytes to client 172.20.200.15. Error = No route to host

setelah “putar-putar”, ternyata jawaban simpel, ya karena konfigurasi sambanya kurang lengkap ?????
memang saya belum optimal untuk explorasi, mana saja yang nggak perlu ditulis di smb.conf yang baru
sebab sudah dikejar deadline……………server dibutuhkan segera

intinya setiapkali ganti versi samba, ternayata tidak serta merta konfigurasi dapat dipakai semua.

==========================
KONFIGURASI LAMA smb.conf
==========================
[global]
netbios name = linux
admin users = Administrator

workgroup = UBSLINUX.COM
server string = linux
encrypt passwords = yes
os level = 65

domain master = yes
preferred master = yes
domain logons = yes

passdb backend = ldapsam:ldap://localhost
ldap suffix = dc=ubslinux,dc=com
ldap admin dn = cn=Manager,dc=ubslinux,dc=com
ldap user suffix = ou=People
ldap group suffix = ou=Group
ldap machine suffix = ou=Computers
ldap passwd sync = yes

logon path =
logon home =
logon drive =

log file = /var/log/samba/%m.log
max log size = 50
security = domain

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no

idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = yes
ldap passwd sync = yes
winbind use default domain = no
#================== EDP Share Definitions ===================
[edp_driver]
comment = directory edp driver
path = /s01/driver
valid users = @edp_driver
write list = @edp_driver
create mask = 0775
directory mask = 0775

==========================
KONFIGURASI BARU smb.conf
==========================
[global]
netbios name = LINUX
admin users = Administrator

workgroup = UBSLINUX.COM
server string = Samba Server
encrypt passwords = yes
os level = 33

domain master = yes
preferred master = yes
domain logons = yes

passdb backend = ldapsam:ldap://localhost
ldap suffix = dc=ubslinux,dc=com
ldap admin dn = cn=Manager,dc=ubslinux,dc=com
ldap user suffix = ou=People
ldap group suffix = ou=Group
ldap machine suffix = ou=Computers
ldap passwd sync = yes
add machine script = /usr/local/sbin/smbldap-useradd.pl -w %u
add user script = /usr/local/sbin/smbldap-useradd -m “%u”
delete user script = /usr/local/sbin/smbldap-userdel “%u”
add machine script = /usr/local/sbin/smbldap-useradd -t 0 -w “%u”
add group script = /usr/local/sbin/smbldap-groupadd -p “%g”
delete group script = /usr/local/sbin/smbldap-groupdel “%g”
add user to group script = /usr/local/sbin/smbldap-groupmod -m “%u” “%g”
delete user from group script = /usr/local/sbin/smbldap-groupmod -x “%u” “%g”
set primary group script = /usr/local/sbin/smbldap-usermod -g ‘%g’ ‘%u’
load printers = yes
log file = /var/log/samba/%m.log
max log size = 50
security = domain
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
idmap uid = 15000-80000
idmap gid = 15000-80000
template shell = /bin/false
winbind use default domain = no
ldap passwd sync = yes

logon path =
logon drive =
logon home =
logon script =

passwd program = /usr/local/sbin/smbldap-passwd -u %u
passwd chat = “Changing password for*\nNew password*” %n\n “*Retype new password*” %n\n”
log level = 0
syslog = 0
time server = Yes
printer admin = @”Print Operators”
load printers = Yes
create mask = 0640
directory mask = 0750
nt acl support = No
printing = cups
printcap name = cups
deadtime = 10
guest account = nobody
map to guest = Bad User
dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
show add printer wizard = yes
preserve case = yes
short preserve case = yes
case sensitive = no

#================== EDP Share Definitions ===================
[edp_driver]
comment = directory edp driver
path = /s01/driver
valid users = @edp_driver
write list = @edp_driver
create mask = 0775
directory mask = 0775

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: