Gilles | 1 Aug 2010 12:37
Picon
Favicon

Re: [3.4.7/Ubuntu 10.04] Can modify but not create/delete

On Fri, 30 Jul 2010 12:02:43 -0400, Christian PERRIER
<bubulle <at> debian.org> wrote:
>Look in log files in /var/log/samba, there should be indications
>there. Eventually raise the log level to 3 before doing so.

Thanks, I figured it out:

1. Since 'smbpassd - "www-data"' triggered an error, I simply added
user "gilles" to group "www-data" which owns /var/www/

2. Edited /etc/samba/smb.conf:
============
[global]
[...]
;guest account = www-data

[www]
comment = WWW directory
path = /var/www
browsable = yes
;guest ok = yes ;access will be permitted as the default guest user
read only = no
;create mask = 0755
available = yes
public = yes
writable = yes
create mask = 0644
============

I can now create and delete files.
(Continue reading)

Daniel Müller | 1 Aug 2010 15:53
Picon

Re: Beginner setting up samba: NT_STATUS_LOGON_FAILURE

On Sat, 31 Jul 2010 23:33:12 +0200, thahn01 <at> t-online.de (Thomas Hahn)
wrote:
> Hello,
> I am trying to set up samba on this host and testing it locally
> is giving me headaches right away.
> 
> tom <at> hversa:~:~$ smbclient -L localhost -U%
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.8]
> 
>         Sharename       Type      Comment
>         ---------       ----      -------
>         homes           Disk      Home Directories
>         print$          Disk      Printer Drivers
>         IPC$            IPC       IPC Service (hversa server)
>         e250dn          Printer   Lexmark printer Ksenia
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.8]
> 
>         Server               Comment
>         ---------            -------
>         HVERSA               hversa server
> 
>         Workgroup            Master
>         ---------            -------
>         DERU_WICO001         OCHENTA
>         WORKGROUP            HVERSA
> 
> So, there is sth. configured, BUT:
> 
> tom <at> hversa:/var/log/samba$ smbclient //hversa/tom -d 3
> lp_load_ex: refreshing parameters
(Continue reading)

Nico Kadel-Garcia | 1 Aug 2010 19:14
Picon

Re: Need suggestion for domain controller

On Sat, Jul 31, 2010 at 3:19 PM, Gaiseric Vandal
<gaiseric.vandal <at> gmail.com> wrote:
> I would consider a newer Linux distribution besides CentOS 5.x  I have
> worked with RHEL and Fedora.   I think (not 100% sure) that Centos 5.x comes
> with Samba 3.0.x  If you want Win 7 client support you would want samba
> 3.4.x or 3.5.x.    Which means either a more current linux release or
> compiling it your self.  I also found that on RHEL client that openldap
> server components were not included.

You can also examine, and hopefully compile for yourself from SRPM,
the packages at http://ftp.sernet.de/pub/samba/3.5/rhel/5/ to get you
up to version 3.5.x.
--

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

Thomas Hahn | 1 Aug 2010 19:37
Picon
Favicon

Re: Beginner setting up samba: NT_STATUS_LOGON_FAILURE

On Sun, Aug 01, 2010 at 03:53:09PM +0200, Daniel Müller wrote:
> On Sat, 31 Jul 2010 23:33:12 +0200, thahn01 <at> t-online.de (Thomas Hahn)
> wrote:
> > Hello,
> > I am trying to set up samba on this host and testing it locally
> > is giving me headaches right away.
> > 
> > tom <at> hversa:~:~$ smbclient -L localhost -U%
> > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.8]
> > 
> >         Sharename       Type      Comment
> >         ---------       ----      -------
> >         homes           Disk      Home Directories
> >         print$          Disk      Printer Drivers
> >         IPC$            IPC       IPC Service (hversa server)
> >         e250dn          Printer   Lexmark printer Ksenia
> > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.8]
> > 
> >         Server               Comment
> >         ---------            -------
> >         HVERSA               hversa server
> > 
> >         Workgroup            Master
> >         ---------            -------
> >         DERU_WICO001         OCHENTA
> >         WORKGROUP            HVERSA
> > 
> > So, there is sth. configured, BUT:
> > 
> > tom <at> hversa:/var/log/samba$ smbclient //hversa/tom -d 3
(Continue reading)

Rob Townley | 2 Aug 2010 01:25
Picon

Re: Need suggestion for domain controller

Please elaborate on why you do not like OpenLDAP and SambaPDC same machine?

RedHat sponsored FreeIPA.org does Samba, 389 ldap, Dns, pki all on one
machine.  So does win ads.

On 7/31/10, John Drescher <drescherjm <at> gmail.com> wrote:
>>     I wish to establish domain controller based on Centos 5.x.I am
>> considering below setups.
>>
>> 1) Samba PDC
>> 2) OpenLDAP
>> 3) Combination of Samba PDC + LDAP
>>
>>     I am confused to select one among above.Can anyone please suggest me?
>
> All are valid. I mean when setting up a samba domain with open ldap
> you should have at least 1 machine that is a PDC and at least 1
> machine that has openldap on it. Unless this is a home install I
> believe you should have at least 2 of each. The choice of how to
> combine these services is up to the user. For my department (of less
> than 50 users but 30TB of raid on a 100% gigabit network) I have 3 DCs
> and 3 openldap servers. At the moment they are PDC + Openldap. Also
> since I have no user shares on the domain controllers (all data is on
> dual / quad core domain member servers) I have these as guests under a
> vps (openvz or lxc).
>
> John
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
(Continue reading)

Gaiseric Vandal | 2 Aug 2010 01:46
Picon

Re: Need suggestion for domain controller

I would suggest that putting the PDC and LDAP server on the same machine
does make sense, since they are (from the point of view of windows clients)
so closely integrated.  It is correctly that if you have the both services
on the same machine, then if that machine goes down you lose both
functionality.  However, if the PDC and LDAP server are on separate
machines, if the LDAP server goes down your PDC server is effectively
disabled anyway.

If you want redundancy I suggest configuring two machines-  each machine is
an LDAP server (with replication enabled) and each machine is a samba domain
controller (1 PDC and 1 or more BDC's.)  

-----Original Message-----
From: samba-bounces <at> lists.samba.org [mailto:samba-bounces <at> lists.samba.org]
On Behalf Of Rob Townley
Sent: Sunday, August 01, 2010 7:26 PM
To: John Drescher
Cc: samba <at> lists.samba.org; masatheesh
Subject: Re: [Samba] Need suggestion for domain controller

Please elaborate on why you do not like OpenLDAP and SambaPDC same machine?

RedHat sponsored FreeIPA.org does Samba, 389 ldap, Dns, pki all on one
machine.  So does win ads.

On 7/31/10, John Drescher <drescherjm <at> gmail.com> wrote:
>>     I wish to establish domain controller based on Centos 5.x.I am
>> considering below setups.
>>
>> 1) Samba PDC
(Continue reading)

Nico De Ranter | 2 Aug 2010 08:41

Re: getent acting unreliable with idmap_ad


Hi Robert,

thanks for your reply.

On Fri, 2010-07-30 at 17:45 +0200, Robert Grasso wrote:
> Hello,
> 
> I personally solved my stability issues when, rather than letting Samba find automatically the AD
servers, I stated them clearly : 
> 
> - I stated clearly my "password server =" in smb.conf

I already list my servers in "password server =", altough I do have the
impression that Samba may have problems with my 2008R2 servers. I'll try
playing with the settings.

> - I stated clearly my /etc/krb5.conf

Do you mean fill in /etc/krb5.conf properly or should I refer to it
somewhere in the smb.conf file?  I'm sure my krb5.conf is correct is I
was using it in my old setup using kerberos+ldap authentication.  I
found some reference on the Internet to an smb.conf variable "use
kerberos keytab = yes" however this doesn't seem to be accepted for
Samba 3.4.7

> I am running on CentOS 5.5, samba 3.0.33.
> 
> Apart from that : I have installed SFU on my Windows 2003 AD servers; to me, it seems that getent passwd
<username> yields a result
(Continue reading)

Moray Henderson | 2 Aug 2010 11:15

Re: mounting as cifs not working in Debian, works in Windows though

H.S. [mailto:hs.samix <at> gmail.com] wrote:
>On 30/07/10 05:02 AM, Moray Henderson wrote:
>> H.S. [mailto:hs.samix <at> gmail.com] wrote:
>>> I have a Debian machine running Unstable acting as a samba server.
The
>>> server was installed a few days ago after a reinstall of the OS. The
>>> older installation's samba configs were backed up and restored after
>>> installation.
>>>
>>> The Samba shares are accessible if I access them from a Windows 7
>>> client. The shares, however, cannot be accessed from a Debian client
>>> (newly installed amd64 Testing). The error I get from the Debian
client
>>> <SNIP>
>>> What am I missing here?
>>
>> Things to check:
>>
>>    Rather than mounting, can you use smbclient to access the share?
>>    Do you see any better errors in the logs of either client or
server?
>>    Is client running SELinux or equivalent?
>
>I can browse the shares via dolphin in KDE. I can use smbclient and it
>appears to work:
>$ smbclient -L //192.168.0.8  -U hs
>Enter hs's password:
>Domain=[SMBWG] OS=[Unix] Server=[Samba 3.4.8]
>
>         Sharename       Type      Comment
(Continue reading)

Gilles | 2 Aug 2010 11:21
Picon
Favicon

Must restart nmbd to connect

Hello

I'm seeing this issue when connecting from XPSP3 to Ubuntu 10.04
running Samba 3.4.7 installed through apt-get:

After booting Ubuntu, if I try to connect to a share from XP, I get
this error:

=======
C:\>net use x: \\linux\www /user:me
System error 59 has occurred.

An unexpected network error occurred.
=======

When I run "ps aux", I notice that for some reason, smbd is running
two processes (status = S and Ss):

=======
root       762  0.0  0.4  15328  3980 ?        Ss   10:39   0:00 smbd
-F
root       833  0.0  0.1  15328  1176 ?        S    10:39   0:00 smbd
-F
root       944  0.0  0.1   8660  1644 ?        Ss   10:39   0:00 nmbd
-D
=======

I can connect successfully if I restart nmbd:

=======
(Continue reading)

Gilles | 2 Aug 2010 11:49
Picon
Favicon

Re: Must restart nmbd to connect

On Mon, 02 Aug 2010 11:21:13 +0200, Gilles <gilles.ganault <at> free.fr>
wrote:
>After booting Ubuntu, if I try to connect to a share from XP, I get
>this error:
>
>=======
>C:\>net use x: \\linux\www /user:me
>System error 59 has occurred.
>
>An unexpected network error occurred.
>=======

When I run the command after rebooting Ubuntu, nothing shows up
/var/log/samba/log.smbd, but here's what it says in log.nmbd:

============
[2010/08/02 11:47:30,  3]
nmbd/nmbd_incomingrequests.c:453(process_name_query_request)
  process_name_query_request: Name query from 192.168.0.1 on subnet
192.168.0.3 for name LINUX<20>

[2010/08/02 11:47:30,  3]
nmbd/nmbd_incomingrequests.c:453(process_name_query_request)
  process_name_query_request: Name query from 192.168.0.1 on subnet
192.168.0.3 for name LINUX<00>

[2010/08/02 11:47:31,  3]
nmbd/nmbd_incomingrequests.c:453(process_name_query_request)
  process_name_query_request: Name query from 192.168.0.1 on subnet
192.168.0.3 for name LINUX<20>
(Continue reading)


Gmane