FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 11-29-2007, 08:41 PM
Antonio
 
Default F8 Samba

2007/11/29, Craig White <craig@tobyhouse.com>:
> On Thu, 2007-11-29 at 20:44 +0100, Antonio wrote:
> > 2007/11/29, Craig White <craig@tobyhouse.com>:
> > > On Thu, 2007-11-29 at 20:06 +0100, Antonio wrote:
> > > > 2007/11/29, Craig White <craig@tobyhouse.com>:
> > > > > On Thu, 2007-11-29 at 19:22 +0100, Antonio wrote:
> > > > > > 2007/11/29, Craig White <craig@tobyhouse.com>:
> > > > >
> > > > > > Craig...this is the answer....
> > > > > >
> > > > > > smbclient -L $SERVER_NAME -U $USER_NAME
> > > > > > Unknown parameter encountered: "winbind enable local accounts"
> > > > > > Ignoring unknown parameter "winbind enable local accounts"
> > > > > > Connection to -U failed (Error NT_STATUS_BAD_NETWORK_NAME)
> > > > > ----
> > > > > my fault...
> > > > >
> > > > > I meant for you to replace $SERVER_NAME with the actual host name of
> > > > > your computer and $USER_NAME with your actual samba account name
> > > > >
> > > > > but first you should try it anonymously to see if samba is up and
> > > > > running...
> > > > >
> > > > > smbclient -L $SERVER_NAME
> > > > >
> > > > > (again, substitute the proper name)
> > > > >
> > > > > also...comment this line out...
> > > > > # winbind enable local accounts = no
> > > > >
> > > > > Craig
> > > > >
> > > > > --
> > > > > fedora-list mailing list
> > > > > fedora-list@redhat.com
> > > > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> > > > >
> > > >
> > > > smbclient -L Casa
> > > > Password:
> > > > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
> > > > tree connect failed: NT_STATUS_WRONG_PASSWORD
> > > > [root@Casa antonio]#
> > > >
> > > ----
> > > anonymous is no password...just hit enter key
> > >
> > > Craig
> > >
> > > --
> > > fedora-list mailing list
> > > fedora-list@redhat.com
> > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> > >
> > smbclient -L Casa
> > Password:
> > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
> >
> > Sharename Type Comment
> > --------- ---- -------
> > testsamba Disk
> > davide Disk
> > IPC$ IPC IPC Service (Samba Server Version
> > 3.0.26a-6.fc8)
> > ML-1610 Printer Samsung ML-1610
> > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
> >
> > Server Comment
> > --------- -------
> > CASA Samba Server Version 3.0.26a-6.fc8
> >
> > Workgroup Master
> > --------- -------
> > WORKGROUP CASA
> ----
> that means samba is working
>
> now if you can connect from your local machine...
>
> smbclient -L Casa -U $USER_NAME
> (substitute your samba/unix name for $USER_NAME)
> and enter your password and get the same list, you can connect from any
> other computer on your network.
>
> Craig
>
> --
> fedora-list mailing list
> fedora-list@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
[antonio@Casa ~]$ smbclient -L Casa -U antonio
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
tree connect failed: NT_STATUS_WRONG_PASSWORD


Does it mean that password is wrong??? I synchronized them by Webmin,
maybe that something is wrong....

--
Antonio Montagnani
Skype : antoniomontag

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 11-29-2007, 08:43 PM
Craig White
 
Default F8 Samba

On Thu, 2007-11-29 at 22:41 +0100, Antonio wrote:
> 2007/11/29, Craig White <craig@tobyhouse.com>:
> > On Thu, 2007-11-29 at 20:44 +0100, Antonio wrote:
> > > 2007/11/29, Craig White <craig@tobyhouse.com>:
> > > > On Thu, 2007-11-29 at 20:06 +0100, Antonio wrote:
> > > > > 2007/11/29, Craig White <craig@tobyhouse.com>:
> > > > > > On Thu, 2007-11-29 at 19:22 +0100, Antonio wrote:
> > > > > > > 2007/11/29, Craig White <craig@tobyhouse.com>:
> > > > > >
> > > > > > > Craig...this is the answer....
> > > > > > >
> > > > > > > smbclient -L $SERVER_NAME -U $USER_NAME
> > > > > > > Unknown parameter encountered: "winbind enable local accounts"
> > > > > > > Ignoring unknown parameter "winbind enable local accounts"
> > > > > > > Connection to -U failed (Error NT_STATUS_BAD_NETWORK_NAME)
> > > > > > ----
> > > > > > my fault...
> > > > > >
> > > > > > I meant for you to replace $SERVER_NAME with the actual host name of
> > > > > > your computer and $USER_NAME with your actual samba account name
> > > > > >
> > > > > > but first you should try it anonymously to see if samba is up and
> > > > > > running...
> > > > > >
> > > > > > smbclient -L $SERVER_NAME
> > > > > >
> > > > > > (again, substitute the proper name)
> > > > > >
> > > > > > also...comment this line out...
> > > > > > # winbind enable local accounts = no
> > > > > >
> > > > > > Craig
> > > > > >
> > > > > > --
> > > > > > fedora-list mailing list
> > > > > > fedora-list@redhat.com
> > > > > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> > > > > >
> > > > >
> > > > > smbclient -L Casa
> > > > > Password:
> > > > > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
> > > > > tree connect failed: NT_STATUS_WRONG_PASSWORD
> > > > > [root@Casa antonio]#
> > > > >
> > > > ----
> > > > anonymous is no password...just hit enter key
> > > >
> > > > Craig
> > > >
> > > > --
> > > > fedora-list mailing list
> > > > fedora-list@redhat.com
> > > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> > > >
> > > smbclient -L Casa
> > > Password:
> > > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
> > >
> > > Sharename Type Comment
> > > --------- ---- -------
> > > testsamba Disk
> > > davide Disk
> > > IPC$ IPC IPC Service (Samba Server Version
> > > 3.0.26a-6.fc8)
> > > ML-1610 Printer Samsung ML-1610
> > > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
> > >
> > > Server Comment
> > > --------- -------
> > > CASA Samba Server Version 3.0.26a-6.fc8
> > >
> > > Workgroup Master
> > > --------- -------
> > > WORKGROUP CASA
> > ----
> > that means samba is working
> >
> > now if you can connect from your local machine...
> >
> > smbclient -L Casa -U $USER_NAME
> > (substitute your samba/unix name for $USER_NAME)
> > and enter your password and get the same list, you can connect from any
> > other computer on your network.
> >
> > Craig
> >
> > --
> > fedora-list mailing list
> > fedora-list@redhat.com
> > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> >
> [antonio@Casa ~]$ smbclient -L Casa -U antonio
> Password:
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
> tree connect failed: NT_STATUS_WRONG_PASSWORD
>
>
> Does it mean that password is wrong??? I synchronized them by Webmin,
> maybe that something is wrong....
----
yeah - forget webmin for a second...

try (as root)

smbpasswd antonio

and re-enter your password

Craig

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 11-29-2007, 08:48 PM
Antonio
 
Default F8 Samba

2007/11/29, Craig White <craig@tobyhouse.com>:
> On Thu, 2007-11-29 at 22:41 +0100, Antonio wrote:
> > 2007/11/29, Craig White <craig@tobyhouse.com>:
> > > On Thu, 2007-11-29 at 20:44 +0100, Antonio wrote:
> > > > 2007/11/29, Craig White <craig@tobyhouse.com>:
> > > > > On Thu, 2007-11-29 at 20:06 +0100, Antonio wrote:
> > > > > > 2007/11/29, Craig White <craig@tobyhouse.com>:
> > > > > > > On Thu, 2007-11-29 at 19:22 +0100, Antonio wrote:
> > > > > > > > 2007/11/29, Craig White <craig@tobyhouse.com>:
> > > > > > >
> > > > > > > > Craig...this is the answer....
> > > > > > > >
> > > > > > > > smbclient -L $SERVER_NAME -U $USER_NAME
> > > > > > > > Unknown parameter encountered: "winbind enable local accounts"
> > > > > > > > Ignoring unknown parameter "winbind enable local accounts"
> > > > > > > > Connection to -U failed (Error NT_STATUS_BAD_NETWORK_NAME)
> > > > > > > ----
> > > > > > > my fault...
> > > > > > >
> > > > > > > I meant for you to replace $SERVER_NAME with the actual host name of
> > > > > > > your computer and $USER_NAME with your actual samba account name
> > > > > > >
> > > > > > > but first you should try it anonymously to see if samba is up and
> > > > > > > running...
> > > > > > >
> > > > > > > smbclient -L $SERVER_NAME
> > > > > > >
> > > > > > > (again, substitute the proper name)
> > > > > > >
> > > > > > > also...comment this line out...
> > > > > > > # winbind enable local accounts = no
> > > > > > >
> > > > > > > Craig
> > > > > > >
> > > > > > > --
> > > > > > > fedora-list mailing list
> > > > > > > fedora-list@redhat.com
> > > > > > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> > > > > > >
> > > > > >
> > > > > > smbclient -L Casa
> > > > > > Password:
> > > > > > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
> > > > > > tree connect failed: NT_STATUS_WRONG_PASSWORD
> > > > > > [root@Casa antonio]#
> > > > > >
> > > > > ----
> > > > > anonymous is no password...just hit enter key
> > > > >
> > > > > Craig
> > > > >
> > > > > --
> > > > > fedora-list mailing list
> > > > > fedora-list@redhat.com
> > > > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> > > > >
> > > > smbclient -L Casa
> > > > Password:
> > > > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
> > > >
> > > > Sharename Type Comment
> > > > --------- ---- -------
> > > > testsamba Disk
> > > > davide Disk
> > > > IPC$ IPC IPC Service (Samba Server Version
> > > > 3.0.26a-6.fc8)
> > > > ML-1610 Printer Samsung ML-1610
> > > > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
> > > >
> > > > Server Comment
> > > > --------- -------
> > > > CASA Samba Server Version 3.0.26a-6.fc8
> > > >
> > > > Workgroup Master
> > > > --------- -------
> > > > WORKGROUP CASA
> > > ----
> > > that means samba is working
> > >
> > > now if you can connect from your local machine...
> > >
> > > smbclient -L Casa -U $USER_NAME
> > > (substitute your samba/unix name for $USER_NAME)
> > > and enter your password and get the same list, you can connect from any
> > > other computer on your network.
> > >
> > > Craig
> > >
> > > --
> > > fedora-list mailing list
> > > fedora-list@redhat.com
> > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> > >
> > [antonio@Casa ~]$ smbclient -L Casa -U antonio
> > Password:
> > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
> > tree connect failed: NT_STATUS_WRONG_PASSWORD
> >
> >
> > Does it mean that password is wrong??? I synchronized them by Webmin,
> > maybe that something is wrong....
> ----
> yeah - forget webmin for a second...
>
> try (as root)
>
> smbpasswd antonio
>
> and re-enter your password
>
> Craig
>
> --
> fedora-list mailing list
> fedora-list@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

smbclient -L Casa -U antonio
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]

Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba Server Version
3.0.26a-6.fc8)
davide Disk
testsamba Disk
ML-1610 Printer Samsung ML-1610
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]

Server Comment
--------- -------
CASA Samba Server Version 3.0.26a-6.fc8

Workgroup Master
--------- -------
WORKGROUP CASA


Tnx!!!! it works.....it means that I have to re-issue password for each user???

Tnx for help
--
Antonio Montagnani
Skype : antoniomontag

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 11-29-2007, 09:12 PM
"Mikkel L. Ellertson"
 
Default F8 Samba

Antonio wrote:
> 2007/11/29, Craig White <craig@tobyhouse.com>:
>> On Thu, 2007-11-29 at 22:41 +0100, Antonio wrote:
>>>
>>> Does it mean that password is wrong??? I synchronized them by Webmin,
>>> maybe that something is wrong....
>> ----
>> yeah - forget webmin for a second...
>>
>> try (as root)
>>
>> smbpasswd antonio
>>
>> and re-enter your password
>>
>> Craig
>>
>
>
> Tnx!!!! it works.....it means that I have to re-issue password for each user???
>
> Tnx for help
You probably will. Webmin can not create Samba passwords from the
passwords in /etc/passwd. The only way you can use the passwords is
if you send plain-text password over the network. Windows and Linux
uses different password hashing mechanisms. So the encrypted
password that Samba uses does not match the one in /etc/passwd.

There used to be a section in the Samba docs about this, but I have
not looked for it lately.

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 11-29-2007, 09:36 PM
Antonio
 
Default F8 Samba

2007/11/29, Mikkel L. Ellertson <mikkel@infinity-ltd.com>:
> Antonio wrote:
>
> You probably will. Webmin can not create Samba passwords from the
> passwords in /etc/passwd. The only way you can use the passwords is
> if you send plain-text password over the network. Windows and Linux
> uses different password hashing mechanisms. So the encrypted
> password that Samba uses does not match the one in /etc/passwd.
>
> There used to be a section in the Samba docs about this, but I have
> not looked for it lately.
>
> Mikkel
> --
>
> Do not meddle in the affairs of dragons,
> for thou art crunchy and taste good with Ketchup!
>
>
> --
> fedora-list mailing list
> fedora-list@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
On a PC different from Casa....
smbclient -L Casa
Connection to Casa failed (Error NT_STATUS_BAD_NETWORK_NAME)

--
Antonio Montagnani
Skype : antoniomontag

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 11-29-2007, 10:16 PM
Craig White
 
Default F8 Samba

On Thu, 2007-11-29 at 23:36 +0100, Antonio wrote:
> 2007/11/29, Mikkel L. Ellertson <mikkel@infinity-ltd.com>:
> > Antonio wrote:
> >
> > You probably will. Webmin can not create Samba passwords from the
> > passwords in /etc/passwd. The only way you can use the passwords is
> > if you send plain-text password over the network. Windows and Linux
> > uses different password hashing mechanisms. So the encrypted
> > password that Samba uses does not match the one in /etc/passwd.
> >
> > There used to be a section in the Samba docs about this, but I have
> > not looked for it lately.
> >
> > Mikkel
> > --
> >
> > Do not meddle in the affairs of dragons,
> > for thou art crunchy and taste good with Ketchup!
> >
> >
> > --
> > fedora-list mailing list
> > fedora-list@redhat.com
> > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> >
> >
> On a PC different from Casa....
> smbclient -L Casa
> Connection to Casa failed (Error NT_STATUS_BAD_NETWORK_NAME)
----
add to primary samba server...

wins support = yes

add to any other samba servers...

wins server = w.x.y.z (where w.x.y.z is ip address of your wins server)

As for webmin...it is possible (I think...been a while) to set up webmin
to automatically create samba user when creating unix user. I don't know
if samba password is automatically created from unix user at that time.
It cannot convert passwords for existing users but it can import the
user list.

Craig

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 11-29-2007, 10:31 PM
Antonio
 
Default F8 Samba

2007/11/30, Craig White <craig@tobyhouse.com>:
> On Thu, 2007-11-29 at 23:36 +0100, Antonio wrote:
> > 2007/11/29, Mikkel L. Ellertson <mikkel@infinity-ltd.com>:
> > > Antonio wrote:
> > >
> > > You probably will. Webmin can not create Samba passwords from the
> > > passwords in /etc/passwd. The only way you can use the passwords is
> > > if you send plain-text password over the network. Windows and Linux
> > > uses different password hashing mechanisms. So the encrypted
> > > password that Samba uses does not match the one in /etc/passwd.
> > >
> > > There used to be a section in the Samba docs about this, but I have
> > > not looked for it lately.
> > >
> > > Mikkel
> > > --
> > >
> > > Do not meddle in the affairs of dragons,
> > > for thou art crunchy and taste good with Ketchup!
> > >
> > >
> > > --
> > > fedora-list mailing list
> > > fedora-list@redhat.com
> > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> > >
> > >
> > On a PC different from Casa....
> > smbclient -L Casa
> > Connection to Casa failed (Error NT_STATUS_BAD_NETWORK_NAME)
> ----
> add to primary samba server...
>
> wins support = yes
>
> add to any other samba servers...
>
> wins server = w.x.y.z (where w.x.y.z is ip address of your wins server)
>
> As for webmin...it is possible (I think...been a while) to set up webmin
> to automatically create samba user when creating unix user. I don't know
> if samba password is automatically created from unix user at that time.
> It cannot convert passwords for existing users but it can import the
> user list.
>
> Craig
>
> --
> fedora-list mailing list
> fedora-list@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
Craig,
tnx for your help: I am very close to a working solution.
But due to a different timezone; I am ready to have a good sleep.
Tnx a lot

--
Antonio Montagnani
Skype : antoniomontag

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 11-30-2007, 04:10 PM
Antonio
 
Default F8 Samba

2007/11/30, Antonio <antonio.montagnani@gmail.com>:
> 2007/11/30, Craig White <craig@tobyhouse.com>:
> > On Thu, 2007-11-29 at 23:36 +0100, Antonio wrote:
> > > 2007/11/29, Mikkel L. Ellertson <mikkel@infinity-ltd.com>:
> > > > Antonio wrote:
> > > >
> > > >
>
To resume: this is my samba.conf file on one computer:


# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2007/11/30 00:27:50

[global]
server string = Samba Server Version %v
security = SHARE
passdb backend = tdbsam
log file = /var/log/samba/log.%m
max log size = 50
wins support = Yes
cups options = raw

[homes]
comment = Home Directories
valid users = MYDOMAIN\%S
read only = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[public]
comment = Public Stuff
path = /home/antonio
read only = No
guest ok = Yes

This is the output on same computer (logged as anonymous):

[antonio@Casa ~]$ smbclient -L Casa -U antonio
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]

Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
public Disk Public Stuff
IPC$ IPC IPC Service (Samba Server Version
3.0.26a-6.fc8)
ML-1610 Printer Samsung ML-1610
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]

Server Comment
--------- -------
CASA Samba Server Version 3.0.26a-6.fc8

Workgroup Master
--------- -------
WORKGROUP CASA

I find the command not very reactive, I mean that there is some lag
before Password line appears and there is also a stop after sharename
section is written...

But if I issue same command from another computer (Acer) I get :
smbclient -L Casa -U antonio
Connection to Casa failed (Error NT_STATUS_BAD_NETWORK_NAME)
[antonio@acer ~]$ smbclient -L Acer -U antonio
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]

Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
musica Disk
IPC$ IPC IPC Service (Samba Server Version
3.0.26a-6.fc8)
ML-1610 Printer ML-1610
LaserJet_1200 Printer LaserJet_1200
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]

Server Comment
--------- -------
ACER Samba Server Version 3.0.26a-6.fc8

Workgroup Master
--------- -------
WORKGROUP ACER
Connection to Casa failed (ERROR NT_STATUS_BAD_NETWORK_NAME)

smbclient -L Casa -U antonio
Connection to Casa failed (Error NT_STATUS_BAD_NETWORK_NAME)
[antonio@acer ~]$ smbclient -L Acer -U antonio
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]

Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
musica Disk
IPC$ IPC IPC Service (Samba Server Version
3.0.26a-6.fc8)
ML-1610 Printer ML-1610
LaserJet_1200 Printer LaserJet_1200
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]

Server Comment
--------- -------
ACER Samba Server Version 3.0.26a-6.fc8

Workgroup Master
--------- -------
WORKGROUP ACER

on both computer, I would expect that in Resources/Network/Windows
network I should see at least the computer that I am using....
--
Antonio Montagnani
Skype : antoniomontag

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 11-30-2007, 04:24 PM
Antonio
 
Default F8 Samba

2007/11/30, Antonio <antonio.montagnani@gmail.com>:
> 2007/11/30, Antonio <antonio.montagnani@gmail.com>:
> > 2007/11/30, Craig White <craig@tobyhouse.com>:
> > > On Thu, 2007-11-29 at 23:36 +0100, Antonio wrote:
> > > > 2007/11/29, Mikkel L. Ellertson <mikkel@infinity-ltd.com>:
> > > > > Antonio wrote:
> > > > >
> > > > >
> >
> To resume: this is my samba.conf file on one computer:
>
>
> # Samba config file created using SWAT
> # from 127.0.0.1 (127.0.0.1)
> # Date: 2007/11/30 00:27:50
>
> [global]
> server string = Samba Server Version %v
> security = SHARE
> passdb backend = tdbsam
> log file = /var/log/samba/log.%m
> max log size = 50
> wins support = Yes
> cups options = raw
>
> [homes]
> comment = Home Directories
> valid users = MYDOMAIN\%S
> read only = No
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> printable = Yes
> browseable = No
>
> [public]
> comment = Public Stuff
> path = /home/antonio
> read only = No
> guest ok = Yes
>
> This is the output on same computer (logged as anonymous):
>
> [antonio@Casa ~]$ smbclient -L Casa -U antonio
> Password:
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
>
> Sharename Type Comment
> --------- ---- -------
> homes Disk Home Directories
> public Disk Public Stuff
> IPC$ IPC IPC Service (Samba Server Version
> 3.0.26a-6.fc8)
> ML-1610 Printer Samsung ML-1610
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
>
> Server Comment
> --------- -------
> CASA Samba Server Version 3.0.26a-6.fc8
>
> Workgroup Master
> --------- -------
> WORKGROUP CASA
>
> I find the command not very reactive, I mean that there is some lag
> before Password line appears and there is also a stop after sharename
> section is written...
>
> But if I issue same command from another computer (Acer) I get :
> smbclient -L Casa -U antonio
> Connection to Casa failed (Error NT_STATUS_BAD_NETWORK_NAME)
> [antonio@acer ~]$ smbclient -L Acer -U antonio
> Password:
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
>
> Sharename Type Comment
> --------- ---- -------
> homes Disk Home Directories
> musica Disk
> IPC$ IPC IPC Service (Samba Server Version
> 3.0.26a-6.fc8)
> ML-1610 Printer ML-1610
> LaserJet_1200 Printer LaserJet_1200
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
>
> Server Comment
> --------- -------
> ACER Samba Server Version 3.0.26a-6.fc8
>
> Workgroup Master
> --------- -------
> WORKGROUP ACER
> Connection to Casa failed (ERROR NT_STATUS_BAD_NETWORK_NAME)
>
> smbclient -L Casa -U antonio
> Connection to Casa failed (Error NT_STATUS_BAD_NETWORK_NAME)
> [antonio@acer ~]$ smbclient -L Acer -U antonio
> Password:
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
>
> Sharename Type Comment
> --------- ---- -------
> homes Disk Home Directories
> musica Disk
> IPC$ IPC IPC Service (Samba Server Version
> 3.0.26a-6.fc8)
> ML-1610 Printer ML-1610
> LaserJet_1200 Printer LaserJet_1200
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
>
> Server Comment
> --------- -------
> ACER Samba Server Version 3.0.26a-6.fc8
>
> Workgroup Master
> --------- -------
> WORKGROUP ACER
>
> on both computer, I would expect that in Resources/Network/Windows
> network I should see at least the computer that I am using....
> --
> Antonio Montagnani
> Skype : antoniomontag
>

and what does it mean???
/usr/bin/findsmb

*=DMB
+=LMB
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
---------------------------------------------------------------------


I think that at least localhost should be listed,....
Antonio Montagnani
Skype : antoniomontag

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 11-30-2007, 04:57 PM
Craig White
 
Default F8 Samba

On Fri, 2007-11-30 at 18:10 +0100, Antonio wrote:
> 2007/11/30, Antonio <antonio.montagnani@gmail.com>:
> > 2007/11/30, Craig White <craig@tobyhouse.com>:
> > > On Thu, 2007-11-29 at 23:36 +0100, Antonio wrote:
> > > > 2007/11/29, Mikkel L. Ellertson <mikkel@infinity-ltd.com>:
> > > > > Antonio wrote:
> > > > >
> > > > >
> >
> To resume: this is my samba.conf file on one computer:
>
>
> # Samba config file created using SWAT
> # from 127.0.0.1 (127.0.0.1)
> # Date: 2007/11/30 00:27:50
>
> [global]
> server string = Samba Server Version %v
> security = SHARE
> passdb backend = tdbsam
> log file = /var/log/samba/log.%m
> max log size = 50
> wins support = Yes
> cups options = raw
>
> [homes]
> comment = Home Directories
> valid users = MYDOMAIN\%S
> read only = No
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> printable = Yes
> browseable = No
>
> [public]
> comment = Public Stuff
> path = /home/antonio
> read only = No
> guest ok = Yes
>
> This is the output on same computer (logged as anonymous):
>
> [antonio@Casa ~]$ smbclient -L Casa -U antonio
> Password:
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
>
> Sharename Type Comment
> --------- ---- -------
> homes Disk Home Directories
> public Disk Public Stuff
> IPC$ IPC IPC Service (Samba Server Version
> 3.0.26a-6.fc8)
> ML-1610 Printer Samsung ML-1610
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
>
> Server Comment
> --------- -------
> CASA Samba Server Version 3.0.26a-6.fc8
>
> Workgroup Master
> --------- -------
> WORKGROUP CASA
>
> I find the command not very reactive, I mean that there is some lag
> before Password line appears and there is also a stop after sharename
> section is written...
>
> But if I issue same command from another computer (Acer) I get :
> smbclient -L Casa -U antonio
> Connection to Casa failed (Error NT_STATUS_BAD_NETWORK_NAME)
> [antonio@acer ~]$ smbclient -L Acer -U antonio
> Password:
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
>
> Sharename Type Comment
> --------- ---- -------
> homes Disk Home Directories
> musica Disk
> IPC$ IPC IPC Service (Samba Server Version
> 3.0.26a-6.fc8)
> ML-1610 Printer ML-1610
> LaserJet_1200 Printer LaserJet_1200
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
>
> Server Comment
> --------- -------
> ACER Samba Server Version 3.0.26a-6.fc8
>
> Workgroup Master
> --------- -------
> WORKGROUP ACER
> Connection to Casa failed (ERROR NT_STATUS_BAD_NETWORK_NAME)
>
> smbclient -L Casa -U antonio
> Connection to Casa failed (Error NT_STATUS_BAD_NETWORK_NAME)
> [antonio@acer ~]$ smbclient -L Acer -U antonio
> Password:
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
>
> Sharename Type Comment
> --------- ---- -------
> homes Disk Home Directories
> musica Disk
> IPC$ IPC IPC Service (Samba Server Version
> 3.0.26a-6.fc8)
> ML-1610 Printer ML-1610
> LaserJet_1200 Printer LaserJet_1200
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a-6.fc8]
>
> Server Comment
> --------- -------
> ACER Samba Server Version 3.0.26a-6.fc8
>
> Workgroup Master
> --------- -------
> WORKGROUP ACER
>
> on both computer, I would expect that in Resources/Network/Windows
> network I should see at least the computer that I am using....
----
firewall blocking ports 139 and/or 445 on CASA/ACER ?

Craig

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 12:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org