hi friends.please help me.
I have a windows domain and now I set up a samba for sharing data and printer.But my windows clients can’t see the share folders.means i can’t see even my netbios name in windows(map network drive). This is my samba global section:
workgroup = dorm #this is my windows domain name
printing = cups
browseable = yes
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = No
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = No
domain master = yes
wins support = yes
netbios name = department
security = user
>
> hi friends.please help me.
> I have a windows domain and now I set up a samba for sharing data and
> printer.But my windows clients can’t see the share folders.means i can’t
> see even my netbios name in windows(map network drive). This is my samba
> global section:
>
> workgroup = dorm #this is my windows domain name
> printing = cups
> browseable = yes
> printcap name = cups
> printcap cache time = 750
> cups options = raw
> map to guest = Bad User
> include = /etc/samba/dhcp.conf
> logon path = \%L\profiles.msprofile
> logon home = \%L%U.9xprofile
> logon drive = P:
> usershare allow guests = No
> add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody
> -s /bin/false %m$
> domain logons = No
> domain master = yes
> wins support = yes
> netbios name = department
> security = user
>
> thanks for any helps.
>
>
asghart7;
Is it really a domain, if so is it NT or AD? (You need to join the domain
if it is and for AD you will likely need kerberos) Much of the rest really
depends on your answer here. But for the record read on.
For testing try with the firewall down. Make sure you have the following
ports open:
TCP: 135,139,445
UDP: 137,138
You also need to allow broadcasts through your firewall.
Make sure both smbd and nmbd are running. You can check with:
ps -A | grep [n,s]mbd
I would suggest removing the “domain master = yes” and let it resort to the
default “auto”
If you have set “wins support = yes” then Samba will try to act as a wins
server. Do you really want this if so have you set the wins server on your
Windows machines to point to your Samba machine?
You may need to specify the “name resolve order” parameter, but this should
not stop Windows from seeing your machine.
excuse me , I don’t know difference between NT and AD.
but three month ago I set up samba for this network without attention to this details and I could use samba shares from windows clients.
>
> excuse me , I don’t know difference between NT and AD.
> but three month ago I set up samba for this network without attention
> to this details and I could use samba shares from windows clients.
>
>
What is the domain controller (PDC)?
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
PDC primary domain controller .I think this setting is useful when a person want to control windows domain PCs.
I don’t want control windows domain.
I just want share data and my printer for a windows domain.
means please say where I should enter domain name or server name in samba or my system.
thanks
>
> PDC primary domain controller .I think this setting is useful when a
> person want to control windows domain PCs.
> I don’t want control windows domain.
> I just want share data and my printer for a windows domain.
> means please say where I should enter domain name or server name in
> samba or my system.
> thanks
>
>
asghart7;
Ok, so this isn’t a domain just a workgroup this makes it easier. So follow
the remaining suggestions in my first post. You mention that you had set up
another linux computer on this workgroup, is it still running? It could be a
conflict between the two, so if my first post does not solve your problem,
please post the [global] section of both smb.conf(s). You can only have one
master browser and at most one WINS server ( well you can have two, but there
is no great way to sync them so in practice it does not work). Be sure to
read the HowTo on Swerdna’s site.
Common errors are:
Firewall blocking Samba,
not adding samba users with “smbpasswd -a”,
conflicting master browsers and
name resolution errors with nmbd
–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green