I have Samba 2.2.8a on Linux set as a PDC.
Its netbios name is \\DC, and has an alias \\CSWIN
and then I include %L.smb.conf. In dc.smb.conf, I set
"security=share" and all the stuff needed for it to
act like a PDC. It works without any problems..
Here is my cswin.cmb.conf
-------------------------
[global]
server string = Windows Distribution Share
default service = dist
browseable = yes
writeable = no
read only = yes
write list = @staff
# security
security = share
[download]
path = /packages/samba/shares/download
[dist]
path = /packages/samba/shares/dist
Now when I type
net use \\CSWIN\dist /USER:DC\username *
and then type in the password, I get
System error 1326 has occurred.
Logon Failure: unknown username or bad password.
The log file shows:
[2003/05/19 16:08:56, 1] lib/debug.c:debug_message(258)
INFO: Debug class all level = 2 (pid 30798 from pid 30798)
[2003/05/19 16:08:56, 2] param/loadparm.c:do_section(3073)
Processing section "[download]"
[2003/05/19 16:08:56, 2] param/loadparm.c:do_section(3073)
Processing section "[dist]"
[2003/05/19 16:08:56, 2] lib/interface.c:add_interface(81)
added interface ip=<IPADDR> bcast=<BROADCAST>
nmask=255.255.255.0
[2003/05/19 16:08:56, 2] lib/interface.c:add_interface(81)
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2003/05/19 16:09:07, 2] smbd/server.c:exit_server(511)
Closing connections
twice for each attempt. The first is before I type in the password,
and the next after I do.
What I want is to able to mount shares from \\CSWIN, by giving username
and password who are part of the \\DC domain. If I change security =
user, then I get a
System Error 1240, The account is not authorized to log in...
Any pointers... I know it should be some thing simple with my smb.conf's.
- Murali