[Samba] puzzling samba failure

2006-06-04 Thread Anna Barnes
I can't work out why the samba server can't seem to authenticate at  
the moment. I stopped and started the nmbd and smbd and the LDAP  
server but to no avail.  i've copied the output I get from some of  
the samba commands.  I'm running it on a unix server, solaris 8.


regards
Anna

[EMAIL PROTECTED] # ./smbstatus

Samba version 2.2.8a
Service  uid  gid  pid machine
--

No locked files
[EMAIL PROTECTED] # ./smbclient -U abarnes -L localhost
added interface ip=156.145.179.27 bcast=156.145.179.255  
nmask=255.255.255.0
added interface ip=156.145.179.31 bcast=156.145.179.255  
nmask=255.255.255.0
added interface ip=156.145.179.29 bcast=156.145.179.255  
nmask=255.255.255.0
added interface ip=156.145.179.33 bcast=156.145.179.255  
nmask=255.255.255.0

added interface ip=192.168.1.27 bcast=192.168.1.255 nmask=255.255.255.0
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
[EMAIL PROTECTED] # ./smbpasswd abarnes
New SMB password:
Retype new SMB password:
ldap_connect_system: Binding to ldap server as  
uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot
ldap_connect_system: Binding to ldap server as  
uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot

No user to modify!
Password changed for user abarnes.
Failed to modify entry for user abarnes.
Failed to modify password entry for user abarnes
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba daemons

2006-04-15 Thread Anna Barnes

Hi there
Our server crashed this morning and now SAMBA is acting funky.
I can connect to the fileserver via samba from an apple box and I can  
mount my home directory and access my files, I can also mount the  
other folder with data in it but I can't access, in fact I can't see  
any files inside this folder.


On the server if I do ps -ef | grep smbd I get
 amandel  1744   648  0 12:40:03 ?0:00 /opt/samba/sbin/smbd -D
root   648 1  0 11:47:47 ?0:00 /opt/samba/sbin/smbd -D
jgrinban  1700   648  0 12:29:01 ?0:04 /opt/samba/sbin/smbd -D

and ps -ef | grep nmbd gives
 root   651   650  0 11:47:47 ?0:00 /opt/samba/sbin/nmbd -D
root   650 1  0 11:47:47 ?0:02 /opt/samba/sbin/nmbd -D

I've tried stopping and starting these with smbd stop and smbd start  
etc but it actually makes no difference to the behaviour I am seeing.  
e.g If I stop the daemons I can still mount my home directory. I've  
also run smbclient -U and -L localhost and it all comes up fine.


What should I do next ?

Thank you
Anna


Anna Barnes (PhD)
fMRI Research Laboratory
Department of Radiology
Columbia University College of Physicians and Surgeons
710 W168th St
New York, NY10032
USA
+1212 342 0293

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


[Samba] No UID associated with this user name

2006-04-03 Thread Anna Barnes
Hi sorry if this is the wrong place to post but I'm not sure where to  
go to and I'm a bit desperate.


We just brought our Sunfire 6800 server and Storedge 9960 RAID array  
Solaris 8 back up after some maintenance and everything came back up  
'clean' but I cannot get our SAMBA software to recognise any users or  
directories when logging in remotely from an apple or windows box.


Here's what I've tried already.

If I try and mount one of the direcotries on our apple boxes I get an  
error message saying SAMBA alias could not be opened becasue the  
original item could not be found.



If I try and modify a users password on the unix server I get
./smbpasswd abarnes
ldap_connect_system: Binding to ldap server as  
uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot

New SMB password:
Retype new SMB password:
ldap_connect_system: Binding to ldap server as  
uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot
ldap_connect_system: Binding to ldap server as  
uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot

No user to modify!
Password changed for user abarnes.
Failed to modify entry for user abarnes.
Failed to modify password entry for user abarnes


And if I try to verify a user password with ./smbclient -U abarnes -L  
localhost I get

session setup failed: NT_STATUS_LOGON_FAILURE

after I enter the password.

Here also is the smb.conf file

[global]
# ldap
ldap server = baseline.fmri.columbia.edu
ldap port = 389
ldap suffix = ou=People,dc=fmri,dc=columbia,dc=edu
ldap admin dn =  
uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot

ldap ssl = no

# logging
log level = 2
log file = /var/samba/log/log.%m
max log size = 500

# domain
workgroup = fmrildap
preferred master = no
domain master = no
domain logons = no
netbios name = samba
server string = fmri samba server
os level = 255
#socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192  
SO_SNDBUF=8192


# authentication
security = user
encrypt passwords = yes

wins support = yes
locking = yes
dns proxy = no

[netlogon]
comment = network logon service
path = /etc/fmri/samba/netlogon
guest ok = yes
share modes = no

[homes]
path = /home/%u
comment = home directories
read only = no
create mode = 0750
directory mode = 0750
case sensitive = no
follow symlinks = no

[share]
comment = shared directories
path = /share
read only = no
createmode = 0775
directory mode = 0775
case sensitive = no
follow symlinks = no

[data]
comment = data directories
path = /data
read only = no
create mode = 0775
directory mode = 0775
case sensitive = no
follow symlinks = yes

[data_export]
comment = data directories
path = /export/data
read only = no
create mode = 0775
directory mode = 0775
case sensitive = no
follow symlinks = yes


this is the entry in the log.samba file

[2006/04/03 14:03:24, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
ldap_connect_system: Binding to ldap server as  
uid=admin,ou=Administrators,ou=TopologyManagement,o=Nets

capeRoot
[2006/04/03 14:03:24, 2] passdb/pdb_ldap.c:ldap_connect_system(331)
ldap_connect_system: succesful connection to the LDAP server
[2006/04/03 14:03:24, 2] passdb/pdb_ldap.c:ldap_search_one_user(343)
ldap_search_one_user: searching for:[((uid=abarnes) 
(objectclass=sambaAccount))]



Anna Barnes (PhD)
fMRI Research Laboratory
Department of Radiology
Columbia University College of Physicians and Surgeons
710 W168th St
New York, NY10032
USA
+1212 342 0293

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


Re: [Samba] No UID associated with this user name

2006-04-03 Thread Anna Barnes
Please ignore this posting I was able to correct the problem by  
stopping and starting the ldap.client scripts in /etc/rc2.d


thanks
Anna

On Apr 3, 2006, at 2:42 PM, Anna Barnes wrote:

Hi sorry if this is the wrong place to post but I'm not sure where  
to go to and I'm a bit desperate.


We just brought our Sunfire 6800 server and Storedge 9960 RAID  
array Solaris 8 back up after some maintenance and everything came  
back up 'clean' but I cannot get our SAMBA software to recognise  
any users or directories when logging in remotely from an apple or  
windows box.


Here's what I've tried already.

If I try and mount one of the direcotries on our apple boxes I get  
an error message saying SAMBA alias could not be opened becasue the  
original item could not be found.



If I try and modify a users password on the unix server I get
./smbpasswd abarnes
ldap_connect_system: Binding to ldap server as  
uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot

New SMB password:
Retype new SMB password:
ldap_connect_system: Binding to ldap server as  
uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot
ldap_connect_system: Binding to ldap server as  
uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot

No user to modify!
Password changed for user abarnes.
Failed to modify entry for user abarnes.
Failed to modify password entry for user abarnes


And if I try to verify a user password with ./smbclient -U abarnes - 
L localhost I get

session setup failed: NT_STATUS_LOGON_FAILURE

after I enter the password.

Here also is the smb.conf file

[global]
# ldap
ldap server = baseline.fmri.columbia.edu
ldap port = 389
ldap suffix = ou=People,dc=fmri,dc=columbia,dc=edu
ldap admin dn =  
uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot

ldap ssl = no

# logging
log level = 2
log file = /var/samba/log/log.%m
max log size = 500

# domain
workgroup = fmrildap
preferred master = no
domain master = no
domain logons = no
netbios name = samba
server string = fmri samba server
os level = 255
#socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192  
SO_SNDBUF=8192


# authentication
security = user
encrypt passwords = yes

wins support = yes
locking = yes
dns proxy = no

[netlogon]
comment = network logon service
path = /etc/fmri/samba/netlogon
guest ok = yes
share modes = no

[homes]
path = /home/%u
comment = home directories
read only = no
create mode = 0750
directory mode = 0750
case sensitive = no
follow symlinks = no

[share]
comment = shared directories
path = /share
read only = no
createmode = 0775
directory mode = 0775
case sensitive = no
follow symlinks = no

[data]
comment = data directories
path = /data
read only = no
create mode = 0775
directory mode = 0775
case sensitive = no
follow symlinks = yes

[data_export]
comment = data directories
path = /export/data
read only = no
create mode = 0775
directory mode = 0775
case sensitive = no
follow symlinks = yes


this is the entry in the log.samba file

[2006/04/03 14:03:24, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
ldap_connect_system: Binding to ldap server as  
uid=admin,ou=Administrators,ou=TopologyManagement,o=Nets

capeRoot
[2006/04/03 14:03:24, 2] passdb/pdb_ldap.c:ldap_connect_system(331)
ldap_connect_system: succesful connection to the LDAP server
[2006/04/03 14:03:24, 2] passdb/pdb_ldap.c:ldap_search_one_user(343)
ldap_search_one_user: searching for:[((uid=abarnes) 
(objectclass=sambaAccount))]



Anna Barnes (PhD)
fMRI Research Laboratory
Department of Radiology
Columbia University College of Physicians and Surgeons
710 W168th St
New York, NY10032
USA
+1212 342 0293

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


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