Samba help needed
Dear all
Im using samba which comes with Solaris 9 , i want to share unix directory with windows , samba and windows 2003 PDC are on different network ,
root@server # /usr/sfw/sbin/smbd -V
Version 2.2.12
here are the steps i follow:
-created computer account for solaris box in Windows domain
- because there is no wins/dns server . i put windows PDC hostname and IP in /etc/hosts and i can ping the Windows PDC
- and created the following smb.conf
# Samba config file created using SWAT
# from 192.168.1.71 (192.168.1.71)
# Date: 2007/05/07 16:29:48
# Global parameters
[global]
workgroup = Domain925
netbios name = server
security = DOMAIN
encrypt passwords = Yes
password server = MYPDC
log level = 1
name resolve order = host bcast lmhosts wins
hosts allow = localhost, server, 192.168.1.
hosts deny = All
[share]
comment = Solaris share
path = /share
read only = No
guest ok = Yes
im unable to jion domain and also i try using using
nmblookup -d4 MYPDC . and it also fails
what i am missing please advice , how i can make it work when they are different network , i successfully tested when both PDC /samba are on same network
Regards
[1332 byte] By [
mtalhaa] at [2007-11-27 3:34:43]

# 4
With security = domain, and login being authenticated by the domain you should not need any entries in the smbpasswd file. Assuming, that is, your domain account name is the same as an existing Unix accoutnt name that CIFS can map access to.
Thus if your Domain (Windows) login is mtalha and you have a Unix account called mtalha then you should be fine. If they differ then you will need to start looking at either a user map file and/or entries in the smbpasswd file. However, it looks like you are using administrator as your user login (is that on local machine or domain?) and I would guess that no such user existed on the Solaris box.
I would take out the add user script line to be honest!
Message was edited by:
SimonJM
# 6
There is a whole raft of attempts to validate the CIFS performs until it finally pokes it's tongue out at you ... With domain security the first, and most obvious, is authentication granted from the domain. Failing that it will fall through and check other 'levels' (which I cannot recall off the top of my head) but within one of those you should be able to get what you are after. What may get a little confusing is over which 'administrator' id is which (assuming you have a domain level one).
It also gets confusing over which password you have to supply - the local/domain user one, the Unix account one, or any smbpasswd one.
Have a look in the man page for smb.conf that should help ... and good luck!