[Samba] win/linux connect problem

m. michal017 at centrum.sk
Wed Aug 28 02:16:11 GMT 2002


Ok, I put this lines in my smb.conf
Now I get this output on 'smbclient -L myhost -U my_domain_login' and then typing in my domain password:
session setup failed: NT_STATUS_LOGON_FAILURE

On Wed, 28 Aug 2002 12:59:55 +0200
"vincent blondel" <vincent.blondel at chello.be> wrote:

> If you want to allow your w2k clients to acces your linux server through an
> identification on a w2k PDC server ( so NOT your linux samab server ), you
> have to put following parameters in your smb.conf file:
> 
> workgroup = <domain name>
> security = domain
> encrypt = yes
> password server = <w2k PDC server name>
> 
> Is that configuration mentionned above you'd like to have ???  If yes, you
> can also add your linux server in the server manager of your w2k server.
> 
> For the read-only mode, you can set "writable = no" in each share. But this
> will put this share in read-only for everybody.
> 
> ----- Original Message -----
> From: "m." <michal017 at centrum.sk>
> To: "vincent blondel" <vincent.blondel at chello.be>
> Sent: Wednesday, August 28, 2002 12:15 PM
> Subject: Re: [Samba] win/linux connect problem
> 
> 
> > ok.. I will upgrade samba to 2.2.5..
> > can I leave smb.conf the same?
> >
> > I set up the workgroup in smb.conf the same as domain on win2k.. is that
> ok?
> >
> > as for the user/share security - I don't want to setup an account for
> every user that can access my computer.. I would like to have our domain
> server (which is win2k server at the moment) to verify the user's domain
> login/password - is that possible?
> > or, another option - have each user accessing my shares in read only mode,
> so I don't need passwords - is that the 'share' mode?
> >
> > I removed 'map to guest'
> >
> > michael
> >
> > On Wed, 28 Aug 2002 11:59:28 +0200
> > "vincent blondel" <vincent.blondel at chello.be> wrote:
> >
> > > First of all, if I can you give an advice, upgrade your samba config to
> > > 2.2.5 and be sure installing all latests patches on your w2k station (
> sp3
> > > now ).
> > >
> > > In your config file, workgroup must be defined with the same name as in
> your
> > > w2k station. You can also remove logon path. This is only for
> configuring
> > > Samba as a PDC.
> > >
> > > For the user declaration, it is better, for a security reason, not to
> use
> > > passwords coming from your /etc/passwd file. So use better smbpasswd to
> > > create passwords specific to samba. For this, you have to change
> "security =
> > > SHARE" with "security = user".
> > >
> > > and finally, I don't know what this is "map to guest = Bad User" try
> without
> > > this.
> > >
> > > vincent
> > >
> > > ----- Original Message -----
> > > From: "m." <michal017 at centrum.sk>
> > > To: <samba at lists.samba.org>
> > > Sent: Wednesday, August 28, 2002 11:16 AM
> > > Subject: [Samba] win/linux connect problem
> > >
> > >
> > > > hi..
> > > > I have samba 2.2.1a on Mandrake 8.1, 2.4.17.  My problem is a user
> from
> > > remote Win2k workstation can't see my shares when he wants to access my
> PC
> > > using my hostname.  When accessing using my ip address, it works..  The
> > > error message in W2K is 'This user is not authorized to log in from this
> > > station' - or something like that..
> > > > Here's a part of my config.  The same (or almost the same) config
> works on
> > > another linux, so I'm desperate with this one..
> > > > Thanks in advance for your suggestions.
> > > > Michael
> > > >
> > > > [global]
> > > >         coding system = ISO-8859-2
> > > >         client code page = 852
> > > >         workgroup = XXXXX
> > > >         netbios name = xxxxxxx
> > > >         server string =
> > > >         interfaces = 10.10.1.164/24
> > > >         security = SHARE
> > > >         map to guest = Bad User
> > > >         encrypt passwords = yes
> > > >         smb passwd file = /etc/samba/smbpasswd
> > > >         log level = 3
> > > >         log file = /var/log/samba/log.%m
> > > >         max log size = 50
> > > >         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> > > >         load printers = No
> > > >         printcap name = lpstat
> > > >         logon path = \\%L\Profiles\%U
> > > >         os level = 33
> > > >         preferred master = False
> > > >         domain master = False
> > > >         printer admin = xxxxxxx
> > > >         printing = cups
> > > >
> > > > [doc]
> > > >         comment=doc
> > > >         path=/mnt/d/share/pub/doc/
> > > >         read only=Yes
> > > >         guest ok=Yes
> > > > --
> > > > To unsubscribe from this list go to the following URL and read the
> > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > >
> > >
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > >
> > >
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> 



More information about the samba mailing list