[Samba] Samba and Password Complexity

2010-09-17 Thread Moray Henderson (ICT)
A password set from Windows XP requires a certain level of complexity:
by default, Windows will not allow a password of aa, but it will
allow Johnny1.  I've been experimenting with a check password script
so that both would be rejected.  That worked.  However, when I removed
the check password script line from smb.conf and restarted Samba,
Windows did not return to its original behaviour, but allowed me to set
aa.  The default complexity checking had been removed.  Two
questions:

  1) How do I re-enable the default behaviour?
  2) Is that supposed to happen?


Moray.
To err is human.  To purr, feline


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


Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-30 Thread Moray Henderson (ICT)
Quoting Gilles (gilles.gana...@free.fr):
 BTW, how can I check that Samba does use /etc/samba/smb.conf as its
 configuration file?

smbd -b lists the parameters Samba was built with - CONFIGFILE is in
there somewhere.  If not set otherwise in the init script or command
line, that is what it is using.


Moray.
To err is human.  To purr, feline


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


Re: [Samba] preferred file system

2010-06-29 Thread Moray Henderson (ICT)
Chris Smith wrote:
Is there a preferred file system (ext4, xfs, reiserfs, etc.) for
hosting Samba shares used by Windows clients? What do the devs use?

I don't know about Samba preferences, but in the current Fedora/RedHat world, 
reiserfs does not appear to be a preferred filesystem: there's a thread on the 
Anaconda list at the moment discussing removing the reiserfs code from the 
installer.


Moray.
To err is human.  To purr, feline



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


Re: [Samba] xls file locked for editing by unknown user

2010-06-29 Thread Moray Henderson (ICT)
Dave Coventry wrote:
I'm not sure that this is the right place to ask about this, but one
of my users is having a problem with her files,specifically excel
files which she is editing with openoffice.

I suspect that she is closing down her PC without logging out or
something and so appears to be still logged in.

She is using Vista and the server is a Debian Lenny box.

Whenever she tries to access the files on the server the file is
apparently locked for editing by unknown user.

I cannot find any .~ lockfiles and rebooting both machines does not
resolve this.

The permissions are set to 777 and the owner of the files is this
particular user.

As I say, I'm assuming this is a Samba issue.

Can anyone suggest a way to resolve this?

~ Dave

Which version of Samba?

Does smbstatus(1) list the file as being locked?  If so, it should give
a pid you can examine.  The fuser(1) and lsof(8) commands can track
which process has a file open.

If rebooting the server does not clear the lock, there's either a lock
file or a cached lock record somewhere.  Try /var/lib/samba/locking.tdb.
Although it's binary, you can grep(1) it for the filename, or use
tdbdump(8) to display the contents.  According to
http://wiki.samba.org/index.php/Frequently_Asked_Questions#What_are_tdb_
files.3F, locking.tdb is not required to persist across restarts.  I
wouldn't try deleting this when Samba is running; even with Samba shut
down I would rename it rather than deleting it.

However, there has got to be a better solution to stale locks than
restarting Samba and deleting a tdb file every time it happens.  Does
the lock clear automatically after a time?  There may be lock tuning
parameters that could help - see smb.conf(5) for details.


Moray.
To err is human.  To purr, feline


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


Re: [Samba] samba.org has been revised!

2010-05-20 Thread Moray Henderson (ICT)
zoolook wrote:
Also, the color combination (specially on the wiki) is awful; red on
gray, really hurt my eyes. I hope it can be improved soon.


Regards,
Norberto

I also found the red/white/gray combination difficult.  It took me a
while to realise that the big red blocks on the left were menu.  You
don't really see the white/grey Samba logo at all, and it's even
difficult to read the main text because the eyes are constantly being
drawn across to the bright red on the left.

As far as sizes are concerned, it displays perfectly on my 1024x768
monitor.  But I was _astounded_ to read that it's using fixed pixel
sizes.  That's not web design, that's poster design!  I have been
looking though Blackbit's own website.  They seem to be some sort of
advertising company, although this is not really very clear from their
site - which is not, if you think about it, a good sign.  They list[1]
breaking the rules as one of their strengths.  While it is true that
some conventions can occasionally be set aside to good effect, this is
certainly not a universal truth.  In particular, common sense
readability guidelines in a medium primarily designed for reading should
not be dismissed without long and careful thought about the practical
implications.  No matter how artistic the result.

On first look, then, I'm afraid Blackbit may not have been a good
choice.

However they do also list incorporating constructive criticism as
another strength (although this is perhaps difficult to reconcile with
never giving way).  Maybe you could go back try to persuade them that
their basic premise of designing to a 1024x768 screen is flawed, and
that they and their customers would benefit from a more flexible
approach.  A more balanced colour scheme would help the Samba site, too.


Moray.
To err is human.  To purr, feline

[1]
http://www.blackbit.de/en/index.html?a-Common_menu-n_Selected=2594butto
n-CurrentMenuTree-setmenutree=a-Common_storyOutput-n_SearchNodeId=2594
button-Common_storyOutput-find_story=vjpb-id=wde271cc0d035a655637d52cab
e12bcca9a8624a4dc

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


[Samba] smbd/vfs.c:932(check_reduced_name) after upgrade

2010-05-07 Thread Moray Henderson (ICT)
After upgrading from samba3-3.3.10-40.el5.i386.rpm to 
samba3-3.4.7-42.el5.i386.rpm, I'm seeing a lot of

[2010/05/05 11:06:42,  1] smbd/vfs.c:932(check_reduced_name)
  reduce_name: couldn't get realpath for addrbook/CVS
[2010/05/05 11:06:42,  1] smbd/vfs.c:932(check_reduced_name)
  reduce_name: couldn't get realpath for beta/CVS
[2010/05/05 11:06:42,  1] smbd/vfs.c:932(check_reduced_name)
  reduce_name: couldn't get realpath for buildproj/CVS
...

messages in log.smbd (and in the logwatch reports).  Is that expected in
3.4.7?  It didn't happen in 3.3, so what has changed?


Moray.
To err is human.  To purr, feline



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


Re: [Samba] Samba access Windows Vista and Seven

2010-01-28 Thread Moray Henderson (ICT)
From: Claudio Guzman [mailto:cguzm...@gmail.com]
need to update some settings or install any special protocol?

best regards

http://wiki.samba.org/index.php/Windows7

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


Re: [Samba] HI

2010-01-04 Thread Moray Henderson (ICT)
sheron fernando wrote:
Dear Samba Admin

my samba server working but windows client log to my samba server
coming
error massages. i check  my samba log file coming this error massage.
please
help to me.
*
[2009/12/29 09:01:48, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 192.168.0.85. Error
Connection reset by peer
[2009/12/29 09:01:48, 0] lib/util_sock.c:send_smb(761)
  Error writing 4 bytes to client. -1. (Connection reset by peer)*

As long as you're not using Windows 7, you can make this go away with

smb ports = 139

in your smb.conf, then restart Samba.


Moray.
To err is human.  To purr, feline



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


Re: [Samba] Upgrading to Vista with Samba 3.0.28a

2009-12-01 Thread Moray Henderson (ICT)
Leandro Tracchia wrote:
I've been running a samba 3.0.28a PDC with XP clients for a while now.
The setup has been working flawlessly. I'm considering upgrading some
of the clients to Vista. Are there any known issues to Vista using
this version of Samba that I should know about. I all need to do is
join the Samba domain and connect to a few network shares.

I think most people are skipping Vista and upgrading directly to Windows
7 these days - and for Windows 7 you would definitely need to upgrade
Samba (see http://wiki.samba.org/index.php/Windows7).  I'm not actually
sure about Vista on 3.0.28a, but it does seem to work on 3.0.30 and up.
We just use tdbsam authentication to access a few network shares, and so
far have had no difficulty upgrading from the 3.0 to the 3.3 series.


Moray.
To err is human.  To purr, feline

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


[Samba] two domains / shares

2006-04-19 Thread ict
hi, 

i would like to know if its possible to make a share on one domain
available to another, currently we have 2 domains a windows 2000 server
and a samba server both as domain masters, is it possible to make a
share available on the samba server available to windows 2000 server.

basically i would like to make the files available to users of the 2000
server from the samba server, this is part of a migration path and would
make things a lot easier.

i am thinking of moving the content of a couple of the partitions to the
new linux server, but want the contents still accessible to the rest of
the network which has not yet moved across.

any suggestions advice or pointers are helpful :)

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


[Samba] make a machine create an account in samba / ldap automagically

2006-03-30 Thread ict
hi,

thought i would see if some one could help i have finally got a samba
ldap setup working near flawlessly, how ever the one thing i would like
is for a machine to create an account on joining the domain.

at present i need to add the account before hand which will just be an
extra job so i would like to automate this, i have about 300 + computers
to add to this domain.

I can add the machine using the IDEALX smbldap_useradd but i am not sure
it is creating all the info in ldap.

the commands below seem to add it in perfectly.

sudo useradd -d /dev/null -c machine nickname -s /bin/false ict1_01$ 
sudo passwd -l ict_01$
sudo pdbedit -a -m ict_01 

so i tryed making a bash script which samba would then call this seemed
not to work, i also read that the pdbedit should be auto run by samba if
this is the case i can only guess there is a problem some where.

can anyone offer some advice / suggestions if you need more info or log
files just let me know and at what level of logging you would like.

Oliver



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


[Samba] multiple samba server

2006-03-21 Thread ict
i have spent the last three days setting up a samba PDC with openldap, i
finally seem to have gotten this working, but require some info on
setting up additional servers this is the layout i am after.

samba PDC / directory server
all user accounts here maybe some shared areas

secondary file server 
student home directorys and profiles for windows and linux

third file server
teachers home directories and profiles for linux and windows

i will either use the third server for printing or set it up on another
machine.

what i would like info about is how to integrate the other servers into
the samba PDC like info on how to configure samba on these machines.

if some one can point me in the right direction, most of the info i have
found seems to be aimed at a single server.

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