did U use :
smbpasswd -a user
th passwd must be the same
rick.
>From: "Gary Ferrer" <gary@ferrer.yi.org>
>To: "Samba-users" <samba@lists.samba.org>
>Subject: [Samba] (no subject)
>Date: Fri, 22 Feb 2002 00:07:04 -0800
>
>Hi people, sorry for the previous HTML stuff, I hope this time it's
plain
>text. Here's my problem:
>
>I'm not sure if this is a samba/solaris problem or a Win98 problem and
I'll
>tell you why. I have a Solaris 8 server running samba 2.2.2, a linux/samba
>2.0.7 box and a couple Win 98 boxes. When I did a complete restore of my
>Win98 box from tape, I could no longer access the Solaris 8 server via
>network neighborhood. I can see the Solaris/samba box there with the other
>Win98 and linux box but when I double click on the Solaris box I get
>\\Sunbox is not accessible. The computer or share name could not be found.
>Make sure you typed it in correctly".
>This is strange because from the other Win98 box I can access the Solaris
>samba resource without a problem. I thought this might be a password
>problem so I changed my samba password but that didn't work either.
>Essentially I cannot access the Solaris/samba resource from just one Win98
>workstation (mine).
>
>Here is a dump of the packets on the sunbox:
>
>(/)-->snoop -d iprb1
>Using device /dev/iprb (promiscuous mode)
> gary -> 192.168.0.255 NBT NS Query Request for SUNBOX[20],
Success
> gary -> 192.168.0.255 NBT NS Query Request for SUNBOX[20],
Success
> melody -> 64.12.25.92 TCP D=5190 S=3137 Ack=3620371547
>Seq=399977304 Len=6 Win=9520
> 64.12.25.92 -> melody TCP D=3137 S=5190 Ack=399977310
>Seq=3620371547 Len=0 Win=16384
> gary -> 192.168.0.255 NBT NS Query Request for SUNBOX[20],
Success
>
>The PC 'gary' cannot access samba resource. All I see are a couple
of
>successful NBT NS query requests but that's all.
>
>
>This is the snoop with the PC 'melody' that can access the Solaris 8
samba
>without a problem:
>
> melody -> 192.168.0.255 NBT NS Query Request for SUNBOX[20], Success
> melody -> sunbox NBT C port=3399
> sunbox -> melody NBT R port=3399
> melody -> sunbox NBT C port=3399
> melody -> sunbox NBT Type=SESSION REQUEST Dest=SUNBOX[20]
>Source=MELODY[0] Length=68
> sunbox -> melody NBT R port=3399
> sunbox -> melody NBT Type=POSITIVE SESSION RESPONSE Length=0
> melody -> sunbox SMB C Code=0x72 Name=SMBnegprot
>LastDialect=NT
>LM 0.12 Error=0
> sunbox -> melody SMB R Code=0x72 Name=SMBnegprot Dialect#=5
>Error=0
> melody -> sunbox SMB C Code=0x73 Name=SMBsesssetupX
>Username=MELODY Error=0
> sunbox -> melody NBT R port=3399
> sunbox -> melody SMB R Code=0x73 Name=SMBsesssetupX Error=0
> melody -> sunbox SMB C Code=0x25 Name=SMBtrans Error=0
> sunbox -> melody SMB R Code=0x25 Name=SMBtrans Error=0
> melody -> sunbox NBT C port=3399
>
>Quite different.
>
>From PC 'gary' msdos box, net view sees the Solaris 8 box.
>
>An smbclient -L listing from the linuxbox shows resources available on the
>sunbox:
>
>linuxbox:~$ smbclient -L sunbox
>added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
>Password:
>Anonymous login successful
>Domain=[VANCOUVER] OS=[Unix] Server=[Samba 2.2.2]
>
> Sharename Type Comment
> --------- ---- -------
> root Disk Root
> sun-printer Printer
> htdocs Disk
> IPC$ IPC IPC Service (Samba 2.2.2)
> ADMIN$ Disk IPC Service (Samba 2.2.2)
>
> Server Comment
> --------- -------
> SUNBOX Samba 2.2.2
>
> Workgroup Master
> --------- -------
> VANCOUVER
>
>linuxbox:~$
>
>
>I think there's something wrong with my Win98 machine (I really
don't want
>to blow it away because this is the only problem I have). Can someone give
>me some direction?
>
>Thanks a million.
>
>gary@ferrer.yi.org
>
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: http://lists.samba.org/mailman/listinfo/samba
_________________________________________________________________
MSN Photos es la manera m?s sencilla de compartir, editar e imprimir sus
fotos favoritas. http://photos.latam.msn.com/Support/WorldWide.aspx
That was the first thing I did. The windows login password is the same as my unix one. Gary. ----- Original Message ----- From: "Ricardo Rugerio" <rickchiva@hotmail.com> To: <gary@ferrer.yi.org>; <samba@lists.samba.org> Sent: February 25, 2002 11:15 AM Subject: Re: [Samba] (no subject)> > did U use : > > smbpasswd -a user > > th passwd must be the same > > > rick. > > > >From: "Gary Ferrer" <gary@ferrer.yi.org> > >To: "Samba-users" <samba@lists.samba.org> > >Subject: [Samba] (no subject) > >Date: Fri, 22 Feb 2002 00:07:04 -0800 > > > >Hi people, sorry for the previous HTML stuff, I hope this time it's plain > >text. Here's my problem: > > > >I'm not sure if this is a samba/solaris problem or a Win98 problem andI'll> >tell you why. I have a Solaris 8 server running samba 2.2.2, alinux/samba> >2.0.7 box and a couple Win 98 boxes. When I did a complete restore of my > >Win98 box from tape, I could no longer access the Solaris 8 server via > >network neighborhood. I can see the Solaris/samba box there with theother> >Win98 and linux box but when I double click on the Solaris box I get > >\\Sunbox is not accessible. The computer or share name could not befound.> >Make sure you typed it in correctly". > >This is strange because from the other Win98 box I can access the Solaris > >samba resource without a problem. I thought this might be a password > >problem so I changed my samba password but that didn't work either. > >Essentially I cannot access the Solaris/samba resource from just oneWin98> >workstation (mine). > > > >Here is a dump of the packets on the sunbox: > > > >(/)-->snoop -d iprb1 > >Using device /dev/iprb (promiscuous mode) > > gary -> 192.168.0.255 NBT NS Query Request for SUNBOX[20],Success> > gary -> 192.168.0.255 NBT NS Query Request for SUNBOX[20],Success> > melody -> 64.12.25.92 TCP D=5190 S=3137 Ack=3620371547 > >Seq=399977304 Len=6 Win=9520 > > 64.12.25.92 -> melody TCP D=3137 S=5190 Ack=399977310 > >Seq=3620371547 Len=0 Win=16384 > > gary -> 192.168.0.255 NBT NS Query Request for SUNBOX[20],Success> > > >The PC 'gary' cannot access samba resource. All I see are a couple of > >successful NBT NS query requests but that's all. > > > > > >This is the snoop with the PC 'melody' that can access the Solaris 8samba> >without a problem: > > > > melody -> 192.168.0.255 NBT NS Query Request for SUNBOX[20], Success > > melody -> sunbox NBT C port=3399 > > sunbox -> melody NBT R port=3399 > > melody -> sunbox NBT C port=3399 > > melody -> sunbox NBT Type=SESSION REQUEST Dest=SUNBOX[20] > >Source=MELODY[0] Length=68 > > sunbox -> melody NBT R port=3399 > > sunbox -> melody NBT Type=POSITIVE SESSION RESPONSE Length=0 > > melody -> sunbox SMB C Code=0x72 Name=SMBnegprot > >LastDialect=NT > >LM 0.12 Error=0 > > sunbox -> melody SMB R Code=0x72 Name=SMBnegprot Dialect#=5 > >Error=0 > > melody -> sunbox SMB C Code=0x73 Name=SMBsesssetupX > >Username=MELODY Error=0 > > sunbox -> melody NBT R port=3399 > > sunbox -> melody SMB R Code=0x73 Name=SMBsesssetupX Error=0 > > melody -> sunbox SMB C Code=0x25 Name=SMBtrans Error=0 > > sunbox -> melody SMB R Code=0x25 Name=SMBtrans Error=0 > > melody -> sunbox NBT C port=3399 > > > >Quite different. > > > >From PC 'gary' msdos box, net view sees the Solaris 8 box. > > > >An smbclient -L listing from the linuxbox shows resources available onthe> >sunbox: > > > >linuxbox:~$ smbclient -L sunbox > >added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0 > >Password: > >Anonymous login successful > >Domain=[VANCOUVER] OS=[Unix] Server=[Samba 2.2.2] > > > > Sharename Type Comment > > --------- ---- ------- > > root Disk Root > > sun-printer Printer > > htdocs Disk > > IPC$ IPC IPC Service (Samba 2.2.2) > > ADMIN$ Disk IPC Service (Samba 2.2.2) > > > > Server Comment > > --------- ------- > > SUNBOX Samba 2.2.2 > > > > Workgroup Master > > --------- ------- > > VANCOUVER > > > >linuxbox:~$ > > > > > >I think there's something wrong with my Win98 machine (I really don'twant> >to blow it away because this is the only problem I have). Can someonegive> >me some direction? > > > >Thanks a million. > > > >gary@ferrer.yi.org > > > > > >-- > >To unsubscribe from this list go to the following URL and read the > >instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > _________________________________________________________________ > MSN Photos es la manera m?s sencilla de compartir, editar e imprimir sus > fotos favoritas. http://photos.latam.msn.com/Support/WorldWide.aspx > >
I have an access problem. Here is the situation:
- samba 2.2.3a is installed and configured on a Solaris 8 machine (Sun E250)
- two PCs (one WIN2K and one WIN XP) are connected to the network.
- I have added users into samba using
smbpasswd -a <username>
When I use "security = share" in the configuration, I can see the
services/directories defined on samba server (Solaris machine) from a PC
(opening My Network Places). However, when I try to access any of those
directories from a PC, it asks me to login. On providing user name and
password, it returns back to the login prompt. In other words, it did not
accept the password.
On the other hand, if I use "security=user", I can not access any of
the
directories of samba server from any PCS.
Can somebody help me out to figure out the problem. Below is my smb.conf
data (with user names changed.)
Regards,
Ramanand Singh
------------
[global]
workgroup = nalanda
server string = Samba Server
netbios name = river
username map = /opt/tools/lib/samba-username.map
hosts allow = 192.168.1.2 192.168.1.3 192.168.1.4 192.168.1.5 127.
guest account = guest
log file = /opt/tools/logs/samba/log.%m
max log size = 100
security = share
socket options = TCP_NODELAY
domain master = yes
preferred master = yes
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
create mask = 0750
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
[user1sdir]
comment = user1's Service
path = /export/home/user1
valid users = rsingh
writable = yes
printable = no
public = no
[ntecshare]
comment = NTEC staff's stuff
path = /shared
valid users = user1 user2 user3
create mask = 0765
public = no
writable = yes
printable = no