samba as PDC Problem
i am configuring samba(3.0.23c.2) as a PDC on Fedora Core 6. i made changes in smb.conf
file which r shown as under [global] workgroup = LINUXLABSERVER netbios name = LINUXLABMAINSERVER server string = Linux LabServer log level = 2 log file = /var/log/samba/%m.log max log size = 50 add machine script = /usr/sbin/adduser -d /dev/null -g samba-clients -s /bin/false -M %u logon script = %U.bat logon path = \\%L\Profiles\%U domain logons = Yes os level = 64 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes hosts allow = 127.0.0.1, 192.168.0.1/255.255.255.0 cups options = raw [homes] comment = Home Directories create mask = 0644 browseable = No [netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = Yes [Profiles] path = /home/samba/profiles read only = No create mask = 0600 directory mask = 0700 browseable = No [printers] comment = All Printers path = /usr/spool/samba printable = Yes browseable = No i have also amke amchine trust account and local linux users and properly added in the smbpasswd. the problem is when i try to connect a windows XP pro machine then the following error apears "DOMAIN CONTROLLER FOR LINUXSERVER(domain name) COULD NOT BE CONTACTED". is there any one who could tell me the right way. |
Quote:
Code:
hosts allow = 127. 192.168.0. |
sorry it's not working. i try the smbclient tool to connect to the windows machine i-e
[root@linuxlabserver ~]# smbclient -L w01(machine name) Password: Domain=[W01] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Sharename Type Comment --------- ---- ------- E$ Disk Default share IPC$ IPC Remote IPC D$ Disk Default share print$ Disk Printer Drivers Quran (H) Disk G$ Disk Default share F$ Disk Default share ADMIN$ Disk Remote Admin C$ Disk Default share Domain=[W01] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Server Comment --------- ------- Workgroup Master --------- ------- if i ma correct then this iformation shows that the samba configuration is ok & machine is added successfuly. know why windows give me the error. |
I'm not sure what your saying here.
Quote:
Code:
mkdir /mnt/smbremote Code:
smbmount //windows-ip-address-here/<share-name-here> /mnt/smbremote/ -o username=<windows-username-here Code:
smbmount //w01/C$ /mnt/smbremote/ -o username=administrator If all worked fine then you should be able to issue the following command: Code:
df -h If you want to mount a samba share on the windows box you would: Code:
net use i: \\<ip-address-samba-here>\<sharename-here> /user:<samba-username-here> Regards, Fordeck |
All times are GMT -5. The time now is 06:20 PM. |