[Samba] smbpasswd

2009-04-13 Thread Res

Hi,
For automation in Perl scripts that add users, trying to add in smbpasswd,
I'm sure, years ago, there was a way of issuing this without drama, now 
it seems it wont just take the password, is there a hidden option? or can 
we get -w changed so that it inserts the password into the pass file?


`smbpasswd -a foo -w bar`;  would be nice and painless for automation
without writing yet another messy expect script :)


--
Res

-Beware of programmers who carry screwdrivers
--
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 DNS trouble

2007-05-26 Thread Res

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

On Sun, 27 May 2007, Gaye Abdoulaye wrote:


Hello list,
I think samba.org has DNS trouble!
No?



No... well unless you can elaborate further :)


- -- 
Cheers

Res
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGWPaasWhAmSIQh7MRAmujAKCUZJOBNg5qlwq4nZpfC/hWU2q2nQCeI4Ag
mUsEH7SbvgZP5Iaz76m2ieo=
=ZZLs
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] v3.0.25-final?

2007-05-04 Thread Res

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 4 May 2007, Guillermo Gutierrez wrote:


How close are we to seeing the final release of samba 3.0.25?


about a week






Guillermo Gutierrez

Network Administrator

Market Scan Information Systems, Inc.

(818) 575-2017

[EMAIL PROTECTED]



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



- -- 


Cheers
Res

Vote for your favourite MTA at  http://polls.ausics.net/v3.php
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGO7RHsWhAmSIQh7MRApsBAJ9LjdqOW+lzWEBjjlcYcGheoYH+gwCcCCnd
G+AWj7oKDlN/WwE9YzQENGM=
=I4xD
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba printing crashes all inet services

2006-12-30 Thread Res

On Sat, 30 Dec 2006, Martin E. Main wrote:


Hi,

I have a rather unusual problem with samba printing, which pulls down
all networking services on my linux box.

I have a Linux box running FC4 running samba 3.0.14a


before asking for help, one should always ensure one is running latest 
stable, this is 3.0.23d


you might otherwise be asking about a possible bug corrected ages ago :)



--
Cheers
Res

So, you think you can tell Heaven from Hell? - Roger Waters


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


[Samba] pdbedit uses debug level from smb.conf

2006-10-27 Thread schönfeld / in-medias-res

Hi there,

i noticed that pdbedit uses the debug level from smb.conf - is this 
correct? Seems a bit damaged to be :o)


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


Re: [Samba] Alternative to smbldap-tools

2006-10-25 Thread schönfeld / in-medias-res

Hi,

ganael.laplanche schrieb:

I've written shell scripts called the ldapscripts... You can try them on
http://contribs.martymac.com/ldapscripts/ldapscripts-1.4.tgz


thank you :-) I had a look on your scripts and they seem really good to 
me. Will give them a try.


Best Regards,

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


[Samba] Alternative to smbldap-tools

2006-10-24 Thread schönfeld / in-medias-res

Hi There,

i'm keep having problems with samba and smbldap-tools for adding machine 
accounts on the fly. So I'm somewhat sick of smbldap-tools and i wanted 
to know if someone is aware of an alternative to it. I haven't found one 
yet. Anyone? (except writing it myself what would be the very last 
alternative :)


Thanks in advance
Greets

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


[Samba] IdealX Samba Console on Debian Sarge

2006-10-13 Thread schönfeld / in-medias-res

Hi,

i would like to have a nice graphical gui for my samba PDC and found 
IdealX Samba Console to be just what i searched for (at least as it 
looks like on the website). But i seem to be to dumb to install it on 
debian sarge. I've downloaded the archive from the website and as the 
installation instructions seem to miss an explanation howto _install_ it

(before configuring)i tried to do it myself with 'make install'.
Well does installl a few files under /opt/IDEALX but is anything but not 
runnable.


So i wanted to know: Is somebody aware of a howto explaining the 
installation of idealx samba console on debian sarge? Or even better: Is 
there any unofficial repository which provides deb packages?


Thanks in advance and Greets

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


Re: [Samba] Samba 3.0.23c, ACL and Debian Sarge

2006-10-12 Thread schönfeld / in-medias-res

Hi there,

Guillaume Riviere schrieb:

Dear All,

I search for the packages of samba for GNU/Debian sarge
with acl compiled inside.


the default sarge packages aswell as the enterprise samba packages *do* 
have acl support compiled into. I currently have a setup with ACLs 
running here. :-)


In fact I did try the 2 links provided by the web site but it still 
doesn't work ACL and Samba 2.0.23c
(samba.org and entreprisesamba.org). This is an upgrade from the 
3.0.14a, with this version the ACL
support was ok. No it doesn't work anymore (Samba only see the basic 
rigths).


Did you check that your mounts are acl-enabled? E.g. what das mount say?
How is your samba configured? Does it work under debian as expected?

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


[Samba] Group Policies

2006-10-12 Thread schönfeld / in-medias-res

Hi there,

is it possible to install group policies on a samba pdc which are 
automatically loaded on connecting to this PDC with a windows client?
I thought i could remember that i read something like that, but i was 
unable to find anything about this topic in the Samba Documentations.


Thanks in advance

Patrick

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


Re: [Samba] Samba as PDC, LDAP-based authentication for windows linux clients

2006-10-09 Thread schönfeld / in-medias-res

Hi there,

Cybionet schrieb:

No just one LDAP directory work great for the Windows and Linux Client.


thanks for that answere. Found some howtos around telling me the same,
but seems like i anyways need to store two hashes. Who cares. Anyways
thats a good reason to start off :-))


2. I know that windows users can change there password on the windows
terminalserver. But how do the linux users do?
 I must admit that I don't success password change if your Samba+LDAP 
server use 'sambaPwdMustChange' attribute. Otherwise a simple script can 
change password for Linux client on LDAP.


In this howto [1] i read about an howto to change passwords from linux. 
But if i store two password hashes (MD4 for NT, MD5 for Windows) - how 
do i take care that both changes reflect on both hashes?




Robert



Patrick

[1] http://homex.subnet.at/%7Emax/ldap/index.php
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba as PDC, LDAP-based authentication for windows linux clients

2006-10-06 Thread schönfeld / in-medias-res

Hi There,

we currently run a Windows Server 2003 Terminalserver and a NT4 PDC /
File Server. Additional there is a server in the development unit acting
as login server for the linux boxes. We now want to introduce a new file
server and thereby replace the nt4 domain controller with a samba domain
controller and consollidate it with the linux login server. I'm pretty
sure it should be possible to do this with a central ldap server, samba
and nfs. But there are some pitfalls i may stuck on, so i want to know
if someone realised something like that before and can answere me some
questions. Access control should be handled by posix acls.

1. Do i need two seperate LDAP directories for linux auth and
samba-based windows auth? (e.g. because of different password hashes? or
is there maybe a possibility to store passwords in _one_ ldap directory
in _one_ hashing format which works for both windows and linux?)
If i need seperate LDA directories: Where should i start to keep things
synchronous?

2. I know that windows users can change there password on the windows
terminalserver. But how do the linux users do?

Any tipps about that scenario are appreciated.

Thanks in advance

Patrick Schönfeld

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


[Samba] Samba keeps locks on files

2006-06-19 Thread schönfeld / in-medias-res
Hi there,

we recently migrated from an old novell server to a samba server with DOS
Clients.
Everything went well and while testing the whole setup everything went okay,
too.

Okay a little about the setup now, so that my explanations can be followed.
The system
consists of a linux client, mainly used as a service gateway, but also
there is a component
installed which is called update-server. Its purpose is to regular check a
specific file on the smbfs
for changes. There are also the already mentioned dos clients which are
faxservers with
special faxcards that need to run under dos. They also access the samba
server and does (but not only)
write entries to the file the update-server checks. The server itself is
Debian GNU/Linux

Well so far, so good. For the first 3 month everything went really well
except some problems
resolving netbios names in the network. But then it occured that the
update-server didn't find
changes in the specific file. A sight in the trace files of the above
mentioned faxservers did show up
permission errors which wouldn't alarm me much, as system is supposed to
work with dos locking and
a locked file results in such a message. But it was to many and everytime
the faxservers tried to
access the same file. Easy to guess: The changes file needed by the update
server. Hmm.. okay i thought
and checked with strace and lsof if the update server helds a lock on the
file. No no. It doesn't. It opens
the file, reads it and another file and closes all files again in a period
of a few ms. But on the samba server
it does show up one or to processes holding locks on a file for more then 2
days, as smbstatus states!
Again: According to strace and lsof that is impossible!

I don't know how i could trace it more, so i would appreciate every hint to
trace the problem down.
Hereafter is the samba configuration file.

Best regards

Patrick Schönfeld

[global]
; Server information
comment = Faccess Fileserver
server string = Faccess Fileserver
netbios name = faccess-fs
log level = 2
; Global configuration
; Elections -
local master = yes
os level = 65
preferred master = yes
domain master = yes
domain logons = no
wins support = yes
log file = /var/log/samba/log.%m

; Workgroup configuration
workgroup = faccess

; Security
security = share
guest only = yes
create mask = 0777
encrypt passwords = false
guest account = root

; Case configuration
case sensitive = no
preserve case = no
default case = lower

; Netlogon
logon script = %m.bat
logon path = /server/netlogon
root preexec = faxlogon %I %m
#root postexec = faxlogoff %m

; File shares
; -
[Faxpub]
path = /server/sys
guest only = yes
guest ok = yes
read only = no
writable = yes

[netlogon]
path = /server/netlogon
public = no
writeable = no
browsable = no

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


Re: [Samba] pdc loosing domain sometimes

2006-06-19 Thread schönfeld / in-medias-res
Hi,

as far as i can see that in your posted configuration you run to smb servers
and
as your configuration file states: Both are configured to be local master.
In that
case each server will regular try to become the master browser, will be
lucky
for a moment, then the other server will become local master again. You
should
disable the local browser = yes on the system, that should not be the local
master.
(Would be the same in a homogene windows network: 2 servers configured as
local
master / PDC will fight each other stetic)

Greets

Patrick Schönfeld
in medias res Gesellschaft für Kommunikationstechnlogien mbH
Dahlenerstr. 570
D-41239 Mönchengladbach

tel. +49 (0) 2166 -  685
fax. +49 (0) 2166 -  800


- Original Message - 
From: Markus Markert
To: samba@lists.samba.org
Sent: Monday, June 19, 2006 10:31 AM
Subject: [Samba] pdc loosing domain sometimes


hi list,

i have a strange problem. sometimes my samba pdc is loosing the domain
master
and a linux workstation with active samba on it gets the domain master
status. maybee someone of you had the same problem or can help me.



the smb.conf global section of the pdc server


[global]
workgroup = WORKGROUP
netbios name = NETBIOSNAME
server string = SAMBA PDC Server
security = user
passdb backend = ldapsam:ldap://127.0.0.1 ldap://192.168.0.xx;
log level = 1
syslog = 0
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = wins lmhosts hosts bcast
time server = Yes
printcap name = CUPS
printing = cups
printer admin = samba @MY USER GROUP
use sendfile = no
show add printer wizard = yes
encrypt passwords = true
Dos charset = 850
Unix charset = ISO8859-1
local master = yes
os level = 255
domain master = Yes
prefered master = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain logons = yes
logon path = \\%L\profiles\%U
logon drive = U:
logon home = \\%L\%U
logon script = %U.bat
wins support = Yes
bind interfaces only = true
interfaces = eth0 127.0.0.1/8 192.168.0.xx/24

# LDAP Parameters deleted, works very well


smb.conf of the global sektion which is collect sometimes the domain master
of
the network
---
[global]
workgroup = WORKGROUP
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = samba @MY USER GROUP
username map = /etc/samba/smbusers
map to guest = Bad User
include = /etc/samba/dhcp.conf
security = user
local master = yes
os level = 1


do you think it could be better if i write in the smb.conf`s of the clients,
domain logons=no and domain master=no, can help me??

hope that someone can help me.

greetings

markus
-- 
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


Re: [Samba] /tmp does not exist or is not a directory

2005-04-13 Thread Res
OK, no one on this list seen this before than I assume, well it still 
occurs with latest compiled version.

On Mon, 11 Apr 2005, Res wrote:
Hi All,
[2005/04/11 11:26:58, 0] smbd/service.c:make_connection_snum(620)
 '/tmp' does not exist or is not a directory, when connecting to [IPC$]
This wierd and wacky thing has just started for no apparent reason
no upgrades were done no system mods were performed, the file server is just 
never played with except to add shares, testparm says all OK.

This also happens when a user tries to login, it comes up with the full path 
saying it doesnt exist or is not a directory, but they do and are...
Its almost like Samba has lost the plot into what its 'master root' is.

smbd/service.c:make_connection_snum(620)
'/home/res' does not exist or is not a directory, when connecting to [res]
(bit of problem there *IF* my unix login was flapped up, so its fine because 
logins are ok)

Google is full of diferent stuff about this and no clear suggestions to wtf 
it is, and a couple of suggestions of resolutions dont work,
we have tried a fresh samba conf install,  one working one from another 
samba server and its fine.

Version 3.0.9-1.3E.2
smbclient -L fox -N
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.9-1.3E.2]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
of note here when smbclient is ran with -d8 is that it says session setup OK 
???

Domain=[HOME] OS=[Unix] Server=[Samba 3.0.9-1.3E.2]
session setup ok
write_socket(4,98)
write_socket(4,98) wrote 98
size=35
smb_com=0x75
smb_rcls=204
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=9329
smb_uid=0
smb_mid=3
smt_wct=0
smb_bcc=0
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

Other info...
hosts.allow/deny are fine
This is also an NFS exports to our primary backups server (has not been an 
issue before tho)
Kernel: 2.4.21-27.0.2.EL
Last Mod time on smb.conf - month ago, known to be working a week ago, the 
machine lost power, when it came up it still worked, had uptime since then.

This machine is mainly used for group shares so the backups server has smb on 
it for a tad whilst we sort this out and the NFS shares allow access to it, 
but we dont want it to be this way, kind of defeats the purpose of a file 
server dpoesnt it :)  so any suggestions muchly appreciated

Cheers
Res

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


[Samba] /tmp does not exist or is not a directory

2005-04-10 Thread Res
Hi All,
[2005/04/11 11:26:58, 0] smbd/service.c:make_connection_snum(620)
  '/tmp' does not exist or is not a directory, when connecting to [IPC$]
This wierd and wacky thing has just started for no apparent reason
no upgrades were done no system mods were performed, the file server is 
just never played with except to add shares, testparm says all OK.

This also happens when a user tries to login, it comes up with the full 
path saying it doesnt exist or is not a directory, but they do and are...
Its almost like Samba has lost the plot into what its 'master root' is.

smbd/service.c:make_connection_snum(620)
 '/home/res' does not exist or is not a directory, when connecting to 
[res]
(bit of problem there *IF* my unix login was flapped up, so its 
fine because logins are ok)

Google is full of diferent stuff about this and no clear suggestions to 
wtf it is, and a couple of suggestions of resolutions dont work,
 we have tried a fresh samba conf install,  one working one from another 
samba server and its fine.

Version 3.0.9-1.3E.2
smbclient -L fox -N
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.9-1.3E.2]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
of note here when smbclient is ran with -d8 is that it says session setup 
OK ???

Domain=[HOME] OS=[Unix] Server=[Samba 3.0.9-1.3E.2]
 session setup ok
write_socket(4,98)
write_socket(4,98) wrote 98
size=35
smb_com=0x75
smb_rcls=204
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=9329
smb_uid=0
smb_mid=3
smt_wct=0
smb_bcc=0
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

Other info...
hosts.allow/deny are fine
This is also an NFS exports to our primary backups server (has not been an 
issue before tho)
Kernel: 2.4.21-27.0.2.EL
Last Mod time on smb.conf - month ago, known to be working a week ago, the 
machine lost power, when it came up it still worked, had uptime since 
then.

This machine is mainly used for group shares so the backups server has smb 
on it for a tad whilst we sort this out and the NFS shares allow access to 
it, but we dont want it to be this way, kind of defeats the purpose of a 
file server dpoesnt it :)  so any suggestions muchly appreciated

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


Re: [Samba] domain logins fail - nmbd doa

2004-06-29 Thread Res
an update...
On Sun, 27 Jun 2004, Res wrote:
Jeremy,
On Sat, 26 Jun 2004, Jeremy Allison wrote:
Can you try this patch ? It just got applied to the SVN code.
Thanks, just applied, will let you know how it goes over the next few days...
Ok, been 48 hours and so far so good, no mysterious exits...
Will update you again by the weekend if all still good, if not, sooner :)
--
Regards,
Res
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] domain logins fail - nmbd doa

2004-06-27 Thread Res
Jeremy,
On Sat, 26 Jun 2004, Jeremy Allison wrote:
Can you try this patch ? It just got applied to the SVN code.
Thanks, just applied, will let you know how it goes over the next few 
days...

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


[Samba] domain logins fail - nmbd doa

2004-06-26 Thread Res
This is still  a apain, nmbd just dies off and therefore fails domain 
logins..

log shows:
 *
[2004/06/26 19:43:15, 0] nmbd/nmbd.c:reload_interfaces(263)
  reload_interfaces: No subnets to listen to. Shutting down...
then next day when ppl boot up their horrid XP boxes and try login  we 
need to restart samba for them, this is a very big pain being daily event.

# nmbd -V
Version 3.0.4
..with the curent 2.4.26 kernel, and no changes have been made to our 
smb.conf file. This is running on a fedora c1 machine, using the fedora 
c1 rpm's from thw samba site, not RH's.

I had heard of a similar (same???) bug that I thought was fixed in 3.0.4
or must we downgrade to hte ld version we had that ran for months adn 
months untill a fix is located?

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


[Samba] NMBD dies off

2004-06-10 Thread Res
using latest binaries this program dies off, I read somewhere this was 
fixed in this version 3.0.4 ? but still dies ?

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