Okay, i've been pulling my hair out (there's not much left either, but i
digress)...

I started from a very blank smb.conf for one...

I noticed that in gnome now if i restart samba, i have to disconnect and 
reconnect the drive otherwise i get an error saying:
Could not open location 'smb://MACHINE/PATH'
no data available

work around for that issue (if it is a new issue) is to disconnect and 
reconnect the mount (linux at least - haven't tried windows, hope you don't 
have to do that there).
==============
$ testparm -s /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
        server string = Samba Server
        log file = /var/log/samba/log.%m
        max log size = 50
        unix extensions = No
        dns proxy = No
        wide links = Yes

[homes]
        comment = Home Directories
        read only = No
        browseable = No
        browsable = No

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

even with that (which is pretty much empty!) if i restart the service,
sometimes i get 'Password required' prompt for a drive i've already
remembered the password to...

once its in that state, smbclient does:
smbclient -L \\\\MACHINE  -U rolfy
Enter rolfy's password: 
session setup failed: NT_STATUS_LOGON_FAILURE

log.CLIENT has:
=======
[2010/05/12 21:05:28,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2010/05/12 21:05:28,  1] smbd/service.c:1063(make_connection_snum)
  merlin (192.168.1.15) connect to service rolfy initially as user rolfy 
(uid=1001, gid=1001) (pid 8251)
[2010/05/12 21:08:17,  1] smbd/service.c:1240(close_cnum)
  merlin (192.168.1.15) closed connection to service rolfy
[2010/05/12 21:08:26,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2010/05/12 21:08:58,  1] smbd/service.c:676(make_connection_snum)
  create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
========
log.smbd has
========
[2010/05/12 21:08:17,  0] smbd/server.c:1069(main)
  smbd version 3.4.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/05/12 21:08:17,  0] smbd/server.c:1115(main)
  standard input is not a socket, assuming -D option
========
syslog and daemon.log basically has just the 'assuming -D option' message

did a grep in /var/lib/samba, and passdb.tbd does contain my username...
so i enabled the user with smbpasswd -e, but that didn't help.

I then added, and it's good to go again....

I'm not sure if this gives more information than was already here, but
hopefully it stops someone else taking these same steps...

-- 
samba server requires smbpasswd -a user constantly
https://bugs.launchpad.net/bugs/566560
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to