Farias, Lavoisier Jose Leite (Lavoisier)
2002-Sep-10 14:15 UTC
[Samba] SAMBA 2.2.4 and Win 2k
Hello, At first I apologize everybody in case I had broken some rule of this list regarding a previous e-mail about this subject. Does anybody can help me on the question right below. Please, forget my basic questions, however it is the only way I am trying to use SAMBA version 2.2.4 at Solaris 8.0 works with Win 2K. My Sun workstation is not registered neither at DNS or WINS since is not supported by our IT folks. So, I configured its name at my Win 2k lmhosts, and the Win 2k client name at my /etc/hosts. I have been trying to catch up this problem by following the instructions at DIAGNOSIS.TXT file and the "Hour 13" available on the samba Web site. At my Win 2k client I have the following configuration: * Client For Microsoft Networks enabled. * File and Printer Sharing for Microsoft Network Enabled * TCP/IP enabled, using DHCP to obtain IP Address, Default Gateway, DNS Servers * Enable Netbios over TCP/IP is also enabled. * Enable LMHOSTS lookup I stopped at the command 'smbclient -L myservername -N', and I got the following messages: * added interface ip=XX.XX.XX.XX bcast=XX.XX.XX.XX nmask=XX.XX.XX.X * session request to MYSERVERNAME (Not listening for calling name) * session request to *SMBSERVER failed (Not listening for calling name) 1- Do I need to register my SAMBA server as a PDC or BDC ? 2- Do I need to register my SAMBA server at DNS and WINS ? Here it follows the result of testparm command. Am I missing something ? Sorry due the big file attached. In case my procedure is not convenient, please let me know how I should proceed to send questions in properly manner. Best Regards and Thank you in advance. Lavoisier J.L.Farias E-mail: lfarias@lucent.com -------------- next part -------------- Load smb config files from /usr/local/samba/lib/smb.conf Processing section "[homes]" Processing section "[printers]" Processing section "[public]" Processing section "[user1]" Loaded services file OK. Press enter to see a dump of your service definitions # Global parameters [global] coding system = client code page = 850 code page directory = /usr/local/samba/lib/codepages workgroup = CALA netbios name = BZBLNPS netbios aliases = netbios scope = server string = Samba Server interfaces = bind interfaces only = No security = USER encrypt passwords = Yes update encrypted = No allow trusted domains = Yes hosts equiv = min passwd length = 5 map to guest = Never null passwords = No obey pam restrictions = No password server = smb passwd file = /usr/local/samba/private/smbpasswd root directory = pam password change = No passwd program = /bin/passwd passwd chat = *new*password* %n\n *new*password* %n\n *changed* passwd chat debug = No username map = password level = 0 username level = 0 unix password sync = No restrict anonymous = No lanman auth = Yes use rhosts = No admin log = No log level = 0 syslog = 1 syslog only = No log file = /usr/local/samba/var/log.%m max log size = 50 timestamp logs = Yes debug hires timestamp = No debug pid = No debug uid = No protocol = NT1 large readwrite = No max protocol = NT1 min protocol = CORE read bmpx = No read raw = Yes write raw = Yes nt smb support = Yes nt pipe support = Yes nt status support = Yes announce version = 4.5 announce as = NT max mux = 50 max xmit = 65535 name resolve order = lmhosts host wins bcast max packet = 65535 max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = No unix extensions = No change notify timeout = 60 deadtime = 0 getwd cache = Yes keepalive = 300 lpq cache time = 10 max smbd processes = 0 max disk size = 0 max open files = 10000 read size = 16384 socket options = TCP_NODELAY stat cache size = 50 use mmap = Yes total print jobs = 0 load printers = Yes printcap name = lpstat disable spoolss = No enumports command = addprinter command = deleteprinter command = show add printer wizard = Yes os2 driver map = strip dot = No character set = mangled stack = 50 stat cache = Yes domain admin group = domain guest group = machine password timeout = 604800 add user script = delete user script = logon script = logon path = \\%N\%U\profile logon drive = logon home = \\%N\%U domain logons = No os level = 20 lm announce = Auto lm interval = 60 preferred master = Auto local master = Yes domain master = Auto browse list = Yes enhanced browsing = Yes dns proxy = No wins proxy = Yes wins server = 135.253.95.6 wins support = No wins hook = kernel oplocks = Yes lock spin count = 3 lock spin time = 10 oplock break wait time = 0 add share command = change share command = delete share command = config file = preload = lock dir = /usr/local/samba/var/locks pid directory = /usr/local/samba/var/locks utmp directory = wtmp directory = utmp = No default service = message command = dfree command = valid chars = remote announce = remote browse sync = socket address = 0.0.0.0 homedir map = time offset = 0 NIS homedir = No source environment = panic action = hide local users = No winbind uid = winbind gid = template homedir = /home/%D/%U template shell = /bin/false winbind separator = \ winbind cache time = 15 winbind enum users = Yes winbind enum groups = Yes winbind use default domain = No comment = path = alternate permissions = No username = guest account = nobody invalid users = valid users = admin users = read list = write list = printer admin = force user = force group = read only = Yes create mask = 0744 force create mode = 00 security mask = 0777 force security mode = 00 directory mask = 0755 force directory mode = 00 directory security mask = 0777 force directory security mode = 00 inherit permissions = No inherit acls = No guest only = No guest ok = No only user = No hosts allow = 135.253.167.9/23 127. hosts deny = status = Yes nt acl support = Yes max connections = 0 min print space = 0 strict allocate = No strict sync = No sync always = No write cache size = 0 max print jobs = 1000 printable = No postscript = No printing = sysv print command = lp -c -d%p %s; rm %s lpq command = lpstat -o%p lprm command = cancel %p-%j lppause command = lp -i %p-%j -H hold lpresume command = lp -i %p-%j -H resume queuepause command = disable %p queueresume command = enable %p printer name = use client driver = No default devmode = No printer driver = printer driver file = /usr/local/samba/lib/printers.def printer driver location = default case = lower case sensitive = No preserve case = Yes short preserve case = Yes mangle case = No mangling char = ~ hide dot files = Yes hide unreadable = No delete veto files = No veto files = hide files = veto oplock files = map system = No map hidden = No map archive = Yes mangled names = Yes mangled map = browseable = Yes blocking locks = Yes csc policy = manual fake oplocks = No locking = Yes oplocks = Yes level2 oplocks = Yes oplock contention limit = 2 posix locking = Yes strict locking = No share modes = Yes copy = include = exec = preexec close = No postexec = root preexec = root preexec close = No root postexec = available = Yes volume = fstype = NTFS set directory = No wide links = Yes follow symlinks = Yes dont descend = magic script = magic output = delete readonly = No dos filemode = No dos filetimes = No dos filetime resolution = No fake directory create times = No vfs object = vfs options = [homes] comment = Home Directories read only = No [printers] comment = All Printers path = /usr/spool/samba printable = Yes browseable = No [public] comment = Public Stuff path = /tmp read only = No [user1] comment = user1 Service path = /export/home/user1 valid users = user1 read only = No
On Tue, 2002-09-10 at 10:14, Farias, Lavoisier Jose Leite (Lavoisier) wrote:> Hello, > > At first I apologize everybody in case I had broken some rule of this list > regarding a previous e-mail about this subject. Does anybody can help me on > the question right below. Please, forget my basic questions, however it is > the only way > > I am trying to use SAMBA version 2.2.4 at Solaris 8.0 works with Win 2K. My > Sun workstation is not registered neither at DNS or WINS since is not > supported by our IT folks. So, I configured its name at my Win 2k lmhosts, > and the Win 2k client name at my /etc/hosts. > I have been trying to catch up this problem by following the instructions > at DIAGNOSIS.TXT file and the "Hour 13" available on the samba Web site. > > At my Win 2k client I have the following configuration: > * Client For Microsoft Networks enabled. > * File and Printer Sharing for Microsoft Network Enabled > * TCP/IP enabled, using DHCP to obtain IP Address, Default Gateway, DNS > Servers > * Enable Netbios over TCP/IP is also enabled. > * Enable LMHOSTS lookup > > I stopped at the command 'smbclient -L myservername -N', and I got the > following messages: > * added interface ip=XX.XX.XX.XX bcast=XX.XX.XX.XX nmask=XX.XX.XX.X > * session request to MYSERVERNAME (Not listening for calling name) > * session request to *SMBSERVER failed (Not listening for calling > name)are you trying to connect to the win2k -> samba or samba ->win2k you only need smbclient for samba -> win2k (and you'll also have to add some services at myservername (which is your win2k box )) If you're just using smbclient to debug then try putting myservername into the hosts file on the server too. You could also try by IP address of your server. It sounds like the server doesn't know its own name... Can you ping myservername?> > 1- Do I need to register my SAMBA server as a PDC or BDC ?not unless you want to create a domain - i don't think you do> 2- Do I need to register my SAMBA server at DNS and WINS ?no - you can access it by IP address or using your lmhosts> log level = 0increase this to see what is happening in the logs> lm announce = Autoif you're trying to go "stealth" from the corporate IT infrastructure and you this service is only for you consider turning this off> lm interval = 60 > preferred master = Autoand this off> local master = Yesand this off> domain master = Autoand this off> browse list = Yes > enhanced browsing = Yes > dns proxy = No > wins proxy = YesI think you certainly want to turn this off> wins server = 135.253.95.6is this wins server valid? - samba will use it ... you may want to shut it off now try to access your samba by ip address from the win2k box.
Farias, Lavoisier Jose Leite (Lavoisier)
2002-Sep-10 17:41 UTC
[Samba] SAMBA 2.2.4 and Win 2k
Dear Experts, I followed the instructions suggested right below, however I could not connect to my samba server. Just answering the questions below: I am trying to connect a Win 2K client to a SAMBA server that is sharing files. I remove my wins server address as suggested by Bradley, that I founf interesting since I thought every SAMBA server should behavior like a PDC or BDC. But I am still receiving the message of access denied. The hosts allow in my smb.conf is like that: # hosts allow = 135.253.167.9/23 127. The command 'smbcient -L BZBLNPS -N' is still providing the answer below: * added interface ip=135.253.166.20 bcast=135.253.167.255 nmask=255.255.254.0 * session request to BZBLNPS failed (Not listening for calling name) * session request to *SMBSERVER failed (Not listening for calling name) I also tried to use the ip address instead the server name, however I got the same problem. Does anybody have some idea what I should do ? Thank you in advance, Lavoisier Farias. -----Original Message----- From: Bradley W. Langhorst [mailto:brad@langhorst.com] Sent: terca-feira, 10 de setembro de 2002 11:35 To: Farias, Lavoisier Jose ""Leite (Lavoisier) Cc: 'samba@lists.samba.org' Subject: RE: [Samba] SAMBA 2.2.4 and Win 2k On Tue, 2002-09-10 at 10:14, Farias, Lavoisier Jose Leite (Lavoisier) wrote:> Hello, > > At first I apologize everybody in case I had broken some rule of this list > regarding a previous e-mail about this subject. Does anybody can help meon> the question right below. Please, forget my basic questions, however it is > the only way > > I am trying to use SAMBA version 2.2.4 at Solaris 8.0 works with Win 2K.My> Sun workstation is not registered neither at DNS or WINS since is not > supported by our IT folks. So, I configured its name at my Win 2k lmhosts, > and the Win 2k client name at my /etc/hosts. > I have been trying to catch up this problem by following the instructions > at DIAGNOSIS.TXT file and the "Hour 13" available on the samba Web site. > > At my Win 2k client I have the following configuration: > * Client For Microsoft Networks enabled. > * File and Printer Sharing for Microsoft Network Enabled > * TCP/IP enabled, using DHCP to obtain IP Address, Default Gateway, DNS > Servers > * Enable Netbios over TCP/IP is also enabled. > * Enable LMHOSTS lookup > > I stopped at the command 'smbclient -L myservername -N', and I got the > following messages: > * added interface ip=XX.XX.XX.XX bcast=XX.XX.XX.XX nmask=XX.XX.XX.X > * session request to MYSERVERNAME (Not listening for calling name) > * session request to *SMBSERVER failed (Not listening for calling > name)are you trying to connect to the win2k -> samba or samba ->win2k you only need smbclient for samba -> win2k (and you'll also have to add some services at myservername (which is your win2k box )) If you're just using smbclient to debug then try putting myservername into the hosts file on the server too. You could also try by IP address of your server. It sounds like the server doesn't know its own name... Can you ping myservername?> > 1- Do I need to register my SAMBA server as a PDC or BDC ?not unless you want to create a domain - i don't think you do> 2- Do I need to register my SAMBA server at DNS and WINS ?no - you can access it by IP address or using your lmhosts> log level = 0increase this to see what is happening in the logs> lm announce = Autoif you're trying to go "stealth" from the corporate IT infrastructure and you this service is only for you consider turning this off> lm interval = 60 > preferred master = Autoand this off> local master = Yesand this off> domain master = Autoand this off> browse list = Yes > enhanced browsing = Yes > dns proxy = No > wins proxy = YesI think you certainly want to turn this off> wins server = 135.253.95.6is this wins server valid? - samba will use it ... you may want to shut it off now try to access your samba by ip address from the win2k box.
Apparently Analagous Threads
- SAMBA to work with Solarios 8.0 and Win 2k
- 答复: Is the "\\x.x.x.x" type tree connect request a client related feature?
- Is the "\\x.x.x.x" type tree connect request a client related feature?
- "no shared cypher", no matter what I try
- Can't login to domain from Windows 2K clients