[Samba] How to access a share without username/password

2004-02-26 Thread Abdul-Azeez
I want a Banking Application (GLOBUS) to view images stored in a samba server. I only 
have provision to supply the IP address and path name of the location of the 
images.This means that I cannot specifya username/password to GLOBUS.How do I make 
GLOBUS view this images without supplying a username/password.My sample config file is 
below.ThanksAbdul# Samba config file created using SWAT
# from 128.1.100.67 (128.1.100.67)
# Date: 2004/02/26 12:00:05

# Global parameters
[global]
workgroup = IMSD
netbios name = SAMBER-SERVER
smb passwd file = /etc/samba/smbpasswd
guest account = samba
log level = 3
ldap ssl = no
valid users = abdul, Matthew

[share]
comment = common share
path = /usr/shares
guest ok = Yes

[printer]
path = /tmp
printable = Yes
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] I am unable to access my shares: Incorrect password or Invalid user name

2004-01-15 Thread Abdul-Azeez
SAMBER server=3.0.1, Linux server=8.0, Windows Client= win 2000 pro

I am a newbie facing problems with my shares. I get Incorrect password or Invalid 
user name after I enter my user name and password.
I have created the username on the my windows machine, my Linux machine and with 
smbpasswd with same password. 

when I issue : smbclient //host/share from the Linux machine , it prompts me for 
password and afterwards it displays the following message:

session setup failed: NT_STATUS_LOGON_FAILURE

A copy of my smb client file is :

# Samba config file created using SWAT
# from 128.1.100.67 (128.1.100.67)
# Date: 2004/01/15 17:33:15

# Global parameters
[global]
workgroup = IMSD
netbios name = SAMBA
log level = 3
ldap ssl = no

[share1]
comment = test share
path = /var/log
read only = No

[globus]
comment = globus image directory
path = /var/globus-image
read only = No

I can see the shares (without password) when I set security = share and guest ok = 
yes.

I also noticed through the SWAT interface that smbd is always down even after 
restarting severally.

I also tried starting from the command prompt (nmbd 1st, then follwed by smbd) and I 
dont get any error message. But it displays not running (smbd only) from SWAT 
interface.

I am really confused.

Any help?
Abdul
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] I am unable to access my shares: Incorrect password orInvalid user name

2004-01-15 Thread Abdul-Azeez
Hi Jason,
Thanks for your assistance but the problem still pesists.
I have modified my conf file thus:

# from 128.1.100.67 (128.1.100.67)
# Date: 2004/01/15 17:33:15

# Global parameters
[global]
workgroup = IMSD
netbios name = SAMBA
log level = 3
ldap ssl = no
security = user
encrypt passwords = yes
smb passwd file = /usr/local/samba/private/smbpasswd


[share1]
comment = test share
path = /var/log
read only = No

[globus]
comment = globus image directory
path = /var/globus-image
read only = No

I ran testparm  command to test my conf file and I got the following
error:


Load smb config files from /usr/local/samba/lib/smb.conf
Unknown parameter encountered: ldap ssl
Ignoring unknown parameter ldap ssl
Processing section [share1]
Processing section [globus]
Loaded services file OK.
ERROR: pid directory /var/run/samba does not exist
Press enter to see a dump of your service definitions



PLEASE HELP

abdul
- Original Message - 
From: Jason Balicki [EMAIL PROTECTED]
To: 'Abdul-Azeez' [EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 6:19 PM
Subject: RE: [Samba] I am unable to access my shares: Incorrect password
orInvalid user name



 Your [global] section is missing a few lines.  See below.

 when I issue : smbclient //host/share from the Linux machine
 , it prompts me for password and afterwards it displays the
 following message:
 
 session setup failed: NT_STATUS_LOGON_FAILURE
 
 A copy of my smb client file is :
 
 # Samba config file created using SWAT
 # from 128.1.100.67 (128.1.100.67)
 # Date: 2004/01/15 17:33:15
 
 # Global parameters
 [global]
 workgroup = IMSD
 netbios name = SAMBA
 log level = 3
 ldap ssl = no
 Add:

 security = user
 encrypt password=yes
 smb passwd file = /path/to/your/smbpasswd

 explanation:

 Your client machines are sending encrypted passwords, and you
 need to interpet them, hence the encrypt passwords directive.

 Also, you need to tell samba where to find your smbpasswd file
 or it won't know where to find authentication information.

 HTH,

 --J(K)



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Incorrect password or unknown username

2004-01-12 Thread Abdul-Azeez
I am a 1st timer with Samba and I have read recommended documentations for
newbies. My problem looks very easy, but I have spent days trying to know
what I am doing wrong. My client is win2000 pro. and my samba server is
version 3.0 running on Redhat linux 9.0.

I can see the Linux box in Network neighbourhood and I can list the test
shares I created but I cannot access them. I have put the samba server in
same workgroup as my win2000 workstation. The hostname of the samber server
is :imsd

The following are the error messages I get when I run the some tests
contained in the samba docmentation.

1) From the Linux machine running the samba

 [EMAIL PROTECTED] root]# smbclient -L imsd

Anonymous login successful
Domain=[IMSD] OS=[Unix] Server=[Samba 3.0.1]

Sharename  Type  Comment
-    ---
abdula Disk  test share
homes  Disk
IPC$   IPC   IPC Service (Samba 3.0.1)
ADMIN$ IPC   IPC Service (Samba 3.0.1)

Server   Comment
----
IMSD Samba 3.0.1
IMSDNET1

WorkgroupMaster
----

IMSD IMSDNET1

2) From the Linux machine running the samba.
abdul is created as a user on the linux machine and also with smbpasswd
command. I get the following when I enter the password.

[EMAIL PROTECTED] root]# smbclient //imsd/abdul
added interface ip=128.1.100.244 bcast=128.1.100.255 nmask=255.255.255.0
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

3)From my windows machine, I browse to the samba server, it demands for a
username and password and when I enter it I get the following error message:

incorrect password or unknown username.

A copy of my smb.conf is:
# Samba config file created using SWAT
# from 128.1.100.67 (128.1.100.67)
# Date: 2004/01/12 09:16:33

# Global parameters
[global]
 workgroup = IMSD

[abdula]
 comment = test share
 path = /home/oji/share
 read only = No
 guest ok = Yes

[homes]
 valid users = %S
 read only = No

I will appreciate any help
Abdul

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba