[Samba] join w2k to samba PDC error
Muhammad Reza
reza at mra.co.id
Thu Dec 11 09:06:10 GMT 2003
dear List.
I have already configure samba-2.2.7a.mdk.rpm as a PDC. but i cant join
my w2k pro box to join my new PDC.
I assume something broken in my configuration.
# Global parameters
[global]
;basic server settings
workgroup = MRALNX
netbios name = MDK
server string = Samba PDC Server %v
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
;security and logging settings
security = user
encrypt passwords = Yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
hosts allow = 127.0.0.1 172.16.0.0/255.255.255.0
;user profiles and home directory
logon home = \\%N\%U\.profile
logon drive = H:
logon path = \\%N\profiles\%U
logon script = netlogon.bat
;PDC and master browser settings
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
local master = Yes
# Shares Parameters
[homes]
comment = Home Directories
browseable = no
writeable = yes
[profiles]
path = /var/lib/samba/profiles
writeable = yes
browseable= no
create mask = 0600
directory mask = 0700
[netlogon]
path = /var/lib/samba/netlogon
read only = yes
write list = @admin
file permission:
[root at mdk samba]# ls -la /var/lib/samba/netlogon/
total 8
drwxrwxr-x 2 root admins 4096 Mar 14 2003 ./
drwxr-xr-x 6 root root 4096 Dec 9 12:45 ../
[root at mdk samba]#ls -la /var/lib/samba/profiles/
total 8
drwxr-xrwt 2 root users 4096 Mar 14 2003 ./
drwxr-xr-x 6 root root 4096 Dec 9 12:45 ../
[root at mdk samba]# ls -la /etc/samba/smbpasswd
-rw------- 1 root machines 416 Dec 11 10:32 /etc/samba/smbpasswd
i add machine account that exactly same name with w2k pro box with this
command
[root at mdk samba]# /usr/sbin/useradd -g machines -d /dev/null -c "w2k
gaos" -s /bin/false gaos$
[root at mdk samba]# passwd -l gaos$
[root at mdk samba]#useradd gaos
[root at mdk samba]#passwd gaos
[root at mdk samba]# smbpasswd -a -m backup
when i tried to join to samba PDC from w2kpro (gaos), samba log said:
[2003/12/11 10:40:43, 2] lib/access.c:check_access(329)
Allowed connection from (172.16.0.167)
[2003/12/11 10:40:43, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050)
Returning domain sid for domain MRALNX ->
S-1-5-21-3824138401-4144663620-916235216
[2003/12/11 10:40:43, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
samr_io_userinfo_ctr: unknown switch level 0x1a
[2003/12/11 10:40:43, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/12/11 10:40:43, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd.
Error was Permission denied
[2003/12/11 10:40:43, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418)
unable to open passdb database.
[2003/12/11 10:40:44, 2] smbd/server.c:exit_server(461)
Closing connections
[2003/12/11 10:40:44, 2] lib/access.c:check_access(329)
Allowed connection from (172.16.0.167)
[2003/12/11 10:40:45, 2] smbd/server.c:exit_server(461)
Closing connections
i spent sometimes with googling bit with no result, please help me to
fix this.
regards
reza
More information about the samba
mailing list