SAMBA伺服器無法登陸
求助SAMBA搭PDC 客戶端無法登陸
SMB.CONF
1
2
3
4
5 workgroup = Qdomain
6 server string = Samba Server Version %v
7
8 netbios name = Qin
9 : socket options=TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
10 ; os level=64
11 interfaces = eth0
12 hosts allow = 127. 192.168.12. 192.168.13. 192.168.2. 192.168.6.
13 ; preferred master=yes
14 ; local master=yes
15 ; domain master=yes
16 # logs split per machine
17 log file = /var/log/samba/%m.log
18 # max 50KB per log file, then rotate
19 max log size = 50
20
21
22 security = user
23 passdb backend = tdbsam
24
25
26
27
28 ; security = domain
29 ; passdb backend = tdbsam
30 ; realm = MY_REALM
31
32 ; password server = <NT-Server-Name>
33
34 ; security = user
35 ; passdb backend = tdbsam
36
37 domain master = yes
38 domain logons = yes
39 logon script=startup.bat
40 # the login script name depends on the machine name
41 logon script = startup.bat
42 # the login script name depends on the unix user used
43 ; logon script = %u.bat
44 ; logon path = \\%L\Profiles\%u
45 # disables profiles support by specifing an empty path
46 ; logon path =
47
48 ; add user script = /usr/sbin/useradd "%u" -n -g users
49 ; add group script = /usr/sbin/groupadd "%g"
50 ; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
51 ; delete user script = /usr/sbin/userdel "%u"
52 ; delete user from group script = /usr/sbin/userdel "%u" "%g"
53 ; delete group script = /usr/sbin/groupdel "%g"
54
55
56 local master = no
57 os level = 200
58 preferred master = yes
59
60
61 ; wins support = yes
62 ; wins server = w.x.y.z
63 ; wins proxy = yes
64
65 ; dns proxy = yes
66
67
68 ; load printers = yes
69 ; cups options = raw
70
71 ; printcap name = /etc/printcap
72 #obtain list of printers automatically on SystemV
73 ; printcap name = lpstat
74 ; printing = cups
75
76
77 ; map archive = no
78 ; map hidden = no
79 ; map read only = no
80 ; map system = no
81 ; store dos attributes = yes
82
83 comment=share
84 path=/home/samba
85 browseable=yes
86 public=yes
87
88
89
90 comment = Home Directories
91 browseable = no
92 writable = yes
93 ; valid users = %S
94 ; valid users = MYDOMAIN\%S
95
96
97
98
99 comment = All Printers
100 path = /var/spool/samba
101 browseable = no
102 guest ok = no
103 writable = no
104 printable = yes
105
106
107 comment = Network Logon Service
108 path = /home/samba/netlogon
109 guest ok = yes
110 writable = no
111 share modes = no
112 follow symlinks = yes
113
114
115 ;
116 ; path = /var/lib/samba/profiles
117 ; browseable = no
118 ; guest ok = yes
119
120
121 ;
122 ; comment = Public Stuff
123 ; path = /home/samba
124 ; public = yes
125 ; writable = yes
126 ; printable = no
127 ; write list = +staff
SMB用戶如下
# pdbedit -L
root:0:root
test1$:502:
qin$:500:machine id
客戶端登陸顯示加入域「Qdomain」時出現了如下錯誤:找不到用戶名 用戶用ROOT登陸
《解決方案》
自己頂貼!!!手工頂帖
《解決方案》
自己頂貼!!!手工頂帖